Hi, I've been trying to understand hexadecimal banking and addressing but every info I find is too basic or too advanced.
I just want to know how to calculate the real physical addresses given the "bank-bank:address-address" notation.
for example:
Bank Address Usage
00-7F 8000-FFFF ROM
70-7F 0000-7FFF RAM
80-FF 8000-FFFF ROM (MIRROR)
F0-FF 0000-7FFF RAM (MIRROR)
It seems that every snes document I find has this notation and I cannot understand it.
another example:
(from a mad-1 doc I was reading...)
addresses that fit this:
($20-$3F):(6000-7FFF)
($20-$3F):(E000-FFFF)
($A0-$BF):(6000-7FFF)
($A0-$BF):(E000-FFFF)
Again, I know this is "from here to here" notation but cannot understand how to get the physical address...
At first I thought it was like this:
40-7D 0000-FFFF
00-3F 8000-FFFF
(my guessing) physical addresses:
400000 -> 7DFFFF
008000 -> 3FFFFF
but then I saw:
(from the same mad-1 doc)
40:0000-7FFF <--- ROM 200000-207FFF
41:0000-7FFF <--- ROM 208000-20FFFF
43:8000-FFFF <--- ROM 218000-21FFFF
so I know it is not like that.
I don't know how noob this might be, but I want to learn this, so any help is much appreciated.
I just want to know how to calculate the real physical addresses given the "bank-bank:address-address" notation.
for example:
Bank Address Usage
00-7F 8000-FFFF ROM
70-7F 0000-7FFF RAM
80-FF 8000-FFFF ROM (MIRROR)
F0-FF 0000-7FFF RAM (MIRROR)
It seems that every snes document I find has this notation and I cannot understand it.
another example:
(from a mad-1 doc I was reading...)
addresses that fit this:
($20-$3F):(6000-7FFF)
($20-$3F):(E000-FFFF)
($A0-$BF):(6000-7FFF)
($A0-$BF):(E000-FFFF)
Again, I know this is "from here to here" notation but cannot understand how to get the physical address...
At first I thought it was like this:
40-7D 0000-FFFF
00-3F 8000-FFFF
(my guessing) physical addresses:
400000 -> 7DFFFF
008000 -> 3FFFFF
but then I saw:
(from the same mad-1 doc)
40:0000-7FFF <--- ROM 200000-207FFF
41:0000-7FFF <--- ROM 208000-20FFFF
43:8000-FFFF <--- ROM 218000-21FFFF
so I know it is not like that.
I don't know how noob this might be, but I want to learn this, so any help is much appreciated.