Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
PROC Wait(BYTE frames)
|
||||
BYTE RTCLOK=$14
|
||||
frames==+RTCLOK
|
||||
WHILE frames#RTCLOK DO OD
|
||||
RETURN
|
||||
|
||||
PROC Main()
|
||||
BYTE CH=$02FC ;Internal hardware value for last key pressed
|
||||
|
||||
PrintE("Program is halted for 200 frames.")
|
||||
PrintE("Type character to fill the buffer.")
|
||||
Wait(200)
|
||||
PutE()
|
||||
|
||||
DO
|
||||
IF CH=$FF THEN
|
||||
PrintE("The buffer is empty.")
|
||||
EXIT
|
||||
ELSE
|
||||
PrintF("The buffer stores internal key: %B.%E",CH)
|
||||
PrintE("Flush the buffer.")
|
||||
CH=$FF
|
||||
FI
|
||||
OD
|
||||
RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue