PETTERM 0.4.0
A much desired improvement, PETTERM can now handle 600 and 1200 baud.
Usage
- Off/Rvs key acts as a Ctrl key.
- Clr/Home opens up the PETTERM menu for changing baudrate and character set modes
- PET cursor keys work as expected
- Inst/Del is a backspace key
- Terminal emulates a limited set of ANSI escape codes which should work for most simple uses.
Hardware changes required
A connection between pin C and B of the user-port is required. Adapters meant for VIC-20 or C64 use should already have this present.
This change is required for all baud rates in this version.
Features
- Can work with a 40 or 80 column PETs with either the graphics or business keyboard.
- Can be loaded from tape or disk.
- Works on all versions of BASIC including the oldest PET 2001s with BASIC 1.
- Can work with as low as 4kB of RAM.
- Requires only a simple two wire serial interface.
Rx (to the PET) should be connected to pin C AND pin B of the user-port.
Tx (from the PET) should be connected to pin M of the user-port.
Don't forget the ground connection to either pin N or Pin 1
Files:
- petterm40G - 40 column PETs with graphics keyboard (eg 2001, some 4032)
- petterm40B - 40 column PETs with buisness keyboard
- petterm80G - 80 column PETs with graphics keyboard
- petterm80B - 80 column PETs with buisness keyboard
PRG files are the native programs, can be added to a tape or disk image
TAP files are tape images
Changes from 0.3.1:
- Re-wrote serial recieve routines to use interrupt triggered start bit
- Now Requires a jumper between pin B and C on the userport header. This is the same as most VIC-20 and C64 serial adapters so little change should be required
- Allows for significantly faster serial code with less overhead as we don't have to oversample by 3x anymore
- 600 and 1200 baud works and appears to be stable
- 80 column PETs maypossibly have rare issues at 1200 baud if too many newlines are sent in a row due to the time needed to scroll the screen.
- Significantly optimized screen handling code
- Fixed keyboard arrow keys bug
- Improved character rendering, all ASCII characters should look as close to correct as possible.
- ~ is rendered as an inverted T block drawing character,
- Backtick as top left backwards L block drawing character