Sat, 17 Nov 2012 19:18:29 +0000

Philip Pemberton <philpem@philpem.me.uk>
Sat, 17 Nov 2012 19:18:29 +0000
changeset 112
parent 81

add HDD support + fixes

Patch-Author: Andrew Warkentin <andreww591!gmail>
Patch-Message-ID: <50A772FC.8020009@gmail.com>

I have added floppy write support, full hard disk emulation, and proper handling of DMA page faults to FreeBee. I also fixed the floppy step commands, changed the "force interrupt" floppy command to generate a type 1 status, and changed the DMA address counter to reset to 3fff when a transfer completes (which is what Unix seems to expect - without it, the kernel says that the floppy isn't ready). The floppy, hard disk, and DMA page fault tests all pass. Initializing hard disks and floppies also works (the geometry for both is still fixed by the size of the image, though, and format commands only appear to succeed, but they don't modify the image). Unix still doesn't run, though (it hangs after reading some sectors from the floppy).

philpem@0 1 syntax: glob
philpem@0 2 obj/*.o
philpem@0 3 dep/*.d
philpem@0 4 *~
philpem@0 5 .*.sw?
philpem@0 6 .~lock*
philpem@0 7 .buildnum
philpem@2 8
philpem@5 9 # musashi build artefacts
philpem@5 10 src/musashi/m68kopac.c
philpem@5 11 src/musashi/m68kopdm.c
philpem@5 12 src/musashi/m68kopnz.c
philpem@5 13 src/musashi/m68kops.c
philpem@5 14 src/musashi/m68kops.h
philpem@5 15 dep/musashi/*.d
philpem@5 16 obj/musashi/*.o
philpem@5 17 obj/musashi/m68kmake
philpem@5 18
philpem@5 19 # version header
philpem@5 20 src/version.h
philpem@5 21
philpem@5 22 # final executable binary
philpem@15 23 freebee
philpem@5 24 3b1emu
philpem@5 25
philpem@2 26 # ignore ROMs and techref
philpem@2 27 roms
philpem@2 28 TRM
philpem@58 29 misc
philpem@81 30 discs