- Joined
- Apr 9, 2009
- Posts
- 550
I've been working on a project disassembling some neogeo code and came across an inconsistency in documentation with the memory locations that REG_PALBANK0/1 map to.
The dev wiki and a lot of example code out there have
$3A000F = REG_PALBANK1
$3A001F = REG_PALBANK0
Where as snk docs are the opposite
$3A000F = REG_PALBANK0
$3A001F = REG_PALBANK1
The disassembled code appears to be following the snk docs.
Far as I have been able to tell the default active bank at power-on is $3A000F. Calling that REG_PALBANK0 would make the most sense.
Curious if anyone has any info.
thanks
The dev wiki and a lot of example code out there have
$3A000F = REG_PALBANK1
$3A001F = REG_PALBANK0
Where as snk docs are the opposite
$3A000F = REG_PALBANK0
$3A001F = REG_PALBANK1
The disassembled code appears to be following the snk docs.
Far as I have been able to tell the default active bank at power-on is $3A000F. Calling that REG_PALBANK0 would make the most sense.
Curious if anyone has any info.
thanks