1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 19:28:06 +11:00

fs: adjust to DE->IX change in recipe/emul glue code

This commit is contained in:
Virgil Dupras 2019-06-02 10:18:03 -04:00
parent 5e5c7e6592
commit 88bf98321e
2 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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