-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed incorrect CURSOR ON impl, and compiler.lua CURSOR codegen. (…
…#436) Also changed how opl.lua CURSOR() API works, similarly iohandler textEditor(), so the CURSOR OPL API actually works (rather than just the opl.lua CURSOR() API).
- Loading branch information
Showing
9 changed files
with
101 additions
and
67 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
DECLARE EXTERNAL | ||
INCLUDE "const.oph" | ||
|
||
PROC main: | ||
REM text cursor | ||
PRINT "Hello"; | ||
CURSOR ON | ||
GET | ||
|
||
REM graphics cursor | ||
gAT 50, 50 | ||
gFONT KFontArialNormal32& | ||
gPRINT "Hello" | ||
CURSOR gIDENTITY | ||
gUPDATE | ||
GET | ||
ENDP |
Binary file not shown.
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
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
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
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
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
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