Home » Personal collection » Commodore disks » disk31a_turbo_assembler.d64 » e.scroller
e.scroller
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.scroller |
Read OK: | ✔ |
File size: | 0255 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
SCROLL LDA VAL SEC SBC #$03 STA VAL BCC *+3 RTS AND #$07 STA VAL LDX #0 SCROLM LDA $0401,X STA $0400,X INX CPX #$28 BNE SCROLM SCROLN LDA SCROLP BEQ SCROLO AND #$3F STA $0427 INC SCROLN+1 BNE *+5 INC SCROLN+2 RTS SCROLO LDA #<SCROLP STA SCROLN+1 LDA #>SCROLP STA SCROLN+2 RTS VAL .BYTE 0 SCROLP .TEXT " ... SCROLL TEXT HERE " .BYTE 0
scrollM lda valM secM sbc #$03M sta valM bcc *+3M rtsMM and #$07M sta valMM ldx #0Mscrolm lda $0401,xM sta $0400,xM inxM cpx #$28M bne scrolmMMscroln lda scrolpM beq scroloMM and #$3fM sta $0427MM inc scroln+1M bne *+5M inc scroln+2M rtsMscroloM lda #<scrolpM sta scroln+1M lda #>scrolpM sta scroln+2M rtsMMvalM .byte 0MscrolpM .text " ... scroll text here "M .byte 0MM
00000000 53 43 52 4f 4c 4c 0d 20 20 20 20 20 20 20 20 20 |SCROLL. | 00000010 4c 44 41 20 56 41 4c 0d 20 20 20 20 20 20 20 20 |LDA VAL. | 00000020 20 53 45 43 0d 20 20 20 20 20 20 20 20 20 53 42 | SEC. SB| 00000030 43 20 23 24 30 33 0d 20 20 20 20 20 20 20 20 20 |C #$03. | 00000040 53 54 41 20 56 41 4c 0d 20 20 20 20 20 20 20 20 |STA VAL. | 00000050 20 42 43 43 20 2a 2b 33 0d 20 20 20 20 20 20 20 | BCC *+3. | 00000060 20 20 52 54 53 0d 0d 20 20 20 20 20 20 20 20 20 | RTS.. | 00000070 41 4e 44 20 23 24 30 37 0d 20 20 20 20 20 20 20 |AND #$07. | 00000080 20 20 53 54 41 20 56 41 4c 0d 0d 20 20 20 20 20 | STA VAL.. | 00000090 20 20 20 20 4c 44 58 20 23 30 0d 53 43 52 4f 4c | LDX #0.SCROL| 000000a0 4d 20 20 20 4c 44 41 20 24 30 34 30 31 2c 58 0d |M LDA $0401,X.| 000000b0 20 20 20 20 20 20 20 20 20 53 54 41 20 24 30 34 | STA $04| 000000c0 30 30 2c 58 0d 20 20 20 20 20 20 20 20 20 49 4e |00,X. IN| 000000d0 58 0d 20 20 20 20 20 20 20 20 20 43 50 58 20 23 |X. CPX #| 000000e0 24 32 38 0d 20 20 20 20 20 20 20 20 20 42 4e 45 |$28. BNE| 000000f0 20 53 43 52 4f 4c 4d 0d 0d 53 43 52 4f 4c 4e 20 | SCROLM..SCROLN | 00000100 20 20 4c 44 41 20 53 43 52 4f 4c 50 0d 20 20 20 | LDA SCROLP. | 00000110 20 20 20 20 20 20 42 45 51 20 53 43 52 4f 4c 4f | BEQ SCROLO| 00000120 0d 0d 20 20 20 20 20 20 20 20 20 41 4e 44 20 23 |.. AND #| 00000130 24 33 46 0d 20 20 20 20 20 20 20 20 20 53 54 41 |$3F. STA| 00000140 20 24 30 34 32 37 0d 0d 20 20 20 20 20 20 20 20 | $0427.. | 00000150 20 49 4e 43 20 53 43 52 4f 4c 4e 2b 31 0d 20 20 | INC SCROLN+1. | 00000160 20 20 20 20 20 20 20 42 4e 45 20 2a 2b 35 0d 20 | BNE *+5. | 00000170 20 20 20 20 20 20 20 20 49 4e 43 20 53 43 52 4f | INC SCRO| 00000180 4c 4e 2b 32 0d 20 20 20 20 20 20 20 20 20 52 54 |LN+2. RT| 00000190 53 0d 53 43 52 4f 4c 4f 0d 20 20 20 20 20 20 20 |S.SCROLO. | 000001a0 20 20 4c 44 41 20 23 3c 53 43 52 4f 4c 50 0d 20 | LDA #<SCROLP. | 000001b0 20 20 20 20 20 20 20 20 53 54 41 20 53 43 52 4f | STA SCRO| 000001c0 4c 4e 2b 31 0d 20 20 20 20 20 20 20 20 20 4c 44 |LN+1. LD| 000001d0 41 20 23 3e 53 43 52 4f 4c 50 0d 20 20 20 20 20 |A #>SCROLP. | 000001e0 20 20 20 20 53 54 41 20 53 43 52 4f 4c 4e 2b 32 | STA SCROLN+2| 000001f0 0d 20 20 20 20 20 20 20 20 20 52 54 53 0d 0d 56 |. RTS..V| 00000200 41 4c 0d 20 20 20 20 20 20 20 20 20 2e 42 59 54 |AL. .BYT| 00000210 45 20 30 0d 53 43 52 4f 4c 50 0d 20 20 20 20 20 |E 0.SCROLP. | 00000220 20 20 20 20 2e 54 45 58 54 20 22 20 2e 2e 2e 20 | .TEXT " ... | 00000230 53 43 52 4f 4c 4c 20 54 45 58 54 20 48 45 52 45 |SCROLL TEXT HERE| 00000240 20 22 0d 20 20 20 20 20 20 20 20 20 2e 42 59 54 | ". .BYT| 00000250 45 20 30 0d 0d |E 0..| 00000255