barrettotte / TRS-80

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 Move character across screen
ARRAY.BAS Array example
BINARY.BAS Convert decimal(0-255) to binary
DEMO.BAS Count 0-255 in binary, ran live on TRS-80 4P
FACTORIAL.BAS Factorial of n
FIZZBUZZ.BAS The classic Fizzbuzz problem
HELLO.BAS Hello World
MATRIX.BAS Matrix algebra basics
PEEK.BAS Example of peeking into memory
POKE.BAS Example of poking memory; fill screen
STRSEARCH.BAS Search screen for string
VECTOR.BAS Vector algebra basics

Z80-Assembly Programs

Name Description
LDIR.ASM Example of LDIR to move a block of memory
LOAD.ASM Example of loading a value to screen and register
SCREENFILL.ASM Fill 256 bytes of screen with asterisks
STACK.ASM Example of pushing/popping to stack

Screenshots

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

live-dos

live-code

live-end

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

basic

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

z80

References

About

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


Languages

Language:BASIC 57.2%Language:Assembly 42.8%