TIB: Running my first Zshell
[Prev][Next][Index][Thread]
TIB: Running my first Zshell
I can't seem to get my first Zshell program running. It is listed at the bottom.
here is what I am doing.
1) tasm -80 -g3 -i hello.asm
2) string80 hello
"file not found"
a) do I need to link it? And if so what linker should I use?
;----------------------------------------------------------------
; This is a 'hello world' program that works with Zshell 4.0,
; for all you in search of source code!
#include "TI-85.H"
.org 0
.db "Hello all you happy people",0
ROM_CALL(CLEARLCD)
ld hl,(PROGRAM_ADDR)
ld de,Hello
add hl,de
ROM_CALL(D_ZT_STR)
Loop:
call GET_KEY
cp $37
jr nz, Loop
ret
Hello:
.db "Hello World :)",0
.end
end