Macintosh Plus for MiSTer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
releases Release 20180305. Mar 5, 2018
sys Update API. Mar 5, 2018
.gitignore Update API. Mar 5, 2018
MacPlus-lite.qsf Update API. Mar 5, 2018
MacPlus-lite.srf Initial port. Oct 22, 2017
MacPlus.qpf Initial port. Oct 22, 2017
MacPlus.qsf Update API. Mar 5, 2018
MacPlus.srf Update API. Mar 5, 2018
MacPlus.sv Update API. Mar 5, 2018
TG68K_ALU.vhd Initial port. Oct 22, 2017
TG68K_Pack.vhd Initial port. Oct 22, 2017
TG68KdotC_Kernel.vhd Initial port. Oct 22, 2017
addrController_top.v Initial port. Oct 22, 2017
addrDecoder.v Initial port. Oct 22, 2017
clean.bat Update API. Mar 5, 2018
dataController_top.v Update API. Mar 5, 2018
floppy.v Initial port. Oct 22, 2017
floppy_track_encoder.v Initial port. Oct 22, 2017
iwm.v Initial port. Oct 22, 2017
ncr5380.v Initial port. Oct 22, 2017
ps2_kbd.sv Update API. Mar 5, 2018
ps2_mouse.v Initial port. Oct 22, 2017
readme.md Initial port. Oct 22, 2017
scc.v Initial port. Oct 22, 2017
scsi.v Initial port. Oct 22, 2017
sdram.sv Update API. Mar 5, 2018
via.v Initial port. Oct 22, 2017
video.v Initial port. Oct 22, 2017

readme.md

Macintosh Plus for the MiSTer Board

This is a port of the Plus Too core from MiST which is the port of the Plus Too project.

I've tried to optimize the code with converting to synchronous style and fixing some glitches and instabilities.

Usage

  • Copy the *.rbf onto the root of SD card
  • Copy the boot.rom to MacPlus folder
  • Copy disk images in dsk format (e.g. Disk605.dsk) to MacPlus folder

After a few seconds the floppy disk icon should appear. Open the on screen display using the F12 key and select the a disk image. The upload of the disk image will take a few seconds. MacPlus will then boot into the MacOS desktop.

Floppy disk image format

Floppy disk images need to be in raw disk format. Double sided 800k disk images have to be exactly 819200 bytes in size. Single sided 400k disk images have to be exactly 409600 bytes in size.

Both the internal as well as the external floppy disk are supported. The first entry in the OSD refers to the internal floppy disk, the second one to the external floppy disk.

Currently floppy disk images cannot be loaded while the Mac accesses a floppy disk. Thus it's recommended to wait for the desktop to appear until a second floppy can be inserted.

Before loading a different disk image it's recommended to eject the previously inserted disk image from within MacOS.

Some system floppy disk images in matching dsk format can be found at here. Some nice applicatons on 400k dsk images can be found here. Official system disk images are available from apple e.g. via ftp. Under Linux these can be converted into the desired dsk format using Linux stuffit, unar and dc2dsk in that order.

Hard disk support

This MacPlus core implements the SCSI interface of the Macintosh Plus together with a 20MB harddisk. The core implements only a subset of the SCSI commands. This is currently sufficient to read and write the disk, to boot from it and to format it using the setup tools that come with MacOS 6.0.8.

The harddisk image to be used can be selected from the "Mount *.vhd" entry in the on-screen-display. Copy the boot.vhd to MacPlus folder and it will be automatically mounted at start. The format of the disk image is the same as being used by the SCSI2SD project which is documented here.

Unlike the floppy the SCSI disk is writable and data can be written to the disk from within the core.

It has been tested that OS 6.0.8 can format the SCSI disk as well as doing a full installation from floppy disk to the harddisk. But keep in mind that this is an early work in progress and expect data loss when working with HDD images.

A matching harddisk image file can be found here. This is a 20MB harddisk image with correct partitioning information and a basic SCSI driver installed. The data partition itself is empty and unformatted. After booting the Mac will thus ask whether the disk is to be initialized. Saying yes and giving the disk a name will result im a usable file system. You don't need to use the Setup tool to format this disk as it is already formatted. But you can format it if you want to. This is only been tested with OS 6.0.8.

CPU Speed

The CPU speed can be adjusted from "normal" which is roughly Mac Plus speed to "Fast" which is about 2.5 times faster. Original core couldn't boot from SCSI in turbo mode. This port has workaround to let it boot even with turbo mode.

Memory

512KB, 1MB and 4MB memory configs are available. Cold boot with 4MB RAM selected takes some time before it start to boot from FDD/SCSI, so be patient. Warm boot won't take long time.

Keyboard

The Alt key is mapped to the Mac's command key, and the Windows key is mapped to the Mac's option key. Core emulates keyboard with keypad.