A89: no shell/no libs
[Prev][Next][Index][Thread]
A89: no shell/no libs
i'm interested in perhaps coding w/o the use of shells and libs...I am asking
what is involved in this, and how difficult it may be. To give me an idea at
how different the coding may be w/o a shell, how would i convert this simple
hello world program to work w/o any shell/libs...
-Steven Reagan
include "doorsos.h"
include "graphlib.h"
include "userlib.h"
xdef _ti89
xdef _ti92plus
xdef _main
_main:
jsr graphlib::clr_scr2
move.w #4,-(a7)
pea hello(pc)
move.w #0,-(a7)
move.w #0,-(a7)
jsr doorsos::DrawStrXY
lea 10(a7),a7
jsr userlib::idle_loop
rts
hello:
dc.b "Hello, World",0
rts
end
Follow-Ups: