Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jhlagado/stc-forth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Z80 STC Forth

import this repo into asm80.com

  • click Import repo from GitHub button
  • paste https://github.com/jhlagado/stc-forth into theEnter https GitHub link text field.

to run app

  • select the MAIN.z80 file
  • press Emulator [F10] button

to run tests

  • select the TEST.z80 file
  • press Emulator [F10] button

to debug

  • comment out line 1:
  ; .engine mycomputer

in main.z80 or main-test.z80 files

Using a Mac to program an 8K AT28C64B-15PU EEPROM

truncate to 8192

head -c 8192 main.z80.bin > x.bin

program to minipro

minipro -p AT28C64B -w x.bin

Using a Mac to connect serially to the Southern Cross

Open an OS X terminal session (window) Find the right TTY device. Type:

ls /dev/cu.*

With the USB-Serial adapter plugged in, you'll get a list, including something like this:

ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port	/dev/cu.usbserial-AI03T2RU

If you don't have a usb serial device, install this driver:

To use a driver, for example, the bit-banged interface which runs at 4800 baud type:

screen /dev/cu.usbserial-AI03T2RU 4800

To bring up the monitor on the Southern Cross, press the Fn key twice.

you should then see:

SCM 1.5 SERIAL MONITOR
ACCEPTS ONLY UPPER CASE - H FOR COMMAND LIST
>

To communicate with the Southern Cross SCC-SERIAL-LCD card use 115200 baud e.g.

screen /dev/cu.usbserial-AI03T2RU 115200

About

Subroutine threaded Forth for the Z80

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published