Skip to content

Copperline 1.0.1

Choose a tag to compare

@LinuxJedi LinuxJedi released this 18 Oct 07:33
· 667 commits to v1 since this release

Copperline 1.0.1 is the first maintenance release for 1.0. Most of it fixes problems reported against 1.0.0: an AGA display fetch error, a blitter race on fast CPUs, warm reboots on the A3000 and A4000, the 68060 FPU at reset, the copperhf hard-disk driver, and a window-resize hang on Windows. Menu settings are now remembered between launches, and screenshots save the picture as you see it.

Before upgrading

  • Netplay peers must all run 1.0.1. Players and spectators need the same build.
  • Recreate RetroArch save states after updating the core. The core's states carry a build fingerprint that includes the release version. Desktop .clstate files still load: the save-state format has not changed, and a 1.0.0 state resumes byte-for-byte as it does in 1.0.0.
  • Settings changed from the menu are now saved. In 1.0.0 they lasted for the session. Now a change made from the menu, a hotkey or the status bar is written into your saved default configuration, which is created if you do not have one. Sessions started with --config, a ./copperline.toml or --factory leave their files alone, and scheduled headless runs never write. See settings the menu remembers.
  • The screenshot shortcuts have changed. Cmd+S / Alt+S and the status-bar camera now save the picture as it is displayed (see below). Native 1:1 screenshots have their own shortcut, Cmd+Option+S on macOS and Ctrl+Alt+S on Linux and Windows. The Video Settings -> Native Screenshot Button item is gone. [recording] native_screenshot_button is still accepted, so configurations load, but it is ignored. --native-screenshots still selects native captures for --screenshot-after and --expect-screenshot.
  • Native screenshots of interlaced screens are now full height. A 640x512 laced screen saves at 640x512, not 640x256. Expectation images made with --native-screenshots on an interlaced screen need re-capturing.
  • --mouse-to-after and --pen-after coordinates now match --screenshot-after pixels, as the documentation always said. 1.0.0 used the coordinates of the unframed field, so scripts tuned to that may need new targets. The control protocol's input.mouse_to and input.pen keep their capture.screenshot coordinates.
  • The 68060 starts with its FPU disabled, as on real 68060 boards, and 68060.library turns it on. Without that library a 68060 system runs with no FPU, even with fpu = true.
  • Going back to 1.0.0: 1.0.0 refuses configuration files that use the new [display] track_display or [audio] floppy_sounds_set keys.

AGA bitplane fetch stop

AGA's Alice keeps the hardwired $D8 bitplane fetch stop, just as ECS Agnus does. The stop is lifted only while BEAMCON0 selects HARDDIS or VARBEAMEN, or BPLCON0 selects super-hires or ultra-hires. Copperline treated every AGA machine as if HARDDIS were set and let the fetch run to $E0. A program that sets DDFSTOP past $D8 then fetched an extra word on every line, and its picture slanted further down the screen. Pacmania under WHDLoad on an A1200 is one example. A new test program checks the stop and each control that lifts it.

Blitter on 68020 and faster CPUs

