Rename boot to bios, add sd call

Adds a call that you can make to the BIOS to read sd blocks. Useful for
the bootloader where there is not much space
This commit is contained in:
Byron Lathi
2022-04-18 20:24:29 -05:00
parent 64f6f0b397
commit 54328722ab
10 changed files with 72 additions and 9 deletions

14
sw/bios/boot.s Normal file
View File

@@ -0,0 +1,14 @@
.include "zeropage.inc"
.segment "STARTUP"
.export _init
.import _load_bootsect
_init: ldx #$ff
txs
cld
jsr _load_bootsect
jmp $1000