How to generate new nvram for Code One Dispatch

Channel:
Subscribers:
156
Published on ● Video Link: https://www.youtube.com/watch?v=NH7rdaYxRGM



Category:
Tutorial
Duration: 1:22
191 views
1


Tools:

solder iron
hotair station
arduino (mega)
breadboard
4.7k resistor
cables
python
eprom burner like TL866 II plus
timekeeper m48t58y
socket 24pin
Mame 0.232 (newer crashed)
hex editor like HxD https://mh-nexus.de/de/hxd/

you do all at your own risk ⚠️

Steps:

Desolder the old empty m48t58y
Desolder the 1-wire-eprom
Read the serial number of the 1-wire-eprom with the arduino (pinout pin1:GND, pin2: Data - have to pulled high to 5v with a 4.7k resistor and goes to the arduino, Pin3:NC)
edit the py-script with your s/n number - find dallas_id=bytearray and overwrite it with the s/n from your pcb (get the file below)
Run code1db in mame, go to the dip switch settings and turn Dip4 to on and close the program.
Check the folder mame\nvram\ code1db
when the folder not exist then make new folder, put the m48t58 from code1db.zip in this folder.. rename it to nvram.bin
copy the edited py-script in this folder and run the script
Rename the output.bin to m48t58, delete nvram.bin
start Commander in Windows
run mame -w code1db -debug
Starts the debugger from Mame
Add breakpoint: bpset 0xa4448 (enter on bottom line)
Run with F5
When Breakpoint hits open the memory viewer window and enter r4
The top line shows a 6 byte term
Note the 6 bytes
go back to the nvram folder of code1db
rename m48t58 to nvram.bin again
open nvram.bin in a hex editor
Replace the address 0x24-0x2a and 0x1024-0x102a with your 6 bytes and save
run the py-script again for correct checksum
Burn the output.bin file to a new m48t58
Make sure you soldered back the 1-wire-eprom and socket the timekeeper place
Put the m48t58 in the socket
Start the game

Good luck 🍀

Get the python-script here: https://forums.arcade-museum.com/threads/tutorial-new-nvram-for-code-one-dispatch.517543/

Arduino 1-wire-eprom-plugin: https://github.com/pceric/DallasEPROM Edit the PIN number

Special thanks to "Windyfairy" (Mame contributor ) for the python script. https://gist.github.com/987123879113/1a5223430e46b691fcbad934ea7f921e




Other Videos By 8-Bit-Gay


2023-04-30Puzzle Bobble 2 - Attract mode - Taito F3 - real hardware
2023-04-30Hyper Athlete - Attract mode - Konami GV Baby Phoenix - real hardware
2023-04-30Crypt Killer - Attract mode - full length - Konami GQ - real hardware
2023-04-30Mace - the dark age - Attract mode - extended length - Atari Seattle - real hardware
2023-03-26Total Vice - Attract mode - full length - Konami M2 - 3DO hardware
2023-03-12Code 1 One Dispatch network connection - attract mode
2023-03-12Konami Thrilldrive 2 - network connection - attract mode
2023-02-11Jurassic Park III Deluxe - Attract Mode - full length - Arcade Konami - real hardware
2023-02-11Boxing Mania - Attract Mode - Arcade Konami Viper - real hardware
2023-02-04Mocap Boxing - Attract Mode - Arcade Konami - Real Hardware
2023-01-29How to generate new nvram for Code One Dispatch
2023-01-25Konami Code One Dispatch - 1st look - Arcade
2023-01-25Got a Code One Dispatch arcade cabinet today. Sneak peek after cleaning.
2023-01-21CRT rejuvenation of a Cruis’n USA arcade monitor
2023-01-15*rare* Nebula on Deco Cassette - Attract Mode - real hardware
2023-01-08Atari California Speed - Attract Mode - extended length - real hardware
2023-01-01Police 24/7 - Attract Mode - Arcade Konami
2023-01-01Blade of Honor / Tsurugi - Attract Mode - Arcade Konami
2023-01-01Xtrial Racing - Attract Mode - extended length - Arcade Konami- real hardware
2022-12-31World Combat / Warzaid - Attract Mode - Arcade Konami - real hardware
2022-12-31GTI Club 2 Driving Party - Attract Mode - full length - Arcade Konami - real hardware



Tags:
Arcade
Code One Dispatch
Nvram
Replacememt