view lib/kreiderclib/system.as @ 3140:03b580a02945

Allow CoCo3FPGA-specific build of superdesc.asm Added new conditional CC3FPGA and code to "level1/modules/superdesc.asm" to reflect changes needed to build the new SD card descriptors for the Coco3FPGA.
author Bill Pierce <merlinious999@gmail.com>
date Sat, 04 Feb 2017 11:06:26 +0100
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