FIF. Another FORTH.

Discussion about ZX80 / ZX81 Software
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: FIF. Another FORTH.

Post by Moggy »

Thanks for that Alan will try my best with the editor should anything arise.
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: FIF. Another FORTH.

Post by Moggy »

Quick question re the maths operators which whilst specific to FIF could apply to others I suppose.

The zeddy computes and displays to 8 decimal figures but FIF/Forth to 10 (with reasonable scaling) so does FIF use it own standalone maths operators or does it pinch something from zeddies ROM then add something of its own?

Just curious as to how these things work.
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

It has its own m/c routines to do a 32x16 divide and a 16x16 multiply. The Forth maths words ultimately feed off those two routines.

Alan
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

FIF 1.03 is now available.

This is a bugfix release. Also note that a few of the screen files have had minor edits so you'll need to re-copy them all to your preferred location.

Grateful plaudits to Moggy for the time he's taken to produce & report the sequences of operations that were causing him difficulties.

Alan
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: FIF. Another FORTH.

Post by Moggy »

Don't use it you'll go blind and fall off the edge of the world!! :lol:

Screen 0 AAARRRGGGGHH screen 0 take it away Matron.


A heavily sedated Moggy collapses into a heap never to mess with Forth again
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: FIF. Another FORTH.

Post by mrtinb »

Two first words in my collection.

Image
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: FIF. Another FORTH.

Post by mrtinb »

Just a little question about FIF81.

If I want to define a new word with machine code in ToddyForth, I do this:

Code: Select all

HEX
CODE WORDNAME B1 C, B2 C, B3 C, B4 C, B5 C, NEXT
DECIMAL
How do I do that in FIF81?
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

Ah, I answered that earlier in this thread:
viewtopic.php?p=42985#p42985

If you remember it was when you'd asked a question and I'd misunderstood what you wanted and posted the above info. It is the best answer I can give to your current question though.

Alan
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: FIF. Another FORTH.

Post by mrtinb »

Thanks :-)
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Post Reply