Skip to content

SuperFX 4/8/11MB memory map (work in progress) - #304

Open
dargereldren wants to merge 1 commit into
mrehkopf:masterfrom
dargereldren:gsu-11mb-support
Open

SuperFX 4/8/11MB memory map (work in progress)#304
dargereldren wants to merge 1 commit into
mrehkopf:masterfrom
dargereldren:gsu-11mb-support

Conversation

@dargereldren

Copy link
Copy Markdown

Solves #271

Implements the following memory layout to the SuperFX by setting ROM 0x7FD7 (romsize) to 0x0e:

  • $00-$3F $8000-$FFFF maps to the first 2MB of the rom (GSU can still only read this portion)
  • $80-$BF $8000-$FFFF maps to the second 2MB of the rom
  • $C0-$FF $0000-$FFFF maps to the third 4mb of ROM (hirom)
  • $40-$6F $0000-$FFFF maps to the fourth 3mb of ROM (hirom)
  • $70-$7D $0000-$FFFF maps to SRAM

Example ROM:

rom.zip

Haven't verified that this doesn't affect other games (though Star Fox and Star Fox 2 seemed to work fine) or worsens perfomance (I wanted to just dyplicate the GSU core for this to not affect the main one, but I thought that was kind of wasteful), but I think the checks are enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant