Author Topic: BRAM upgrade hack  (Read 5493 times)

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: BRAM upgrade hack
« Reply #30 on: January 14, 2016, 09:14:54 AM »
I could code in /ce check but I'm just going to not change page while it is in use.  Set the desired page at the start of the game or at CD BIOS screen then leave it.  The games were all designed around the assumption of fixed 2k RAM and I don't know what the effect is if I changed after the game started using the BRAM.  Just easier to remember to set it in the beginning and leave the page selector alone.

That's pretty much what I meant ;)

Noticed they sell some arduino i2c 7segment displays on #bay from china could be a route?

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #31 on: January 14, 2016, 11:45:04 AM »
Don't have much experience with I2C stuff and trying to figure that and making it work in my mod would have taken me longer than just driving the display directly.  The display is multiplexed, 7 common lines for each segment plus each individual common, I am using 9 pins for 2 display. 3rd display can be added for just 10 pins.

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: BRAM upgrade hack
« Reply #32 on: January 14, 2016, 08:20:02 PM »
There's probably a module supplied with it and just a one line cmd.
It has four 7 segment digits.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #33 on: January 15, 2016, 01:12:23 AM »
4 digits? That mean I could have it display up to 8192 pages but where the heck would I find a 16MBx8 SRAM?    :D 

2 is enough for me for now.  AFAIK I2C display comes only in 4 digits

NightWolve

  • Hero Member
  • *****
  • Posts: 5277
Re: BRAM upgrade hack
« Reply #34 on: January 16, 2016, 09:50:52 AM »
Eh, I'll stick with just replacing the super capacitor for improved memory saves... :/ Resoldering a whole chip is way above my pay grade as an electronics hobbyist hack on occasion. Heh.

incrediblehark

  • Hero Member
  • *****
  • Posts: 638
Re: BRAM upgrade hack
« Reply #35 on: January 16, 2016, 02:36:21 PM »
This is really interesting work you 2 have been doing, and I'm looking forward to seeing finished witht the switches to toggle save pages. I could see this being a good thing to have installed in an ifu-30 with the switch on the top.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #36 on: January 17, 2016, 10:17:47 AM »
Also been working on improving mine. Originally I was going with the hexidecimal switch but I decided to be a show off and have it display the current page on 7 segment LED and using  push buttons.  I am about half done.

Bottom with the new SRAM:


Ignore the extra yellow wire, I ripped up A6 line when I replaced the faulty SRAM with a new one. Tiny pads are not meant to be reheated so many times.


The heart of the new system.  I used an older PCB from a project I did about 3 years ago, I had about a dozen left and it was just fine for this project.  Green, blue, purple, and white on bottom right goes to the SRAM's address.  Brown, red, orange, and yellow is for the 2 buttons plus 5v to go with pullup resistor and ground for switch contact. The rest of wires on top left goes to dual 7-segment display.  The color code is for other project and didn't apply to this one.

2 corners are held by hot glue to keep it secure, easy removal if needed. On Duo-R the top side on this area is virtually empty so this would be fine.  On Black Duo, the original SRAM would be right under and this will also work with much shorter address wires.


Since I planned to mount the button switch and LED display on the top, I needed for a way to disconnect so I could remove the Duo-R's top completely.  I have a bunch of connectors laying around that I just used.

And the switch board I am going to run through OSH Park later:




This board is expecting a typical 0.56" LED display with horizontal pinout and the push button with about 0.4" by 0.3" spacing, about the size of larger PCB mounted push button that can have snap on button top.  Plus pin headers, the 6th pin of the 10 pin connector is not used and was intended to function as key with a filled in 6th hole on the connector.  I only had 9 pins cable connector, I thought I had 10 so I'll need to get a female socket (Dupont style), the pins are easily transferred.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #37 on: January 19, 2016, 08:18:50 AM »
Still don't have the final PCB but the proto I made shows it all works:


I put Neutopia in page 1, restarted, changed to page 2, played Neutopia 2 and put a save there. Then restarted, switched back to page 1 and loaded Neutopia, it loaded fine.  Next loaded bram checking program I downloaded to my turbo ED and it shows saves on both page 1 and 2.

My mod is working along with the LED display and buttons.  I'm going to wait for a neater looking board from OSH Park before I cut in my case for permanent install.

johnnykonami

  • Hero Member
  • *****
  • Posts: 1350
Re: BRAM upgrade hack
« Reply #38 on: January 19, 2016, 08:50:48 AM »
Wow, that is a really awesome hack.  Interested to see how you mount it in the case.

NightWolve

  • Hero Member
  • *****
  • Posts: 5277
Re: BRAM upgrade hack
« Reply #39 on: January 19, 2016, 10:09:41 AM »
Huh, so you're adding paging and that board allows up/down traversal with a LED to tell you what page you're on ? That's pretty damn sophisticated... Good luck.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #40 on: January 19, 2016, 10:22:47 AM »
Yeah it is but I've had a few years with Arduino so it was "easy".

I am updating the first post with 3 different ways to control addresses.

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: BRAM upgrade hack
« Reply #41 on: January 19, 2016, 11:22:38 AM »
Epic mod Wilykat well done.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #42 on: January 20, 2016, 11:22:56 AM »
I put an order on OSHPark for the board, a few new pushbutton switches and some more LED display. The proto board I made can still be used for anything being modular and not oddly wired or such.

wilykat

  • Hero Member
  • *****
  • Posts: 908
Re: BRAM upgrade hack
« Reply #43 on: February 08, 2016, 05:50:54 AM »
New boards came in today and I got it done



The button top are only temporary as the ones I wanted to use hasn't shown up. It looks so much neater than my proto board :P

Vimtoman

  • Sr. Member
  • ****
  • Posts: 380
Re: BRAM upgrade hack
« Reply #44 on: February 13, 2016, 10:56:30 PM »
Looking good WilyKat.
Where are you going to place it on the Duo-r?