# linapple-pie

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/linapple/

linapple-pie emulates Apple II. It reads 1 file, none of them required: it starts games without them.

The app keeps its data in this folder:

On Linux: `~/.linapple/`

linapple.conf and Master.dsk are read from the working directory when this folder does not hold them.

Source: [`src/Applewin.cpp:816-828`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Applewin.cpp#L816-L828), [`src/Applewin.cpp:558-574`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Applewin.cpp#L558-L574)

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Community fork |
| Source | [https://github.com/dabonetn/linapple-pie](https://github.com/dabonetn/linapple-pie) |
| Upstream | [https://sourceforge.net/projects/linapple/](https://sourceforge.net/projects/linapple/) |
| Version | 2b.1, stated in [`CHANGELOG`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/CHANGELOG) |
| Revision | [dabonetn/linapple-pie@c22ba0c3ad6c](https://github.com/dabonetn/linapple-pie/commit/c22ba0c3ad6c317b4f13486b7ff06a340c831122) |
| Run by | [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/) |
| Profiled | 2026-11-09 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/linapple.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/linapple.json) |
| Cores | linapple |
| Systems | [Apple II](https://abdess.github.io/retrobios/systems/apple/#apple-ii) |
| Data folder (Linux) | `~/.linapple/` |

**Install this emulator's files**

With RetroPie: the installer finds RetroPie and its BIOS folder, then downloads only the files linapple-pie reads there and checks each one.

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator linapple
```

**Technical notes**

SDL 1.2 port of LinApple 2b, itself an SDL port of AppleWin, reworked for frontends by Mark Ormond (README.md:1-6, CHANGELOG:11-14). Disks are mounted from the command line with -1 and -2, -r boots at once and -f starts full screen ([`src/Applewin.cpp:841-869`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Applewin.cpp#L841-L869)).

The four system ROMs are byte arrays in src/resource.h (Apple2_rom, Apple2plus_rom, Apple2e_rom, Apple2eEnhanced_rom at lines 5, 778, 1551, 2581), picked from the machine type ([`src/Memory.cpp:963-970`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Memory.cpp#L963-L970)). The file loaders that AppleWin used are commented out ([`src/Memory.cpp:974-1023`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Memory.cpp#L974-L1023)). The Disk II, Super Serial Card, mouse card, parallel printer and hard disk firmware are arrays in their own sources ([`src/Disk.cpp:50`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Disk.cpp#L50), [`src/SerialComms.cpp:57`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/SerialComms.cpp#L57), [`src/MouseInterface.cpp:41`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/MouseInterface.cpp#L41), [`src/ParallelPrinter.cpp:35`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/ParallelPrinter.cpp#L35), [`src/Harddisk.cpp:113`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Harddisk.cpp#L113)). Splash screen, font and 40 column character set are XPM compiled in ([`src/Video.cpp:34-35`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Video.cpp#L34-L35), [`src/stretch.cpp:39`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/stretch.cpp#L39)). No ROM is read from disk.

RetroPie installs the binary with linapple.conf and Master.dsk, copies both to configs/apple2 when the user has none, links ~/.linapple there and starts the emulator from $romdir/apple2 with -1 and the game (RetroPie scriptmodules/emulators/linapple.sh:35-45, 51, 56-59, 66-73).

Save states, the printer output file, FTP downloads and the FTP directory cache are written by the emulator. Disk and hard disk images are user content.

## Files

**1 file**: 0 required, 1 optional. 2 more files come with the app.

In this collection: 1 in repo and 0 missing.

## Optional

### `icon.bmp` optional in repo

Window icon

- Loaded with SDL_LoadBMP from the working directory. A missing file costs the window its icon and nothing else. The hashes are those of the copy at the root of the repository, where the build copies the binary ([`src/Makefile:37`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Makefile#L37)). make install leaves it out ([`src/Makefile:24`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Makefile#L24), [`54`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Makefile#L54)), and so does the RetroPie scriptmodule.

- Size: 2.1 KB, SHA1 5aee3a718f3d
- Collection copy: [`bios/Other/linapple/icon.bmp`](https://abdess.github.io/retrobios/systems/other/#sha1-5aee3a718f3d)

**Hashes, packages and source**

- SHA1: `5aee3a718f3d541122b61b9b8203e8a28db97a34`
- MD5: `be7a389c5aa678f5e6ce4748593b0a29`
- Not in the platform's package, so the pack brings it, on: retropie
- Source: [`src/Frame.cpp:1207-1212`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Frame.cpp#L1207-L1212)

## Comes with the app

### `linapple.conf` comes with the app

Configuration file

- Opened in append mode from ~/.linapple when that file exists, otherwise from the working directory, so a missing file is created empty. Each key that is absent keeps its compiled-in default. Shift+F8 rewrites the file. No size or hash check.

- Size: 11.0 KB, SHA1 65369dbb1d98

**Hashes and source**

- SHA1: `65369dbb1d98332269b50efcc6cda97c3a1b735c`
- MD5: `37111109ab7ae0a9ce408f8ef6e6307d`
- Source: [`src/Applewin.cpp:816-828`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Applewin.cpp#L816-L828), [`src/Registry.cpp:179-233`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Registry.cpp#L179-L233)

### `Master.dsk` comes with the app

DOS 3.3 boot floppy inserted into slot 6 drive 1 at startup

- Inserted when no -1 disk is given and Slot 6 Autoload is off or -r is given, from ~/.linapple when the file exists there, otherwise from the working directory. A missing file leaves the drive empty. No hash is checked. The hashes are those of the copy in the repository, which make install copies beside the binary ([`src/Makefile:24`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Makefile#L24), [`54`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Makefile#L54)).

- Size: 140.0 KB, SHA1 11c4b65136c4

**Hashes and source**

- SHA1: `11c4b65136c4abe968cf196c46b682b638f42212`
- MD5: `ecd3af4ea2b3c6d950b9089530525adb`
- Source: [`src/Applewin.cpp:534-576`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Applewin.cpp#L534-L576), [`src/Disk.cpp:496-541`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/Disk.cpp#L496-L541), [`src/DiskImage.cpp:741-791`](https://github.com/dabonetn/linapple-pie/blob/c22ba0c3ad6c317b4f13486b7ff06a340c831122/src/DiskImage.cpp#L741-L791)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
