view lib/kreiderclib/open.as @ 3226:9749d0dfc4a2

Changed a puls PC to rts to save cycles
author David Ladd <drencor-xeen@users.sourceforge.net>
date Sat, 20 Jan 2018 19:32:22 -0600
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of open.r

 section code

* OS-9 system function equates

I$Open equ $84 
I$Close equ $8f 

open: ldx   2,s 
 lda   5,s 
 os9 I$Open 
 lblo  _os9err 
 tfr   a,b 
 clra   
 rts    
close: lda   3,s 
 os9 I$Close 
 lbra  _sysret 

 endsect