Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
|
carts:nintendo:virtualboy [2022/02/16 14:12] hiccup |
carts:nintendo:virtualboy [2022/05/10 13:59] hiccup [Introduction] trying to get cache to refresh |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| **//[copied from Google Doc - needs polishing]// | **//[copied from Google Doc - needs polishing]// | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | xxxx | + | {{wst> |
| ===== Methods ===== | ===== Methods ===== | ||
| Line 22: | Line 23: | ||
| Notes before starting | Notes before starting | ||
| - | * This guide is for firmware version 1.9. As firmware updates happen, the instructions in this guide may need slight alteration for different firmware versions. You can check your firmware version at the top of the startup text, accessed via the < | + | * This guide is for firmware version 1.9. As firmware updates happen, the instructions in this guide may need slight alteration for different firmware versions. You can check your firmware version at the top of the startup text, accessed via the < |
| * The “Mellot Programmer” GUI program by thunderstruck does not currently work with this method. That may change in the future, but this guide will only focus on use of an alternate serial terminal program. | * The “Mellot Programmer” GUI program by thunderstruck does not currently work with this method. That may change in the future, but this guide will only focus on use of an alternate serial terminal program. | ||
| - | * The MicroSD card must have enough storage space for the given Virtual Boy ROM file. (This is kind of a given but worth mentioning I think.) | ||
| * It is much preferred but not required to have a way to directly connect to the MicroSD card, via a PC or other device able to access the filesystem. (There are functions in the Programmer that seem to allow copying files from the SD card to PC over Serial, but that will not be detailed in this guide.) | * It is much preferred but not required to have a way to directly connect to the MicroSD card, via a PC or other device able to access the filesystem. (There are functions in the Programmer that seem to allow copying files from the SD card to PC over Serial, but that will not be detailed in this guide.) | ||
| * Please remember to take basic safety precautions. Things like working with dry hands and not reaching into the ports while the device is powered will suffice 99% of the time. Use this device and guide at your own risk. | * Please remember to take basic safety precautions. Things like working with dry hands and not reaching into the ports while the device is powered will suffice 99% of the time. Use this device and guide at your own risk. | ||
| - | ==== Step 1: Safely plugging in the device ==== | + | ==== Section |
| Line 35: | Line 35: | ||
| This safe plugging and unplugging practice is strongly recommended even when dumping multiple cartridges in one sitting. | This safe plugging and unplugging practice is strongly recommended even when dumping multiple cartridges in one sitting. | ||
| - | < | + | < |
| ^ The MicroSD slot is located on the back of the dumper of the basic design, or on the side opposite the USB-B port on the VB-based design. In the basic design, the MicroSD card faces outwards. | ^ The MicroSD slot is located on the back of the dumper of the basic design, or on the side opposite the USB-B port on the VB-based design. In the basic design, the MicroSD card faces outwards. | ||
| - | < | + | < |
| ^ The cartridge slot is located on the front of the dumper of the basic design, or on the bottom for the VB-based design. Note that, at least for the basic design, the cartridge slot is “keyed” so the cartridge can’t possibly fit facing the wrong direction. In the basic design, the cartridge faces inward (while looking at the display, you see the back of the cartridge). In the VB-based design, the cartridge faces up. | ^ The cartridge slot is located on the front of the dumper of the basic design, or on the bottom for the VB-based design. Note that, at least for the basic design, the cartridge slot is “keyed” so the cartridge can’t possibly fit facing the wrong direction. In the basic design, the cartridge faces inward (while looking at the display, you see the back of the cartridge). In the VB-based design, the cartridge faces up. | ||
| Line 47: | Line 47: | ||
| Additionally, | Additionally, | ||
| - | < | + | < |
| ^ The USB-B port is located on the left side of the basic design, and on the side opposite to the MicroSD slot on the VB-based design. | ^ The USB-B port is located on the left side of the basic design, and on the side opposite to the MicroSD slot on the VB-based design. | ||
| Line 57: | Line 57: | ||
| After the Programmer is plugged in, and the USB-A side of the cable is plugged into the PC, it’s time for Step 2. | After the Programmer is plugged in, and the USB-A side of the cable is plugged into the PC, it’s time for Step 2. | ||
| - | ==== Step 2: Dumping the ROM ==== | + | ==== Section |
| Line 64: | Line 64: | ||
| - | Basically… | + | |
| - | + | * (Don't enable this unless you know what you're doing!) If you are debugging, enable “Half Duplex” to see outgoing text. This is useful for debugging a few possible issues, but will be a little more confusing for the user. | |
| - | | + | < |
| - | < | + | |
| * Under the “Port” tab, set “Baud” to 500000 (yes, 500,000). Set “Parity” to none, “Data Bits” to 8, “Stop Bits” to 1, and “Hardware Flow Control” to none. | * Under the “Port” tab, set “Baud” to 500000 (yes, 500,000). Set “Parity” to none, “Data Bits” to 8, “Stop Bits” to 1, and “Hardware Flow Control” to none. | ||
| - | < | + | < |
| - | * Set the “Port” | + | * Click the drop-down box next to the word " |
| - | < | + | < |
| * After setting these values, click “Change” to apply changes. | * After setting these values, click “Change” to apply changes. | ||
| - | < | + | < |
| - | * Click “Open”, so now the button | + | * Click “Open”, so now the button |
| - | < | + | < |
| - | * At this point, you can start receiving data! To send commands, click on the top left input-box (still under the “Send” tab), type the command, then click the button to the right of it that says “Send ASCII”. (Note: IIRC this is correct, but if not then try the “Send Numbers” button.) | + | * Switch to the " |
| - | * You may start receiving data from the Programmer. Also before now, the display on the Programmer | + | * As mentioned prior, yellow text should have appeared in the black area of the window. Additionally, the display on the Programmer |
| - | * Either earlier or just now, the display should | + | <image x1> |
| - | < | + | * Either earlier or just now, the display should |
| - | * And on the PC, it should tell you a bit about the hardware info. (You may have to resize the window!) This info includes the message “VB Programmer lives!” along with the device' | + | < |
| - | * If the cartridge info says “Unknown flashrom”, | + | * And on the PC, the yellow text should tell you a bit about the hardware info. (You may have to resize the window!) This info includes the message “VB Programmer lives!” along with the device' |
| - | < | + | * If the cartridge info says “Unknown flashrom”, |
| + | <image x1> | ||
| + | |||
| + | Optionally, to verify that the commands used in this guide are available to you, send the <PM> command to see the Programmer Menu. If it doesn’t display properly, make sure the window is large enough to fit all the text. This will tell you all of the available commands for your firmware version. | ||
| + | |||
| + | Note that your list of commands may not perfectly match the list shown in this image. Namely it may be missing commands RDR, RGH, RSD, RST, SC, and SSN_XXX. Those four commands are not required for dumping the ROM, so don't worry. (Editor' | ||
| + | < | ||
| + | |||
| + | First, it is required to set the size of the ROM. Find the game on the [[https:// | ||
| + | |||
| + | * If you don't know or can't determine the ROM size of a cartridge, it is recommended to try < | ||
| + | |||
| + | * Note: if the size is set incorrectly, | ||
| + | |||
| + | * Note 2: If you happen to be dumping the ROM from a RetroOnyx / Mellott flash cartridge of which the Programmer was able to auto-detect the Flash ROM size, the < | ||
| - | To verify that the commands used in this guide are available to you, send the <PM> command to see the Programmer Menu. If it doesn’t display properly, make sure the window is large enough to fit all the text. This will tell you all of the available commands for your firmware version. | + | <code> |
| - | <image> | + | |**Command**|**Size (Bytes)**|**MB**|**Mbit**| **bits**|**Notes** |
| - | | + | | <SFS_22>| 524288| |
| + | | < | ||
| + | | <SFS_24>| | ||
| + | | < | ||
| + | | < | ||
| + | | < | ||
| + | | < | ||
| + | </ | ||
| - | * In case you don’t know the ROM size of your cartridge, and/or your game isn’t in the list shown in this guide, you can set it to the maximum(?) size using the command < | + | (Editor' |
| - | * Note: if the size is set incorrectly, undocumented behavior can occur. If the size is too small, it will cut off the ROM data too early. If the size is too large, the data will start repeating. If you don’t know the correct size (as in the preceding bullet point a), and you set it to the wrong ROM size, you will just have to have the Overdump trimmed. This can be done in a hex editor like HxD, or with the help of a community member. | + | (Editor' |
| - | * Note 2: If you happen to be dumping | + | After the correct |
| - | <code> | + | * Send the command |
| - | |**Game**|**ROM Size Command**|**ROM Size (bytes)**| | + | |
| - | | | | | | + | |
| - | | | | | | + | |
| - | | | | | | + | |
| - | </code> | + | |
| - | * The PC should ask you to enter a number, either | + | * If you chose Option |
| - | * If you chose 0 and it gave an error, please try again from 12 and select 1. If option 0 worked, you can skip to step 15. | + | * The Programmer display will say “Reading” as it waits for your input. |
| - | * Also, the Programmer display will say “Reading” as it waits for your input. | + | <image x2> |
| - | < | ||
| + | * If you chose Option 1, you must now “Enter a short file name and press Enter.” You can type in a filename in the black area, then press Enter. The filename doesn’t matter, something simple like “dump.vb” works fine. File extension also does not matter, and can optionally be left off. (Note: the software used, both the Serial program and the Windows operating system for filesystem management, might run into errors if the filename contains a non-ASCII text character.) | ||
| + | * If, for debugging purposes, at the beginning you enabled “Half Duplex” in the Display tab, you will see both a red and a yellow text character for whatever you type. Don’t worry, it’s only doubled-up because of this option. If “Half Duplex” is disabled, those inputted text characters will appear yellow and not doubled. | ||
| + | <image x2> | ||
| - | * If you chose 1, you must now “Enter a short file name and press Enter.” You can type in a filename in the black area, then press Enter. The filename doesn’t matter, but certain characters may cause errors. So choose something simple like “dump.vb”. File extension also does not matter. | + | (Editor' |
| - | * If you enabled “Half Duplex” back in part 1, you should see both a red and a yellow text character for whatever you type. Don’t worry, it’s only doubled-up because of the way it displays. If “Half Duplex” is disabled, those inputted text characters should just be yellow. | + | |
| - | < | + | |
| - | (Note! This is the part that the aforementioned GUI program by thunderstruck gets stuck on. I don’t know the solution.) | + | |
| - | | + | < |
| - | <image> | + | |
| - | < | + | |
| - | <image> | + | |
| - | * You can now unplug the USB cable from both the PC and the Programmer and safely remove both the Virtual Boy cartridge and the MicroSD card. Plug the MicroSD card into your PC, and the ROM file should be located in a folder titled " | + | * You can now unplug the USB cable from both the PC and the Programmer, and safely remove both the Virtual Boy cartridge and the MicroSD card. Plug the MicroSD card into your PC, and the ROM file should be located in a folder |
| When dumping more than one cartridge... | When dumping more than one cartridge... | ||
| - | * Remember that the safe plugging and unplugging practice detailed in Step 1 and at the end of Steps 2 and 3 is still strongly recommended when dumping multiple cartridges in one sitting. | + | * Remember that the safe plugging and unplugging practice detailed in Section |
| - | * Additionally, | + | * Additionally, |
| ==== External Links ==== | ==== External Links ==== | ||
| Line 137: | Line 150: | ||
| ===== Gathering and Submitting Dump Info ===== | ===== Gathering and Submitting Dump Info ===== | ||
| - | See [[submission: | + | See [[submission: |