1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 22:48:05 +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 *** ; *** blkdev 2: file handle 0 ***
blk2GetC: blk2GetC:
ld de, FS_HANDLES ld ix, FS_HANDLES
jp fsGetC jp fsGetC
blk2PutC: blk2PutC:
ld de, FS_HANDLES ld ix, FS_HANDLES
jp fsPutC jp fsPutC
blk2Seek: blk2Seek:
ld de, FS_HANDLES ld ix, FS_HANDLES
jp fsSeek jp fsSeek
blk2Tell: blk2Tell:
ld de, FS_HANDLES ld ix, FS_HANDLES
jp fsTell jp fsTell

View File

@ -109,36 +109,36 @@ fsdevTell:
.equ STDOUT_HANDLE FS_HANDLES .equ STDOUT_HANDLE FS_HANDLES
stdoutGetC: stdoutGetC:
ld de, STDOUT_HANDLE ld ix, STDOUT_HANDLE
jp fsGetC jp fsGetC
stdoutPutC: stdoutPutC:
ld de, STDOUT_HANDLE ld ix, STDOUT_HANDLE
jp fsPutC jp fsPutC
stdoutSeek: stdoutSeek:
ld de, STDOUT_HANDLE ld ix, STDOUT_HANDLE
jp fsSeek jp fsSeek
stdoutTell: stdoutTell:
ld de, STDOUT_HANDLE ld ix, STDOUT_HANDLE
jp fsTell jp fsTell
.equ STDIN_HANDLE FS_HANDLES+FS_HANDLE_SIZE .equ STDIN_HANDLE FS_HANDLES+FS_HANDLE_SIZE
stdinGetC: stdinGetC:
ld de, STDIN_HANDLE ld ix, STDIN_HANDLE
jp fsGetC jp fsGetC
stdinPutC: stdinPutC:
ld de, STDIN_HANDLE ld ix, STDIN_HANDLE
jp fsPutC jp fsPutC
stdinSeek: stdinSeek:
ld de, STDIN_HANDLE ld ix, STDIN_HANDLE
jp fsSeek jp fsSeek
stdinTell: stdinTell:
ld de, STDIN_HANDLE ld ix, STDIN_HANDLE
jp fsTell jp fsTell