Quantcast
Channel: rm core
Viewing all articles
Browse latest Browse all 4

Installing sdltrs TRS-80 Emulator On Ubuntu 14.04

$
0
0

This is a follow up to the article on teaching kids to code.

The purpose is to document the steps needed to get a TRS 80 emulator up and running on Ubuntu 14.04. I had to do this recently and am writing down the steps so I don’t forget them.

Overview

In order to run the sdltrs emulator, it must be compiled from source using a Makefile. (Did I mention makefile training was valuable?) A ROM file must also be downloaded because sdltrs does not include one. Finally, an appropriate command must be issued to use the downloaded ROM file.

Steps To Run TRS-80 Emulator on Ubuntu 14.04

1) Download the sdltrs 1.1.0 tarball from here. Unpack the tar ball some place convenient with a command such as:

tar xvf sdltrs_1_1_0.tar.gz

2) If you do not already have the SDL development library install it with this command.

sudo apt-get install libsdl1.2-dev

3) Compile sdltrs by typing make in the src/linux subdirectory. I ran into the following error.

/usr/bin/ld: PasteManager.o: undefined reference to symbol 'XConvertSelection'

As a result, I had to modify the Makefile under src/linux. I changed the LIBS line to add a dependency on X11.

LIBS = -lSDL -lXt -lX11

4) Download a Model III ROM file by clicking here. It is convenient to copy the ROM file to the same directory where the sdltrs executable is located.

5) The emulator is started from the command line. Here is a sample command line. Read more about the command line options here.

./sdltrs -model3 -romfile3 ld4-631.iii -scale2 &

Related Articles

The post Installing sdltrs TRS-80 Emulator On Ubuntu 14.04 appeared first on rm core.


Viewing all articles
Browse latest Browse all 4

Trending Articles