Re: Running my first Zshell


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

Re: Running my first Zshell



For those interested, I received a message explaining that between steps 1 and 2
it is necessary to rename the object file created by TASM to the name with no
extension. In this case hello.obj would be renamed to just hello, then String85
is run.

To the best of my knowledge, I have yet to see this documented in any of the
tutorials and am passing this along to hopefully prevent someone else wasting
time.

Thanks for the help.

-----Original Message-----
From:   Jan Zumwalt [SMTP:zumwalt@alaska.net]
Sent:   Sunday, September 07, 1997 8:44 PM
To:     assembly-82@lists.ticalc.org; assembly-83@lists.ticalc.org; assembly-85@lists.ticalc.org; assembly-92@lists.ticalc.org; shell-developers@lists.ticalc.org; ti-basic@lists.ticalc.org; ti-emulator@lists.ticalc.org; ti-hardware@lists.ticalc.org; CALC-TI@LISTS.PPP.TI.COM
Subject:        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

*** ---->> ren hello.obj hello

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


Follow-Ups: