Working on ppu

This commit is contained in:
2025-02-18 22:39:56 -07:00
parent 89a1b4cec6
commit c8ec44fa39
7 changed files with 38 additions and 9 deletions

View File

@ -58,6 +58,14 @@ void lcd_write(u16 address, u8 value) {
u8 *p = (u8 *)&ctx;
p[offset] = value;
if(offset == 2) {
printf("YScroll: %02X\n", value);
}
if(offset == 0xA) {
printf("WinY: %02X\n", value);
}
if(offset == 6) {
//offset FF64
dma_start(value);