src/version.h.in

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

author
Philip Pemberton <philpem@philpem.me.uk>
date
Sat, 17 Nov 2012 19:18:29 +0000
changeset 112
a392eb8f9806
parent 14
7a98c853715e
permissions
-rw-r--r--

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 #define VER_COMPILE_DATETIME	"@@datetime@@"
     2 #define VER_COMPILE_DATE		"@@date@@"
     3 #define VER_COMPILE_TIME		"@@time@@"
     4 #define VER_COMPILE_BY			"@@whoami@@"
     5 #define VER_COMPILE_HOST		"@@hostname@@"
     6 #define VER_COMPILER			"@@compiler@@"
     7 #define VER_BUILD_TYPE			"@@buildtype@@"
     8 #define VER_CFLAGS				"@@cflags@@"
    10 #define VER_MAJOR				@@majorver@@
    11 #define VER_MINOR				@@minorver@@
    12 #define VER_BUILDNUM			@@buildnum@@
    13 #define VER_EXTRA				"@@extraver@@"
    14 #define VER_VCSREV				"@@vcsstr@@"
    16 #define VER_FULLSTR				"@@fullverstr@@"