Re:The FORTH code for Chipwits is released in the game's 40t...
by abecedarius on Thursday November 21, 2024 @09:13PM
(#42210559)
One of the great things about it was, it came with an assembler vocabulary to code your inner loops or other lowest-level stuff in. I gather BBC Basic had something like that, but I never saw and and I did get to use Forth in this way back in the day. Most of those systems made it harder to flexibly mix the higher and lower-level coding.
[ Parent
| on HN ]
Re:The FORTH code for Chipwits is released in the game's 40t...
by veltas on Friday November 22, 2024 @07:48AM
(#42213387)
This is much like C. The easiest way to use assembly in C or Forth is to know your 'ABI' and write separate assembly code functions where needed. In Forth at least you can write a CODE word.
Re:The FORTH code for Chipwits is released in the game's 40t...
by abecedarius on Friday November 22, 2024 @11:02AM
(#42214902)
Yes, though:
- high-level Forth also amounts to a Turing-complete macro assembler (much better than textual macros)
- C was less practical/available on early personal computers, especially for coding right on the target system. When I was doing this it was on a TI 99/4A in the early 80s.