Riparazione PCB con MAME
Inviato: 04/03/2011, 10:22
Sto cercando di riparare una PCB, tra le tante tecniche vari riparatori di PCB arcade fanno uso del Mame per poter identificare quale e' il chip difettoso tramite un sistema che non conoscevo, la procedura sembra abbastanza semplice e si basa sul fatto che all'interno della rom sono presenti tutti i chip della scheda emulata, modificando questi si otterrebbe lo stesso tipo di difetto su una reale PCB, questo tipo di diagnosi lo si puo' eseguire se si hanno problemi grafici o audio...qualcuno ne ha mai fatto uso?
"Bad ROMs
A bad graphics ROM should cause a well-defined subset of graphical elements to be disturbed. The easiest way to identify the problem chip is by running the game on MAME with a good set of ROMs and systematically ruin each graphic ROM image in turn (renaming some other random file is easiest) until the same subset of graphical elements is affected as your faulty board. The MAME source code will tell you which of the image files are related to graphics elements and will usually further help by suggesting whether they're characters, tiles or sprites.
Once the target chip has been identified try reseating it in its socket. If this doesn't work, try cleaning its legs with a pencil eraser and reseating. If this still doesn't work chances are you'll have to burn the known-good image onto a fresh EPROM. And if that doesn't work, check the integrity of the ROM sockets and the PCB tracks leading to it."
http://www.mailnet.co.uk/~mike/repair.html#badgraphics
"Using MAME as a debug tool
To generate the screen shots shown on my technical pages, I took advantage of MAME (Multiple Arcade Machine Emulator). Mame can be a very powerful tool, as well as the MAME source code contains very valuable game information. Using the MAME screen snapshot capability (F12) I was able to capture perfect pictures of what the screen looked like in both normal conditions and in failure cases. (I still needed to convert the images to .jpg files and also had to create thumbnails).
For the fault cases, I made a common assumption that when a prom or eprom fails, that it reads back all ones (0xff). To insert the fault, I would, replace each ROM file used by the game with a "faulty" ROM file that contained all ones (0xff).
So, one by one, I would save a copy the original ROM file, then overwrite it with a "faulty" ROM file of the same size, but that contained (0xff). Then I would run the game and see what happened. Assuming the game would function, I would then take various snapshot images of that particular failure. I would also keep notes of what images (as MAME will number the images sequentially) matched with which chip failures. Then I would restore the original ROM file, and move on to the next. One by one I would eventually cover all the ROM for the particular game.
For some games when the main CPU roms are replaced with blanks, the game will not even execute at all. Those failures are not as interesting from a video perspective. However, some games, like the Donkey Kongs, have lots of character and sprite eproms."
http://www.brasington.org/arcade/tech/mame.shtml
"Bad ROMs
A bad graphics ROM should cause a well-defined subset of graphical elements to be disturbed. The easiest way to identify the problem chip is by running the game on MAME with a good set of ROMs and systematically ruin each graphic ROM image in turn (renaming some other random file is easiest) until the same subset of graphical elements is affected as your faulty board. The MAME source code will tell you which of the image files are related to graphics elements and will usually further help by suggesting whether they're characters, tiles or sprites.
Once the target chip has been identified try reseating it in its socket. If this doesn't work, try cleaning its legs with a pencil eraser and reseating. If this still doesn't work chances are you'll have to burn the known-good image onto a fresh EPROM. And if that doesn't work, check the integrity of the ROM sockets and the PCB tracks leading to it."
http://www.mailnet.co.uk/~mike/repair.html#badgraphics
"Using MAME as a debug tool
To generate the screen shots shown on my technical pages, I took advantage of MAME (Multiple Arcade Machine Emulator). Mame can be a very powerful tool, as well as the MAME source code contains very valuable game information. Using the MAME screen snapshot capability (F12) I was able to capture perfect pictures of what the screen looked like in both normal conditions and in failure cases. (I still needed to convert the images to .jpg files and also had to create thumbnails).
For the fault cases, I made a common assumption that when a prom or eprom fails, that it reads back all ones (0xff). To insert the fault, I would, replace each ROM file used by the game with a "faulty" ROM file that contained all ones (0xff).
So, one by one, I would save a copy the original ROM file, then overwrite it with a "faulty" ROM file of the same size, but that contained (0xff). Then I would run the game and see what happened. Assuming the game would function, I would then take various snapshot images of that particular failure. I would also keep notes of what images (as MAME will number the images sequentially) matched with which chip failures. Then I would restore the original ROM file, and move on to the next. One by one I would eventually cover all the ROM for the particular game.
For some games when the main CPU roms are replaced with blanks, the game will not even execute at all. Those failures are not as interesting from a video perspective. However, some games, like the Donkey Kongs, have lots of character and sprite eproms."
http://www.brasington.org/arcade/tech/mame.shtml