;==================================================== ; ; Api92/Api89 Example Source Code ; ; (c) NeXO Software, Ibrahim - Benoit SCHERRER ; e-mail : p.c.scherrer@wanadoo.fr ; web : http://perso.wanadoo.fr/scherrer/ben/ ; ; File> hellowor.asm ; > It is the very famous 'Hello World' ; example, using the Api92/Api89 library. ;==================================================== ;--------------------- Includes --------------------- include "tios.h" include "api92.h" include "api92cst.h" ;------------ Start of assembly program ------------- xdef _main xdef _comment _main: jsr api92::ClearScreen lea str_hello(PC),a0 jsr api92::draw_sString jsr api92::WaitKey rts ;------------------- Program Data ------------------- str_hello dc.b 10,10,"Hello World !",0 _comment dc.b "Famous Hello World Example",0 ;-------------------- End of program ------------------ end