What you need:
DISCLAIMER! There is always a chance that you will fry your FB2 by following this procedure. I take no responsibility for any damage to your FB2, your programmable cart or anything else, including yourself.
First, you should see if your programmable cart will your on your FB2. Burn a cart with the attached 4k binary image to see if it runs on your FB2. The dump cart copies a short routine to the 2600's 128 bytes of RAM and jumps there so you can remove the cart to dump FB2 games.
If it is working properly, you'll see a screen that looks something like this:
Next, create a cable to connect the right joystick port of the FB2 to a PC's serial port.
The connections are:
FB2 PC _________________ Pin 1 Pin 2 Pin 8 Pin 5You only need two connections, so you might wish to do it like I did if you can find connectors to connect to a single pin (I don't know where to buy them though - Mine were obtained by cutting up a surplus cable from a logic analyzer.) Otherwise you need to cut up and modify a male to female DB9 cable.
Here's pix of my connections:
FB2 right joystick port connection:
PC serial port connection
Once you make the cable, you should test the connection. You need to test it to see if you connected it right, and because it will not work on all PC serial ports. (WHY? see Appendix A.)
Once you have the FB2 connected to the PC, run a terminal program, such as hyperterminal for Windows. Set it up for your serial port at 38400 bps, no parity, 8 data bits, 1 stop bit, and no flow control.
Now boot up the FB2 with the dump cart in there, and press reset. The TV will display a blank colored screen while it dumps the contents of the dump cart. You should see hexadecimal values filling your terminal screen, which are the contents of the dump cart itself... but if you see these, this means it's working.
If your connection doesn't work, you may have an incompatible serial port (see Appendix A for a possible remedy.)
If everything works so far, you are ready to dump a FB2 game.
Procedure:
1. Remove the dump cart if installed, and set the switches for normal FB2 mode.
2. Boot up the FB2 and go through the menus and launch the game you want to dump.
3. insert your dump cart and then quickly flip the switch to disable FB2 mode. You need to do both in quick succession or the FB2 will almost always crash.
4. At this point, you will either see the colorful dump cart "ready" screen... if not, the FB2 has crashed and you need to repeat the dump procedure from step 1 until you get the ready screen. It usually does just crash for me, but about 1 out of 10 times I do get the ready screen.
5. Carefully remove the dump cart, and then flip the switch back to FB2 mode. This will make the last FB2 ROM image accessible. Make sure the dump cart screen is still active - it should be since it runs totally in the 2600's 128 bytes of RAM. If not the FB2 has crashed and you need to go back to step 1 (The FB2 has yet to crash on me during this step, but it may happen to you
6. On your PC, set up your terminal program to begin capturing a text file. If you are using Hyperterminal, go to Transfer->Capture text, and select a filename (a new file - if you pick an existing filename, I think it will append to it, which you don't want.)
7. Press reset on the FB2. The screen should now be a single color and your PC's screen will fill up with hexadecimal digits.
8. Once done, the FB2 will execute a BRK which will usually start up the game (not always, though.) At this point, stop the text file capture. In hyperterminal, the Transfer pull down menu will now have a "stop" option in it.
9. Check the size of the file. It should be 32770 bytes or thereabout (32k of hex digits plus a LF/CR at the end, usually.)
10. If the file is considerably smaller, your serial port probably lost the connection along the way (this happened a lot on an old laptop I have, but my desktop PC always worked.)
11. If the file is larger, you have have some extraneous characters in your file. It may still convert properly, however.
12. If your capture file is the right size, you are now ready to convert it to a binary. The attached utility (hex2bin.exe) will take the captured text file and output a 4k, 8k or 16k binary. To use the utility, run it in the directory containing the captured text file and you'll be prompted for the name of this file, the size of the output file (4k, 8k or 16k) and the name of the binary file to output.
13. Of course there's no way to know ahead of time how big the binary is supposed to be, so try 4k, 8k, then 16k and run each binary in your favorite emulator until it works. If the game uses Superchip RAM (such as Yars' Return) the game will not work right unless you enable it (in z26, use -g2 or -g6, or in Stella, create a stella.pro entry.)
If you are successful dumping any games, please post and let everyone know!
Appendix: Serial port compatibility and other notes
With your cable, you are actually connecting TTL (which outputs 0v as a "zero" and 5v as a "one") to serial (expects 3v to 25v as a "zero" and -25v to -3v as a "one.")
Therefore, the 5v is OK but the 0v is out of spec for a serial port. But so far most of the PC serial ports I've tried don't seem to mind the 0v and interpret it as a "one."
If your connection doesn't work, make sure the connections are correct. If they are, you either need to use a different PC with a compatible serial port or use something called a TTL level converter to convert the 0-5v to +/- 3-25v serial port signals. If you need to do this, you will also need to recompile the cart dumper from source with the TTL option enabled.
Other reasons you might want to recompile the cart dumper from source are if you want to try a baud rate other than 38400 bps or you want the dumper to produce 4k or 8k dumps instead of 16k every time.
EDIT: D'Oh! Error in hex2bin.exe... just fixed it.
Attached Files
Edited by batari, Sat Oct 22, 2005 1:15 AM.















