Skip to content

Instantly share code, notes, and snippets.

@spicyjack
Created January 17, 2023 21:31
Show Gist options
  • Save spicyjack/f8a740b54e4bbbb9390f3ce09687d896 to your computer and use it in GitHub Desktop.
Save spicyjack/f8a740b54e4bbbb9390f3ce09687d896 to your computer and use it in GitHub Desktop.
Memo Pad clone using ACTION!
;
; 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