AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Bsnes tutorial1/9/2024 ![]() ![]() SNES games are intended to keep running until the user turns the system off or presses reset. Unlike many computer programs, SNES programs aren't really designed to end. Lda #%00001111 End VBlank, setting brightness to 15 (100%).Įnding the program We end the VBlank by turning the screen back on and setting the brightness to 15, again using the Screen Display Register ($2100): Lda #%00000000 Load the high byte of the green color. Lda #%11100000 Load the low byte of the green color. We set the background color of the screen using the Color Data Register ($2122): The color that we will use is 00000000 11100000 (0 blue, 7 green, 0 red) - a dark green. The SNES stores 16-bit colors in the following format: Lda #%10000000 Force VBlank by turning off the screen. Here, we force VBlank by turning off the screen, using the following code:
0 Comments
Read More
Leave a Reply. |