#IRQ

Raster Colour Bars

eZine's profile picture
Published in 
 · 24 Nov 2022
... ace, display them and so on. The effect is that the bars scroll up the screen. Lets view the code. 10 ORG 8192 20 SEI 30 LDA #147 40 JSR $FFD2 50 LDA #$7F 60 STA $DC0D 70 LDA #$FA 80 STA $D012 90 LDA ^IRQ (YOU USE THE UP ARROW) 100 STA $0315 110 LDA #IRQ 120 STA $0314 130 LDA #$F1 140 STA $D01A 150 CLI 160 EVER JMP EVER 170 IRQ LDA #01 180 STA $D019 190 LDA $D011 200 AND #$7F 210 STA $D011 220 LDA #$FA 230 STA $D012 240 LDX #00 250 BACK LDA COLS,X 260 STA 53280 270 JSR DELAY 280 INX 290 CPX #12 300 ...

Interrupts

eZine's profile picture
Published in 
 · 24 Nov 2022
... ifferent background and border colour so you can see whats happened. 10 ORG 8192 20 SEI 30 LDA #147 40 JSR $FFD2 50 LDA #$7F 60 STA $DC0D 70 LDA #00 80 STA $D012 90 STA IRQCOUNT 100 LDA (UPARROW)IRQ - YOU JUST TYPE THE UP ARROW 110 STA $0315 120 LDA #IRQ 130 STA $0314 140 LDA $D01A 150 ORA #01 160 STA $D01A 165 CLI 170 LOOP JMP LOOP 180 IRQ LDA #01 190 STA $D019 200 LDA $D011 210 AND #$7F 220 STA $D011 230 LDA IRQCOUNT 240 BEQ INT1 250 CMP #01 260 BEQ INT2 270 JMP RESET 280 INT1 LDA #100 290 STA $D0 ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT