Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Sharp PC-1211 Programs

This repository contains BASIC programs for the Sharp PC-1211 Pocket Computer or the TRS-80 PC-1, as it is better known in the USA.

The TRS-80 manual directory contains the sample programs that were available in the original TRS-80 PC-1 manual. The programs were OCD'd in and I made the necessary corrections where needed, without altering the original in any way, except that I modified the original labels to be able to load all programs together (see below). These programs work best on the PC without a connected printer.

My personal programs are divided between two directories:

  • The Printer output directory contains my programs that work best with the CE-122 printer interface and will print the results formatted for the 16 characters line of the printer. The input will be made on the keyboard and display, but all output will be redirected to the printer and formatted accordingly. To enable the printer, make sure to power on the printer first and activate print. Then press the ON button twice on the Pocket Computer to redirect output to the printer.

  • The Display output directory contains my programs that work best with the Sharp PC-1211 without any printer connected. Both the input and output will be on the PC display.

Most programs that I wrote are available in both a printer and display version.

Loading the programs

Use Sharp PocketTools GUI to convert the BASIC programs to WAV or MP3.

Then connect the Pocket Computer to any tape player (if you plan to write the audio files to a physical cassette), sound card on the PC or any player that can output hight level audio via an interface such as CE-122, CE-121, or a DIY audio adapter (see this YouTube video for a custom made interface).

Note that the output level must be very high for the PC to load properly. For best results I am using a tape deck (Philips D6600) with volume set at 6~8/10 and a fake CD-tape adapter with 3.5mm jack adapter. This ensures that the level is just right for the PC to load error free.

Then enter CLOAD "name" on your TRS-80 or PC-1211 and play the recording.

If you want to load multiple programs simultaneously, you can enter CLOAD 1"name" (with a 1) and play the next audio file. This command merges (actually appends) the next program to the existing ones.

Note 1: Programs must use different labels to be able to start them separately after they are merged into memory. For example, if both programs start with label "A", you should change one of them to use another label from the reservable keys. Then from the DEF mode, just press SHIFT A to start the program with label "A" and so on.

Note 2: On the Sharp PC-1211, there are a maximum of 1424 STEPS / 178 MEMORIES available for program. So you must take into account this maximum capacity when loading multiple programs. If a program does not fit in memory, error 4 will be shown during load.

List of programs

From the TRS-80 manual

TitlePageFileStepsLabels
BIORHYTHM103BIORYTM.BAS337A, B
GUESS-NUMBER GAME105GUESS.BAS690G
IMPEDANCE IN A SERIES CIRCUIT107RLC.BAS172C
DAYS BETWEEN DATES109DAYS.BAS387D
RANDOM NUMBERS111RANDOM.BAS121Z
NORMAL DISTRIBUTION AND PERCENTILE113DISTRIB.BAS327N, M

My programs

My original programs are written in Romanian, but have been translated in English as well. You can find both versions here. The file column contains the Printer version (P) and the Display version (D) links to the program. Each program contains descriptions and comments at the beginning of the file.

Romanian versions:

TitluFișierPașiEtichete
Bon comandăP: BON.BAS
D: N/A
151B, G
BioritmP: BIORITM.BAS
D: BIORITM.BAS
549
461
A, Z
Extrageri numere aleatoareP: RAND.BAS
D: RAND.BAS
187
142
X
Ghicește codulP&D: COD.BAS718C
Diferența între dateP: ZILE.BAS
D: ZILE.BAS
470
426
D

English versions:

TitleFileStepsLabels
Receipt printerP: RECEIPT.BAS
D: N/A
155B, G
BiorhythmP: BIORYTM.BAS
D: BIORYTM.BAS
554
469
A, Z
Random number drawsP: RAND.BAS
D: RAND.BAS
188
147
X
Code breakerP&D: CODE.BAS717C
Days between datesP: DAYS.BAS
D: DAYS.BAS
460
422
D

Resources

More books with programs for the Sharp PC-1211 can be found online, here is a list of the most popular:

You can find all the programs from the book 119 Practical Programs for the TRS-80 in the following GitHub repo, thanks to Robert van Engelen: 119 Practical Programs for the TRS-80 Pocket Computer

About

BASIC programs for the Sharp Pocket Computer

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Contributors

Languages