DIY Cartridge Dumping (Jindroush CartSave and Friends)

Year
2001
Type
DIY project
Category
Cartridge ROM dumping
Manufacturer
Software by Jindroush; hardware is homemade
Atari screen reading 'CARTRIDGE DUMPER 2.0 (C) 2001 JINDROUSH', with a third line '!D500 00 FREE MODE' and blue bars labelled '8000-9FFF:' and 'A000-BFFF:'.

Overview

Nearly every Atari cartridge has been dumped by now, but undumped prototypes still turn up, and their owners need a way to read them. The basic problem is simple. A cartridge ROM appears at $8000–$BFFF as soon as it is plugged in, and the OS will try to run it, so you need a way to run your program first and then make the cartridge visible. The DIY answers fall into three groups: hot-plugging, a switched pass-through adapter, and a switch modification inside the computer.

The tools

Jindroush's Cartridge Dumper (CartSave), 2001

Jindroush's CartSave (his site was on the Czech domain asw.cz) boots from disk (cartsave.atr) or from tape, and saves the cartridge area to a disk image. It was designed to write to a virtual drive on a PC running APE over an SIO2PC cable. Its modes:

Mode What it saves
ROM8 $A000–$BFFF
ROM16 $8000–$BFFF
XEGS detects the cart's length and saves every bank (fails on 16 KB "blue" XEGS carts or unknown schemes)
Free the whole $8000–$BFFF area, with manual control over the value written to $D5xx bank registers
OSS not implemented in 2.01

When the cartridge becomes visible, the first character of the third screen line turns into !. TAB switches columns, the arrow keys pick values, and RETURN saves. The tape version suits cartridges that refuse to let a disk boot. Insert the cart with the power off, then power on holding START. A beep means the cassette boot was accepted, and you load the dumper from tape and save to a 133 KB ATR in APE's D1:. If the cartridge boots anyway, this method won't work for it.

Jindroush also made a piggyback version that runs from a SpartaDOS X cartridge EPROM. One caveat: the output disk holds a raw linear dump. An 8 KB cart produces 65 sectors, apparently a header plus 64 × 128 bytes. The extraction tool was never released, and the README jokes that only the author knows the format. In 2001 he asked people to send him the ATRs so he could return plain ROM files.

Hardware you build

  • Switched pass-through: a cartridge extender with switches in the ROM select lines. Boot with the switches off, start the dumper, then flip them on. Jindroush's letter gives exactly this ten-step routine with APE, and similar home-built extenders were common in the 1980s as a way to avoid hot-plugging.
  • Computer modification (XL/XE only): bend up pins 7 and 8 of the MMU and fit two microswitches between those pins and their socket holes. The switches then let you disable and enable a plugged-in cartridge while the dumper is running.

The hot-plug CARTDUMP trick

A classic 1984-era trick was a one-sector routine called CARTDUMP. It sets the disk buffer to $8000, waits, and then calls DSKINV to write 128 128-byte sectors (16 KB) straight to disk starting at sector 1. Its author booted DOS on an 800 with the cartridge door interlock disabled, ran it, and pushed a cartridge into the B slot of the live machine. It works on the 400/800, but not on XL/XE: TRIG3 reflects the cartridge-present line, and the OS vertical-blank routine watches it and locks up or restarts the machine if it changes. A dumper there has to set CRITIC so that stage-2 VBlank is skipped.

Practical advice

  • Prefer a switched adapter or the MMU switch over hot-plugging. Inserting a cartridge into a powered machine risks the cart and the computer.
  • Copy to RAM first, then write to disk at leisure, as veterans recommend.
  • Bank-switched cartridges (XEGS, OSS, Williams, SpartaDOS X and so on) need a dumper that knows the scheme, or careful manual $D5xx experiments in CartSave's free mode.
  • For a no-solder route, commercial programmers such as the AtariMax USB cartridge programmer can read most cartridges.
  • Share new dumps with the preservation community. Unknown prototypes, such as a Roklan prototype found in 2021, still surface.

Credits