Page 3 of 8
Re: TF330 NVram issue
Posted: 26 Aug 2019 18:20
by terriblefire
Smaug wrote: 26 Aug 2019 18:14
Hi, please have a look at it. We need the NV-RAM!..
It’s next on my todo list.
EDIT: it’s unlikely to work with caches on unless MMU lib is installed and an MMU capable CPU is installed.
Re: TF330 NVram issue
Posted: 02 Sep 2019 19:48
by terriblefire
OK can someone generate me a file with the dump tool and post it here... i cant seem to get anywhere with this
Re: TF330 NVram issue
Posted: 02 Sep 2019 22:02
by go0se
Installed dumpNVRAM on CF image.
Booted to CD32 splash -> NVRAM management screen. No save games present.
Loaded D/GENERATION from CD, started and saved game.
Rebooted : D/GEN saved game is present in splash NVRAM management screen
Switched off, installed 330 with no CF, booted to NVRAM management screen : D/GEN saved game is present.
Switched off,installed CF + 330, booted to workbench : dumpNVRAM reports that there are no save games present.
Switched off, removed CF card (330 still installed) power on to NVRAM management screen : D/GEN saved game is present.
Exited NVRAM management screen, entered NVRAM management screen, D/GEN save game is *missing*.
Switched off, removed 330, power on to NVRAM management screen, D/GEN save is present.
Tried to dump the NVRAM a few times without success. Also attempted to disable the 330 using the disable jumper but 030 was still reported as active. I know there's an issue with the disable jumper but am I using the right jumper settings for disable? I had both Speed*Disable jumpers (beside the IDE connector) were enabled(populated). Is that correct? as I've never had cause to use the disable jumper before.
Re: TF330 NVram issue
Posted: 02 Sep 2019 22:36
by 8 Bit Dreams
supaduper wrote: 17 May 2019 19:51
Here is a program from Aminet to read and write the NVram... `dumpnvram` and ` restorenvram`
see if they work, tried it on mine and it comes up with program error but I think its because my nvram is corrupt
http://aminet.net/search?query=NVRAM
There is a dump tool on Aminet, You can dump and write NV RAM with it
Re: TF330 NVram issue
Posted: 02 Sep 2019 22:38
by terriblefire
8 Bit Dreams wrote: 02 Sep 2019 22:36
There is a dump tool on Aminet, You can dump and write NV RAM with it
I know.. but my CD32s dont have anything in their NVRAM. So i needs someone to dump a game slot for me with that tool
Re: TF330 NVram issue
Posted: 02 Sep 2019 22:49
by go0se
terriblefire wrote: 02 Sep 2019 22:38
8 Bit Dreams wrote: 02 Sep 2019 22:36
There is a dump tool on Aminet, You can dump and write NV RAM with it
I know.. but my CD32s dont have anything in their NVRAM. So i needs someone to dump a game slot for me with that tool
If you load the CD32 version of D/GENERATION from WHDLoad and start play you can save the game immediately using the left shoulder button on the controller to bring up the save menu. That should populate a slot in the NVRAM.
Unfortunately I can't seem to get the populated slot to dump as explained above.
Re: TF330 NVram issue
Posted: 02 Sep 2019 23:36
by 8 Bit Dreams
You can save state also on "Pinball Illusions"
You need a CD32 joystick though, new one like KTRL32 will work also, let me know if You need one
Re: TF330 NVram issue
Posted: 03 Sep 2019 10:53
by terriblefire
I've no ability to make this file. Parking this bug for another month as there are other things to look at.
EDIT: I spent a few mins with pinball illusions. there is no way to save anything obviously to me. If you guys want this fixed post me either a file dumped by the NVDump utility or a winuae nvram file.
nvram.zip
Re: TF330 NVram issue
Posted: 03 Sep 2019 14:11
by terriblefire
Ok i have something vaguely able to test things...
First thing you need to know is that if you want to use the NVRAM you will need either
1. A CPU with an MMU (more below)
or
2. Disable Caches.
If you go for option 1 you need to mark the region B80000 to BFFFFF as CACHINHIBIT IOSPACE
You can do this with MMULib's musetcachemode
musetcachemode ADDRESS B80000 SIZE 80000 CACHEINHIBIT
However you should probably update the MMU-Configuration. More on this when i figure it out.
Once you think you have it set up you can check it with...
muscan
6.System:MuTools> muscan
MuScan 46.1 (02.07.2016) ▒ THOR
68030 MMU detected.
MMU page size is 0x400 bytes.
Memory map:
0x00000000 - 0x001FFFFF CacheInhibit Imprecise NonSerial
0x00200000 - 0x005FFFFF Blank
0x00600000 - 0x00A7FFFF CacheInhibit I/O space
0x00A80000 - 0x00B7FFFF Blank
0x00B80000 - 0x00BFFFFF CacheInhibit I/O space
0x00C00000 - 0x00D7FFFF Blank
0x00D80000 - 0x00DFFFFF CacheInhibit I/O space
0x00E00000 - 0x00E7FFFF ROM
0x00E80000 - 0x00EFFFFF Blank
0x00F00000 - 0x00F7FFFF CacheInhibit
0x00F80000 - 0x00FFFFFF ROM
0x01000000 - 0x3FFFFFFF Blank
0x40000000 - 0x400CFFFF CopyBack
0x400D0000 - 0x400DFFFF CacheInhibit Imprecise NonSerial
0x400E0000 - 0x43FFFFFF CopyBack
0x44000000 - 0xFFFFFFFF Blank
Either way you need caches off here. Probably this will help with C2P also.
Re: TF330 NVram issue
Posted: 03 Sep 2019 15:56
by go0se
Followed the procedure above and can now successfully dump the CD32 NVRAM using DumpNVRAM once the musetcachemode is in operation.
In case they're still required I've attached a zip containing two NVRAM dumps from the same machine, one a single save from Pinball Illusions, the other, all files that were present in the NVRAM concatenated to a single file (This is done automatically by DumpNVRAM when you choose to dump multiple saves).