Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_21.ADF » F/MCTassm

F/MCTassm

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_21.ADF
Filename: F/MCTassm
Read OK:
File size: 0A87 bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10REM MCTassm
   20REM
   30MODE6
   40REM variables
   50oswrch=&FFEE:osbyte=&FFF4:osrdch=&FFE0
   60addr=&70:len=&80:temp=&81:xc=&82:yc=&83:speed=&84
   70?xc=19:?yc=15:?speed=32
  110DIM Q% &2000
  120FORpass=0 TO 2 STEP 2
  130P%=Q%
  140[OPTpass
  150.start
  160        LDA#22:JSRoswrch:LDA#4:JSRoswrch        \ MODE 4
  170        JSRcuroff
  180        JSRchars
  300.mainloop
  310        LDA#31:JSRoswrch:LDAxc:JSRoswrch:LDAyc:JSRoswrch:LDA#32:JSRoswrch         \ VDU31,xc,yc,32
  330        JSRmove
  340        LDA#31:JSRoswrch:LDAxc:JSRoswrch:LDAyc:JSRoswrch:LDA#224:JSRoswrch        \ VDU31,xc,yc,224
  550        JMPmainloop
  990        RTS
 1000.print  STXaddr
 1010        STYaddr+1
 1020        LDY#0
 1030.prtlp  LDA(addr),Y
 1040        CMP#&FF:BEQendprt
 1050        JSRoswrch
 1060        INY:JMPprtlp
 1070.endprt RTS
 1080.tab    LDA#31:JSRoswrch
 1090        TXA:JSRoswrch:TYA:JMPoswrch
 1100.uline  JSRoswrch:DEX:BNEuline:RTS
 1110.comms  STXaddr
 1120        STYaddr+1
 1130        TAY
 1140.cloop  LDA(addr),Y
 1150        JSRoswrch
 1160        DEY:BNE cloop
 1170        RTS
 1180.curon  LDA#1:BNE cur
 1190.curoff LDA#0
 1200.cur    TAX:LDA#23:JSRoswrch
 1210        LDA#1:JSRoswrch
 1220        TXA:JSRoswrch
 1230        LDX#7
 1240.lp     LDA#0:JSRoswrch
 1250        DEX:BNE lp
 1260        RTS
 1270.plot   STXaddr
 1280        STYaddr+1
 1290        STA len
 1300        LDY#0
 1310.ploop  LDA#25             \VDU25
 1320        LDX#5
 1330.ploop2 LDA(addr),Y:JSRoswrch \enter data byte
 1340        INY:BNE notovr
 1350        INCaddr+1
 1360.notovr DEX:BNE ploop2
 1370        DEClen:BNE ploop
 1380        RTS
 1390.chars  LDY#0
 1400        LDX#224             \first character number
 1410        LDA#23:JSRoswrch     \VDU23
 1420.chlp1  STXtemp             \save  char number
 1430        TXA:JSRoswrch       \char  no.
 1440        LDX#8
 1450.chlp2  LDAchdata,Y         \read  data byte
 1460        JSRoswrch
 1470        INY:DEX
 1480        BNEchlp2
 1490        LDXtemp             \reload char no.
 1500        INX                 \increment char no.
 1510        CPX#225               \n=last char no. +1
 1520        BNEchlp1
 1530.move
 1540.lt     LDA#129:LDX#&9E:LDY#&FF:JSRosbyte:BCCrt:JSRleft
 1550.rt     LDA#129:LDX#&BD:LDY#&FF:JSRosbyte:BCCu:JSRright
 1560.u      LDA#129:LDX#&B7:LDY#&FF:JSRosbyte:BCCd:JSRup
 1570.d      LDA#129:LDX#&97:LDY#&FF:JSRosbyte:BCCe:JSRdown
 1580.e RTS
 1590.left   LDAxc:CMP#0:BEQnotlt:DECxc:.notlt RTS
 1600.right  LDAxc:CMP#39:BCSnotrt:INCxc:.notrt RTS
 1610.up     LDAyc:CMP#0:BEQnotup:DECyc:.notup RTS
 1620.down   LDAyc:CMP#30:BCSnotdn:INCyc:.notdn RTS
 1630.delay  PHA:TXA:PHA:TAY:PHA     \ save register values on stack
 1640        LDXspeed:.xloop LDY#255:.yloop DEY:BNEyloop:DEX:BNExloop
 1650        PLA:TAY:PLA:TAX:PLA:RTS
 2000.data
 2010.chdata EQUD&DB7E3C18:EQUD&8142247E
 3000]
 3010NEXT
 3020CALLstart


