Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/fwrite.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 |
rev | line source |
---|---|
2824 | 1 * Disassembly by Os9disasm of fwrite.r |
2 | |
3 section code | |
4 | |
5 fwrite: pshs d,x,u | |
6 ldu 8,s | |
7 clra | |
8 clrb | |
9 bra L002b | |
10 L0008 ldd 10,s | |
11 bra L0022 | |
12 L000c ldx 14,s | |
13 ldb ,u+ | |
14 pshs d,x | |
15 lbsr putc | |
16 leas 4,s | |
17 cmpd #-1 | |
18 beq L0032 | |
19 ldd ,s | |
20 subd #1 | |
21 L0022 std ,s | |
22 bne L000c | |
23 ldd 2,s | |
24 addd #1 | |
25 L002b std 2,s | |
26 cmpd 12,s | |
27 blt L0008 | |
28 L0032 leas 2,s | |
29 puls d,u,pc | |
30 | |
31 endsect | |
32 |