An open API service indexing awesome lists of open source software.

https://github.com/barrettotte/trs-80

Exploring the TRS-80 by learning some of the basics of LEVEL-II BASIC and Z80 Assembly
https://github.com/barrettotte/trs-80

assembly basic machine-code tandy trs-80 z80

Last synced: about 1 year ago
JSON representation

Exploring the TRS-80 by learning some of the basics of LEVEL-II BASIC and Z80 Assembly

Awesome Lists containing this project

README

          

## TRS-80

This repository is for exploring the TRS-80.
I will briefly learn about LEVEL-II BASIC and Z80 Assembly.

I currently own the following machines:

- TRS-80 Model I (Untested)
- TRS-80 Model III (Bad PSU and CRT)
- TRS-80 Model 4P (Working)

## LEVEL-II BASIC Programs

| **Name** | **Description** |
| ------------------ | --------------- |
| [ANIM.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/ANIM.BAS) | Move character across screen |
| [ARRAY.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/ARRAY.BAS) | Array example |
| [BINARY.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/BINARY.BAS) | Convert decimal(0-255) to binary |
| [DEMO.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/DEMO.BAS) | Count 0-255 in binary, ran live on TRS-80 4P |
| [FACTORIAL.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/FACTORIAL.BAS) | Factorial of n |
| [FIZZBUZZ.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/FIZZBUZZ.BAS) | The classic Fizzbuzz problem |
| [HELLO.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/HELLO.BAS) | Hello World |
| [MATRIX.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/MATRIX.BAS) | Matrix algebra basics |
| [PEEK.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/PEEK.BAS) | Example of peeking into memory |
| [POKE.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/POKE.BAS) | Example of poking memory; fill screen |
| [STRSEARCH.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/STRSEARCH.BAS) | Search screen for string |
| [VECTOR.BAS](https://github.com/barrettotte/TRS-80/tree/master/LEVEL-II-BASIC/VECTOR.BAS) | Vector algebra basics |

## Z80-Assembly Programs

| **Name** | **Description** |
| ------------------ | --------------- |
| [LDIR.ASM](https://github.com/barrettotte/TRS-80/tree/master/Z80-ASSEMBLY/LDIR.ASM) | Example of LDIR to move a block of memory |
| [LOAD.ASM](https://github.com/barrettotte/TRS-80/tree/master/Z80-ASSEMBLY/LOAD.ASM) | Example of loading a value to screen and register |
| [SCREENFILL.ASM](https://github.com/barrettotte/TRS-80/tree/master/Z80-ASSEMBLY/SCREENFILL.ASM) | Fill 256 bytes of screen with asterisks |
| [STACK.ASM](https://github.com/barrettotte/TRS-80/tree/master/Z80-ASSEMBLY/STACK.ASM) | Example of pushing/popping to stack |

## Screenshots

### Running LEVEL-II-BASIC/DEMO.BAS with my TRS-80 4P

[![live-dos](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-dos.PNG)](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-dos.PNG)

[![live-code](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-code.PNG)](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-code.PNG)

[![live-end](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-end.PNG)](https://github.com/barrettotte/TRS-80/blob/master/screenshots/live-end.PNG)

### LEVEL-II BASIC - Sharp80 (TRS-80 Emulator)

[![basic](https://github.com/barrettotte/TRS-80/blob/master/screenshots/BASIC.PNG)](https://github.com/barrettotte/TRS-80/blob/master/screenshots/BASIC.PNG)

### Z-80 Assembly - Sharp80 (TRS-80 Emulator)

[![z80](https://github.com/barrettotte/TRS-80/blob/master/screenshots/Z80.PNG)](https://github.com/barrettotte/TRS-80/blob/master/screenshots/Z80.PNG)

## References

- **Amazing Model III Emulator for Windows** https://github.com/mch2112/Sharp80
- TRS-80 emulator for all "grey line" models http://48k.ca/trs80gp.htm
- Radio Shack LEVEL II BASIC Reference Manual 2nd Edition (1979)
- TRS-80 Boot Disks https://www.ebay.com/str/TRS-80-Universe
- Amazing TRS-80 guy, Ian Mavric http://ianmav.customer.netspace.net.au/trs80/