Summary of PCS/GE's New Primitives
Some VM instructions changed significantly. Don't forget to rebuild all your own FSL modules from source.
Subsections
Text Mode
(TEXT-MODE n|)
(SPLIT-SCREEN nlines|)
(FULL-SCREEN)
(WINDOW-SET-ATTRIBUTE! window| attribute| value|)
(WINDOW-SAVE-CONTENTS window|)
(WINDOWS-RESTORE-CONTENTS window| contents|)
Arithmetic
(BITWISE-OR [n
1
| [n
2
| [...]]])
(BITWISE-AND [n
1
| [n
2
| [...]]])
(BITWISE-XOR [n
1
| [n
2
| [...]]])
Hardware-level Primitives
(PEEK type| address| [length|])
(POKE type| address| data|)
(IN-PORT type| address|)
(OUT-PORT type| address| data|)
Miscellaneous Functions
(PUSH-HISTORY string/list|)
(GET-HISTORY)
(CLEAR-HISTORY)
(DOS-GETDIR)
(FAST-SAVE-FILE source| [dest|])
(FAST-SAVE
'(PCS-CODE-BLOCK ...)
[dest|])
(CLOCK)