Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/system.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 system.r |
2 | |
3 section code | |
4 | |
5 * class D external label equates | |
6 | |
7 D0000 equ $0000 | |
8 | |
9 * class X external label equates | |
10 | |
11 X6865 equ $6865 | |
12 | |
13 system: pshs u | |
14 ldd #$ff5a | |
15 lbsr _stkcheck | |
16 leas -86,s | |
17 ldd #$0051 | |
18 ldu 90,s | |
19 leax ,s | |
20 pshs d | |
21 pshs x,u | |
22 lbsr strncpy | |
23 leas 6,s | |
24 clr 80,s | |
25 leax >L0066,pcr | |
26 pshs d,x | |
27 lbsr strcat | |
28 leas 4,s | |
29 clra | |
30 clrb | |
31 pshs d | |
32 incb | |
33 pshs d | |
34 pshs d | |
35 leax 6,s | |
36 pshs x | |
37 pshs x | |
38 lbsr strlen | |
39 std ,s | |
40 leax >L0061,pcr | |
41 pshs x | |
42 lbsr os9fork | |
43 leas 12,s | |
44 std 82,s | |
45 L004c leax 84,s | |
46 pshs x | |
47 lbsr wait | |
48 leas 2,s | |
49 cmpd 82,s | |
50 bne L004c | |
51 leas 84,s | |
52 puls d,u,pc | |
53 L0061 com X6865 | |
54 inc 12,s | |
55 L0066 tst D0000 | |
56 | |
57 endsect | |
58 |