TMF Hg

wd2010: use LOGS when logging unformatted strings

  • Sat, 17 Nov 2012 22:15:23 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sat, 17 Nov 2012 22:15:23 +0000] rev 115
  • wd2010: use LOGS when logging unformatted strings

Fix bit masking logic in 'dead bus' return

  • Sat, 17 Nov 2012 22:14:09 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sat, 17 Nov 2012 22:14:09 +0000] rev 114
  • Fix bit masking logic in 'dead bus' return

    In some cases (e.g. 16bit reads) a bad 'idle bus' return may be provided.
    Promote the '1' to unsigned long prior to left-shifting it.

ACCESS_CHECK_RD should return the right number of bits!

  • Sat, 17 Nov 2012 21:28:48 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sat, 17 Nov 2012 21:28:48 +0000] rev 113
  • ACCESS_CHECK_RD should return the right number of bits!

    If the ACCESS_CHECK_RD() macro detects a page fault, it always returns a
    32-bit error response ("all bus pins high"). Musashi really doesn't like it
    when we pass in a 32-bit value when it expects a 16-bit one!

add HDD support + fixes

  • Sat, 17 Nov 2012 19:18:29 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sat, 17 Nov 2012 19:18:29 +0000] rev 112
  • 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).

Improve floppy disc support

  • Sat, 17 Nov 2012 19:13:08 +0000
  • by Philip Pemberton <philpem@philpem.me.uk> [Sat, 17 Nov 2012 19:13:08 +0000] rev 111
  • Improve floppy disc support

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