Created
January 17, 2023 21:31
-
-
Save spicyjack/f8a740b54e4bbbb9390f3ce09687d896 to your computer and use it in GitHub Desktop.
Memo Pad clone using ACTION!
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
; | |
; Simple "Memo Pad" clone | |
; | |
DEFINE RW = "12" | |
DEFINE CRSINH = "$02F0" | |
PROC main() | |
BYTE inchar | |
Close(0) | |
Open(0,"E:",RW,0) | |
SET CRSINH=$01 | |
PrintDE(0, "") | |
PrintDE(0, "Atari Computer - SuperMemoPad") | |
PrintDE(0, "") | |
SET CRSINH=$00 | |
inchar=0 | |
DO | |
inchar=GETD(0) | |
; $9B = Ctrl-3 | |
; $04 = Ctrl-D | |
UNTIL inchar=$04 | |
OD | |
Close(0) | |
RETURN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment