Minimal Game Boy Hello World using GBDK-2020 and PyBoy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <gb/gb.h> |
|
#include <stdio.h> |
|
#include "music.h" |
|
|
|
void main() { |
|
printf(" AUDIO TEST MICE!\n\n"); |
|
printf(" Soundtrack in Loop...\n"); |
|
|
|
init_music(); |
|
|
|
while(1) { |
|
update_music(); |
|
wait_vbl_done(); |
|
|
|
uint8_t keys = joypad(); |
|
// Optional test logic for SFX could go here if needed. |
|
} |
|
}
|
|
|