Skip to content

Commit

Permalink
fix: Add missing opcodes to compiler (#463)
Browse files Browse the repository at this point in the history
fixes #462
  • Loading branch information
tomsci authored Oct 25, 2024
1 parent 8d4c412 commit 0aea983
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/compiler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ Callables = {
BEGINTRANS = Op("BeginTrans", {}),
BOOKMARK = Fn("Bookmark", {}, Int),
BUSY = SpecialOp(),
CANCEL = Op("Cancel", {}),
["CHR$"] = Fn("ChrStr", {Int}, String),
CLOSE = Op("Close", {}),
CLEARFLAGS = Op("ClearFlags", {}),
Expand Down Expand Up @@ -514,6 +515,7 @@ Callables = {
IOOPEN = SpecialFn(nil, Int),
IOREAD = Fn("IoRead", {Int, SiboInt, Int}, Int),
IOSEEK = Fn("IoSeek", {Int, Int, LongVarArg}, Int),
IOSIGNAL = Op("IoSignal", {}),
IOW = Fn("Iow", {Int, Int, AnyVarArg, AnyVarArg}, Int),
IOWAIT = Fn("IoWait", {}, Int),
IOWAITSTAT = Op("IoWaitStat", {IntVarArg}),
Expand Down Expand Up @@ -565,6 +567,7 @@ Callables = {
["PEEK$"] = Fn("PeekStr", {SiboInt}, String),
PEEKW = Fn("PeekW", {SiboInt}, SiboInt),
PI = Fn("Pi", {}, Float),
POINTERFILTER = Op("PointerFilter", {Int, Int}),
POKEB = Op("PokeB", {SiboInt, Int}),
POKEF = Op("PokeD", {SiboInt, Float}),
POKEL = Op("PokeL", {SiboInt, Long}),
Expand Down

0 comments on commit 0aea983

Please sign in to comment.