Skip to content

About

Native macOS file manager for apfRam APF-01 Atari Portfolio memory cards, with verified HID transfers and FAT12 tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APF-01 Manager for macOS

An open-source, native macOS file manager for the apfRam APF-01 USB reader and Atari Portfolio memory cards. It uses USB HID directly; the Windows apfRAM.exe application and a virtual machine are not needed.

APF-01 Manager showing the Mac and card panes

Features

  • Two-pane Mac/card browser with DOS 8.3 file names.
  • Upload, download, delete files, and create/browse folders on the card.
  • Uploads read only metadata and affected sectors. A full-card read happens only when Back Up Card is selected.
  • Before each write, save the original sectors and check that the card has not changed. Verify every written sector by reading it back.
  • Save a copy of each deleted file before removing its directory entry.
  • Command-line tool for sector inspection, full images, offline FAT12 image edits, and recovery.

The current release was tested on a physical APF-01, USB VID:PID 16c0:1771, firmware 1.2, model 0x30 (1,567,232 bytes, 3,061 sectors). A file was uploaded into a newly created subfolder, downloaded again, and compared byte for byte. Deletion and root-level upload were also verified on hardware. Other models and APF-02 have not been tested.

Install and run

Download APF01Manager-macos-arm64-v0.2.0.zip from Releases, unpack it, and open APF01Manager.app. The binary is built for Apple silicon and ad hoc signed; it is not notarized. On first launch, use Finder's Open command and approve the app if macOS asks.

If the device cannot be opened, allow Input Monitoring for the app in System Settings → Privacy & Security → Input Monitoring, then restart the app. This permission is needed for macOS HID access.

To build from source, install Xcode Command Line Tools and run:

make
open build/APF01Manager.app

make also builds the apfram command-line tool. No third-party libraries are required.

Using the GUI

The left pane browses the Mac; the right pane browses the card. Double-click folders to open them, or .. to go back. Select a Mac file and click Upload →. Enter a DOS 8.3 name (for example PROGRAM.COM). Select a card file and click ← Download or Delete. New Folder creates a DOS 8.3 folder in the current card directory. Back Up Card makes a complete card image and can take several minutes.

Compact write backups are stored in ~/Documents/APF-01 Backups by default. Backup Folder… changes that location. Keep the card connected during transfers.

Folders currently occupy one 512-byte cluster and support up to 14 user entries. The app refuses unsupported multi-cluster folders and does not rename or overwrite files. Deleting folders is not implemented. Back up important cards before experimenting with write operations.

Command-line examples

./apfram info
./apfram status
./apfram card-list
./apfram backup-image card-backup.img
./apfram image-info card-backup.img
./apfram image-list card-backup.img
./apfram image-extract card-backup.img FILE.TXT FILE.TXT
./apfram image-add card-backup.img PROGRAM.COM PROGRAM.COM edited.img
./apfram image-delete card-backup.img FILE.TXT edited.img
./apfram image-mkdir card-backup.img GAMES edited.img
./apfram image-diff card-backup.img edited.img
./apfram apply-image card-backup.img edited.img

The offline image-* file operations currently address the root directory. apply-image checks every changed live sector against the original image, refuses boot-sector changes, writes data before FAT and directory sectors, and verifies readback. restore-image undoes an image-based write. GUI backups are compact *.before.sectors and *.target.sectors files; recover a partial GUI write with:

./apfram restore-sectors /path/to/session.before.sectors /path/to/session.target.sectors

Recovery checks that live sectors still match either the original or target snapshots before writing. Live recovery has not yet been exercised on hardware.

Protocol and development

See Protocol notes for the HID reports, sector addressing, FAT12 layout, and hardware evidence. This is an independent reimplementation based on behavioral analysis; no vendor executable or third-party source code is included.

Licensed under the MIT License. This project is independent of apfRam and Atari.

About

Native macOS file manager for apfRam APF-01 Atari Portfolio memory cards, with verified HID transfers and FAT12 tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages