Featured on the
Hackaday
SuperConference badge computer under the menu option 2. Z80 CPM. FORTH
is on the B drive, but it is missing the screen files and so there is no
effective way to edit or save new words. After some searching, the files
appear to have been found at:
http://www.ep128.hu/Ep_Util/Ep_Util_eng.htm
Screens:
To load the screen files onto the badge, follow the directions at:
https://hackaday.io/project/161859-2018-hackaday-superconference-badge/log/154556-serial-communications-with-badge
Connect a USB to serial converter to the badge pins: C13 to TX, C14 to RX. Connect ground but not power. Assuming your favorite serial terminal program supports XMODEM, set it to 19200 N 8 1 and configure a LF after CR. Reset the badge (hold both shifts, press RESET) then switch to serial terminal mode (hold both shifts, press BRK/COL). Select option 2 (press Enter or Ctrl+Enter). At the command prompt, enter
xmdm r D:FILENAME.EXT
where FILENAME.EXT is the name of the file you are transferring. From the PC, start the transfer.
Once the files are there, enter
B:
FORTH D:STARTUP.FRT
Note: You can NOT switch back and forth from the serial to local console, so you must complete the file transfers in one sesson. If you power off, you have to reset and start over.
To exit FORTH back to CP/M, the command is BYE
Manual: fig-Forth step by step (1990) Translated from Hungarian via Google, and with a few notes and corrections.
Source:
P! and P@ words do port IO via the OUT and IMP instructions. Search the .ASM
file for ";P@" to find the code. There is also a note: "The port I/O words
P@ & P! have been made ROMable by use of Z80 instructions." However,
the Z80 Emulator on the badge does NOT support IO to the onboard devices
other than the keyboard / screen, serial console, and drives. A feature request
with link to the source has been raised:
https://github.com/Hack-a-Day/2018-Supercon-Badge/issues/24
Questions:
See also: