view 3rdparty/p2mods/tsayhi.asm @ 2868:cfa46960b6bd

makefiles: Rename DW3 to DW all over Rename dw3*.sb to dwio*.sb This is part of getting default and lwtools-port branches together, trying to avoid things falling through the cracks.
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 24 Nov 2013 11:13:40 +0100
parents b8c7b7fbf3c9
children
line wrap: on
line source

         ifp1
         use   defsfile
         endc

Type     set   Prgrm+Objct
Revs     set   ReEnt+1
edition  set   $01

         mod   OS9End,OS9Name,Type,Revs,start,256

OS9Name  fcs   "TSayHi"
         fcb   edition

F$SAYHI  equ   $25

* routine cold
start    equ   *
         lda   ,x
         cmpa  #$0D
         bne   SayHi
         ldx   #$0000
SayHi    os9   F$SAYHI
         bcs   error
         clrb
error    os9   F$Exit

         emod

OS9End   equ   *
         end