From 6656c9b277324caf1ecd90cbf4c83e14a8608a33 Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 5 Sep 2026 14:43:50 -0500 Subject: Add multi-platform demo --- assembly/multiplatform/README.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 assembly/multiplatform/README.txt (limited to 'assembly/multiplatform/README.txt') diff --git a/assembly/multiplatform/README.txt b/assembly/multiplatform/README.txt new file mode 100644 index 0000000..21b6305 --- /dev/null +++ b/assembly/multiplatform/README.txt @@ -0,0 +1,8 @@ +This demo is a bit different, this one assembles once and then runs on RVController, on riscv64 Linux, and on LBPHacker's R4 computer[1], no modification needed. + +You will need a riscv64-linux-gnu toolchain to build this. Your distro might ship one, check there before building your own. If you do build your own, you probably just need binutils. + +Platform-specific notes: +R4: Load it at any address you want, nothing special needed, terminal base address is assumed to be 0x10000000 +RVController: At least for me it wants to link at 0x100b0, you can relocate it or just add a bit of extra RAM and use setpc before starting +riscv64 Linux: No special handling needed -- cgit v1.2.3