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).

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