![]() ![]() The size of the workspace can be increased with more memory. It has 6K of workspace when used with a 16K RAM pack. ZX-FORTH comes with a 64 page manual that include a bibliography of FORTH references. Cassette load/save is faster than Sinclair BASIC. ![]() Hardware design was by Richard Altwasser of Sinclair Research, and the machine’s outward appearance was designed by Sinclair’s industrial designer Rick Dickinson. The original model Spectrum has 16 kB (16×1024 bytes) of ROM and either 16 kB or 48 kB of RAM. Though written for cassette storage, ZX-FORTH can be patched to support disks with routines less than 40 bytes long. The Spectrum is based on a Zilog Z80A CPU running at 3.5 MHz (or NEC D780C-1 clone). ZX-FORTH retains all variables, constants, operators and the dictionary. User can exit to BASIC and return to ZX-FORTH through a USR call. ZX-FORTH supports ELSE for second level conditional execution. All arithmetic is integer and may use single or double precision and is faster than ZX/TS BASIC.Ĭonditional branching is supported and tests usually change the top number on the stack as a flag. FORTH is unique in its ability to allow the programmer to build program solving modules then assign them user-defined names.įORTH uses a stack for math, with a last-on/first-off structure, similar to Reverse Polish notation. ZX-FORTH complies with the FORTH-79 standard, with the exceptions of replacing the # sign with the British pound symbol, the sign with a question mark, the exclamation point with *, an apostrophe with the word “tick”, and “” with “(” and “)”. Full implementation of FORTH for the ZX81/TS1000. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |