msbasic/zeropage.s

204 lines
2.0 KiB
ArmAsm
Raw Permalink Normal View History

2008-10-18 05:03:58 +00:00
2008-10-18 05:32:39 +00:00
.feature org_per_seg
2008-10-12 19:50:23 +00:00
.zeropage
2008-10-18 21:20:15 +00:00
.org ZP_START1
2008-10-18 03:31:14 +00:00
GORESTART:
.res 3
GOSTROUT:
.res 3
GOAYINT:
.res 2
GOGIVEAYF:
.res 2
2008-10-18 21:20:15 +00:00
.org ZP_START2
2008-10-18 05:16:33 +00:00
Z15:
.res 1
2008-10-18 05:37:45 +00:00
.ifndef POSX; allow override
2008-10-18 05:16:33 +00:00
POSX:
.endif
2008-10-18 05:39:52 +00:00
.res 1
2008-10-18 05:37:45 +00:00
.ifndef Z17; allow override
2008-10-18 05:16:33 +00:00
Z17:
.endif
.res 1
2008-10-18 05:37:45 +00:00
.ifndef Z18; allow override
2008-10-18 05:16:33 +00:00
Z18:
.endif
.res 1
LINNUM:
2008-10-18 05:37:45 +00:00
.ifndef TXPSV; allow override
TXPSV:
.endif
2008-10-18 05:16:33 +00:00
.res 2
2008-10-18 05:37:45 +00:00
.ifndef INPUTBUFFER; allow override
2008-10-18 05:20:04 +00:00
INPUTBUFFER:
.endif
2008-10-18 05:16:33 +00:00
2008-10-18 21:20:15 +00:00
.org ZP_START3
2008-10-17 07:34:52 +00:00
CHARAC:
.res 1
ENDCHR:
.res 1
EOLPNTR:
.res 1
DIMFLG:
.res 1
VALTYP:
.ifdef CONFIG_SMALL
.res 1
.else
.res 2
.endif
DATAFLG:
.res 1
SUBFLG:
.res 1
INPUTFLG:
.res 1
CPRMASK:
.res 1
Z14:
.res 1
2008-10-18 21:20:15 +00:00
.org ZP_START4
2008-10-17 07:34:52 +00:00
2008-10-12 19:50:23 +00:00
TEMPPT:
.res 1
LASTPT:
.res 2
TEMPST:
.res 9
INDEX:
.res 2
DEST:
.res 2
RESULT:
.res BYTES_FP
RESULT_LAST = RESULT + BYTES_FP-1
TXTTAB:
.res 2
VARTAB:
.res 2
ARYTAB:
.res 2
STREND:
.res 2
FRETOP:
.res 2
FRESPC:
.res 2
MEMSIZ:
.res 2
CURLIN:
.res 2
OLDLIN:
.res 2
OLDTEXT:
.res 2
Z8C:
.res 2
DATPTR:
.res 2
INPTR:
.res 2
VARNAM:
.res 2
VARPNT:
.res 2
FORPNT:
.res 2
LASTOP:
.res 2
CPRTYP:
.res 1
FNCNAM:
TEMP3:
.res 2
DSCPTR:
.ifdef CONFIG_SMALL
.res 2
.else
.res 3
.endif
DSCLEN:
.res 2
2008-10-18 05:37:45 +00:00
.ifndef JMPADRS ; allow override
JMPADRS := DSCLEN + 1
.endif
2008-10-12 19:50:23 +00:00
Z52:
.res 1
ARGEXTENSION:
.ifndef CONFIG_SMALL
.res 1
.endif
TEMP1:
.res 1
HIGHDS:
.res 2
HIGHTR:
.res 2
.ifndef CONFIG_SMALL
TEMP2:
.res 1
.endif
INDX:
TMPEXP:
.ifdef CONFIG_SMALL
TEMP2:
.endif
.res 1
EXPON:
.res 1
LOWTR:
2008-10-18 05:37:45 +00:00
.ifndef LOWTRX ; allow override
LOWTRX:
.endif
2008-10-12 19:50:23 +00:00
.res 1
EXPSGN:
.res 1
FAC:
.res BYTES_FP
FAC_LAST = FAC + BYTES_FP-1
FACSIGN:
.res 1
SERLEN:
.res 1
SHIFTSIGNEXT:
.res 1
ARG:
.res BYTES_FP
ARG_LAST = ARG + BYTES_FP-1
ARGSIGN:
.res 1
STRNG1:
2008-10-12 21:39:54 +00:00
.res 2
SGNCPR = STRNG1
FACEXTENSION = STRNG1+1
2008-10-12 19:50:23 +00:00
STRNG2:
.res 2
2014-02-14 06:40:56 +00:00
.ifdef AIM65
ATN:
.res 3
ZBE:
.res 1
.endif
2014-02-15 02:46:36 +00:00
.ifdef SYM1
USR1:
.res 3
USR2:
.res 3
USR3:
.res 3
.endif
2008-10-12 19:50:23 +00:00
CHRGET:
2008-10-12 20:43:37 +00:00
TXTPTR = <(GENERIC_TXTPTR-GENERIC_CHRGET + CHRGET)
2008-10-13 03:25:57 +00:00
CHRGOT = <(GENERIC_CHRGOT-GENERIC_CHRGET + CHRGET)
CHRGOT2 = <(GENERIC_CHRGOT2-GENERIC_CHRGET + CHRGET)
2008-10-13 00:27:11 +00:00
RNDSEED = <(GENERIC_RNDSEED-GENERIC_CHRGET + CHRGET)
2008-10-13 03:10:48 +00:00