Compiling the minimig core for the MIST fpga board on windows

Compiling the Atari ST core for the MIST is pretty straight forward like described here. For the minimig core some prerequisites are needed which I’ll describe below.
The amiga_boot.v file is missing and needs to be compiled before using the Altera Web Edition to compile the core.
I was lazy and took the mingw build environment used for XBMC (https://github.com/xbmc/xbmc/tree/master/project/BuildDependencies). I used it to compile vasm which is needed to compile amiga_boot.

  1. Get the sources from here: http://sun.hasenbraten.de/vasm
  2. Unzip it to vasm
  3. Go into vasm and type
    make CPU=m68k SYNTAX=mot

I copied the binary vasm68k_mot.exe to a bin directory in the mingw env. Since the xxd binary was missing as well I download the msys-vim package from sourceforge and installed it in the mingw env as well.
When I got some time I’ll create a stripped down mingw/msys env with the binaries needed to compile the firmware and amiga_boot.
Once done we need python for windows in path. With some smaller changes to the python scripts and the makefile I was able to compile the amiga_boot files. Once finished I’ll submit the changes to the MIST main repo.
Meanwhile you can use the files from here: https://github.com/wsoltys/mist-board/tree/master/cores/minimig/fw/amiga_boot/bin

Copy those files to the same directory structure of the MIST main repo clone and open minimig_mist.qpf with the Altera Web Edition. In the Web Edition you need to enable talkback in order to use the Signaltap which is needed to compile the minimig core.

  1. Go to Options
  2. Internet Connectivity
  3. Talkback options and enable them

Now you can start the compilation and after some minutes its done 🙂

Installing mist.inf on Windows 8.X

When trying to install the usb driver for the MIST on Windows 8.X you get the error that the driver isn’t signed and therefore you can’t install it. It doesn’t matter if you try it by either right click on the inf file and choosing “install” or if you try “update driver” in the device manager.

The only possibility to install it is to disable the driver signature enforcement. How this can be done is described here: http://10rem.net/blog/2013/01/07/installing-unsigned-drivers-on-windows-8-64-bit-or-how-to-get-stm-st-link-working
In short:

  1. start an admin console
  2. type shutdown /r /o
    /r for reboot
    /o for the advanced boot options
  3. before windows starts again it prompts you for what kind of action you want to take. Choose Troubleshoot -> Advanced options -> Startup settings.
  4. press restart.
  5. Once it reboots you get a startup menu with different options. From that pick the “Disable driver signature enforcement” option

Now you can install the driver but you’re still prompted if you really wanna install it when its not signed. You’ve been warned 🙂

Amiga: Exception “Line 1111 Emulator” ($2C) at XXX…

I’m a proud owner of an Amiga 1200 with an internal 4GB CF ide hd and an external 2GB CF to exchange stuff with my PC. Because the initial setup wasn’t that good I reinstalled the system with 3 partitions and installed the Classic Amiga Workbench.
All games went on partition 2 and 3 for using with WHDLoad. Most games work fine but I wonder why certain games work from the external CF card but not from the internal. After some searching I found out that it might be worth to check the MaxTransfer setting of the partition as the scsi.device driver in the original version (40.12 on my setup) only works fine with certain values.
I used the Harddisk Installation Tool to do this:

1) Select the desired drive and press “Partition drive…”
HDInstTools

2) Select a partition and press “Edit Partition…”
HDInstTools_001

3) Click into the field MaxTransfer and change it to 0x1FE00 (Why?)
HDInstTools_002

4) Press “Use”, then “Use” again and finally “Save changes to drive…”



Note: You have to do this for all partitions of the selected drive.

After this changes I didn’t noticed problems anymore. So far, so good 🙂

Useful links:
http://en.wikipedia.org/wiki/Amiga_Fast_File_System
http://hjohn.home.xs4all.nl/SFS/maxtrans.htm