Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .include "header.inc"
- .include "Snes_Init.asm"
- VBlank:
- RTI
- .bank 0
- .section "MainCode"
- Start:
- ; Get our motor running!
- Snes_Init
- sep #$20 ; Set the A register to 8-bit
- lda #%10000000
- sta $2100
- ; Lets set the color
- lda #%11100000 ; load the low byte of the green color.
- sta $2122
- lda #%00000000 ; load the high byte of the green color.
- sta $2122
- ; end vblank
- lda #%00001111 ; Set brightness to 15 (100%)
- sta $2100
- Forever:
- jmp Forever
- .ends
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement