Jump to content
IGNORED

TurboForth website updated - yowsers!


Willsy

Recommended Posts

It's a TurboForth day today!

 

Updates to the site as follows:

 

  • Utilities disk updated to include a new utility: MOVBLK - this lets you move blocks around in your blocks file. Seems to work! I should probably do some more testing. Any volunteers? (use backups!!!!!!!)
  • A new version of the Local Variables library. Produces smaller, faster code than before. Local Variables article on the website has been updated. Using local variables can now actually produce faster code than stack juggling. And it's easier to read six months after you bloody wrote it!
  • New DATA[ and ]DATA words - super useful - have a look.
  • POSTPONE - another cool word (stolen from ANS forth)

See the resources page and the download page. Have fun!

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...

I had always dreamt of some simple words to control the TMS9919 but never made them. I can cross-compile Forth at the moment with my DOS cross-compiler/assembler (masochist, I know I know) and so I have got this working using the 9901 timer for mS. With the timer and the support words and headers it adds 670 bytes so I will have to look it over for size reductions.

A few more code words may be in order, but I like the way it looks just the same.

\ Code the classic TI-99 sounds defined with new lexicon
: BEEP  ( -- ) GEN1  1398 Hz  -4 dB  170 mS  MUTE ;
: HONK  ( -- ) GEN1   218 Hz   0 dB  170 mS  MUTE  ;


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...