1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 20:28:05 +11:00

recipes/sms/romasm: adjust glue to zasm changes

Forward reference of SHELL_MEM_PTR wasn't working (nor should it
have been...).
This commit is contained in:
Virgil Dupras 2019-07-23 15:42:52 -04:00
parent 1dec33e02a
commit ffa28195b1

View File

@ -64,12 +64,10 @@
.dw f0GetC, f0PutC .dw f0GetC, f0PutC
.dw f1GetC, f1PutC .dw f1GetC, f1PutC
#include "blockdev_cmds.asm"
.equ FS_RAMSTART BLOCKDEV_RAMEND .equ FS_RAMSTART BLOCKDEV_RAMEND
.equ FS_HANDLE_COUNT 2 .equ FS_HANDLE_COUNT 2
#include "fs.asm" #include "fs.asm"
#include "fs_cmds.asm"
.equ SHELL_RAMSTART FS_RAMEND .equ SHELL_RAMSTART FS_RAMEND
.equ SHELL_EXTRA_CMD_COUNT 11 .equ SHELL_EXTRA_CMD_COUNT 11
@ -77,6 +75,9 @@
.dw edCmd, zasmCmd, fnewCmd, fdelCmd, fopnCmd, flsCmd, fsOnCmd, blkBselCmd .dw edCmd, zasmCmd, fnewCmd, fdelCmd, fopnCmd, flsCmd, fsOnCmd, blkBselCmd
.dw blkSeekCmd, blkLoadCmd, blkSaveCmd .dw blkSeekCmd, blkLoadCmd, blkSaveCmd
#include "blockdev_cmds.asm"
#include "fs_cmds.asm"
init: init:
di di
im 1 im 1