FIF. Another FORTH.

Discussion about ZX80 / ZX81 Software
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

Well spotted. Checking my code I see that, for some reason, I did set the directory to root. I've updated the fifudg4.p file above so it should now look for CHARSET.BIN in the same directory as the P file (so at least it matches the documentation).

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

Re: FIF. Another FORTH.

Post by Moggy »

Did a few definitions using the UDG Chrs and all seems ok.
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: FIF. Another FORTH.

Post by Moggy »

roganjosh wrote: Thu May 20, 2021 8:37 pm Well spotted. Checking my code I see that, for some reason, I did set the directory to root. I've updated the fifudg4.p file above so it should now look for CHARSET.BIN in the same directory as the P file (so at least it matches the documentation).

Alan
Well done that man away we go!!!
Moggy
Posts: 3267
Joined: Wed Jun 18, 2008 2:00 pm

Re: FIF. Another FORTH.

Post by Moggy »

Is this FIFUDG4 also a 254 byte jobby as well Alan?
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

Yep, I've checked the source code and it should be.

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

Re: FIF. Another FORTH.

Post by Moggy »

All looking good so far.

Would say UDG4ZXPAND with FIFUDG4 is working well,loaded a couple of screens in too seems ok memory wise.
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

Thanks.
I'll bundle a version in with the next release.
There are ways I can utilise the memory from $2200 to store core machine code subroutines (or FORTH primitives) and thereby free-up executable memory in the main dictionary area. Though doing such configuration work will come after writing the code to support the Chroma 81 features. In the meantime you're certainly not scratching around for space.


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

Re: FIF. Another FORTH.

Post by Moggy »

The operator D/ seems to be missing from the vocabulary for the ZXpand

in which case just use..

: D/ M/MOD ROT DROP ;

Enter the the number to be divided as a double and the divisor as a single number.
roganjosh
Posts: 100
Joined: Thu Jun 14, 2018 12:59 pm

Re: FIF. Another FORTH.

Post by roganjosh »

Thanks Moggy. I believe it's defined in SCR08.

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

Re: FIF. Another FORTH.

Post by Moggy »

I think I must have borked something as it kept giving me ? every time I used D/.

No worries swapped screens from a back up and now back in business working out pendulum periods and frequencies Such fun!! :lol:
Post Reply