Skip to content

Instantly share code, notes, and snippets.

@andlabs
Created November 27, 2013 22:51
Show Gist options
  • Save andlabs/7684503 to your computer and use it in GitHub Desktop.
Save andlabs/7684503 to your computer and use it in GitHub Desktop.
type MemoryMap interface {
Physical(logical uint32) (physical uint32, inROM bool)
BankComment(bank byte) (bankComment string)
BankSize() uint32
}
// ...
func (lowrom) BankSize() uint32 {
return 0x8000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment