In article <
30605baf-7a37-4eeb...@googlegroups.com>,
smp <
stephen.m....@gmail.com> wrote:
>On Tuesday, July 10, 2012 2:38:35 AM UTC-4, Ed wrote:
>>
>> The original Fig-Forth (and early forths in general) assume it owns the
>> entire disk. Typically this meant booting forth from rom or CP/M disk an=
>d
>> inserting a formatted but otherwise empty disk to do your forthing.
>>=20
>
>OK!
>
>Now that I have obtained the Fig-Forth Installation Manual, I have been abl=
>e to continue following the installation instructions, and I typed in the c=
>olon definitions for the initial line editor, then I was able to use the ed=
>itor to type in the screens that contain the colon definitions for the line=
> editor.
>
>The instructions called for me to use screens 87 through 92 for the initial=
> simple line editor. I have these in, now, and I can turn off my computer,=
> re-boot it, and execute FIGFORTH, and voila! the screens are there for me =
>to load up the editor again. This is exactly what I had hoped to achieve. =
> Thanks very much, folks, for your very kind assistance.
The first thing you should learn is to swap out the disk with the
Forth system with the disk-with-blocks.
Much better is to use a Forth that allocates the blocks in files.
(One of the links, forth-nl.lbr )
Concerning the line editor. Unless for some reason you want to follow
Starting Forth by the letter, you should consider switching to a screen
editor.
*Already in 1984* I decided that writing a small screen editor (that
understands cursor keys and can be switched between overtype and
insert mode) would be an investment in time well worth it.
Remember the editor you have typed in or are about to type in, is
based on a printing terminal, as opposed to a screen.
You can find a de-luxe editor in wina, the windows version of ciforth.
This features jumping by words and lines, splitting lines, and
deleting and undeleting words and lines via a stack of buffers.
The stack is visual on the screen.
The Osborne version comes with forth-nl.lbr.
>
<SNIP>
>
>Does anyone recall how one is to go about transferring their Forth screens =
>to another Forth disk? Am I being dense? Suppose I create a bunch of scre=
>ens that do a bunch of different things, but then the disk is getting fille=
>d up so I want to save this one and move on to the next disk. I can certai=
>nly format another disk and copy
FIGFORTH.COM onto it within the CP/M opera=
>ting system, but then I would be back to the beginning, so to speak. How, =
>then, would I copy some of these screens from my original disk onto the new=
> disk I am trying to create? What am I missing here?
The best is to use CP/M copy for you with disks allocated in blocks.
>
>Lastly (for now), the screens I typed in, slavishly following the instructi=
>ons, are screens 87 through 92. Is this some sort of rule, or is it simply=
> the model at the time? On my system, I have 270K bytes on the floppy disk=
>, and
FIGFORTH.COM takes up about 7-8K bytes, leaving space for ~250 1K scr=
>eens, so I'm not too worried at this point - but 87-92 sit somewhat smack i=
>n the middle of it...
The hard coded block numbers and the decisions where to put your blocks
was one of the pains of the blocks system. At least in F83 there where
editors where you could insert a block somewhere without much bother.
I use blocks in ciforth, but I rely on the index lines to load them.
The only fixed block number is the position of the error messages in
the block file. Because I use line feeds in the blocks, inserting a
block using a normal editor is easy.
>
>Thanks, in advance, for your continued patience and attention!
>smp
>
>