Mercurial > hg > Members > kono > nitros9-code
view lib/kreiderclib/ccdiv.as @ 3141:717ced83b885
coco3: Build SD card device descriptors for CoCo3FPGA
Added "CC3FPGAFLAGS = $(AFLAGS) -DCC3FPGA=1 $(FLAGS)" to
"level2/coco3/modules/makefile" for flagging Coco3FPGA specific features
in modules sources.
Added "llcoco3fpga", "ddsd0_coco3fpga", "sd0_coco3fpga", and
"sd1_coco3fpga" to the "coco3/modules/makefile" - RBF section, which
also now adds all to the "NITROS9/MODULES/RBF" on all disk images for
building new Coco3FPGA disks from NitrOS9.
Added new descriptor section to the "level2/coco3/modules/makefile"
reflecting the new Coco3FPGA SD card descriptors and their flags.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 11:06:28 +0100 |
parents | 1647f1874cdf |
children |
line wrap: on
line source
* Disassembly by Os9disasm of ccdiv.r section code ccudiv: subd #0 beq L000f pshs d leas -2,s clr ,s clr 1,s bra L003d L000f puls d std ,s ldd #$002d lbra _rpterr ccdiv: subd #0 beq L000f pshs d leas -2,s clr ,s clr 1,s tsta bpl L0031 nega negb sbca #0 com 1,s std 2,s L0031 ldd 6,s bpl L003d nega negb sbca #0 com 1,s std 6,s L003d lda #1 L003f inca asl 3,s rol 2,s bpl L003f sta ,s ldd 6,s clr 6,s clr 7,s L004e subd 2,s bcc L0058 addd 2,s andcc #254 bra L005a L0058 orcc #1 L005a rol 7,s rol 6,s lsr 2,s ror 3,s dec ,s bne L004e std 2,s tst 1,s beq L0074 ldd 6,s nega negb sbca #0 std 6,s L0074 ldx 4,s ldd 6,s std 4,s stx 6,s ldx 2,s ldd 4,s leas 6,s rts endsect