view 3rdparty/p2mods/tsayhi.asm @ 2857:d5220b220313 lwtools-port

Makefiles: Use native cp for copying dsk images The "os9 copy" is not able to do this on Cygwin, and is not the right tool for the job anyway. Thanks to Bob Devries for reporting this issue!
author Tormod Volden <debian.tormod@gmail.com>
date Sat, 13 Jul 2013 11:53:36 +0200
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