fsh-shell/includes/define.inc

26 lines
744 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 16 ;16 bytes | 8 chars | 8 meta
#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
FshCmdMeta equ FshCmd + FshCmdInptSize
FshCmdOP equ FshCmdMeta + 1
FshCmdArg1 equ FshCmdMeta + 2
FshCmdArg2 equ FshCmdMeta + 3
FshCmdArg3 equ FshCmdMeta + 4
FshCmdArg4 equ FshCmdMeta + 5