Alright, I've been trying forever to do these commands and need
serious help.Please tell me what I'm doing wrong...
Turning off the power:When I use these commands, my calc crashes when it turns back on...
DI
LD A,001h
OUT (003),A
LD A,000h
OUT (004),A
EX AF,AF'
EXX
EI
Storing to ans:I can't get my value to store to OP1...
LD HL,25
LD DE,OP1
LDIR
BCALL STOANS
Creating Programs:This always crashes...
LD HL,prgmname
LD DE,OP1
LD BC,5
LDIR
BCALL CHKFINDSYM
BCALL CREATEPROG
RET
prgmname:
.db PROGOBJ,"PRGM",0
It would be nice also if anyone who uses ONCALC COMPILER BETA 8 could tell me how to use these on it too.
serious help.Please tell me what I'm doing wrong...
Turning off the power:When I use these commands, my calc crashes when it turns back on...
DI
LD A,001h
OUT (003),A
LD A,000h
OUT (004),A
EX AF,AF'
EXX
EI
Storing to ans:I can't get my value to store to OP1...
LD HL,25
LD DE,OP1
LDIR
BCALL STOANS
Creating Programs:This always crashes...
LD HL,prgmname
LD DE,OP1
LD BC,5
LDIR
BCALL CHKFINDSYM
BCALL CREATEPROG
RET
prgmname:
.db PROGOBJ,"PRGM",0
It would be nice also if anyone who uses ONCALC COMPILER BETA 8 could tell me how to use these on it too.