view lib/kreiderclib/write.as @ 3285:345ff5806dd7

Correct coco.d filename in shipped Defsfile files It seems that 8 years ago in commit 2624:b8c7b7fbf3c9 the coco defs were put into a new "coco.d" (from "systype"), and the various level*/<port>/defsfile were updated. However, the level*/<port>/defs/Defsfile (that are copied to the disk images under DEFS) were apparently wrongly updated.
author hpmachining <aur@hpminc.com>
date Thu, 18 Jun 2020 20:29:32 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of write.r

 section code

* OS-9 system function equates

I$Write equ $8a 
I$WritLn equ $8c 

write: pshs  y 
 ldy   8,s 
 beq   L0015 
 lda   5,s 
 ldx   6,s 
 os9 I$Write 
L000e bcc   L0015 
 puls  y 
 lbra  _os9err 
L0015 tfr   y,d 
 puls  y,pc 
writeln: pshs  y 
 ldy   8,s 
 beq   L0015 
 lda   5,s 
 ldx   6,s 
 os9 I$WritLn 
 bra   L000e 

 endsect