home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
genie-commodore-file-library
/
GEOSApps
/
RPN64-SRC.SFX
/
rpnram
(
.txt
)
< prev
next >
Wrap
GEOS ConVerT
|
1990-02-12
|
3KB
|
68 lines
RPNram
PRG formatted GEOS file V1.0
Star NX-10
RPNROUTINES
BLASTER'S CONVERTER V2.5
RPNRAM
RPNscreen
Write Image V2.0
geoWrite V2.0
0RAMSECT for RPN64.
d +# k" t
;****************************************************************
; Global Variables for RPN
;****************************************************************
.noeqin
@.include geosSym
@include geosMac
.include RPNconst
.eqin
.ramsect
recoverFlag:
.block 1 ;holds flags passed from application in r10L
screenBuf: .block FG_BUF_SIZE ;holds application's FG screen data
colorBuf: .block NUM_CARDS ;holds applicatoin
.ramsect
recoverFlag:
.block 1 ;holds flags passed from application in r10L
screenBuf: .block FG_BUF_SIZE ;holds application's FG screen data
colorBuf: .block NUM_CARDS ;holds applicatoin's card color info
appzpage: .block $9e ;holds application's zero page word-registers et al
GEOSzero: .block $3f ;holds GEOS Kernal's zero page while BASIC is in
F_ENTRY: .block 1 ;Flag for Entry in progress
F_EXPON: .block 1 ;Flag if Entry is on exponent
F_FRACTION: ;Flag if Entry is past decimal point
.block 1
F_NEG: .block 1 ;Flag for negative entry
F_NEGE: .block 1 ;Flag for negative exponent on entry
EnterStr: .block $10 ;Current String being entered
EnterPos: .block 1 ;Pointer to next open spot in EnterStr
ExDigits: .block 1 ;No. digits in Exponent so far
ManDigits: .block 1 ;No. digits in Mantissa so far
IPdigs: .block 1 ;No. digits in Integer part of Mantissa (used in ov.flow check)
TextXpos: .block 2 ;Next X position to place a character on Enter Line
TextYpos: .block 1 ;Next Y position
EsignX: .block 2 ;Position of Sign placement for exponent
Epos: .block 1 ;Pointer into EnterStr to location of sign on exponent
CurNumE: .block 1 ;Current Number in Entry (icon no.)
Reg1: .block 5 ;Eight floating point registers for RPN calculator
Reg2: .block 5
Reg3: .block 5
Reg4: .block 5
Reg5: .block 5
Reg6: .block 5
Reg7: .block 5
Reg8: .block 5
RegMem: .block 5
fvar: .block 5 ;Gratuitous floating point variable
systring: .block $10 ;System String
sysptr: .block 1 ;Pointer into system string
INVFLG: .block 1 ;flag for INVerse
oprint: .block 1 ;Flag for operators, true if need to print
Regs
BeforeBAS: .block 1 ;storage of $01 for GETBASIC and FLUSHBASIC
temp: .block 1
temp2: .block 1
tmpblk: .block 6 ;6 bytes of gratuitous temporary storage open to everyone
DAEnd: ;End of RPN!!!!!