Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2018-07-17 12:29:39

goolash
New member
Registered: 2018-07-17
Posts: 3

Flashcard based on HUC1a

Hello everyone, that will be my first post here smile

I got some spare cards based on HuC1a controller that I would love to turn into a DIY flash cardridges.
First issue that I see, is that I cannot trace the reset pin on HUC1a controller.

So her's the question, is it possible to create DIY  flashcard based on HUC1a?

Offline

 

#2 2018-08-06 01:42:32

JS7777
Member
Registered: 2018-07-25
Posts: 17

Re: Flashcard based on HUC1a

The HuC1 is made by Hudson Soft. It's very similar to a mbc1 but it supports infared LED input/output.

So the pinout could be the same.

Offline

 

#3 2018-08-09 13:23:59

Tauwasser
Member
Registered: 2010-10-23
Posts: 82

Re: Flashcard based on HUC1a

No, the pinout is completely different:

https://pics.tauwasser.eu/images/2018/08/09/DMG-TEDN.md.png

The reset pin should be 28, which is marked #RESET?#WP in the schematic, because of conflicting information, but it should be reset.

Good luck with your project smile

Offline

 

#4 2018-09-05 11:28:17

goolash
New member
Registered: 2018-07-17
Posts: 3

Re: Flashcard based on HUC1a

OMG !!! What a great news big_smile I actually gave up any thoughts om my HuC1 flashcards and came here without any hopes !
Ok I need to order flash memories and sort that out ! smile
Tauwasser I look for any info on Huc1 for a log time, thank you so much!

If I got this right (from the scheme above), HUC1 can handle only 512kB (4Mbit) flash ? I canot see the A19 pinout
However oryginaly  on my HUC1 cartridges  was mounted with  1MB (8Mbit) ROM - KM23C8000DG.
Acording to spec ,this ROM has the A19 in PIN1. This goes straight to Huc's PIN22.
So in theory Huc1 should be OK with 1MB (8Mbit) ROMs .... ?

Last edited by goolash (2018-09-05 16:25:37)

Offline

 

#5 2018-09-07 14:50:28

Tauwasser
Member
Registered: 2010-10-23
Posts: 82

Re: Flashcard based on HUC1a

Sorry, I just didn't update the schematic symbol in a long time. Pin 22 is EA19 as seen on DMG-TFDN PCBs.

I wanted to update the schematic when I finally got around to testing what each of the other pins is as well.

EDIT: Just to clarify: HuC1A can deal with 8MBit ROMs, but potentially even more can be addressed. That's part of my hardware research, but I'm somewhat stuck on MMM01 still xD

Last edited by Tauwasser (2018-09-07 14:53:51)

Offline

 

#6 2018-09-14 04:31:30

goolash
New member
Registered: 2018-07-17
Posts: 3

Re: Flashcard based on HUC1a

So I'v done the mod. I used AM29F016B with SOP44. The idea was to do it just like on reinerziegler's page.
As a base I used Japan Pokemon Cart https://gbhwdb.gekkio.fi/cartridges/DMG … kio-1.html
It is tricky. If you want to close the card you need to move the RAM protector or cut the cover lid.
Temporary I soldier the flash chip like on the PDF guide https://gb-archive.github.io/reinerzieg … 5_Cart.pdf

It fits the programmer just about right. The downside I cannot close the lid. But that is just temporary.
I use this DIY programmer and the software that comes along https://gb-archive.github.io/reinerzieg … GB_Flasher
In the software that goes along with programmer  there is no Huc1a as a RAM controller.
Programming it self goes soothly up to 1mb ROMs. Unfortunately games that  requires RAM, will not start, or will hang at some point.
However games that dont use RAM seems to work just fine.

So now I'm wondering if there's some sort of solution here.
I'm not in to coding so I wont be able to add the Huc1a option just by my self (the source is avalible here https://sourceforge.net/projects/gbcf/).
or maybe there is some hardware solution here ?

Offline

 

#7 2018-09-20 13:21:58

Tauwasser
Member
Registered: 2010-10-23
Posts: 82

Re: Flashcard based on HUC1a

I actually maintain a copy of the software on github: https://github.com/Tauwasser/GBCartFlasher

The reason that there is no HuC1 option in the tool is that for reading it behaves very much like the other MBCs.
I'm not sure if the HuC1 actually activates RAM differently than the rest of the mappers.

However, on your cartridge, there is 256 kBit of SRAM. Some games might work differently than expected if they try to change RAM banks or if they don't expect RAM banks to change, since that is possible with HuC1.
Maybe you should test games that are known to only use 64kBit of SRAM and go from there.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson