Apple 2 emulator for Linux

11 posts / 0 new
Last post
Offline
Last seen: 3 years 9 months ago
Joined: Jun 10 2022 - 17:48
Posts: 3
Apple 2 emulator for Linux

I would like help finding and installing an Apple 2 emulator for Linux - more specifically, Ubuntu 22.04 lts

I may need very specific help, as I am far from being a programmer - I don't even know how to compile...

 

Regards,

 

maxpiz

Offline
Last seen: 3 years 7 months ago
Joined: Sep 21 2020 - 04:11
Posts: 8
linapple-pie

I use linapple-pie, you can find on github and it builds and runs for me out of the box. So I think you basically clone and make. I am not at my PC now but the steps are approximately:

git clone https://github.com/dabonetn/linapple-pie. git

cd linapple-pie

make

./linapple-pie

It will boot with its default Master.dsk in drive 1, you use the -1 and -2 switches to set the initial disks e.g.

./linapple-pie -1 lemonade.dsk

You use Ctrl-Alt-F6 to toggle fullscreen and Ctrl-Alt-F10 to quit I think, and possibly Ctrl-Alt-F1 for help, there are other keys to change disks etc. 

Build was easy for me but then again I have most packages on my system already. You might try:

sudo apt install build-essential git libsdl2-dev

but I haven't tested this and I suggest read the INSTALL file in the repo, it will list dependencies. 

Linapple (not pie) does NOT work for me on a recent system. Note Linapple is a port of a very old version of Applewin and it's not super capable. When I want more advanced capabilities e.g. CP/M card, I run Applewin under Wine. This works very well but I am told the audio might be laggy. 

cheers, Nick

 

mmphosis's picture
Offline
Last seen: 3 weeks 4 days ago
Joined: Aug 18 2005 - 16:26
Posts: 467
I use KEGS from the Terminal.

I use KEGS from the Terminal.

 

To use KEGS, you need to get a ROM image.

curl -O https://chamberscreek.net/code/apple/apple-iigs-rom-03.gz

gunzip -vc apple-iigs-rom-03.gz >ROM

 

You'll probably need a disk.

curl https://mirrors.apple2.org.za/ftp.apple.asimov.net/images/masters/DOS%203.3%20System%20Master.woz -o dos33.woz

 

Download the emulator source code.

curl -O http://kegs.sourceforge.net/kegs.1.16.tar.gz

tar -xzf kegs.1.16.tar.gz

 

Prepare to do some compiling!

rm -v kegs.1.16/src/vars

cp kegs.1.16/src/vars_x86linux kegs.1.16/src/vars

 

sudo apt-get install libx11-dev

sudo apt-get install libxext-dev

sudo apt-get install libpulse-dev

 

make -C kegs.1.16/src xkegs

 

Install it locally.

mkdir -p build

cp kegs.1.16/xkegs ROM dos33.woz build/

 

Run it!

bash -c 'pushd build; ./xkegs; popd'

F6 toggles the speeds: as fast as possible, 1 MHz, 2.8 MHz, 8 Mhz

F4 brings up the configuration menu

Disk Configuration

s6d1 = dos33.woz

Boot the disk.

PR#6

 

 

 

 

 

 

 

 

 

 

 

 

 

Offline
Last seen: 2 years 2 months ago
Joined: May 30 2022 - 23:04
Posts: 7
emulator

MicroM8 is a good one too.  Easy to get.

Offline
Last seen: 1 day 8 hours ago
Joined: Jul 5 2018 - 09:44
Posts: 3057
If you are on Ubuntu on an

If you are on Ubuntu on an x86 box...

 

sudo apt update

sudo apt install build-essential

sudo apt git libzip-dev libsdl1.2-dev libcurl4-openssl-dev zlib1g-dev

git clone https://github.com/linappleii/linapple.git

cd linapple/

make

sudo make install

 

 

Offline
Last seen: 1 week 4 days ago
Joined: Apr 12 2024 - 18:19
Posts: 4
does this work on Linux Mint?

@softwarejanitor, does this work on Linux Mint? I'm currently using a Linux Mint XFCE 22.3 for a month now.

CVT
CVT's picture
Offline
Last seen: 19 hours 20 min ago
Joined: Aug 9 2022 - 00:48
Posts: 1540
LinApple is a very old port

LinApple is a very old port of AppleWin and it lacks many of the new features. You want to use AppleWin for Linux instead, which keeps up to date with the latest AppleWin source: https://github.com/audetto/AppleWin

Offline
Last seen: 1 day 8 hours ago
Joined: Jul 5 2018 - 09:44
Posts: 3057
Raykv423 wrote:
Raykv423 wrote:

@softwarejanitor, does this work on Linux Mint? I'm currently using a Linux Mint XFCE 22.3 for a month now.

It should be pretty close as Mint is related to Ubuntu.  Basically you might need to google what the exact names of the development packages are for Mint if they have changed anything from the normal ones Ubuntu uses.

 

I think I may have made a small typo on those command lines too.  The second sudo apt ... should have "install" in there too probably.  That would be the line where the exact package names may be different, like if they supply a different version of things like th SDL libraries or something.  I don't really know exactly, as I have never really used Mint before other than installing it once or twice and seeing no compelling reason for me to to prefer it over Ubuntu.  I know a lot of people really like it, but Ubuntu works fine for me so I generally stick with it.

 

 

 

Offline
Last seen: 1 day 8 hours ago
Joined: Jul 5 2018 - 09:44
Posts: 3057
CVT wrote:LinApple is a very
CVT wrote:

LinApple is a very old port of AppleWin and it lacks many of the new features. You want to use AppleWin for Linux instead, which keeps up to date with the latest AppleWin source: https://github.com/audetto/AppleWin

 

The sane basic compile instructions will probably work, other than maybe the package dependencies might differ a little.

 

Offline
Last seen: 1 day 8 hours ago
Joined: Jul 5 2018 - 09:44
Posts: 3057
softwarejanitor wrote:CVT
softwarejanitor wrote:
CVT wrote:

LinApple is a very old port of AppleWin and it lacks many of the new features. You want to use AppleWin for Linux instead, which keeps up to date with the latest AppleWin source: https://github.com/audetto/AppleWin

 

The sane basic compile instructions will probably w

I cloned that git repository and did the cmake, but when I tried to build it, it was complaining about some proprietary non-standard Microsoft header files not existing, which is a normal problem when trying to compile a Windows app on any other platform.  I have not taken the time to look at it further, but generally speaking, it is usually a fair amount of work to build anything like this because it involves finding or creating substitutes for all the goofy Microsoft weirdness.

 

CVT
CVT's picture
Offline
Last seen: 19 hours 20 min ago
Joined: Aug 9 2022 - 00:48
Posts: 1540
softwarejanitor wrote:I
softwarejanitor wrote:
I cloned that git repository and did the cmake, but when I tried to build it, it was complaining about some proprietary non-standard Microsoft header files not existing, which is a normal problem when trying to compile a Windows app on any other platform.  I have not taken the time to look at it further, but generally speaking, it is usually a fair amount of work to build anything like this because it involves finding or creating substitutes for all the goofy Microsoft weirdness.

 

 

It builds without you having to figure out any dependencies yourself, but you have to follow the build instructions and install all the required modules they list prior to building.

For example for Ubuntu: sudo apt-get -y install $(cat AppleWin/source/linux/raspbian.list.txt)

Also use the latest tagged non-beta version, instead of just the latest in order to avoid work-in-progress type of issues.

Log in or register to post comments