New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by mrtinb »

Even though the editor cannot copy and paste lines, you can move the content around with CMOVE. :-)
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: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by mrtinb »

So my source for ?TERMINAL was just a hack for Forth 1.4B which does not have ?TERMINAL.

It's so much a hack of the assembler from the source, it can only be applied to version 1.4B binary.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by Moggy »

mrtinb wrote: Tue May 26, 2020 1:41 pm Even though the editor cannot copy and paste lines, you can move the content around with CMOVE. :-)
Good discovery Martin and I shall use your ?TERMINAL for 14B should I need to. :D
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by mrtinb »

Do you still have the zip file for 1.4A? (Just for curiosity, as I deleted it when 1.4B was available.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by Moggy »

This is the version I have and it has ?TERMINAL built in for the NON UDG version so I assume this is 14A.

?TERMINAL IF QUIT THEN for break or ?TERMINAL IF ABORT THEN which seems to restart Toddy.
Attachments
tForth14.zip
(281.62 KiB) Downloaded 241 times
Last edited by Moggy on Tue May 26, 2020 2:31 pm, edited 1 time in total.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by mrtinb »

Thank you :-)
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
kmurta
Posts: 302
Joined: Tue Sep 01, 2009 5:04 am
Location: Belo Horizonte - BR
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by kmurta »

?TERMINAL has always been present at Toddy Forth, but for my carelessness it was left out of vocabulary. It is even used in the definition of VLIST to pause the words listing when BREAK key is hold.

Its operation is simple: if the BREAK key is activated during the execution of ?TERMINAL, -1 (TRUE) is left on the stack, otherwise 0 (FALSE) is left.
1 x ZX81, 2 x TK85 , 1 TK82C, 1 TK95, 1 x Alphacom 32 printer, 1 x ZXpand
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by Moggy »

kmurta wrote: Tue May 26, 2020 9:33 pm ?TERMINAL has always been present at Toddy Forth, but for my carelessness it was left out of vocabulary. It is even used in the definition of VLIST to pause the words listing when BREAK key is hold.

Its operation is simple: if the BREAK key is activated during the execution of ?TERMINAL, -1 (TRUE) is left on the stack, otherwise 0 (FALSE) is left.
Hi Kelly.

I noticed that about VLIST.

In the past as you know I have been sometimes critical of Toddy but now nearly everything is place I have decided this is the Forth for me from now on. I can use it with external keyboard, it has excellent LOAD/SAVE,a good selection of primitives,an editor at last plus the hard work Martin has contributed with his Tasword editor has added to it.

When your final Toddy79 is produced with all on your TO-DO list I can see this being the standard for ZX81 Forth.

Many thanks for all your hard work Kelly in keeping up to this as well as real life. :D

Best Regards.

Moggy.
User avatar
kmurta
Posts: 302
Joined: Tue Sep 01, 2009 5:04 am
Location: Belo Horizonte - BR
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by kmurta »

Moggy wrote: Tue May 26, 2020 10:38 pm In the past as you know I have been sometimes critical of Toddy but now nearly everything is place I have decided this is the Forth for me from now on.
Yes, I know that and I'm happy that the recent upgrades have made TForth more usable.

And I have news: I managed to include the ZXpand CAT command and I'm making considerable progress in expanding the Screen Editor's features.

I hope be able to release version 1.5 later this weekend.

cat.gif
cat.gif (18.36 KiB) Viewed 5399 times
Last edited by kmurta on Sat May 30, 2020 5:00 am, edited 2 times in total.
1 x ZX81, 2 x TK85 , 1 TK82C, 1 TK95, 1 x Alphacom 32 printer, 1 x ZXpand
ZeXtender board, Joy81 - Programmable Joystick Controller, Turbo Sound 81
http://zx81.eu5.org
https://toddysoftware.itch.io/
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: New ToddyForth with built-in editor & block storage (Was: TasWord as editor for ToddyForth)

Post by mrtinb »

That’s great to hear. I’ve also got a pleasant TForth programming session tonight.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Post Reply