Re: A85: Running my first Zshell


[Prev][Next][Index][Thread]

Re: A85: Running my first Zshell



Why did you send this to all the TI lists? that is such a pain. Send it to just
asm-85 or Calc-ti to get an answer.

No, I'm not gonnna tell you what the answer is.

Jan Zumwalt wrote:

> 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




References: