Hello all,
I've been trying to learn z80 assembly, and run it on my calculator, but I'm doing something wrong. Here is my tasm folder contents:
- asm.bat
- binpac8x.py
- TASM.exe
- TASM80.tab
- ti83plus.inc
(I use binpac8x rather than DEVPAC8X because I am using a 64-bit version of windows)
Here is my ASM code:
.nolist
#include "ti83plus.inc"
#define ProgStart $9D95
.list
.org ProgStart - 2
.db t2ByteTok, tAsmCmp
bcall(_ClrLCDFull)
ld hl, 0
ld (PenCol), hl
ld hl, msg
bcall(_PutS) ; Display the text
bcall(_NewLine)
ret
msg:
.db "Hello world!", 0
.end
.end
I am able to compile successfully, and load the .8xp file onto my calculator, but when I run
Asm(prgmHELLO)
On my ti-84 plus c silver edition, I get an ERR: INVALID message, and on my TI-84 plus silver edition, I just get a blank screen with the word "done" at the bottom. What am I doing wrong? Any suggestions?
Thanks, Cheers!