what is this news thing for anyway
Started by Keoni29, December 20, 2014, 05:27:59 pm
0 Members and 1 Guest are viewing this topic.
Quote from: keoni29 on December 21, 2014, 09:35:40 amSo therefore this device does not have a screen
.const DISROM = 16.const BANKSEL = 32.const CIA = $D000.const ledpin = 1.const delay = 6553//5.const TAL = CIA + $4.const TAH = CIA + $5.const ICR = CIA + $D.const CRA = CIA + $E.const CRB = CIA + $F.pc = $0200init: lda #$FF sta CIA + 3 // Set port to all Outputs lda #DISROM // Disable the ROM sta $00 ora $01 sta $01 lda #<isr // Set interrupt vector sta $FFFE lda #>isr sta $FFFF lda #<delay // Set timer delay sta TAL lda #>delay sta TAH lda #%10000001 // Enable timer A underflow interrupts sta ICR lda #%00010001 // Start timer in continuous mode sta CRA ldy #0 cli // Enable interruptsloop: jmp loopisr: ldx ICR // Acknowledge interrupt iny sty CIA + 1 // Blink LED rti
CodeWalr.us 2.0 © 2019, DJ Omnimaga & Juju
Page created in 0.048 seconds with 37 queries.