-Experimental port for the proposed SC108 mainboard plus CF card plus RTC card
+Experimental port for the SC108 mainboard plus CF card plus RTC or CTC card
This is a design that happens to have 128K RAM but the 64K banks are flipped
directly. Fortunately there is a ROM which lives in both banks.
TO DO
-Write a proper bootloader that can use partition tables properly
-Fix hardcoded use of ACIA
+Debug some crash cases we have from the latest updates
+
Use the extra space to put back some kernel bits we binned from -tiny
Build a suitably high CP/M emuation and test it
-
Long term fun
- OS core in ROM, high memory holding rest (like -tiny) but with two user space
banks ??
-- Clean up the serial code (on all RC2014)
+
+
+Emulation
+
+Write the bootloader once to block 0 (repair the parition tables afterwards)
+Write kernel images to block 24
+rc2014 -m sc108 -r sc108.rom -s -i sc108.ide -c
\ No newline at end of file
ATA_READ .equ 0x20
-SIOB_C .equ 3
-SIOB_D .equ 1
+SIOA_C .equ 0x80
+SIOA_D .equ 0x81
.ds 10240 ; boot sector and more for loader space
; wait for transmitter to be idle
ocloop_sio:
xor a ; read register 0
- out (SIOB_C), a
- in a,(SIOB_C) ; read Line Status Register
+ out (SIOA_C), a
+ in a,(SIOA_C) ; read Line Status Register
and #0x04 ; get THRE bit
jr z,ocloop_sio
; now output the char to serial port
pop af
- out (SIOB_D),a
+ out (SIOA_D),a
ret
serstr:
jr serstr
hello:
- .asciz 'LiNC80 FUZIX LOADER 0.1\n\n'
+ .asciz 'SC108 FUZIX LOADER 0.1\n\n'
gogogo:
.asciz '\nExecuting FUZIX...\n'