include "doorsos.h"
include "userlib.h"
include "graphlib.h"
xdef _comment
xdef _main
xdef _ti89
WriteStr1 macro
move.w \3,-(a7)
pea \4(pc)
move.w \2,-(a7)
move.w \1,-(a7)
jsr doorsos::DrawStrXY
lea 10(a7),a7
endm
;==============================================
_main:
move.w d0,-(a7)
pea exe(pc)
pea info(pc)
jsr doorsos::sprintf
WriteStr1 #60,#10,#1,exe
;==========string info=================
exe dc.b "The Number is %d!",0
info dc.b 69
_comment dc.b "String",0
end