Play ToD on MiSTer

New Content, 2022-10-08

Much like my friend George when I was 11, my friend Werner and I are interested in classic computer games. Of course, when I was 11, they were not "classic computer games". They were just "computer games". Werner had long been using the MiSTer FPGA hardware emulation system. I was interested in following his lead in this, and I decided to use "Play Tunnels of Doom" as my first User Story to gain competence in the system. This section is my summary of that work. In this section, you will learn how to go from absolute zero to equipping your dungeon crawling party using MiSTer. Let's break the tutorial into several sections.

  1. One time setup: Going from zero to being ready to see the 16 color boot screen of the TI-99/4a.

  2. Going from the 16 color boot screen to equipping your party.

  3. Going from 16 color boot screen to restoring and resuming.

Let's dive in!

1. One time setup: Going from zero to being ready to see the 16 color boot screen of the TI-99/4a.

Expand the triangle to see this section.
  1. Set expectations

    • This whole emulation scene is a community, open source, effort. Don’t expect things to work 100% all the time.

    • You must be prepared for a lot of hassle.

    • It is a living and dynamic hobby. Things that worked at one point can stop working and you’ll have to tinker and debug.

    • In my experience, there is a lot of trial and error. You must be methodical. In my case, I have a notebook where I write notes and paste in printed FAQ segments with glue stick.

    • Be ready for total information overload. There is so much information out there on Reddit, YouTube, the forums. Much of what you find will not even apply to your scenario, for reasons such as:

      • “We used to do it that way, but no one does it that way now because so-and-so uploaded a new core and this new way is better.”

      • The information applies to a specific kind of hardware that you don’t have.

      • The information is flat out wrong, but because there is no quality control, such mistakes are seldom, if ever, corrected.

    • If you are looking for a single source, top level, definitive, "start here" guide, sadly there are several. Here are the two sources that most closely match my expectations for such a resource.

      I intend for this guide to be self-contained, but limited in scope to playing Tunnels of Doom. Any external instructions one might need are incorporated by value rather than by reference. In other words (with two exceptions), you don't have to go down a hypertext rabbit hole.

  2. Join a community

    • Have a MiSTer Sherpa who has done it all before. Hopefully one who knows where to get the ROMs and is willing to share them with you. For me, this is Werner.

    • Join the MiSTer FPGA Forum. You will need to ask questions if you get stuck.

    • There is also a Reddit community, r/MiSTerFPGA but I have not joined it.

  3. Understand these super-basic terms in the MiSTer context. To do anything with MiSTer you need at least one Core and one or more ROMs. These files are organized in a hierarchical file system.

    1. Core

      1. A piece of software that turns the MiSTer into a specific old-school computer. For example, to run TI games such as Tunnels of Doom you need the “TI Core”.

      2. The MiSTer community has many cores, and each one gets updated occasionally. Therefore a Core has a version number in YY.MM.DD format. For example, this document was written using ti99 core 22.02.20. There is probably a newer one out at time of reading.

      3. In my setup, I keep the Cores on the micro-SD card.

    2. ROM

      1. A piece of software that works with and is entirely specific to a Core. For example, to run TI games such as ToD you need several ROMs, more details later.

      2. In my setup, I keep the ROMs on the external USB hard drive.

    3. File system

      1. The MiSTer has important conventions for the organization of the files and directories containing the Cores and the ROMs. These instructions take the naming conventions into account.

      2. You don’t usually need to know about the Core file system, but the ROMs must reside in the external HD, in a specifically named subdirectory of the games directory, at the root of the external HD. For example, for ToD you will need files in /games/TI-99_4A.

  4. Acquire the hardware

    1. Required (in my opinion)

      • Internet connection.

      • Windows PC

        • For setting up the SD card, including editing the MiSTer.ini file

        • For downloading the software and storing it on the USB hard drive

      • Ethernet cable

        • This is necessary to run the update_all.sh script.

      • HDMI cable

      • HD TV with HDMI inputs

      • MiSTer DE-10 from MisterAddons.

        • Comes with 8GB micro sd card built in. I use the micro-SD card to hold all the Cores. I keep the ROMs elsewhere.

      • Some way to read/write the SD card

      • USB keyboard

      • 250GB USB hard drive

        • I use this for ROMs.

    2. Optional (but I have it, so I consider it required for me)

      3.5mm Male to Stereo RCA Male Cable  
      3.5mm Male to Stereo RCA Male Cable
      • Composite video:

      • Audio

        • 3.5mm Male to Stereo RCA Male Cable

      • Input

        • XBox controller with USB adapter

        • Serial Native Accessory Controller SNAC

        • DB9 Cable from Blisster

  5. Initialize the micro-SD card that came with the MiSTer DE-10.

    1. Remove the micro-SD card from the MiSTer.

      1. Orient the MiSTer so you are looking at the Ethernet port.

      2. The micro-SD card slot is on the middle board, on the underside of the board, on the left hand side. Press in on the micro-SD card to activate the spring that will push the micro-SD card out. Take note which side is up. Usually, it is the side with the metal connectors.

    2. Follow the steps for the Mr. Fusion installation method, as documented in the Setup Guide.

    3. Re-insert the initialized micro-SD card in the MiSTer.

  6. Make connections

    1. Connect the MiSTer to the HD TV with the HDMI cable.

    2. Connect the USB keyboard to the MiSTer.

    3. Connect the Ethernet cable to the MiSTer and connect the other end to your home Internet.

  7. Run the update_all script

    1. Power on the MiSTer

    2. You should see a menu called Cores with items such as:

      The System settings menu  
      The System settings menu
      The Cores menu  
      The Cores menu
      1. Arcade

      2. Computer

      3. Console

    3. You can press the F12 key to show or dismiss this menu at any time.

      1. With the menu showing, you can use the Esc key to toggle between the Cores menu and the System Settings menu.

    4. Show the System Settings menu.

    5. Use the arrow keys to highlight Scripts and press Enter.

      1. Because you have connected the Ethernet cable, your MiSTer is now connected to the Internet.

      2. Use the arrow keys to highlight update_all.sh and press Enter.

      3. Accept the defaults and allow the script to run. It will take a long time, even with a fast Internet connection. The script should be able to run unattended.

      4. When the script completes running you will be taken back to the MiSTer menu. This menu times out so if you come back to the TV and find only static, press F12 to bring back the menu.

      5. If you want to verify the script ran successfully, put the sd card back in your PC and inspect the Scripts/.config/downloader/downloader1.log file. It should contain the lines

                      Errors:
                      none
                                          

        If it does not, the run may not have been successful. Run it again and observe the behavior more closely.

      6. After update_all has run successfully, you should have the all the cores, including the TI/99-4A.

      7. Update all success  
        Update all success

         

         

         

         

         

    6. Download the system ROM and Tunnels of Doom game ROMS to the external hard drive.

      1. Power off the MiSTer.

      2. Connect the external hard drive to a PC.

      3. Download this zip file to the root directory of the external hard drive.

      4. Extract the entire zip file to the root directory of the external hard drive. This will give you a /games directory populated with the system ROM and all the Tunnels of Doom game ROMS from world famous Italian TI/99 User Club. This zip is a subset of the complete bundle of all TI-99/4a software. See the TI-99_Mister_Collection MegaPack if you want the full zip.

    7. Copy the virtual floppy disk so you can store your saves.

      1. In File explorer or similar, navigate to \games\TI-99_4A\DISKS\DISKS_Empty_Disks

        Hardware menu
      2. Select [TI DISK] DSSD Empty Disk.dsk, open the context menu and select Copy.

      3. Perform the paste action into the current directory.

      4. Rename the newly copied file something easy to type in the MiSTer UI. For example, 20221007-tod-saves. Leave the "file extension" unchanged.

      5. Disconnect the external hard drive from the PC and connect it to the MiSTer.

    8. Optional: Connect the audio and video to an NTSC TV.

      1. With the MiSTer powered off, connect the Antonio Villena composite adapter to the VGA port on the back of the MiSTer.

      2. Connect the S-video cable to the back of the Antonio Villena adapter, and connect the other end to the S-video input on your NTSC TV.

      3. Connect the 3.5mm male end of the 3.5mm Male to Stereo RCA Male Cable to the back of the MiSTer next to the Antonio Villena adapter. Connect the other end to the corresponding audio port on your NTSC TV.

    9. Configure the TI-99/4a core with the hardware roms.
      1. Ensure the HDMI HD TV is powered on. This step does not work with composite video out.

      2. Power on the MiSTer.

      3. At the Cores menu select Computer. Press Enter.

      4. Select Ti994a and press Enter.

      5. Select Hardware and press Enter.

        Hardware menu
      6. You must do this step for each of the hardware modules that comprise the TI-99/4a core.
        1. Select Select System Grom *.BIN and press Enter.

          Select system grom

          Navigate to where the desired file is on the HDD.

          1. Go to the top of the list and select dot dot (UNIX for "parent directory of the current directory"). Press Enter.
          2. dot dot
          3. Find "DSR-ROMS" and press Enter.
          4. DSR-ROMS
          5. Find "TI99 Originals BIOS" and press Enter.
          6. TI99 Originals BIOS
          7. Find "994AGROM" and press Enter. The screen may reset. This is normal.
          8. 994AGROM
          9. Press F12.

        2. Select Select System Rom *.BIN and press Enter.

          Select system rom

          Navigate to where the desired file is on the HDD.

          1. Go to the top of the list and select dot dot (UNIX for "parent directory of the current directory"). Press Enter.
          2. dot dot
          3. Find "DSR-ROMS" and press Enter.
          4. DSR-ROMS
          5. Find "TI99 Originals BIOS" and press Enter.
          6. TI99 Originals BIOS
          7. Find "994AROM" and press Enter. The screen may reset. This is normal. At this point you should see the color bars on the HDMI TV and CRT, if you have one. If you do not see the color bars, troubleshoot the problem before continuing.
          8. 994AGROM
          9. Press F12.

        3. Select Select Speech Rom *.BIN and press Enter.

          Select Speech rom

          Navigate to where the desired file is on the HDD.

          1. Go to the top of the list and select dot dot (UNIX for "parent directory of the current directory"). Press Enter.
          2. dot dot
          3. Find "DSR-ROMS" and press Enter.
          4. DSR-ROMS
          5. Find "Speech ROM" and press Enter.
          6. Disk DSR
          7. Press F12.

        4. Select Select Disk DSR *.BIN and press Enter.

          Navigate to where the desired file is on the HDD.

          1. Go to the top of the list and select dot dot (UNIX for "parent directory of the current directory"). Press Enter.
          2. dot dot
          3. Find "DSR-ROMS" and press Enter.
          4. DSR-ROMS
          5. Find "Disk ROM" and press Enter.
          6. Disk DSR
          7. Press F12.

          The remaining items in the hardware menu are unnecessary for playing ToD. We will ignore them. Select back to return to the main menu for the TI-99/4a core.

