Hey Guys.
I'm trying the make a brutal mario world (witch is 4MB)
But the slave cart (world league basketball) i used only had had one 1MB mask rom so i cut both traces leading to the 139
and wired the extra two address lines to my eprom.
But what to do with the decoder now?
My instinct told me to use a21 and a22 instead of a20 and a21
But that didn't work.
Any help?
yeah, fix that instinct bug...
Okay, no really. seriousness... it wasn't that bad of an assumption.
What is the size of the (presumably Flash ROM?) chip that is holding the 4 MB (32 megabits) of program?
Is it just one gigantic 4 MB chip, or are there multiple chips?
To leave out that key bit of info is to miss the point of address decoding. So, how many ROM chips?
Also, I and I think others will try to help, but it's hard to give exact information on how to turn random board A, into hacked board B.
Save yourself a lot trouble and use a different host cartridge like college slam baseball or one of the many lo rom 32m capable carts with a mad1 decoder. It'll be much easier to alter.
Markfrizb wrote:
Save yourself a lot trouble and use a different host cartridge like college slam baseball or one of the many lo rom 32m capable carts with a mad1 decoder. It'll be much easier to alter.
I normally would have done that but i got it all wired up already.
whicker wrote:
yeah, fix that instinct bug...
Okay, no really. seriousness... it wasn't that bad of an assumption.
What is the size of the (presumably Flash ROM?) chip that is holding the 4 MB (32 megabits) of program?
Is it just one gigantic 4 MB chip, or are there multiple chips?
To leave out that key bit of info is to miss the point of address decoding. So, how many ROM chips?
Also, I and I think others will try to help, but it's hard to give exact information on how to turn random board A, into hacked board B.
I use one 4MB (32mbit) eprom.
No more.
At 4 MB, you don't really need an address decoder.
I don't have enough information about both games,
Does college slam basketball have a save battery?
Does college slam basketball use the LoROM, or HiROM mapping?
Assuming college slam basketball is LoROM and has save memory...
For the flash chip:
You just assert /CE when /ROMSEL is low and A15 is HIGH.
/CE LOW WHEN BOTH /ROMSEL is low AND A15 is HIGH
/CE = ROMSEL=0 AND A15=1
simplifying:
Chip Enable = /ROMSEL OR NOT A15
/OE of the flash chip is the /CPURD signal.
for the SRAM, you shouldn't have done anything with the 74139. It's in the spot it needs to be already, other than not using the /CS signal it generated for the 1 MB ROM that was in there before.
whicker wrote:
At 4 MB, you don't really need an address decoder.
I don't have enough information about both games,
Does college slam basketball have a save battery?
Does college slam basketball use the LoROM, or HiROM mapping?
Assuming college slam basketball is LoROM and has save memory...
For the flash chip:
You just assert /CE when /ROMSEL is low and A15 is HIGH.
/CE LOW WHEN BOTH /ROMSEL is low AND A15 is HIGH
/CE = ROMSEL=0 AND A15=1
simplifying:
Chip Enable = /ROMSEL OR NOT A15
/OE of the flash chip is the /CPURD signal.
for the SRAM, you shouldn't have done anything with the 74139. It's in the spot it needs to be already, other than not using the /CS signal it generated for the 1 MB ROM that was in there before.
thanks for the info but originally the 139 wasn't connected to romsel or a15 but to a20 and a21.
I'll post the original pinout later and you'll see what i mean.
whicker wrote:
At 4 MB, you don't really need an address decoder.
I don't have enough information about both games,
Does college slam basketball have a save battery?
Does college slam basketball use the LoROM, or HiROM mapping?
Assuming college slam basketball is LoROM and has save memory...
College Slam is
SHVC-1A3M-30, so MAD-1 (supports 32Mbit), 64K SRAM w/battery, LoROM.
qwertymodo wrote:
whicker wrote:
At 4 MB, you don't really need an address decoder.
I don't have enough information about both games,
Does college slam basketball have a save battery?
Does college slam basketball use the LoROM, or HiROM mapping?
Assuming college slam basketball is LoROM and has save memory...
College Slam is
SHVC-1A3M-30, so MAD-1 (supports 32Mbit), 64K SRAM w/battery, LoROM.
i didn't use that game. i used world league basketball
klonoa wrote:
i didn't use that game. i used world league basketball
You sure? I can't find World League Basketball anywhere, including
byuu's database, which leads me to believe you're mistaken, because byuu's database should be 100% complete for all NTSC-U releases... and I really doubt byuu would be missing a dumb sports game
World League Soccer, maybe? In any case, what really matters is the PCB ID (probably SHVC-1A3M-XX).
qwertymodo wrote:
klonoa wrote:
i didn't use that game. i used world league basketball
You sure? I can't find World League Basketball anywhere, including
byuu's database, which leads me to believe you're mistaken, because byuu's database should be 100% complete for all NTSC-U releases... and I really doubt byuu would be missing a dumb sports game
World League Soccer, maybe? In any case, what really matters is the PCB ID (probably SHVC-1A3M-XX).
this one:
witch is called NCAA basketball in the usa i just found out XD
Ah, PAL explains it. byuu's database is NTSC-U only so far. You caught an unlucky break, since that game also comes on a 1A1M PCB, which would have supported 32Mbit without modification...
here are the setups that i tried so far
Code:
__ __
SNES #49 |01\/16| +5V
A21 |02 15| NC
A20 |03 14| A19
ROM /OE |04 13| RESET
NC |05 12| NC
NC |06 11| NC
NC |07 10| NC
GND |08 09| RAM /CE
------
result: I can hear the nintendo sound and a random sound effect after it. no image
Code:
__ __
SNES #49 |01\/16| +5V
A22 |02 15| NC
A21 |03 14| A19
ROM /OE |04 13| RESET
NC |05 12| NC
NC |06 11| NC
NC |07 10| NC
GND |08 09| RAM /CE
------
result: the nintendo logo comes on with the sound efect but stays there.
Code:
__ __
SNES #49 |01\/16| +5V
A22 |02 15| NC
A21 |03 14| A20
ROM /OE |04 13| RESET
NC |05 12| NC
NC |06 11| NC
NC |07 10| NC
GND |08 09| RAM /CE
------
result: nothing.
any idea's?
none of those correctly deal with the A15 low = backup SRAM, A15 high = cart ROM
this is especially important for that huge 4 MB flash size.
i'm sure the original wiring for the 74139 could have gotten lazy and omitted A15, because the 1 MB ROM could be made to not overlap into the SRAM space, and the SRAM in ROM space would not have mattered.
without accounting for A15, the backup SRAM and the uppermost quarter of ROM overlaps.
whicker wrote:
none of those correctly deal with the A15 low = backup SRAM, A15 high = cart ROM
this is especially important for that huge 4 MB flash size.
i'm sure the original wiring for the 74139 could have gotten lazy and omitted A15, because the 1 MB ROM could be made to not overlap into the SRAM space, and the SRAM in ROM space would not have mattered.
without accounting for A15, the backup SRAM and the uppermost quarter of ROM overlaps.
Ah i see.
so it should be something more like:
Code:
__ __
SNES #49 |01\/16| +5V
A15 |02 15| NC
GND |03 14| NC
RAM /CE |04 13| NC
ROM /CE |05 12| NC
NC |06 11| NC
NC |07 10| NC
GND |08 09| NC
------
Is there a page or document explaining the logic of various snes cartridges?
That mapping is more in line with how the memory map for mode 20 (LoRom) is laid out.
I believe it will work for your situation (other games might not like that SRAM located over so many banks)
Please remember to also have pin #23 /CPURD going to an /OE on your flash chip, in case there is an attempt to write to ROM.
As for documents, might as well use the official:
Search for "SNES Developer Manual" on Romhacking.net
Book 1, Page 2-21-2 shows the memory map. The shaded area is where /ROMSEL (/CART) is active.
Book 1, Page 2-21-3 shows the LoRom memory map (mode 20)
Book 1, Page 2-21-4 shows the HiRom memory map (mode 21)
It's better to look at what was the intended mapping, than get bogged down on how individual games laid out their memory.
Starting at Book 1, 1-2-24 shows memory maps of a lot of development or final PCB's.
It's lasted this far, so please don't post screenshots of copyrighted material or quote paragraphs verbatim from the manual, otherwise the black helicopters in whisper mode might arrive...