mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-24 14:28:06 +11:00
fs: adjust to DE->IX change in recipe/emul glue code
This commit is contained in:
parent
5e5c7e6592
commit
88bf98321e
@ -77,17 +77,17 @@ init:
|
||||
; *** blkdev 2: file handle 0 ***
|
||||
|
||||
blk2GetC:
|
||||
ld de, FS_HANDLES
|
||||
ld ix, FS_HANDLES
|
||||
jp fsGetC
|
||||
|
||||
blk2PutC:
|
||||
ld de, FS_HANDLES
|
||||
ld ix, FS_HANDLES
|
||||
jp fsPutC
|
||||
|
||||
blk2Seek:
|
||||
ld de, FS_HANDLES
|
||||
ld ix, FS_HANDLES
|
||||
jp fsSeek
|
||||
|
||||
blk2Tell:
|
||||
ld de, FS_HANDLES
|
||||
ld ix, FS_HANDLES
|
||||
jp fsTell
|
||||
|
@ -109,36 +109,36 @@ fsdevTell:
|
||||
.equ STDOUT_HANDLE FS_HANDLES
|
||||
|
||||
stdoutGetC:
|
||||
ld de, STDOUT_HANDLE
|
||||
ld ix, STDOUT_HANDLE
|
||||
jp fsGetC
|
||||
|
||||
stdoutPutC:
|
||||
ld de, STDOUT_HANDLE
|
||||
ld ix, STDOUT_HANDLE
|
||||
jp fsPutC
|
||||
|
||||
stdoutSeek:
|
||||
ld de, STDOUT_HANDLE
|
||||
ld ix, STDOUT_HANDLE
|
||||
jp fsSeek
|
||||
|
||||
stdoutTell:
|
||||
ld de, STDOUT_HANDLE
|
||||
ld ix, STDOUT_HANDLE
|
||||
jp fsTell
|
||||
|
||||
.equ STDIN_HANDLE FS_HANDLES+FS_HANDLE_SIZE
|
||||
|
||||
stdinGetC:
|
||||
ld de, STDIN_HANDLE
|
||||
ld ix, STDIN_HANDLE
|
||||
jp fsGetC
|
||||
|
||||
stdinPutC:
|
||||
ld de, STDIN_HANDLE
|
||||
ld ix, STDIN_HANDLE
|
||||
jp fsPutC
|
||||
|
||||
stdinSeek:
|
||||
ld de, STDIN_HANDLE
|
||||
ld ix, STDIN_HANDLE
|
||||
jp fsSeek
|
||||
|
||||
stdinTell:
|
||||
ld de, STDIN_HANDLE
|
||||
ld ix, STDIN_HANDLE
|
||||
jp fsTell
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user