Skip to content

MacMiga 0.0.1

Latest

Choose a tag to compare

@AgentiLoop AgentiLoop released this 26 Nov 03:11
· 1 commit to main since this release

🚀 Version 0.0.1

The first public MacMiga release: an open-source Amiga 500 emulator for macOS, written in Swift.

📦 Download & install

  • Download MacMiga-0.0.1-universal.zip, unzip it, and move MacMiga.app to Applications.
  • Requires macOS 13 or later. Universal binary for Apple silicon and Intel.
  • Signed with Developer ID Application: Todd Bruss (469UCUB275) and hardened runtime. Apple notarized, ticket stapled, and Gatekeeper verified.
  • SHA256SUMS.txt accompanies the download.
  • Supply your own ROM and disk images. No Kickstart ROMs, operating systems, or games are included.

🖥️ Native Mac experience

  • Native display window, keyboard and mouse input, joystick controls, and Paula audio.
  • ROM, floppy, and hard-disk menus; drag-and-drop ROM and disk images.
  • Warp Speed, Instant Load, border cropping, and configurable Fast RAM.

💾 Amiga foundation

  • Local Swift 68000 CPU package with instruction timing and exception handling.
  • CIA timers and input, Copper, bitplanes, sprites, Blitter, and audio emulation.
  • ADF and extended ADF floppy loading, plus HDF hardfiles and partitioned RDB disks.
  • Hard-disk creation from folders and LHA archives, including WHDLoad preparation workflows.
  • KickstartProbe and MakeHardfile command-line tools are available when building from source.

🧪 Validation & limitations

  • 117 MacMigaCore tests and 89 M68K tests passed for this release.
  • Compatibility remains a work in progress. This release is not a claim of cycle-exact emulation or universal game compatibility. See the README for tested configurations and limitations.

🌈 Two sister projects

📜 Complete initial-release history

This initial release incorporates the repository's development history from the memory-bus foundation through CPU, chipset, storage, native app, diagnostics, performance, tests, documentation, and release packaging. The complete commit list follows.

