Code block address: CB48 Length: 6 M:1 X:0 called by: C9E9 00CB48 AD8611 lda al, 0x1186 ; Call target from C9E9 ; Current Cylinder 00CB4B D001 bne 0xcb4e 00CB4D 60 rts Code block address: CB4E Length: 52 M:1 X:0 called by: CB4B 00CB4E 2C9711022F bbs #0x02, 0x1197, 0xcb82 ; Branch target from CB4B 00CB53 1C971120 clb #0x20, 0x1197 00CB57 1A dec al ; Branch target from CB8B 00CB58 D8 clm ; m:0 x:0 00CB59 29FF00 and ax, #0x00ff 00CB5C 18 clc 00CB5D 69BCCC adc ax, #0xccbc 00CB60 AA tax 00CB61 A9FFFF lda ax, #0xffff 00CB64 8588 sta ax, dp + 0x88 ; Write to Timer B3 counter 00CB66 F8 sem ; m:1 x:0 00CB67 AD6C10 lda al, 0x106c 00CB6A 29F0 and al, #0xf0 00CB6C 1500 ora al, dp + 0x00 + ix 00CB6E 8D6C10 sta al, 0x106c 00CB71 8D0028 sta al, 0x2800 00CB74 0C971108 seb #0x08, 0x1197 00CB78 2C97112010 bbs #0x20, 0x1197, 0xcb8d 00CB7D A90F lda al, #0x0f 00CB7F 4CB3CC jmp 0xccb3 Code block address: CB82 Length: 11 M:1 X:0 called by: CB4E 00CB82 2C97112006 bbs #0x20, 0x1197, 0xcb8d ; Branch target from CB4E 00CB87 0C971120 seb #0x20, 0x1197 00CB8B 80CA bra 0xcb57 Code block address: CB8D Length: 14 M:1 X:0 called by: CB78 00CB8D 20E7D7 jsr 0xd7e7 ; Branch target from CB78, Branch target from CB82 00CB90 3CAF140106 bbc #0x01, 0x14af, 0xcb9b 00CB95 D8 clm ; m:0 x:0 00CB96 ADA614 lda ax, 0x14a6 00CB99 8017 bra 0xcbb2 Code block address: CB9B Length: 105 M:1 X:0 called by: CB90 00CB9B AD8084 lda al, 0x8480 ; Branch target from CB90 00CB9E D8 clm ; m:0 x:0 00CB9F 29FF00 and ax, #0x00ff 00CBA2 890D9411 mpy 0x1194 00CBA6 20E9D1 jsr 0xd1e9-Div-BX-by-16-Rem-to-AX 00CBA9 18 clc 00CBAA 6D5210 adc ax, 0x1052 00CBAD 9003 bcc 0xcbb2 00CBAF A9FFFF lda ax, #0xffff 00CBB2 8D0010 sta ax, 0x1000 ; Branch target from CB99, Branch target from CBAD 00CBB5 AD8784 lda ax, 0x8487 00CBB8 29FF00 and ax, #0x00ff 00CBBB 890D9411 mpy 0x1194 00CBBF 20E9D1 jsr 0xd1e9-Div-BX-by-16-Rem-to-AX 00CBC2 42AA tbx 00CBC4 F003 beq 0xcbc9 00CBC6 A9FFFF lda ax, #0xffff 00CBC9 CD0010 cmp ax, 0x1000 ; Branch target from CBC4 00CBCC 9003 bcc 0xcbd1 00CBCE AD0010 lda ax, 0x1000 00CBD1 8D4611 sta ax, 0x1146 ; Branch target from CBCC 00CBD4 A97800 lda ax, #0x0078 00CBD7 890D9411 mpy 0x1194 00CBDB 20E9D1 jsr 0xd1e9-Div-BX-by-16-Rem-to-AX 00CBDE 42AA tbx 00CBE0 F003 beq 0xcbe5 00CBE2 A9FFFF lda ax, #0xffff 00CBE5 38 sec ; Branch target from CBE0 00CBE6 ED4611 sbc ax, 0x1146 00CBE9 9005 bcc 0xcbf0 00CBEB C9FA00 cmp ax, #0x00fa 00CBEE B003 bcs 0xcbf3 00CBF0 A9FA00 lda ax, #0x00fa ; Branch target from CBE9 00CBF3 8D4811 sta ax, 0x1148 ; Branch target from CBEE 00CBF6 F8 sem ; m:1 x:0 00CBF7 A946 lda al, #0x46 00CBF9 38 sec 00CBFA 3CAF140105 bbc #0x01, 0x14af, 0xcc04 00CBFF EDA314 sbc al, 0x14a3 00CC02 8003 bra 0xcc07 Code block address: CC04 Length: 128 M:1 X:0 called by: CBFA 00CC04 ED5010 sbc al, 0x1050 ; Branch target from CBFA 00CC07 9004 bcc 0xcc0d ; Branch target from CC02 00CC09 C90F cmp al, #0x0f 00CC0B B002 bcs 0xcc0f 00CC0D A90F lda al, #0x0f ; Branch target from CC07 00CC0F D8 clm ; m:0 x:0, Branch target from CC0B 00CC10 29FF00 and ax, #0x00ff 00CC13 890D9411 mpy 0x1194 00CC17 20E9D1 jsr 0xd1e9-Div-BX-by-16-Rem-to-AX 00CC1A 8D0210 sta ax, 0x1002 00CC1D F8 sem ; m:1 x:0 00CC1E 64FE00 ldm #0x00, dp + 0xfe ; Write to Timer C1 strobe interrupt control register 00CC21 04B404 seb #0x04, dp + 0xb4 ; Write to Timer C1 control register 00CC24 14B402 clb #0x02, dp + 0xb4 ; Write to Timer C1 control register 00CC27 04B402 seb #0x02, dp + 0xb4 ; Write to Timer C1 control register 00CC2A 14B404 clb #0x04, dp + 0xb4 ; Write to Timer C1 control register 00CC2D 64FE06 ldm #0x06, dp + 0xfe ; Write to Timer C1 strobe interrupt control register 00CC30 D8 clm ; m:0 x:0 00CC31 A5A0 lda ax, dp + 0xa0 ; Read from Timer C1 counter 00CC33 8D0010 sta ax, 0x1000 00CC36 4A lsr ax 00CC37 4A lsr ax 00CC38 4A lsr ax 00CC39 4A lsr ax 00CC3A 18 clc 00CC3B 690C00 adc ax, #0x000c 00CC3E 8D0010 sta ax, 0x1000 00CC41 AD0210 lda ax, 0x1002 00CC44 38 sec 00CC45 ED0010 sbc ax, 0x1000 00CC48 9005 bcc 0xcc4f 00CC4A C90B00 cmp ax, #0x000b 00CC4D B003 bcs 0xcc52 00CC4F A90B00 lda ax, #0x000b ; Branch target from CC48 00CC52 8D4A11 sta ax, 0x114a ; Branch target from CC4D 00CC55 38 sec 00CC56 ED4611 sbc ax, 0x1146 00CC59 9031 bcc 0xcc8c 00CC5B C91400 cmp ax, #0x0014 00CC5E 902C bcc 0xcc8c 00CC60 8580 sta ax, dp + 0x80 ; Write to Timer B1 counter 00CC62 8D4C11 sta ax, 0x114c 00CC65 AD4611 lda ax, 0x1146 00CC68 8584 sta ax, dp + 0x84 ; Write to Timer B2 counter 00CC6A AD4A11 lda ax, 0x114a 00CC6D 8588 sta ax, dp + 0x88 ; Write to Timer B3 counter 00CC6F F8 sem ; m:1 x:0 00CC70 3C97110813 bbc #0x08, 0x1197, 0xcc88 00CC75 149207 clb #0x07, dp + 0x92 ; Write to Timer B control register enable 00CC78 340F4008 bbc #0x40, dp + 0x0f, 0xcc84 ; Read from Port 7 00CC7C A90E lda al, #0x0e 00CC7E 1C971108 clb #0x08, 0x1197 00CC82 802F bra 0xccb3 Code block address: CC84 Length: 8 M:1 X:0 called by: CC78 00CC84 1C971108 clb #0x08, 0x1197 ; Branch target from CC78 00CC88 A902 lda al, #0x02 ; Branch target from CC70 00CC8A 8027 bra 0xccb3 Code block address: CC8C Length: 33 M:0 X:0 called by: CC59 00CC8C 8D4C11 sta ax, 0x114c ; Branch target from CC59, Branch target from CC5E 00CC8F AD4A11 lda ax, 0x114a 00CC92 8580 sta ax, dp + 0x80 ; Write to Timer B1 counter 00CC94 AD4811 lda ax, 0x1148 00CC97 8584 sta ax, dp + 0x84 ; Write to Timer B2 counter 00CC99 A9FFFF lda ax, #0xffff 00CC9C 8588 sta ax, dp + 0x88 ; Write to Timer B3 counter 00CC9E F8 sem ; m:1 x:0 00CC9F 3C97110809 bbc #0x08, 0x1197, 0xccad 00CCA4 240F4009 bbs #0x40, dp + 0x0f, 0xccb1 ; Read from Port 7 00CCA8 149207 clb #0x07, dp + 0x92 ; Write to Timer B control register enable 00CCAB 8004 bra 0xccb1 Code block address: CCAD Length: 15 M:1 X:0 called by: CC9F 00CCAD 0C971108 seb #0x08, 0x1197 ; Branch target from CC9F 00CCB1 A90D lda al, #0x0d ; Branch target from CCA4, Branch target from CCAB 00CCB3 8596 sta al, dp + 0x96 ; Branch target from CB7F, Branch target from CC82, Branch target from CC8A, Write to Timer B1 PISO register 00CCB5 049207 seb #0x07, dp + 0x92 ; Write to Timer B control register enable 00CCB8 649400 ldm #0x00, dp + 0x94 ; Write to Timer B operation control 00CCBB 60 rts