Running my first Zshell
[Prev][Next][Index][Thread]
Running my first Zshell
-
To: CALC-TI@LISTS.PPP.TI.COM
-
Subject: Running my first Zshell
-
From: Jan Zumwalt <zumwalt@ALASKA.NET>
-
Date: Sun, 7 Sep 1997 20:43:59 -0800
-
Comments: RFC822 error: <W> TO field duplicated. Last occurrence was retained.
-
Comments: To: "ti-emulator@lists.ticalc.org" <ti-emulator@lists.ticalc.org>, "ti-hardware@lists.ticalc.org" <ti-hardware@lists.ticalc.org>
-
Reply-To: Jan Zumwalt <zumwalt@ALASKA.NET>
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