Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:misc [2019/05/25 14:37]
M.G. [Things to Try]
projects:misc [2021/02/09 14:39] (current)
M.G. SWU 2.0
Line 35: Line 35:
 **_SYSFAILMGR** ( addr u -- ) call fatal error handler, u = error code, addr = address of packed string message or 0. **_SYSFAILMGR** ( addr u -- ) call fatal error handler, u = error code, addr = address of packed string message or 0.
  
 +==== Interpreter Info ====
 +
 +OF816 is a direct-threaded Forth with 32-bit cells and 8-bit characters.
 +
 +=== ANS Forth Conformance ===
 +
 +  * Providing the Core word set.
 +  * Providing ''​.('',​ ''​.R'',​ ''​0<>'',​ ''​0>'',​ ''​2>​R'',​ ''​2R@'',​ '':​NONAME'',​ ''<>'',​ ''?​DO'',​ ''​AGAIN'',​ ''​CASE'',​ ''​COMPILE,'',​ ''​ENDCASE'',​ ''​ENDOF'',​ ''​ERASE'',​ ''​EXPECT'',​ ''​FALSE'',​ ''​HEX'',​ ''​NIP'',​ ''​PAD'',​ ''​PARSE'',​ ''​PICK'',​ ''​REFILL'',​ ''​RESTORE-INPUT'',​ ''​ROLL'',​ ''​SAVE-INPUT'',​ ''​SOURCE-ID'',​ ''​SPAN'',​ ''​TO'',​ ''​TRUE'',​ ''​TUCK'',​ ''​U.R'',​ ''​U>'',​ ''​UNUSED'',​ ''​VALUE'',​ ''​WITHIN'',​ ''​[COMPILE]'',​ and ''​\''​ from the Core Extensions word set.
 +  * Providing ''​2CONSTANT'',​ ''​D+'',​ ''​D-'',​ ''​D.R'',​ ''​D>​S'',​ ''​DABS'',​ ''​DNEGATE'',​ and ''​2ROT''​ from thge Double-Number word set.
 +  * Providing the Exception word set.
 +  * Providing the Facility word set.
 +  * Providing Programming-Tools word set.
 +  * Providing '';​CODE'',​ ''​AHEAD'',​ ''​BYE'',​ ''​CODE'',​ ''​FORGET'',​ and ''​STATE''​ from the Programming-Tools Extensions word set.
 +  * Providing the Search Order word set.
 +  * Providing ''​-TRAILING'',​ ''​BLANK'',​ ''​SEARCH'',​ and ''​SLITERAL''​ from the String word set.
 +
 +=== Console I/O ===
 +
 +At startup, it initializes the slot 3 Pascal I/O interface which, on a IIgs, is always going to be the built in text display. ​ It sets up vectors for the input, output, and status calls. ​ These calls are the only thing that happen in emulation mode after Forth is initialized.
 +
 +The platform-independent portion of the code expects the output to accept ANSI sequences, and ''​PAGE''​ and ''​AT-XY''​ output them.  OF816 for the Apple IIgs' console driver translates some ANSI sequences for cursor position and erasing to equivalents recognized by the video firmware.
 +
 +=== Data Space ===
 +
 +The data space is acquired from the Toolbox and is currently set at 32K and is allowed to cross bank boundaries.
 +
 +===== Updated SmartWatch Utility =====
 +
 +Includes tests and ability to disable the oscillator.
 +{{ :​projects:​swu2.0.po | SmartWatch Utility v. MG 2.0a}}