Welcome, Guest. Please login or register.

Author Topic: Recipe for installing additional NV memory for game saves on CD32:  (Read 7720 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline fuseopplTopic starter

Hampolt PF4 switch (10 positions, but it is best to install only 5 pieces of memory)
left and right locks (masks): PF4-A, PF4-B

you can find this switch under the code:
switch: Z49/DEC
locks (masks): PF44E10

printed circuit board (2 pcs.): Roth Elektronik RE899

Connector for soldering to the CD32 motherboard: Amphenol 20021221-00008C4LF
Connector for soldering onto the RE899 board: Amphenol 20021321-00008C4LF

precision socket (useful for connecting boards and for diagnostic purposes): any DIP8, e.g. CONNFLY DS1001-01-08BT1NSF6S

Resistors (5 pieces) 10 kOhm as small as possible, e.g. Ø1.6x3.6mm

Ribbon cable (6 cores are enough), 0.635mm pitch, wire
Since it may be difficult to buy such a cable by the meter, you can use an old 80-wire ATA tape (it will be much better for soldering in our project than a 40-wire tape, which has thicker wires)

Optional:
ribbon connector: JST 06KR-6H-P
connector for switch board: JST B6B-PH-K-S (LF)(SN)

We connect the boards together with SO08 pads on the outside, insert the DIP8 socket and solder them to electrically connect the two printed circuit boards.
We solder the Amphenol 20021321-00008C4LF connector to one of the sides of the RE899, and to the other side we soldered 5 pieces of EEPROM chips, stacking one on top of the other.

We connect the pins of the systems that will be connected to the switch to the power supply with 10kOhm resistors.
The common pin of the switch (C) is connected to one of the wires to the RE899 board, instead of the pins, which will be connected to the switch or to ground depending on the system version, explanation below.

It remains to determine which of the pins of the system we will connect to the switch and here we have several solutions:

#1. you can use original ATMELA E3 AT24C08N E 10SC25 memories (full designation from the housing) and connect pin #3 (A2) to the switch, connect the common pin of the switch to ground.

#2. you can use modernly produced memory that will work with CD32, I found only one with a capacity of 2kB, but more on that another time.
In the case of such memory, we will have to connect the SDA pin to the switch, and the common pin of the switch to the SDA CD32 line.

#3. any currently produced i2c EEPROM memory with a capacity of 1kB (24C08) or 2kB (24C16) can be used, provided that the error in the nonvolatile library is corrected.

We must pre-program each memory.
The contents of memory must start with a header:
00 56 A9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 A0
and all 00 until the very end.
the entry at the very beginning "00 56 A9 00" is controlled by the library, if it is different, the library will assume that there is no memory or that it is unsupported.
"A0" is the end of saves, in "clean" memory it is at address 0x18, because game saves start here, then A0 will be moved to the end of saves.

The console language is stored at address 0x08:
UNKNOWN 0 /* default */
AMERICAN 1 /* American English */
ENGLISH 2 /* British English */
GERMANY 3
FRENCH 4
SPANISH 5
ITALIAN 6
PORTUGUESE 7
DANISH 8
DUTCH 9
NORWEGIAN 10
FINNISH 11
SWEDISH 12
JAPANESE 13
CHINESE 14
ARABIC 15
GREEK 16
HEBREW 17
KOREAN 18

Best regards and I strongly encourage you to cooperate on the development and corrections of nonvolatile.library.
 

Offline TribbleSmasher

Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #1 on: June 10, 2024, 07:35:57 PM »
Interesting!

you mean one can add (upto) 2kB to the NV This way?
 

Offline fuseopplTopic starter

Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #2 on: June 11, 2024, 07:32:09 AM »
you can expand the memory to 5x 1kB, so you will get a total of 5kB, installing 2kB memory does not change anything, CD32 will still see it as 1kB, unless you manage to modify nonvolatile.library.
I used 2kB memory in my project because, firstly, I am working on modifying the nonvolatile library, so I hope that in the future my CD32 will support 5x 2kB, and secondly, the only currently well-functioning Amiga CD32 memory is not produced in the 1kB version. The nonvolatile library has a bug that causes games such as Cannon Fodder and Subwar to not write correctly to modern EEPROM memories.
 

Offline TribbleSmasher

Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #3 on: June 11, 2024, 03:54:41 PM »
Amigakit offers a Flash/RAM card that can have bigger NV (directed to flash memory) and it comes with a modified nonvolatile.ibrary.

So the support is there already, what do you think?
 

Offline F0LLETT

  • Amigakit / A-EON Support
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 975
  • Country: gb
  • Thanked: 81 times
  • Gender: Male
    • Show only replies by F0LLETT
    • Ultimate Amiga
Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #4 on: June 11, 2024, 04:36:52 PM »
Amigakit offers a Flash/RAM card that can have bigger NV (directed to flash memory) and it comes with a modified nonvolatile.ibrary.

So the support is there already, what do you think?

It also works in a CD32, with A1200 <> CD32 adapter. To use both CDROM and IDE, you need to remove ide header and put it underneath, of course you then need to use a twisted IDE cable as pins are reversed. It works though. It also allows you to create multi configs, which can be switched on the fly.
4MB Flash, plenty for updated kickstart modules / roms and NV files.

However, this is a pretty cool idea. I'm sure I have spoken to fuseoppl on CD32 FB group regarding this.
« Last Edit: June 11, 2024, 04:49:16 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline fuseopplTopic starter

Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #5 on: June 11, 2024, 04:45:48 PM »
I don't want to turn my CD32 into an Amiga 1200, otherwise I would buy an A1200, I want my CD32 to remain a regular console, just a little improved
 

Offline F0LLETT

  • Amigakit / A-EON Support
  • Administrator
  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 975
  • Country: gb
  • Thanked: 81 times
  • Gender: Male
    • Show only replies by F0LLETT
    • Ultimate Amiga
Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #6 on: June 11, 2024, 04:50:39 PM »
I don't want to turn my CD32 into an Amiga 1200, otherwise I would buy an A1200, I want my CD32 to remain a regular console, just a little improved

Agreed, but you can disable everything and just use NV Flash if you wanted. Like I said its configurable.
As I also said, your way works and it looks decent, little switch on front. Looks cool.
« Last Edit: June 11, 2024, 04:52:10 PM by F0LLETT »
Quote from: Hungry Horace
Resolute and Industrious Grand ruler of the yellow people and the Ultimate Amiga Empire
Ultimate Amiga Network (Home of SONY PSP Amiga Emulator and AMOS Factory)

Quote from:  He who shall not be named
"Chris is that you!!!"
My all time favorite quote.
 

Offline fuseopplTopic starter

Re: Recipe for installing additional NV memory for game saves on CD32:
« Reply #7 on: June 30, 2024, 01:45:19 PM »
The final work on the nonvolatile library, properly modified, supports 2kB memory, so currently with the 5 memory switch you can have a total of 10 kB for game saves.