Stephen Smith's Blog

Musings on Machine Learning…

Continuing the MiSTer Journey

leave a comment »


Introduction

Last time, we started our MiSTer journey and could run the various cores that didn’t require the add-on memory expansion module. I finally received the memory expansion board, so now theoretically I can run any of the MiSTer computers, consoles and arcade games. For game consoles, this seems to be the case as all you need is the software images from the original game cartridges, for computers it’s a bit more complicated.

MiSTer uses the FPGA to replicate the original computer hardware. This leaves out the software side of things. Typically, you then need the boot ROMs and operating system. Once you can boot the operating system, then you can run various programs such as games.

Further, many of these older systems are rather quirky and you have to spend a bit of time learning the system. First a quick recap of components I purchased and components I already had lying around.

Quick Recap

I have quite a few Raspberry Pi type Single Board Computers, so I generally already have a number of the components for these sorts of projects, so here is a summary.

Components I purchased:

Components I already had:

  • HDMI Monitor
  • HDMI Cable
  • USB Keyboard
  • USB Mouse
  • USB Nintendo Game Controller
  • 128GB microSD card (plus USB adapter to plug into a computer)
  • microUSB cord and plugin, for power to USB hub

Nintendo – The Easy Part

Copy the files from the Arcade Punks image for Nintendo, namely games/NES and games/SNES and you are ready to play pretty much any Nintendo or Super Nintendo game. Already having an USB Nintendo game controller is a big help as you don’t need to worry about mapping buttons, etc. With these, loading and running the games is pretty painless. You just need to remember F12 is the MiSTer button to bring up the menu where you load them.

Atari ST – A Bit More Work

I copied the games/AtariST folder from the Arcade Punks image to the microSD card, inserted it into the DE-10 Nano, booted and chose Computers / AtariST from the MiSTer menu. I then received a blank screen. Popping up the configuration menu and selecting a floppy drive didn’t help. A bit of Googling revealed I was missing the GEM operating system. Atari referred to this as TOS (The Operating System) and you need this. AtariMania seems to be a good place to get a copy of TOS. Choose the version and language you prefer and download. I chose 2.06 and US English. Then copy the .img file to games/AtariST and rename it TOS.img. Now when you boot, you should load into the GEM desktop.

Once you have the GEM desktop running, then you can press F12 to select floppy disk images. Some of the images you can open and run the program contained on the disk. Others you have to select reset to cause a reboots since they are bootable floppies. For instance, here is Apache running.

As long as you aren’t too picky this is fine, meaning try a game, and if it doesn’t work properly then ignore it and run another, after all there are lots to choose from. There is a bit of extra complexity being glossed over here. Generally if you want to run a specific game, there may be a bit more work to do. Here is a list of potential issues:

  1. Hardware version. There were quite a few versions of hardware with different memory and processors. A particular game may require a specific hardware configuration from the MiSTer configuration.
  2. TOS software version. A particular program may require an exact version of the TOS image. It may not work on either newer or older images.
  3. Many of the games were on copy protected floppy disks, these are mostly available in “cracked” versions meaning the copy protection has been removed. This process might have introduced bugs, hard to say the quality of any specific “crack”.
  4. Perhaps there is a bug in MiSTer? Completely modeling a computer as sophisticated as an Atari ST is a challenge. They seem to have done a great job, but bugs are still being fixed and functionality improved.

A key thing I found is patience. Loading some of these old games is slow and as I’m about to give up, suddenly it appears or starts. MiSTer claims to emulate the speed of the CPU exactly, but I’m not sure about floppy disks. They do seem slow, but then I don’t know if it’s the CPU running at 8MHz, the 1MB RAM or the slow floppy drive.

Summary

With each step I can run more things on my MiSTer system. Some are easy to get going. Others require patience. The MiSTer name was formed out of the Mi in Commodore Amiga and the ST in Atari ST. So I have the Atari ST part working. Now onto the Commodore Amiga which looks fun.

Written by smist08

June 14, 2024 at 12:11 pm

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.