Programs to Try
Click to load into debugger
It also supports execution of load files via "Choose File" or drag-n-drop onto the TRS-80 window. The implementation isn't very portable but uses the (new) trsEmu.loaddata() method.
Use Step/Go/10000T buttons to step single instructions, run continuously until a breakpoint or run the machine for 10000 T-states (cycles).
When the machine is stopped, click on the register, flags or memory values to change their hexadecimal values. Changing the memory dump addresses will let you look at different areas of the memory map. The disassembly is alway the at program counter and can't otherwise be modified directly.
Up to 4 breakpoints can be added. The '0': or '1': in front of each breakpoint address is a flag to turn them on or off. Breakpoints are ignored when simply "Run"ing the machine and are only in effect when using "Go/Debug" or 10000T.
The "Direct switch keyboard" uses the trsEmu.setkey() to directly control the keyboard state. It makes it possible to step through games while keeping particular keys pressed.
Comments?Comments or questions to the email at the bottom of the page.
Peter Phillips, March 6, 2011,
AF:4567 BC:4567 DE:4567 HL:4567 IX:4567 IY:4567 SP:4567 PC:4567 R:67 I:67
S:0 Z:0 H:0 V:0 N:0 C:0 IFF1:0 IFF2:0 Break points: 0:0 0:0 0:0 0:0
Direct switch keyboard
Color tests (does not work for IE8)