fsh-shell/includes/define.inc

26 lines
745 B
PHP

.nolist
; Included for Assembler Compatibility
;------------------------------------
#define equ .equ
#define EQU .equ
#define end .end
#define END .end
#define FshVarsSize 128 ;256 bytes | 64 words
#define FshCmdSize 17 ;17 bytes | 8 chars | 1 null, 4 words
#define FshCmdInptSize 8 ;8 bytes | 8 chars
#define FshPrgmSize 1024 ;1024 bytes | max size
RamVars equ 0D0EA1Fh ;saveSScreen | 21945 bytes
FshVars equ RamVars
FshCmd equ FshVars + FshVarsSize
FshPrgm equ FshCmd + FshCmdSize
FshCmdNull equ FshCmd + FshCmdInptSize
FshCmdOP equ FshCmdNull + 1
FshCmdArg0 equ FshCmdOP + 1
FshCmdArg1 equ FshCmdOP + 3
FshCmdArg2 equ FshCmdOP + 5
FshCmdArg3 equ FshCmdOP + 7