Created
March 21, 2019 01:16
-
-
Save kuninet/e825ad51e4a698f6af6598e0fd83e271 to your computer and use it in GitHub Desktop.
LED BLINK SAMPLE (KZ80FORTH)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: 8255INIT | |
$80 $C3 P! ; | |
: 8255-A-OUT | |
$C0 P! ; | |
: WAIT10 | |
20000 0 DO | |
WAIT | |
LOOP ; | |
: LED-BLINK | |
8255INIT | |
10 0 DO | |
$AA 8255-A-OUT | |
WAIT10 | |
$55 8255-A-OUT | |
WAIT10 | |
LOOP ; | |
/END/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment