view lib/kreiderclib/system.as @ 2833:0f3030598435 lwtools-port

Really fix level 1 builds: Do not use os9 dcopy Bugs in os9 dcopy make it run into infinite recursion before it eventually dies of buffer overflow. Instead use os9 makdir and copy, which was already used some places.
author Tormod Volden <debian.tormod@gmail.com>
date Wed, 10 Jul 2013 19:09:05 +0200
parents 1647f1874cdf
children
line wrap: on
line source

* Disassembly by Os9disasm of system.r

 section code

* class D external label equates

D0000 equ $0000 

* class X external label equates

X6865 equ $6865 

system: pshs  u 
 ldd   #$ff5a 
 lbsr  _stkcheck 
 leas  -86,s 
 ldd   #$0051 
 ldu   90,s 
 leax  ,s 
 pshs  d 
 pshs  x,u 
 lbsr  strncpy 
 leas  6,s 
 clr   80,s 
 leax  >L0066,pcr 
 pshs  d,x 
 lbsr  strcat 
 leas  4,s 
 clra   
 clrb   
 pshs  d 
 incb   
 pshs  d 
 pshs  d 
 leax  6,s 
 pshs  x 
 pshs  x 
 lbsr  strlen 
 std   ,s 
 leax  >L0061,pcr 
 pshs  x 
 lbsr  os9fork 
 leas  12,s 
 std   82,s 
L004c leax  84,s 
 pshs  x 
 lbsr  wait 
 leas  2,s 
 cmpd  82,s 
 bne   L004c 
 leas  84,s 
 puls  d,u,pc 
L0061 com   X6865 
 inc   12,s 
L0066 tst   D0000 

 endsect