view 3rdparty/p2mods/tsayhi.asm @ 1717:023c3f57d08b

Fixed 8K memory leak when doing: iniz w1 w4;echo>/w1;echo>/w4;deiniz w4 w1
author boisy
date Tue, 17 Aug 2004 05:03:05 +0000
parents 6641a883d6b0
children b8c7b7fbf3c9
line wrap: on
line source

         ifp1
         use   os9defs
         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