Boot SPARCStation 1 in MAME
This article will detail how to boot SPARCStation 1 and install SunOS 4.1.2 in MAME.
The machine will have the following specs:
- Monochrome graphics adapter (there are others, the monochrome one works best)
- 2GB Hard Drive (real SPARCStations did not have hard drives with this big a size, nonetheless it works fine in the emulation)
- 64MB of RAM
The first thing you need to do is download these files and place all of them into the "roms" folder in MAME, except SunOS 4.1.2.
SunOS 4.1.2: https://winworldpc.com/product/sunos/4x (download the one labeled "SunOS 4.1.2 (CD) [Sun SPARC]"
Once that is done you should open CMD or a Linux Terminal and create a virtual hard disk like this:
chdman createhd -f -o sunos412.chd -s 2147483648
Once that's all done the first MAME boot command looks like this:
mame64 sun4_60 -window -slot1 "bwtwo" "-scsibus:0" harddisk "-scsibus:1" "" "-scsibus:6" cdrom -hard sunos412.chd -cdrom SunOS_412.iso
If you want fullscreen, remove the "-window" part.
b cdrom and hit enter to boot into the CD.
(will write more here later)
When you partition the disk, make sure that: Partition A is the boot partition, partition B is swap, and partitions G and H contain the majority of the disk. Make sure Partition C spans the entirety of the disk. I have no idea why you need to set it up in this way, but this is how SunOS expects it to be set up.
DON'T FORMAT THE DISK unless you several hours to kill. You only need to label the disk when its partitioned.
When you reboot into the miniroot type
suninstall to start installing the OS.