Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;== Include memorymap, header info, and SNES initialization routines
- .INCLUDE "header.inc"
- .INCLUDE "InitSNES.asm"
- ;========================
- ; Start
- ;========================
- .BANK 0 SLOT 0
- .ORG 0
- .SECTION "MainCode"
- VBlank: RTI ; Perform VBlank
- Main:
- InitializeSNES ; Init Snes :)
- stz $2121 ; Edit color 0 - snes' screen color you can write it in binary or hex
- lda #%00011111 ; binary is more visual, but if you wanna be cool, use hex ;)
- sta $2122
- stz $2122 ; second byte has no data, so we write a 0
- lda #$0F ; = 00001111
- sta $2100 ; Turn on screen, full brightness
- .ENDS
Advertisement
Add Comment
Please, Sign In to add comment