� MCTassm
�
�6
(� variables
2*oswrch=&FFEE:osbyte=&FFF4:osrdch=&FFE0
<5addr=&70:len=&80:temp=&81:xc=&82:yc=&83:speed=&84
F?xc=19:?yc=15:?speed=32
n� Q% &2000
x�pass=0 � 2 � 2
�	P%=Q%
�[OPTpass
�
.start
�9        LDA#22:JSRoswrch:LDA#4:JSRoswrch        \ � 4
�        JSRcuroff
�        JSRchars
,
.mainloop
6d        LDA#31:JSRoswrch:LDAxc:JSRoswrch:LDAyc:JSRoswrch:LDA#32:JSRoswrch         \ �31,xc,yc,32
J        JSRmove
Te        LDA#31:JSRoswrch:LDAxc:JSRoswrch:LDAyc:JSRoswrch:LDA#224:JSRoswrch        \ �31,xc,yc,224
&        JMPmainloop
�        RTS
�.print  STXaddr
�        STYaddr+1
�        LDY#0
.prtlp  LDA(addr),Y
        CMP#&FF:BEQendprt
        JSRoswrch
$        INY:JMPprtlp
..endprt RTS
8.tab    LDA#31:JSRoswrch
B'        TXA:JSRoswrch:TYA:JMPoswrch
L&.uline  JSRoswrch:DEX:BNEuline:RTS
V.comms  STXaddr
`        STYaddr+1
j        TAY
t.cloop  LDA(addr),Y
~        JSRoswrch
�        DEY:BNE cloop
�        RTS
�.curon  LDA#1:BNE cur
�.curoff LDA#0
� .cur    TAX:LDA#23:JSRoswrch
�        LDA#1:JSRoswrch
�        TXA:JSRoswrch
�        LDX#7
�.lp     LDA#0:JSRoswrch
�        DEX:BNE lp
�        RTS
�.plot   STXaddr
        STYaddr+1

        STA len
        LDY#0
#.ploop  LDA#25             \�25
(        LDX#5
22.ploop2 LDA(addr),Y:JSRoswrch \enter data byte
<        INY:BNE notovr
F        INCaddr+1
P.notovr DEX:BNE ploop2
Z        DEClen:BNE ploop
d        RTS
n.chars  LDY#0
x7        LDX#224             \first character number
�%        LDA#23:JSRoswrch     \�23
�2.chlp1  STXtemp             \save  char number
�*        TXA:JSRoswrch       \char  no.
�        LDX#8
�0.chlp2  LDAchdata,Y         \read  data byte
�        JSRoswrch
�        INY:DEX
�        BNEchlp2
�0        LDXtemp             \reload char no.
�3        INX                 \increment char no.
�5        CPX#225               \n=last char no. +1
�        BNEchlp1
�	.move
;.lt     LDA#129:LDX#&9E:LDY#&FF:JSRosbyte:BCCrt:JSRleft
;.rt     LDA#129:LDX#&BD:LDY#&FF:JSRosbyte:BCCu:JSRright
8.u      LDA#129:LDX#&B7:LDY#&FF:JSRosbyte:BCCd:JSRup
":.d      LDA#129:LDX#&97:LDY#&FF:JSRosbyte:BCCe:JSRdown
,
.e RTS
61.left   LDAxc:CMP#0:BEQnotlt:DECxc:.notlt RTS
@2.right  LDAxc:CMP#39:BCSnotrt:INCxc:.notrt RTS
J1.up     LDAyc:CMP#0:BEQnotup:DECyc:.notup RTS
T2.down   LDAyc:CMP#30:BCSnotdn:INCyc:.notdn RTS
^C.delay  PHA:TXA:PHA:TAY:PHA     \ save register values on stack
hD        LDXspeed:.xloop LDY#255:.yloop DEY:BNEyloop:DEX:BNExloop
r#        PLA:TAY:PLA:TAX:PLA:RTS
�	.data
�'.chdata EQUD&DB7E3C18:EQUD&8142247E
�]
��
�
�start
�
00000000  0d 00 0a 0d f4 20 4d 43  54 61 73 73 6d 0d 00 14  |..... MCTassm...|
00000010  05 f4 0d 00 1e 06 eb 36  0d 00 28 0f f4 20 76 61  |.......6..(.. va|
00000020  72 69 61 62 6c 65 73 0d  00 32 2a 6f 73 77 72 63  |riables..2*oswrc|
00000030  68 3d 26 46 46 45 45 3a  6f 73 62 79 74 65 3d 26  |h=&FFEE:osbyte=&|
00000040  46 46 46 34 3a 6f 73 72  64 63 68 3d 26 46 46 45  |FFF4:osrdch=&FFE|
00000050  30 0d 00 3c 35 61 64 64  72 3d 26 37 30 3a 6c 65  |0..<5addr=&70:le|
00000060  6e 3d 26 38 30 3a 74 65  6d 70 3d 26 38 31 3a 78  |n=&80:temp=&81:x|
00000070  63 3d 26 38 32 3a 79 63  3d 26 38 33 3a 73 70 65  |c=&82:yc=&83:spe|
00000080  65 64 3d 26 38 34 0d 00  46 1b 3f 78 63 3d 31 39  |ed=&84..F.?xc=19|
00000090  3a 3f 79 63 3d 31 35 3a  3f 73 70 65 65 64 3d 33  |:?yc=15:?speed=3|
000000a0  32 0d 00 6e 0e de 20 51  25 20 26 32 30 30 30 0d  |2..n.. Q% &2000.|
000000b0  00 78 13 e3 70 61 73 73  3d 30 20 b8 20 32 20 88  |.x..pass=0 . 2 .|
000000c0  20 32 0d 00 82 09 50 25  3d 51 25 0d 00 8c 0c 5b  | 2....P%=Q%....[|
000000d0  4f 50 54 70 61 73 73 0d  00 96 0a 2e 73 74 61 72  |OPTpass.....star|
000000e0  74 0d 00 a0 39 20 20 20  20 20 20 20 20 4c 44 41  |t...9        LDA|
000000f0  23 32 32 3a 4a 53 52 6f  73 77 72 63 68 3a 4c 44  |#22:JSRoswrch:LD|
00000100  41 23 34 3a 4a 53 52 6f  73 77 72 63 68 20 20 20  |A#4:JSRoswrch   |
00000110  20 20 20 20 20 5c 20 eb  20 34 0d 00 aa 15 20 20  |     \ . 4....  |
00000120  20 20 20 20 20 20 4a 53  52 63 75 72 6f 66 66 0d  |      JSRcuroff.|
00000130  00 b4 14 20 20 20 20 20  20 20 20 4a 53 52 63 68  |...        JSRch|
00000140  61 72 73 0d 01 2c 0d 2e  6d 61 69 6e 6c 6f 6f 70  |ars..,..mainloop|
00000150  0d 01 36 64 20 20 20 20  20 20 20 20 4c 44 41 23  |..6d        LDA#|
00000160  33 31 3a 4a 53 52 6f 73  77 72 63 68 3a 4c 44 41  |31:JSRoswrch:LDA|
00000170  78 63 3a 4a 53 52 6f 73  77 72 63 68 3a 4c 44 41  |xc:JSRoswrch:LDA|
00000180  79 63 3a 4a 53 52 6f 73  77 72 63 68 3a 4c 44 41  |yc:JSRoswrch:LDA|
00000190  23 33 32 3a 4a 53 52 6f  73 77 72 63 68 20 20 20  |#32:JSRoswrch   |
000001a0  20 20 20 20 20 20 5c 20  ef 33 31 2c 78 63 2c 79  |      \ .31,xc,y|
000001b0  63 2c 33 32 0d 01 4a 13  20 20 20 20 20 20 20 20  |c,32..J.        |
000001c0  4a 53 52 6d 6f 76 65 0d  01 54 65 20 20 20 20 20  |JSRmove..Te     |
000001d0  20 20 20 4c 44 41 23 33  31 3a 4a 53 52 6f 73 77  |   LDA#31:JSRosw|
000001e0  72 63 68 3a 4c 44 41 78  63 3a 4a 53 52 6f 73 77  |rch:LDAxc:JSRosw|
000001f0  72 63 68 3a 4c 44 41 79  63 3a 4a 53 52 6f 73 77  |rch:LDAyc:JSRosw|
00000200  72 63 68 3a 4c 44 41 23  32 32 34 3a 4a 53 52 6f  |rch:LDA#224:JSRo|
00000210  73 77 72 63 68 20 20 20  20 20 20 20 20 5c 20 ef  |swrch        \ .|
00000220  33 31 2c 78 63 2c 79 63  2c 32 32 34 0d 02 26 17  |31,xc,yc,224..&.|
00000230  20 20 20 20 20 20 20 20  4a 4d 50 6d 61 69 6e 6c  |        JMPmainl|
00000240  6f 6f 70 0d 03 de 0f 20  20 20 20 20 20 20 20 52  |oop....        R|
00000250  54 53 0d 03 e8 13 2e 70  72 69 6e 74 20 20 53 54  |TS.....print  ST|
00000260  58 61 64 64 72 0d 03 f2  15 20 20 20 20 20 20 20  |Xaddr....       |
00000270  20 53 54 59 61 64 64 72  2b 31 0d 03 fc 11 20 20  | STYaddr+1....  |
00000280  20 20 20 20 20 20 4c 44  59 23 30 0d 04 06 17 2e  |      LDY#0.....|
00000290  70 72 74 6c 70 20 20 4c  44 41 28 61 64 64 72 29  |prtlp  LDA(addr)|
000002a0  2c 59 0d 04 10 1d 20 20  20 20 20 20 20 20 43 4d  |,Y....        CM|
000002b0  50 23 26 46 46 3a 42 45  51 65 6e 64 70 72 74 0d  |P#&FF:BEQendprt.|
000002c0  04 1a 15 20 20 20 20 20  20 20 20 4a 53 52 6f 73  |...        JSRos|
000002d0  77 72 63 68 0d 04 24 18  20 20 20 20 20 20 20 20  |wrch..$.        |
000002e0  49 4e 59 3a 4a 4d 50 70  72 74 6c 70 0d 04 2e 0f  |INY:JMPprtlp....|
000002f0  2e 65 6e 64 70 72 74 20  52 54 53 0d 04 38 1c 2e  |.endprt RTS..8..|
00000300  74 61 62 20 20 20 20 4c  44 41 23 33 31 3a 4a 53  |tab    LDA#31:JS|
00000310  52 6f 73 77 72 63 68 0d  04 42 27 20 20 20 20 20  |Roswrch..B'     |
00000320  20 20 20 54 58 41 3a 4a  53 52 6f 73 77 72 63 68  |   TXA:JSRoswrch|
00000330  3a 54 59 41 3a 4a 4d 50  6f 73 77 72 63 68 0d 04  |:TYA:JMPoswrch..|
00000340  4c 26 2e 75 6c 69 6e 65  20 20 4a 53 52 6f 73 77  |L&.uline  JSRosw|
00000350  72 63 68 3a 44 45 58 3a  42 4e 45 75 6c 69 6e 65  |rch:DEX:BNEuline|
00000360  3a 52 54 53 0d 04 56 13  2e 63 6f 6d 6d 73 20 20  |:RTS..V..comms  |
00000370  53 54 58 61 64 64 72 0d  04 60 15 20 20 20 20 20  |STXaddr..`.     |
00000380  20 20 20 53 54 59 61 64  64 72 2b 31 0d 04 6a 0f  |   STYaddr+1..j.|
00000390  20 20 20 20 20 20 20 20  54 41 59 0d 04 74 17 2e  |        TAY..t..|
000003a0  63 6c 6f 6f 70 20 20 4c  44 41 28 61 64 64 72 29  |cloop  LDA(addr)|
000003b0  2c 59 0d 04 7e 15 20 20  20 20 20 20 20 20 4a 53  |,Y..~.        JS|
000003c0  52 6f 73 77 72 63 68 0d  04 88 19 20 20 20 20 20  |Roswrch....     |
000003d0  20 20 20 44 45 59 3a 42  4e 45 20 63 6c 6f 6f 70  |   DEY:BNE cloop|
000003e0  0d 04 92 0f 20 20 20 20  20 20 20 20 52 54 53 0d  |....        RTS.|
000003f0  04 9c 19 2e 63 75 72 6f  6e 20 20 4c 44 41 23 31  |....curon  LDA#1|
00000400  3a 42 4e 45 20 63 75 72  0d 04 a6 11 2e 63 75 72  |:BNE cur.....cur|
00000410  6f 66 66 20 4c 44 41 23  30 0d 04 b0 20 2e 63 75  |off LDA#0... .cu|
00000420  72 20 20 20 20 54 41 58  3a 4c 44 41 23 32 33 3a  |r    TAX:LDA#23:|
00000430  4a 53 52 6f 73 77 72 63  68 0d 04 ba 1b 20 20 20  |JSRoswrch....   |
00000440  20 20 20 20 20 4c 44 41  23 31 3a 4a 53 52 6f 73  |     LDA#1:JSRos|
00000450  77 72 63 68 0d 04 c4 19  20 20 20 20 20 20 20 20  |wrch....        |
00000460  54 58 41 3a 4a 53 52 6f  73 77 72 63 68 0d 04 ce  |TXA:JSRoswrch...|
00000470  11 20 20 20 20 20 20 20  20 4c 44 58 23 37 0d 04  |.        LDX#7..|
00000480  d8 1b 2e 6c 70 20 20 20  20 20 4c 44 41 23 30 3a  |...lp     LDA#0:|
00000490  4a 53 52 6f 73 77 72 63  68 0d 04 e2 16 20 20 20  |JSRoswrch....   |
000004a0  20 20 20 20 20 44 45 58  3a 42 4e 45 20 6c 70 0d  |     DEX:BNE lp.|
000004b0  04 ec 0f 20 20 20 20 20  20 20 20 52 54 53 0d 04  |...        RTS..|
000004c0  f6 13 2e 70 6c 6f 74 20  20 20 53 54 58 61 64 64  |...plot   STXadd|
000004d0  72 0d 05 00 15 20 20 20  20 20 20 20 20 53 54 59  |r....        STY|
000004e0  61 64 64 72 2b 31 0d 05  0a 13 20 20 20 20 20 20  |addr+1....      |
000004f0  20 20 53 54 41 20 6c 65  6e 0d 05 14 11 20 20 20  |  STA len....   |
00000500  20 20 20 20 20 4c 44 59  23 30 0d 05 1e 23 2e 70  |     LDY#0...#.p|
00000510  6c 6f 6f 70 20 20 4c 44  41 23 32 35 20 20 20 20  |loop  LDA#25    |
00000520  20 20 20 20 20 20 20 20  20 5c ef 32 35 0d 05 28  |         \.25..(|
00000530  11 20 20 20 20 20 20 20  20 4c 44 58 23 35 0d 05  |.        LDX#5..|
00000540  32 32 2e 70 6c 6f 6f 70  32 20 4c 44 41 28 61 64  |22.ploop2 LDA(ad|
00000550  64 72 29 2c 59 3a 4a 53  52 6f 73 77 72 63 68 20  |dr),Y:JSRoswrch |
00000560  5c 65 6e 74 65 72 20 64  61 74 61 20 62 79 74 65  |\enter data byte|
00000570  0d 05 3c 1a 20 20 20 20  20 20 20 20 49 4e 59 3a  |..<.        INY:|
00000580  42 4e 45 20 6e 6f 74 6f  76 72 0d 05 46 15 20 20  |BNE notovr..F.  |
00000590  20 20 20 20 20 20 49 4e  43 61 64 64 72 2b 31 0d  |      INCaddr+1.|
000005a0  05 50 1a 2e 6e 6f 74 6f  76 72 20 44 45 58 3a 42  |.P..notovr DEX:B|
000005b0  4e 45 20 70 6c 6f 6f 70  32 0d 05 5a 1c 20 20 20  |NE ploop2..Z.   |
000005c0  20 20 20 20 20 44 45 43  6c 65 6e 3a 42 4e 45 20  |     DEClen:BNE |
000005d0  70 6c 6f 6f 70 0d 05 64  0f 20 20 20 20 20 20 20  |ploop..d.       |
000005e0  20 52 54 53 0d 05 6e 11  2e 63 68 61 72 73 20 20  | RTS..n..chars  |
000005f0  4c 44 59 23 30 0d 05 78  37 20 20 20 20 20 20 20  |LDY#0..x7       |
00000600  20 4c 44 58 23 32 32 34  20 20 20 20 20 20 20 20  | LDX#224        |
00000610  20 20 20 20 20 5c 66 69  72 73 74 20 63 68 61 72  |     \first char|
00000620  61 63 74 65 72 20 6e 75  6d 62 65 72 0d 05 82 25  |acter number...%|
00000630  20 20 20 20 20 20 20 20  4c 44 41 23 32 33 3a 4a  |        LDA#23:J|
00000640  53 52 6f 73 77 72 63 68  20 20 20 20 20 5c ef 32  |SRoswrch     \.2|
00000650  33 0d 05 8c 32 2e 63 68  6c 70 31 20 20 53 54 58  |3...2.chlp1  STX|
00000660  74 65 6d 70 20 20 20 20  20 20 20 20 20 20 20 20  |temp            |
00000670  20 5c 73 61 76 65 20 20  63 68 61 72 20 6e 75 6d  | \save  char num|
00000680  62 65 72 0d 05 96 2a 20  20 20 20 20 20 20 20 54  |ber...*        T|
00000690  58 41 3a 4a 53 52 6f 73  77 72 63 68 20 20 20 20  |XA:JSRoswrch    |
000006a0  20 20 20 5c 63 68 61 72  20 20 6e 6f 2e 0d 05 a0  |   \char  no....|
000006b0  11 20 20 20 20 20 20 20  20 4c 44 58 23 38 0d 05  |.        LDX#8..|
000006c0  aa 30 2e 63 68 6c 70 32  20 20 4c 44 41 63 68 64  |.0.chlp2  LDAchd|
000006d0  61 74 61 2c 59 20 20 20  20 20 20 20 20 20 5c 72  |ata,Y         \r|
000006e0  65 61 64 20 20 64 61 74  61 20 62 79 74 65 0d 05  |ead  data byte..|
000006f0  b4 15 20 20 20 20 20 20  20 20 4a 53 52 6f 73 77  |..        JSRosw|
00000700  72 63 68 0d 05 be 13 20  20 20 20 20 20 20 20 49  |rch....        I|
00000710  4e 59 3a 44 45 58 0d 05  c8 14 20 20 20 20 20 20  |NY:DEX....      |
00000720  20 20 42 4e 45 63 68 6c  70 32 0d 05 d2 30 20 20  |  BNEchlp2...0  |
00000730  20 20 20 20 20 20 4c 44  58 74 65 6d 70 20 20 20  |      LDXtemp   |
00000740  20 20 20 20 20 20 20 20  20 20 5c 72 65 6c 6f 61  |          \reloa|
00000750  64 20 63 68 61 72 20 6e  6f 2e 0d 05 dc 33 20 20  |d char no....3  |
00000760  20 20 20 20 20 20 49 4e  58 20 20 20 20 20 20 20  |      INX       |
00000770  20 20 20 20 20 20 20 20  20 20 5c 69 6e 63 72 65  |          \incre|
00000780  6d 65 6e 74 20 63 68 61  72 20 6e 6f 2e 0d 05 e6  |ment char no....|
00000790  35 20 20 20 20 20 20 20  20 43 50 58 23 32 32 35  |5        CPX#225|
000007a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 5c  |               \|
000007b0  6e 3d 6c 61 73 74 20 63  68 61 72 20 6e 6f 2e 20  |n=last char no. |
000007c0  2b 31 0d 05 f0 14 20 20  20 20 20 20 20 20 42 4e  |+1....        BN|
000007d0  45 63 68 6c 70 31 0d 05  fa 09 2e 6d 6f 76 65 0d  |Echlp1.....move.|
000007e0  06 04 3b 2e 6c 74 20 20  20 20 20 4c 44 41 23 31  |..;.lt     LDA#1|
000007f0  32 39 3a 4c 44 58 23 26  39 45 3a 4c 44 59 23 26  |29:LDX#&9E:LDY#&|
00000800  46 46 3a 4a 53 52 6f 73  62 79 74 65 3a 42 43 43  |FF:JSRosbyte:BCC|
00000810  72 74 3a 4a 53 52 6c 65  66 74 0d 06 0e 3b 2e 72  |rt:JSRleft...;.r|
00000820  74 20 20 20 20 20 4c 44  41 23 31 32 39 3a 4c 44  |t     LDA#129:LD|
00000830  58 23 26 42 44 3a 4c 44  59 23 26 46 46 3a 4a 53  |X#&BD:LDY#&FF:JS|
00000840  52 6f 73 62 79 74 65 3a  42 43 43 75 3a 4a 53 52  |Rosbyte:BCCu:JSR|
00000850  72 69 67 68 74 0d 06 18  38 2e 75 20 20 20 20 20  |right...8.u     |
00000860  20 4c 44 41 23 31 32 39  3a 4c 44 58 23 26 42 37  | LDA#129:LDX#&B7|
00000870  3a 4c 44 59 23 26 46 46  3a 4a 53 52 6f 73 62 79  |:LDY#&FF:JSRosby|
00000880  74 65 3a 42 43 43 64 3a  4a 53 52 75 70 0d 06 22  |te:BCCd:JSRup.."|
00000890  3a 2e 64 20 20 20 20 20  20 4c 44 41 23 31 32 39  |:.d      LDA#129|
000008a0  3a 4c 44 58 23 26 39 37  3a 4c 44 59 23 26 46 46  |:LDX#&97:LDY#&FF|
000008b0  3a 4a 53 52 6f 73 62 79  74 65 3a 42 43 43 65 3a  |:JSRosbyte:BCCe:|
000008c0  4a 53 52 64 6f 77 6e 0d  06 2c 0a 2e 65 20 52 54  |JSRdown..,..e RT|
000008d0  53 0d 06 36 31 2e 6c 65  66 74 20 20 20 4c 44 41  |S..61.left   LDA|
000008e0  78 63 3a 43 4d 50 23 30  3a 42 45 51 6e 6f 74 6c  |xc:CMP#0:BEQnotl|
000008f0  74 3a 44 45 43 78 63 3a  2e 6e 6f 74 6c 74 20 52  |t:DECxc:.notlt R|
00000900  54 53 0d 06 40 32 2e 72  69 67 68 74 20 20 4c 44  |TS..@2.right  LD|
00000910  41 78 63 3a 43 4d 50 23  33 39 3a 42 43 53 6e 6f  |Axc:CMP#39:BCSno|
00000920  74 72 74 3a 49 4e 43 78  63 3a 2e 6e 6f 74 72 74  |trt:INCxc:.notrt|
00000930  20 52 54 53 0d 06 4a 31  2e 75 70 20 20 20 20 20  | RTS..J1.up     |
00000940  4c 44 41 79 63 3a 43 4d  50 23 30 3a 42 45 51 6e  |LDAyc:CMP#0:BEQn|
00000950  6f 74 75 70 3a 44 45 43  79 63 3a 2e 6e 6f 74 75  |otup:DECyc:.notu|
00000960  70 20 52 54 53 0d 06 54  32 2e 64 6f 77 6e 20 20  |p RTS..T2.down  |
00000970  20 4c 44 41 79 63 3a 43  4d 50 23 33 30 3a 42 43  | LDAyc:CMP#30:BC|
00000980  53 6e 6f 74 64 6e 3a 49  4e 43 79 63 3a 2e 6e 6f  |Snotdn:INCyc:.no|
00000990  74 64 6e 20 52 54 53 0d  06 5e 43 2e 64 65 6c 61  |tdn RTS..^C.dela|
000009a0  79 20 20 50 48 41 3a 54  58 41 3a 50 48 41 3a 54  |y  PHA:TXA:PHA:T|
000009b0  41 59 3a 50 48 41 20 20  20 20 20 5c 20 73 61 76  |AY:PHA     \ sav|
000009c0  65 20 72 65 67 69 73 74  65 72 20 76 61 6c 75 65  |e register value|
000009d0  73 20 6f 6e 20 73 74 61  63 6b 0d 06 68 44 20 20  |s on stack..hD  |
000009e0  20 20 20 20 20 20 4c 44  58 73 70 65 65 64 3a 2e  |      LDXspeed:.|
000009f0  78 6c 6f 6f 70 20 4c 44  59 23 32 35 35 3a 2e 79  |xloop LDY#255:.y|
00000a00  6c 6f 6f 70 20 44 45 59  3a 42 4e 45 79 6c 6f 6f  |loop DEY:BNEyloo|
00000a10  70 3a 44 45 58 3a 42 4e  45 78 6c 6f 6f 70 0d 06  |p:DEX:BNExloop..|
00000a20  72 23 20 20 20 20 20 20  20 20 50 4c 41 3a 54 41  |r#        PLA:TA|
00000a30  59 3a 50 4c 41 3a 54 41  58 3a 50 4c 41 3a 52 54  |Y:PLA:TAX:PLA:RT|
00000a40  53 0d 07 d0 09 2e 64 61  74 61 0d 07 da 27 2e 63  |S.....data...'.c|
00000a50  68 64 61 74 61 20 45 51  55 44 26 44 42 37 45 33  |hdata EQUD&DB7E3|
00000a60  43 31 38 3a 45 51 55 44  26 38 31 34 32 32 34 37  |C18:EQUD&8142247|
00000a70  45 0d 0b b8 05 5d 0d 0b  c2 05 ed 0d 0b cc 0a d6  |E....]..........|
00000a80  73 74 61 72 74 0d ff                              |start..|
00000a87
F/MCTassm.m0
F/MCTassm.m1
F/MCTassm.m2
F/MCTassm.m4
F/MCTassm.m5