BBUSY drops with the last cycle of a blit, two colour clocks before the final word is written. A 68020 or faster CPU polling DMACONR can start setting up the next blit inside that gap. Copperline let a BLTCON0 write there cancel the pending write, so the final word was lost, and for a one-word, one-line blit the whole result. The end-of-blit register write-back could also overwrite registers already set for the next blit. Now BLTCON0 cancels the pending write only while BBUSY is set, and the registers are written back once, when BBUSY drops. A 68000 is too slow to hit the gap. This fixes bitplanes missing from small graphics.library copies on an A4000 with Kickstart 3.2 (#573). Thanks to @codewiz for the report.

Warm reboots on the A3000 and A4000

Fat Gary's COLDBOOT flag is set when the power comes on and stays clear after that. Copperline set it again on every keyboard reset and RESET instruction, so Kickstart treated each warm reboot as a cold start. The Kickstart 3.2 boot menu's device choice was ignored, and anything meant to survive a reboot, such as RAD: and resident modules, was lost. COLDBOOT now survives the reset line and is set only at power-on. The A600 and A1200 were not affected.

68060 FPU

Kickstart builds the 68881/68882/68040 form of an empty FPU state frame into each new task. A 68060 with its FPU enabled reads that frame at a different size, so the task starts at the wrong address: Kickstart 3.1 showed a black screen and AmigaVision's SetPatch crashed. Real 68060 boards disable the FPU on every reset and 68060.library enables it, and Copperline now does the same. LC060 and EC060 configurations (fpu = false) report the right processor ID and really have no FPU, where before they ran with a working one. The m68k core is updated to 0.14.6, which fixes the 68060's FSAVE/FRESTORE empty frame size and runs FINT/FINTRZ natively (#771). Thanks to @HakatomOy for the report and for pointing to the upstream fix.

copperhf hard disks

Three fixes to the bundled copperhf.device, all found on an A3000 with Kickstart 3.2.3:

  • HDToolBox 3.1 found no drives when unit 0 was empty, and stopped after unit 0 otherwise. Opening an empty unit now fails with the same error scsi.device returns.
  • With the JIT on a 68040 or 68060, WaitIO could return before a request finished, which could overwrite AbsExecBase and crash the machine. Queued requests are now marked in progress before the device is told about them.
  • A partition with a four-character name could fail to mount from 32-bit motherboard RAM: it showed in the boot menu but not in Workbench. The driver built two names without a closing NUL.

Screenshots

Cmd+S / Alt+S and the camera button now save the picture as it is displayed, at its displayed size, with the current crop, scaling, tint, CRT shader, bezel and stickers. Open menus and overlays are included, and the status bar and window margins are not. Native 1:1 screenshots moved to Cmd+Option+S / Ctrl+Alt+S and Recording -> Save Native Screenshot (1:1), and now weave both fields of an interlaced screen into one full-height image. See saving screenshots.

Settings

  • Menu, hotkey and status-bar changes are written through to the saved default, as described above. This covers the controller ports, joystick input mode, autofire, mouse sensitivity, rewind, run-ahead, the warp limit, floppy speed, clipboard sharing, and the Video and Audio settings. Only the settings you change are written.
  • The launcher's Run and Save no longer drop settings it has no rows for, such as rewind, autofire rate, ports 3 and 4, clipboard and recording settings, screen centring, PCMCIA, ZZ9000 and battery-clock keys.
  • The launcher says why a configuration file it opened is invalid, instead of quietly using factory settings.
  • An unreadable or broken saved default no longer stops Copperline from starting. It logs a warning and starts with the built-in defaults, leaving the file as it is. A broken --config or ./copperline.toml is still an error.

Track display and floppy sound sets

Two small additions, both off by default:

  • [display] track_display = "cylinder" makes the status bar's drive counter show the cylinder and side, so track 81 reads 40.1. Video Settings -> Track Display switches it while running, and the launcher has a Track display row. Thanks to @mnemo70 for the request (#777).
  • [audio] floppy_sounds_set plays a WinUAE or FS-UAE floppy sound sample set instead of the synthesized drive sounds. Put a set's drive_*_NAME.wav files in Documents/Copperline/Floppy Sounds and give its name, or give a path to where WinUAE or FS-UAE keeps it. Copperline ships no sets. The launcher's Audio page has a Floppy sound set row, and copperline-import-uae converts the WinUAE and FS-UAE settings. See audio settings.

Input

  • A fast high-resolution mouse could move the pointer backwards. The Amiga's mouse counters are 8 bits wide, so a movement of 128 counts or more between two reads wraps around. Host mouse motion is now limited to 63 counts per axis per frame. Scripted, control-protocol and netplay motion are unchanged.
  • While you hold a key or mouse button in warp mode, and for 0.75 seconds after, Copperline runs at normal speed, so a key tap no longer repeats and double-clicks work. Warp stays engaged.
  • --mouse-to-after waits for the pointer to move one field at a time, since software reads the mouse once per vertical blank, and no longer gives up on targets it can reach.

Windows window resizing

On Windows, resizing the main window could hang Copperline and slow down the whole computer (reported with an AMD GPU). Frames queued for the old window size were retried at that size forever. Copperline now drops a frame the window has been resized past. Earlier builds can avoid the problem with COPPERLINE_THREADED_PRESENT=0 or WGPU_BACKEND=dx12.

Other changes

  • Dropping a ZIP file onto the window starts it with WHDLoad only if it contains a WHDLoad slave. Other ZIPs, such as a zipped ADF, are inserted as floppy disks (#778). Thanks to @mnemo70.
  • The A2065 Ethernet board honours its station address, multicast filter and promiscuous mode, as the Am7990 LANCE does, instead of accepting every frame. Thanks to @tinic.
  • Source-level debugging in VS Code works with programs built by AmigaPorts amiga-gcc with -g, which pack their DWARF debug sections into one hunk. Thanks to @tinic.
  • The mouse wheel and trackpad scroll the WHDLoad game library.
  • WHDLoad 20.1: whdload.de replaced its WHDLoad download with version 20.1, which 1.0.0's game library refused to install because the checksum had changed. 1.0.1, tools/fetch-whdload.sh and the Homebrew formula accept the new archive.
  • Security updates: ruzstd 0.9.1, through a patched chd, for RUSTSEC-2026-0344 (a crafted CHD image could make Copperline allocate gigabytes and abort), rustls 0.23.46 for RUSTSEC-2026-0346 to 0349, and wasmtime 36.0.18. zip moves to 9.0.4 because every 8.x release was yanked.
  • The Flatpak build manifest is removed. It was never published on Flathub; Linux releases are the AppImage, the tools archive and source builds.
  • Dependency updates: m68k 0.14.6, tokio, serde_json, sha2, syn, zerocopy and others.

Thanks to the patrons whose support pays for the hardware used to check the emulation, to @tinic for code, to @codewiz, @HakatomOy and @mnemo70 for reports on GitHub, and to everyone who reported problems with 1.0.0 on Discord.

Downloads

  • macOS: universal DMG for Apple Silicon and Intel, macOS 14.2 or newer. It is ad-hoc signed, not notarized; see the included first-launch instructions.
  • Windows: portable ZIPs for x64 and ARM64.
  • Linux: x86-64 AppImage, command-line tools archive and a separate bridged-network helper archive.
  • RetroArch: core ZIPs for Linux x86-64, macOS Apple Silicon and Windows x86-64. Install them manually using the libretro guide.
  • Manual and checksums: the PDF manual and Copperline-1.0.1-SHA256SUMS.txt are attached below.
  • Browser: try Copperline without installing it.

Homebrew users can run brew update followed by brew upgrade copperline. For a new installation:

brew tap copperlinehq/copperline https://github.com/CopperlineHQ/Copperline
brew install copperline

Source builds require Rust 1.95 or newer: cargo build --release --locked.
The open AROS boot ROM is included; supply your own commercial game media and any required Kickstart ROMs.

Full changelog: v1.0.0...v1.0.1