All commits in 0.0.1
  • 4ad434e Add initial Amiga memory bus and reset-vector fetch
  • 2f90a6a Package MacMigaCore and verify memory foundation with ten tests
  • 8116ded Exclude build outputs and user-provided ROM and disk images
  • 32aecaa Document the memory-only milestone and emulator roadmap
  • eb5184f Add MC68000 register state and initial instruction stepping
  • 3835c02 Test CPU reset, MOVEQ, branch conditions, stack calls, and faults
  • 11c421a Document initial CPU execution milestone and remaining limitations
  • ee95818 Implement MOVE and MOVEA with MC68000 effective addressing
  • b73448c Test MOVE sizes, addressing modes, stack ordering and faults
  • 3eb24de Add bounded diagnostic for user-supplied Kickstart ROMs
  • 43a24be Document MOVE support and measured Kickstart startup diagnostics
  • bb2be1f Implement LEA JMP and JSR with control effective addressing
  • a7b6cf0 Test LEA JMP JSR addressing, stack ordering and faults
  • 60c7862 Document LEA JMP JSR support and new Kickstart stop points
  • b2dc072 Implement ADD/ADDA/ADDQ and SUB/SUBA/SUBQ with XNZVC flags
  • c48ec08 Test ADD/SUB/ADDQ/SUBQ/ADDA/SUBA flags, addressing and faults
  • b792c25 Document ADD/SUB support and new Kickstart stop points
  • fec495e Implement CMP/CMPA/CMPI and DBcc
  • 8daf28c Test CMP/CMPA/CMPI flags and DBcc looping
  • 0f5ecb5 Document compare/DBcc support and $F00000 stop point
  • d31500c Decode empty $F00000-$F7FFFF diagnostic slot; add probe --limit
  • 26bfdc2 Add CIA-A/B 8520 model, decode $A00000-$BFFFFF, drive overlay from CIA-A PA0
  • 97ab2a5 Test CIA ports, decoding, overlay, timers, TOD and ICR
  • 108df8c Document CIA model, diagnostic slot, probe --limit and new stop points
  • 899917d Add OCS custom chip register file at $DFF000 and empty A500 I/O range $D80000-$DFEFFF
  • c42d0c2 Test custom chip set/clear registers, mirrors, interrupt levels, beam counter, Gayle probe
  • 7c26535 Document custom chip registers and new CPU stop points
  • 8988954 Add bit ops, immediates, CLR/NEG/NOT/TST, logic, MUL/DIV, shifts, MOVEM, Scc, misc group-4 ops and group 1/2 exception processing
  • 2e6c357 Fix NEG being decoded as NEGX; test bit ops, immediates, logic, MUL/DIV, shifts, MOVEM, LINK/UNLK, exceptions
  • becce46 Mirror chip RAM through $1FFFFF, add 512 KiB slow RAM at $C00000 with custom-chip mirror above it
  • 83f373d Add CMPM and ADDX/SUBX with tests
  • e80aabb Empty Zorro II autoconfig window at $E80000 (no expansion boards)
  • df157aa Probe reports PC and SR when the instruction limit is reached
  • d3917f6 Document full CPU subset, exceptions, RAM mirrors, slow RAM, autoconfig and user-mode stop
  • 31e27ea Add AmigaMachine loop: beam/CIA time, CIA→INTREQ routing, autovectored interrupts and STOP
  • 9193367 Document machine loop, interrupts, STOP and new Kickstart idle results
  • 2c5652f Add Copper (MOVE/WAIT/SKIP, danger bit, per-frame restart) and bitplane display into a hires framebuffer; probe writes PNG frames
  • ac64b81 Add Blitter: area mode with shifts, masks, minterms, descending, fill; line mode; BZERO and BLIT interrupt
  • a6c9245 Add empty internal floppy drive DF0 on the CIAs (select, motor, step, /RDY /TK0 /CHNG); probe prints display registers
  • 288a8e3 Document Copper, display, Blitter, empty DF0 and the rendered insert-disk screens
  • 897d785 Add ADF disks in DF0: AmigaDOS MFM track encoding, disk change/write-protect lines, Paula disk DMA with word sync; probe --adf
  • f1983e5 Document ADF disks, disk DMA and the bootblock test
  • e76bd20 Add sprites (DMA, manual mode, attached), keyboard via CIA-A serial with handshake, mouse and joystick ports
  • f352d4d Document sprites and keyboard/mouse/joystick input
  • fec65ab Add MacMiga macOS app: live 50 Hz display window, keyboard/mouse forwarding, ROM/ADF menus, reset
  • 20fa8c1 Document the MacMiga app
  • 736876e Add Paula audio: 4 DMA/CPU channels, block interrupts, stereo mix to host rate; play through AVAudioEngine in the app
  • 80af2d0 Document Paula audio
  • 4a608db Add ABCD/SBCD/NBCD, CHK and MOVEP; CHK traps carry N into the stacked SR
  • c1cb1a7 Document ABCD/SBCD/NBCD, CHK and MOVEP
  • 3b1f66c Unassigned opcodes take the illegal-instruction exception (vector 4); stopsOnIllegalInstruction keeps the diagnostic throw
  • 027534c Document illegal-instruction exception
  • 83488ae Odd word/long accesses take the 68000 address error exception (vector 3, group 0 frame); stopsOnAddressError keeps the diagnostic throw
  • 6003658 Document address-error exception
  • 4956cf8 AmigaMachine treats unmapped addresses as open bus (reads 0, writes ignored)
  • 13a59aa Apply mid-line colour register changes at their beam position (fixes Kickstart 3.1 checkmark gradient)
  • f01ea31 Document mid-line colour changes
  • 0d059e4 Bitplane fetch completes the 8-clock unit in progress at DDFSTOP (fixes skewed Kickstart 1.3 boot CLI screen)
  • 99b5c9d App: joystick in port 2 (keypad, right Option, optional arrow keys, game controllers) and click-to-capture mouse scaled 1:1 to the display
  • 1c37536 Add Zorro II autoconfig bus, fast RAM board and a hard-disk controller (macmiga.device) that Kickstart boots hardfiles from; probe --hdf/--fast
  • 42c5d0b App: attach a hardfile as DH0 (menu, .hdf argument), save changed blocks back to the file, optional 8 MB fast RAM
  • 0123feb Document expansion boards, hard disk and the hardfile boot results
  • 1641b9a Move the 68000 core into its own package (Packages/M68K) behind the M68KBus protocol; the CPU raises address errors itself; KickstartProbe becomes a package target
  • 1a8fc79 Document the M68K CPU package, the bus protocol and the probe target
  • 7224746 Add LHA unpacker (lh0, lh4-lh7) and an FFS hardfile writer; MakeHardfile builds a DH0 image from a Mac folder or an LHA archive
  • 49a627a App: Machine > New Hard Disk from Folder or LHA builds a hardfile, saves it and attaches it as DH0
  • 22d2618 Document MakeHardfile, the FFS writer, the LHA reader and what AmigaDOS confirmed
  • e50f1fd MakeHardfile merges several folders and archives into one volume; --startup can be repeated for more lines
  • 8a81e28 KickstartProbe: scripted key presses (--key FRAME:CODE) and joystick fire (--fire FRAME)
  • e95a2de Document running WHDLoad from a hardfile and what was checked
  • fd50644 DENISEID reads $FFFF (OCS Denise has no ID register), so Kickstart 3.1 no longer detects an ECS Denise
  • 0ab64a9 KickstartProbe prints exec's memory list and graphics.library's chip revision bits
  • 8645da4 Add 1 and 2 MiB chip RAM with an ECS Agnus (VPOSR ID, BLTCON0L, BLTSIZV/BLTSIZH); probe --chip
  • a6b3710 App: Machine > 1 MB Chip RAM (ECS Agnus)
  • 80520d1 Document chip RAM sizes, the ECS Agnus and what Kickstart and WHDLoad reported
  • 86b4545 Hard disk images with a Rigid Disk Block: every mountable partition is mounted with its boot priority; probe lists the partitions
  • 26bff85 Document partitioned hard disk images and what was checked
  • 47e2c6b Move the instruction-level 68000 tests into the M68K package on a test bus of its own; MacMiga keeps a power-on/reset test through the ROM overlay
  • 5c61aec Document where the CPU tests live now
  • 56df8e4 renderLine: planar-to-chunky by table (8 pixels per lookup) and one lookup per lowres pixel; output unchanged
  • e782893 RESET instruction resets the devices on the bus (CIAs and overlay, custom chips, expansion boards) and the CPU keeps the prefetched opcode after it
  • 7b033eb Serial port: SERDATR reads an idle line with an empty transmitter, SERDAT output is kept for the host and raises TBE
  • 1e8e99f KickstartProbe prints serial output and has --trace; MakeHardfile --extract unpacks an LHA archive to a folder
  • ef3bf2e Document AROS booting from its floppy, the RESET and serial port changes, and the new tool options
  • 33532aa Open source under the MIT License: LICENSE, screenshots, and requirements and build-from-source steps in the README
  • 6677308 MC68000 keeps D0-D7 and A0-A6 inline instead of in two arrays, so the per-instruction copy of the CPU no longer allocates or reference-counts; behaviour unchanged
  • cf28eb1 App: runFrame owns the machine while it runs, so chip RAM, slow RAM and the frame buffer are no longer copied every frame
  • 10a9a17 App: the frame is the contents of the view's layer, scaled by the window server with nearest-neighbour sampling, instead of being redrawn through Core Graphics; frames identical to the one on screen are skipped
  • 0631179 MakeHardfile --exclude PATH and --skip-long-names, so a CD's contents can be made a hard disk without editing them first
  • d295b1b KickstartProbe: scripted mouse (--mouse, --click, --right) and --snapshot FRAME
  • f086e1c App: Machine > Warp Speed runs as fast as the Mac allows, without sound
  • 1a774bc advanceChipset takes the colour clocks in which the Copper only counts down in one step, and Paula the clocks between changes of a channel's output; video, audio and machine state unchanged
  • 1aa7c69 Document the AROS desktop, warp speed and the new tool options
  • 329a3ee README: AROS image size and wording
  • 1724541 App: the frame image is in the window's colour space, so Core Animation no longer converts every frame on the CPU
  • 9d1ec9e Extended ROM at $E00000 (512 KiB, read-only), so a 1 MiB ROM in two files such as AROS's can be fitted
  • 323b6ca KickstartProbe: --ext, a write-protected disk for a read-only image file, and three diagnostics (--wild, --exceptions, --watch)
  • 0ed83bc App: second ROM file on the command line and Machine > Open Extended ROM
  • a97e22a Document the extended ROM, AROS without a Kickstart ROM, and the probe's diagnostics
  • b0e3442 README: AROS ROM results, wording
  • db8a41c M68K: single-step test runner, and the faults it found
  • eab8608 README: single-step tests of the CPU, their result and what they changed
  • ae376d4 68000 instruction timing: step returns each instruction's CPU clocks, and the machine runs on them
  • 5a56df1 README: instruction timing, the second single-step test set, and the measurements redone with the new timing
  • 1049c32 Hard disk: file systems stored in the partition table are loaded for their partitions
  • 2f5cbf8 README: file systems in the partition table, and the PFS3 checks
  • f926e85 App: Machine > Fast RAM offers None, 1, 2, 4 and 8 MB instead of an 8 MB switch
  • 848dc69 New Hard Disk from Folder or LHA: OFS volume for Kickstart 1.x, and a startup-sequence that runs the only program
  • a6efb0b README: use real screenshot of the MacMiga window at the Kickstart 3.1 insert-disk screen
  • c3693fa Ignore Work/, a local folder for test disks and archives
  • fccbc36 Partitioned hard disk images: RigidDiskBuilder and MakeHardfile --rdb
  • aecbabd Hard disk: images with a part block at the end are accepted; HDToolBox-made images (HstWB templates, FFS 45 DOS\7 and PFS3) checked
  • 2035619 Hard disk: bad-block lists in the partition table remap reads and writes to the replacement blocks
  • d526e8e README: SFS needs a 68020 (both SFS versions tried fail on the 68000 as a real one does); drive-init code is not run
  • 8745751 Hard disk: TD64 and NSD 64-bit commands and NSCMD_DEVICEQUERY, so partitions past 4 GiB mount; images are read mapped
  • f477284 Volumes: international mode (DOS\2/DOS\3, MakeHardfile --intl); startup-sequence text written in Latin-1 with accents composed
  • 3adcbcc LHA: -lh1-, -lzs-, -lz5- and -lz4-, checked against Lhasa's test archives (kept as test fixtures)
  • 4226ed8 LHA: test for a hand-made -lzs- stream
  • 63d1695 WHDLoad installs: auto-start through WHDLoad when it is on the volume; the app offers to add WHDLoad's archive and turns on fast RAM
  • 496113d Floppy: load UAE extended ADFs (UAE--ADF / UAE-1ADF raw MFM tracks) and ADFs with stray trailing bytes
  • 46f7f4d Floppy: reject damaged extended ADFs, keep the DMA head position within short raw tracks
  • 5a737eb Extended ADF: an AmigaDOS track stored with length 0 reads as zeros instead of rejecting the image
  • f4705b6 Volumes: directory-cache mode (DOS\4/DOS\5, MakeHardfile --dircache), checked with ExNext on Kickstart 3.1
  • ca52eb7 README: WHDLoad with 1 MiB and 2 MiB of chip RAM
  • 5222c33 WHDLoad Kickstart emulation: MakeHardfile --kickstart and the app put known Kickstart images in Devs/Kickstarts under WHDLoad's names
  • 971aa0b README: saving under WHDLoad reaches the hard disk when WHDLoad quits
  • 48620f6 View > Crop Borders: show an area centred on the standard display window instead of the whole raster
  • 0462e0c README: retake the Kickstart 3.1 window screenshot (full rainbow checkmark, disk going into the drive)
  • 63d6b28 App: Instant Load (Skip Disk Wait), warp speed only while the floppy is busy
  • 177264b App bundle: Bundle/make-app.sh builds .build/MacMiga.app with Info.plist and an MM icon on Amiga-style rainbow bands
  • 4c3aafe 68000 trace exception (vector 9), and a branch to an odd address stacks the branch's address + 2: Rob Northen's Copylock (cracked Super Cars ADF) runs instead of Guru 00000003
  • 49f8b6f Disk DMA raises DSKBLK only after the head has passed over the words (114 colour clocks a word): Super Cars' trackloader clears DSKBLK after starting a read and then waits for it
  • fd6b3c4 Set MacMiga release version to 0.0.1
  • 1c3d304 Build Universal signed and notarized MacMiga releases
  • 8dd1107 Include current app and probe improvements in the first public release
  • 20d31cc Configure MacMiga Cloudflare landing page and assets
  • d678e2a Add MacMiga landing page with release download and C64 sister link