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
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
Please support the defense of Ukraine.
Direct or via Unclutter App
No Ads.
No Trackers.
No Social Media.
All Content Locally Hosted.
Built on Free Software.
We have complied with zero government requests for information.
~ Est. 1999 ~
A pillar of corporate stability since the second millenium.
© 1999-2999 Tom Owad
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
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.gzgunzip -vc apple-iigs-rom-03.gz >ROMYou'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.wozDownload the emulator source code.
curl -O http://kegs.sourceforge.net/kegs.1.16.tar.gztar -xzf kegs.1.16.tar.gzPrepare to do some compiling!
rm -v kegs.1.16/src/varscp kegs.1.16/src/vars_x86linux kegs.1.16/src/varssudo apt-get install libx11-devsudo apt-get install libxext-devsudo apt-get install libpulse-devmake -C kegs.1.16/src xkegsInstall it locally.
mkdir -p buildcp kegs.1.16/xkegs ROMdos33.wozbuild/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.wozBoot the disk.
PR#6MicroM8 is a good one too. Easy to get.
If you are on Ubuntu on an x86 box...
sudo apt updatesudo apt install build-essentialsudo 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
@softwarejanitor, does this work on Linux Mint? I'm currently using a Linux Mint XFCE 22.3 for a month now.
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
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.
The sane basic compile instructions will probably work, other than maybe the package dependencies might differ a little.
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.