mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 09:58:06 +11:00
b745f49186
The goal is to avoid mixing those routines with "character devices" (acia, vpd, kbd) which aren't block devices and have routines that have different expectations. This is a first step to fixing #64.
30 lines
758 B
C
30 lines
758 B
C
.equ USER_CODE 0x4800
|
|
.equ USER_RAMSTART 0x6000
|
|
.equ FS_HANDLE_SIZE 8
|
|
.equ BLOCKDEV_SIZE 8
|
|
|
|
; *** JUMP TABLE ***
|
|
.equ strncmp 0x03
|
|
.equ addDE @+3
|
|
.equ addHL @+3
|
|
.equ upcase @+3
|
|
.equ unsetZ @+3
|
|
.equ intoDE @+3
|
|
.equ intoHL @+3
|
|
.equ writeHLinDE @+3
|
|
.equ findchar @+3
|
|
.equ parseHex @+3
|
|
.equ parseHexPair @+3
|
|
.equ blkSel @+3
|
|
.equ blkSet @+3
|
|
.equ fsFindFN @+3
|
|
.equ fsOpen @+3
|
|
.equ fsGetB @+3
|
|
.equ cpHLDE @+3
|
|
.equ parseArgs @+3
|
|
.equ _blkGetB @+3
|
|
.equ _blkPutB @+3
|
|
.equ _blkSeek @+3
|
|
.equ _blkTell @+3
|
|
.equ printstr @+3
|