Home » Personal collection » Commodore disks » disk31a_turbo_assembler.d64 » e.colourbar
e.colourbar
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 » Commodore disks » disk31a_turbo_assembler.d64 |
Filename: | e.colourbar |
Read OK: | ✔ |
File size: | 02E3 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
COLOURBAR LDX #$00 CALL LDY DELAY,X DEY BNE *-1 LDA COLOUR,X STA $D020 STA $D021 INX CPX #COLEND-COLOUR BNE CALL RTS DELAY .BYTE 1,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 .BYTE 8,8,1,8,8,8,8,8 COLOUR .BYTE 6,4,14,5,3,13,1,13 .BYTE 3,5,14,4,6,0,0,0 .BYTE 11,0,11,12,0,11,12,15 .BYTE 11,12,15,1,15,12,11,15 .BYTE 12,11,0,12,11,0,11,0 .BYTE 0,0 .BYTE 9,2,8,10,15,7,1,7 .BYTE 15,10,8,2,9,0 COLEND
colourbarM ldx #$00Mcall ldy delay,xM deyM bne *-1M lda colour,xM sta $d020M sta $d021M inxM cpx #colend-colourM bne callM rtsMdelayM .byte 1,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8M .byte 8,8,1,8,8,8,8,8MMcolourM .byte 6,4,14,5,3,13,1,13M .byte 3,5,14,4,6,0,0,0M .byte 11,0,11,12,0,11,12,15M .byte 11,12,15,1,15,12,11,15M .byte 12,11,0,12,11,0,11,0M .byte 0,0M .byte 9,2,8,10,15,7,1,7M .byte 15,10,8,2,9,0McolendMM
00000000 43 4f 4c 4f 55 52 42 41 52 0d 20 20 20 20 20 20 |COLOURBAR. | 00000010 20 20 20 4c 44 58 20 23 24 30 30 0d 43 41 4c 4c | LDX #$00.CALL| 00000020 20 20 20 20 20 4c 44 59 20 44 45 4c 41 59 2c 58 | LDY DELAY,X| 00000030 0d 20 20 20 20 20 20 20 20 20 44 45 59 0d 20 20 |. DEY. | 00000040 20 20 20 20 20 20 20 42 4e 45 20 2a 2d 31 0d 20 | BNE *-1. | 00000050 20 20 20 20 20 20 20 20 4c 44 41 20 43 4f 4c 4f | LDA COLO| 00000060 55 52 2c 58 0d 20 20 20 20 20 20 20 20 20 53 54 |UR,X. ST| 00000070 41 20 24 44 30 32 30 0d 20 20 20 20 20 20 20 20 |A $D020. | 00000080 20 53 54 41 20 24 44 30 32 31 0d 20 20 20 20 20 | STA $D021. | 00000090 20 20 20 20 49 4e 58 0d 20 20 20 20 20 20 20 20 | INX. | 000000a0 20 43 50 58 20 23 43 4f 4c 45 4e 44 2d 43 4f 4c | CPX #COLEND-COL| 000000b0 4f 55 52 0d 20 20 20 20 20 20 20 20 20 42 4e 45 |OUR. BNE| 000000c0 20 43 41 4c 4c 0d 20 20 20 20 20 20 20 20 20 52 | CALL. R| 000000d0 54 53 0d 44 45 4c 41 59 0d 20 20 20 20 20 20 20 |TS.DELAY. | 000000e0 20 20 2e 42 59 54 45 20 31 2c 38 2c 31 2c 38 2c | .BYTE 1,8,1,8,| 000000f0 38 2c 38 2c 38 2c 38 0d 20 20 20 20 20 20 20 20 |8,8,8,8. | 00000100 20 2e 42 59 54 45 20 38 2c 38 2c 31 2c 38 2c 38 | .BYTE 8,8,1,8,8| 00000110 2c 38 2c 38 2c 38 0d 20 20 20 20 20 20 20 20 20 |,8,8,8. | 00000120 2e 42 59 54 45 20 38 2c 38 2c 31 2c 38 2c 38 2c |.BYTE 8,8,1,8,8,| 00000130 38 2c 38 2c 38 0d 20 20 20 20 20 20 20 20 20 2e |8,8,8. .| 00000140 42 59 54 45 20 38 2c 38 2c 31 2c 38 2c 38 2c 38 |BYTE 8,8,1,8,8,8| 00000150 2c 38 2c 38 0d 20 20 20 20 20 20 20 20 20 2e 42 |,8,8. .B| 00000160 59 54 45 20 38 2c 38 2c 31 2c 38 2c 38 2c 38 2c |YTE 8,8,1,8,8,8,| 00000170 38 2c 38 0d 20 20 20 20 20 20 20 20 20 2e 42 59 |8,8. .BY| 00000180 54 45 20 38 2c 38 2c 31 2c 38 2c 38 2c 38 2c 38 |TE 8,8,1,8,8,8,8| 00000190 2c 38 0d 20 20 20 20 20 20 20 20 20 2e 42 59 54 |,8. .BYT| 000001a0 45 20 38 2c 38 2c 31 2c 38 2c 38 2c 38 2c 38 2c |E 8,8,1,8,8,8,8,| 000001b0 38 0d 20 20 20 20 20 20 20 20 20 2e 42 59 54 45 |8. .BYTE| 000001c0 20 38 2c 38 2c 31 2c 38 2c 38 2c 38 2c 38 2c 38 | 8,8,1,8,8,8,8,8| 000001d0 0d 0d 43 4f 4c 4f 55 52 0d 20 20 20 20 20 20 20 |..COLOUR. | 000001e0 20 20 2e 42 59 54 45 20 36 2c 34 2c 31 34 2c 35 | .BYTE 6,4,14,5| 000001f0 2c 33 2c 31 33 2c 31 2c 31 33 0d 20 20 20 20 20 |,3,13,1,13. | 00000200 20 20 20 20 2e 42 59 54 45 20 33 2c 35 2c 31 34 | .BYTE 3,5,14| 00000210 2c 34 2c 36 2c 30 2c 30 2c 30 0d 20 20 20 20 20 |,4,6,0,0,0. | 00000220 20 20 20 20 2e 42 59 54 45 20 31 31 2c 30 2c 31 | .BYTE 11,0,1| 00000230 31 2c 31 32 2c 30 2c 31 31 2c 31 32 2c 31 35 0d |1,12,0,11,12,15.| 00000240 20 20 20 20 20 20 20 20 20 2e 42 59 54 45 20 31 | .BYTE 1| 00000250 31 2c 31 32 2c 31 35 2c 31 2c 31 35 2c 31 32 2c |1,12,15,1,15,12,| 00000260 31 31 2c 31 35 0d 20 20 20 20 20 20 20 20 20 2e |11,15. .| 00000270 42 59 54 45 20 31 32 2c 31 31 2c 30 2c 31 32 2c |BYTE 12,11,0,12,| 00000280 31 31 2c 30 2c 31 31 2c 30 0d 20 20 20 20 20 20 |11,0,11,0. | 00000290 20 20 20 2e 42 59 54 45 20 30 2c 30 0d 20 20 20 | .BYTE 0,0. | 000002a0 20 20 20 20 20 20 2e 42 59 54 45 20 39 2c 32 2c | .BYTE 9,2,| 000002b0 38 2c 31 30 2c 31 35 2c 37 2c 31 2c 37 0d 20 20 |8,10,15,7,1,7. | 000002c0 20 20 20 20 20 20 20 2e 42 59 54 45 20 31 35 2c | .BYTE 15,| 000002d0 31 30 2c 38 2c 32 2c 39 2c 30 0d 43 4f 4c 45 4e |10,8,2,9,0.COLEN| 000002e0 44 0d 0d |D..| 000002e3