+Allan Posted October 11, 2019 Share Posted October 11, 2019 Question to anybody familiar with Atari Forth programming. Is there any way to import a text file into a Forth editor? Or do you have to create Forth code in a Forth editor? There are a few Forth listings in early Antic magazine issues and I would like to include them with other language listings on a ATR disk image, but don't want to waste my time typing them in if there is no way to import an atari text file Forth listing into a Forth editor. Any input would be helpful. Quote Link to comment Share on other sites More sharing options...
tschak909 Posted October 11, 2019 Share Posted October 11, 2019 None of the fig-FORTH environments had a way to read DOS files into screens. You could literally cut and paste into the FORTH environment, you would load the fig-forth editor (e.g. 21 LOAD on extended fig-forth), and then you could add screen edit words in front of the text: 0 P ( This is the first line ) 1 P ( This is the second line ) 2 P ( This is the third line ) You can then flush the screen to disk. and cut and paste that into the forth environment (e.g. with Altirra) You just need to be aware of the screen size in the forth you are using (e.g. extended fig forth uses screens sized 80 columns by 16 lines) -Thom Quote Link to comment Share on other sites More sharing options...
+Allan Posted October 11, 2019 Author Share Posted October 11, 2019 Thanks, Thom. I will add a text file of the Forth listings then so people can cut and paste them into an emulator. I am putting a later Antic menu program on each disk which also included a help file to explain file extentions. I will add your comments to the help file on disks that have Forth listings on them. Allan Quote Link to comment Share on other sites More sharing options...
robdaemon Posted October 18, 2019 Share Posted October 18, 2019 (edited) On 10/11/2019 at 12:33 PM, Allan said: I will add a text file of the Forth listings then so people can cut and paste them into an emulator. I am putting a later Antic menu program on each disk which also included a help file to explain file extentions. I will add your comments to the help file on disks that have Forth listings on them. Thom is right on the fig-FORTH implementations, but there are a few implementations that can read DOS files: X-FORTH, VolksForth for example. They both have an INCLUDE" word, used like: INCLUDE" D1:MYFILE.FS" Edited October 18, 2019 by robdaemon added screenshot from voilksForth 2 Quote Link to comment Share on other sites More sharing options...
Atari_Ace Posted November 4, 2019 Share Posted November 4, 2019 On 10/11/2019 at 10:14 AM, Allan said: Question to anybody familiar with Atari Forth programming. Is there any way to import a text file into a Forth editor? Or do you have to create Forth code in a Forth editor? There are a few Forth listings in early Antic magazine issues and I would like to include them with other language listings on a ATR disk image, but don't want to waste my time typing them in if there is no way to import an atari text file Forth listing into a Forth editor. Any input would be helpful. When I was doing something similar last year with a large OCR of Forth code, I wrote a Perl tool that would punch the data directly into an atr. You can probably adapt it. qfigs1.zip 2 Quote Link to comment Share on other sites More sharing options...
luckybuck Posted April 18, 2020 Share Posted April 18, 2020 Does anyone has the 'Floating Point Package for FORTH #7230' from Hofacker? Quote Link to comment Share on other sites More sharing options...
luckybuck Posted January 8 Share Posted January 8 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted January 8 Share Posted January 8 You are still looking for the # 7055 and # 7230 disks then? Quote Link to comment Share on other sites More sharing options...
luckybuck Posted January 15 Share Posted January 15 Sorry Doctor, missed your post. Yes, we are still looking for... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.