Mercurial > hg > Members > kono > nitros9-code
annotate lib/kreiderclib/strtok.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 strtok.r |
2 | |
3 section bss | |
4 | |
5 * Initialized Data (class G) | |
6 G0000 fcb $00 | |
7 fcb $00 | |
8 | |
9 endsect | |
10 | |
11 section code | |
12 | |
13 strtok: clra | |
14 clrb | |
15 pshs d,u | |
16 ldu 6,s | |
17 bne L000e | |
18 ldu G0000,y | |
19 beq L003a | |
20 L000e ldx 8,s | |
21 pshs x | |
22 pshs u | |
23 lbsr strspn | |
24 leas 4,s | |
25 leau d,u | |
26 ldb ,u | |
27 beq L003a | |
28 stu ,s | |
29 ldx 8,s | |
30 pshs x | |
31 pshs u | |
32 lbsr strpbrk | |
33 leas 4,s | |
34 std G0000,y | |
35 beq L003a | |
36 tfr d,x | |
37 clr ,x+ | |
38 stx G0000,y | |
39 L003a puls d,u,pc | |
40 | |
41 endsect | |
42 |