You have completed the one time set up and are ready to play Tunnels of Doom on your MiSTer.

2. Going from the 16 color boot screen to equipping your party.

Expand the triangle to see this section.
  1. Ensure the connections are made as described in the preceding section.

  2. Power on the MiSTer.

  3. At the Cores menu select Computer. Press Enter.

  4. Select Ti994a and press Enter. You should see the familiar 16 color boot screen.

  5. Press F12 to bring up the menu for the TI-99/4A core.

  6. Select Load Full Cart *.M99, BIN and press Enter.

    Load M99
  7. Navigate to SSS_Games/M99 Format/Tunnels of Doom Games/Quest Of the King - Tunnels of Doom (1982)(Texas Instruments)(PHM 3042)_[C+G].M99 and press Enter. This simulates inserting the Tunnels of Doom cartridge into the TI-99/4a with the "Quest of the King" game pre-loaded. This was never possible with the original hardware. You had to do a separate step to load the Quest of the King game.

    Quest of the King M99

    Here is the really exciting part! You can also play all of the other games made for the Tunnels of Doom game engine! The zip file you downloaded in a preceding step has a text file describing all these games. The file is located at games/TI-99_4A/SSS_Games/M99 Format/Tunnels of Doom Games/_Quest Descriptions_.txt

  8. Press ANY KEY TO BEGIN.

  9. MiSTer ready to play Tunnels of Doom  
    MiSTer ready to play Tunnels of Doom
  10. Press 2 for Quest of the King.

    Hear that sweet sweet sound of Hank Mischkoff’s theme.

  11. Load a disk to so you can save (or restore) your game.
    1. Press F12 to open the core menu.

    2. Select Drive 1 *.DSK and press Enter.

      Disk DSR
    3. Navigate to DISKS/Disks_Empty_Disks/<your save file name from above>. For example, 20221007-tod-saves. Press Enter.

    4. Disk selection  
      Disk selection for saves
  12. Select 1 - NEW DUNGEON.

  13. New dungeon  
    New dungeon
  14. Fill in the values as desired. Note that PROC'D is Alt-6, REDO is Alt-8, Back is Alt-9.

  15. When you are ready to save your game, press K.

  16. Select 5 to save data to DISK 1.

  17. Type a filename. I usually use today's date in YYYYMMDD format. Press Enter.

  18. To continue after saving, select 3.

3. Going from 16 color boot screen to restoring and resuming.

Expand the triangle to see this section.
  1. Do the first 10 steps of the preceding section. Don't forget to load the disk for your saves! Note: if you had already inserted the cartridge and disk, you don't need to do those steps again.

  2. Select 3 CONTINUE CURRENT GAME.

  3. Press K to bring up the LOAD DATA FROM/SAVE DATA TO screen.

  4. Press 2 - DISK 1.

  5. Type the filename you used when you saved your game before.

  6. Select 3 - CONTINUE CURRENT GAME.

Troubleshooting

[ home ]

Last modified: Sun Jun 18 11:11:20 Eastern Daylight Time 2023