view lib/kreiderclib/syscall.as @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of syscall.r

 section code

_os9: pshs  y,u 
 lda   7,s 
 ldb   #$39 
 pshs  d 
 ldd   #$103f 
 pshs  d 
 ldu   12,s 
 ldd   1,u 
 ldx   4,u 
 ldy   6,u 
 ldu   8,u 
 jsr   ,s 
 pshs  cc,u 
 ldu   15,s 
 leau  8,u 
 pshu  d,dp,x,y 
 puls  a,x 
 sta   ,-u 
 stx   8,u 
 leas  4,s 
 puls  y,u 
 bita  #1 
 beq   L0034 
 ldd   #-1 
 rts    
L0034 clra   
 clrb   
 rts    

 endsect