view lib/kreiderclib/ccmod.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 (2020-06-18)
parents 1647f1874cdf
children
line wrap: on
line source
* Disassembly by Os9disasm of ccmod.r

 section bss

* Uninitialized data (class B)
B0000 rmb 1 
B0001 rmb 2 
* Initialized Data (class G)

 endsect  

 section code

ccumod: clr   B0000,y 
 leax  ccudiv,pcr 
 stx   B0001,y 
 bra   L0022 
ccmod: leax  ccdiv,pcr 
 stx   B0001,y 
 clr   B0000,y 
 tst   2,s 
 bpl   L0022 
 inc   B0000,y 
L0022 subd  #0 
 bne   L002d 
 puls  x 
 ldd   ,s++ 
 jmp   ,x 
L002d ldx   2,s 
 pshs  x 
 jsr   [B0001,y] 
 ldd   ,s 
 std   2,s 
 tfr   x,d 
 tst   B0000,y 
 beq   L0045 
 nega   
 negb   
 sbca  #0 
L0045 std   ,s++ 
 rts    

 endsect