Unfortunately we don't seem to have any interrupts or tty activity on reading
so this needs some further research.
sdldz80 -m -i cloader-16fdc.rel
makebin -s 256 cloader-16fdc.ihx > cloader-16fdc.tmp
dd if=cloader-16fdc.tmp of=cloader-16fdc.bin bs=1 skip=128
-
+ # Assemble a standard IBM format SSSD 8" disk image
+ cat cloader-16fdc.bin ../fuzix.bin | \
+ dd of=fuzix.dsk bs=256256 count=1 conv=sync
one but there are cases we switch and borrow a bit of the other bank copy.
It's easier to arrange this way anyhow.
-
TODO
-- Debug a loader
+- Debug a loader (seems to work)
- An awful lot of early kernel boot debugging
- Interrupts properly (and IM2)
jr z, run
ld a,#'.' ; We know that one byte per track will not
- out (0),a ; overrun!
+ out (1),a ; overrun!
ld b,#0x01 ; run from sector 1
jr movecmd
strout:
- in a,(0x0)
+ in a,(0)
rla
jr nc,strout
ld a,(hl)
or a
ret z
- out (0),a
+ out (1),a
inc hl
jr strout
#include <kernel.h>
#include <devtty.h>
+#include <printf.h>
uaddr_t ramtop = PROGTOP;