gbadev
Game Boy Advance homebrew development forum
default profile picture

insert_funnyjoke

Member
Last seen 10 hours ago
Joined:
Posts:
1
Topics:
1

I was following Tonc and noticed it defines the display register like this:
#define REG_DISPCNT *((volatile u32*)(MEM_IO+0x0000))

But the documentation I've seen online describes it as a 16-bit register.
Can anyone explain the discrepancy and recommend how I should handle it in my own projects?