Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

Link to Story

Emulate Apple II on Raspberry Pi

Accepted submission by Freeman at 2026-10-28 14:18:50 from the favorite fruit flavored technology dept.
News

https://www.raspberrypi.com/news/emulate-apple-ii-on-raspberry-pi/ [raspberrypi.com]

The Apple II [si.edu] was not the first personal or home computer, but it was part of the iconic ‘trinity’ of computers that came out in 1977: Apple II, Commodore PET [si.edu], and TRS-80 [si.edu].
[...]
In designing the Apple II, Steve Wozniak took inspiration from his work on the Breakout arcade game during his time at Atari. It’s why the Apple II has colour graphics, support for paddle controllers, and even audio.
[...]
The Apple II included a version of the BASIC language that only supported integer numeric data types: by eschewing floating-point numbers, Wozniak’s Integer BASIC, as it was called, processed numbers extremely fast. This made it less than ideal for certain programming tasks, but it was fantastic for video games.
[...]
For Apple II emulation on Raspberry Pi, we are using the LinApple emulator [github.com]. It’s a fork of the AppleWin emulator which was originally created by Mike O’Brien. David Baucum (maxolasersquad) and several other contributors got it running on Linux. You may also want to have a look at audetto’s fork of the AppleWin emulator [rpimag.co]. Because audetto’s fork is regularly synchronised with the original AppleWin GitHub repository, it tracks AppleWin features more closely.
[...]
Here’s a little BASIC program you can try running. You can either type it into the emulator, or you can find the program in the ch03/AppleIIBasicPrograms.dsk file in the GitHub repository [github.com].
[...]
This will draw a small square on screen. Use the W, A, S, and D keys to move it around the screen. The program is quite simple.
[...]
After you run a graphical program, you’ll only have a small text area below the graphics mode portion of the emulator screen. You can type the TEXT command and press ENTER to return to text-only mode. You’ll also find these commands helpful:

        LIST — lists all the lines of the current BASIC program.
        RUN — runs the current program.
        NEW — erases the current program and lets you start afresh.
        CATALOG — lists all files on the disk image.
        SAVE NAME — saves the current BASIC program under whatever file name you specify.
        LOAD NAME — loads the program with the specified file name.
        CTRL+C — use this key combination to stop a running BASIC program.

Apart from CATALOG, these commands only apply to BASIC programs. Many games are binary executable files that don’t include BASIC source.

You can find some fun type-in programs in Lee Fastenau’s collection of short programs [apple2programs.com].
[...]
This tutorial is part of a series of emulation guides in The Raspberry Pi Guide to Retro Gaming [raspberrypi.com] — a definitive guide on how to play your favourite games of yesteryear on a Raspberry Pi. You can also find it in the latest issue of Raspberry Pi Official Magazine [raspberrypi.com].


Original Submission