logoalt Hacker News

zahlman10/01/20241 replyview on HN

>This is comparable to the GBA, which has 384KB of total RAM

I assume you are thinking of the 32KiB of on-chip work RAM plus 256KiB of on-board work RAM plus 96KiB of video RAM. But pedantically there is also a 1KiB region of palette RAM and 1KiB of "object attribute memory", separate from the VRAM, making 386KiB total. (Not counting the I/O control registers, which one ordinarily wouldn't think of as "memory" but get a dedicated region of that address space.)

Aside from the ROM on a cartridge - up to 32MiB - there is 16KiB of BIOS ROM, and the system can address 64KiB of EEPROM for game save data.

https://problemkaputt.de/gbatek.htm#gbamemorymap


Replies

Dwedit10/01/2024

I really don't count Palette and OAM as extra memory, despite me having used unused palette memory as a place to store sound sample data.