diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-09-25 22:02:25 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-09-25 22:02:25 -0500 |
| commit | 4190b2f69583c87ff586b99c8453c09f2063e28e (patch) | |
| tree | 4927f8979dd5de7be1ec57a7269ce079b84a61dd /assembly/win95/Makefile | |
| parent | 7a3f6969c84db263bdfd0284db2bc9e58f28e61f (diff) | |
| download | rvcontroller-4190b2f69583c87ff586b99c8453c09f2063e28e.tar rvcontroller-4190b2f69583c87ff586b99c8453c09f2063e28e.tar.gz rvcontroller-4190b2f69583c87ff586b99c8453c09f2063e28e.tar.bz2 rvcontroller-4190b2f69583c87ff586b99c8453c09f2063e28e.tar.xz rvcontroller-4190b2f69583c87ff586b99c8453c09f2063e28e.zip | |
Add Windows 95 upgrade password generator
Diffstat (limited to 'assembly/win95/Makefile')
| -rw-r--r-- | assembly/win95/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/assembly/win95/Makefile b/assembly/win95/Makefile new file mode 100644 index 0000000..007e470 --- /dev/null +++ b/assembly/win95/Makefile @@ -0,0 +1,24 @@ +MARCH ?= rv32imacbzicntr_zicond_zicsr_zifencei_zihintpause_zilsd_zclsd_zabha_zacas_zbkb_zbkx_zcb_zcmp_zcmt + +.PHONY: all dump load clean + +all: win95.hex + +win95.o: win95.S + riscv32-none-elf-as -I../rvcontroller-libraries -march=${MARCH} -o win95.o win95.S + +win95.elf: win95.o + riscv32-none-elf-ld -T rvcontroller.ld --no-warn-rwx-segments -o win95.elf win95.o + +dump: win95.elf + riscv32-none-elf-objdump -d win95.elf + +win95.hex: win95.elf + riscv32-none-elf-objcopy -O ihex win95.elf win95.hex + +load: win95.hex + bash -c "wl-copy < win95.hex" + +clean: + rm -f win95.hex win95.elf win95.o + |
