1
1
= Solo Forth
2
2
:author: Marcos Cruz (programandala.net)
3
- :revdate: 2021-01-04
3
+ :revdate: 2021-01-16
4
4
:toc:
5
5
:linkattrs:
6
6
7
7
// This file is part of Solo Forth
8
8
// http://programandala.net/en.program.solo_forth.html
9
9
10
- // Last modified: 202101151948 .
10
+ // Last modified: 202101162124 .
11
11
12
12
// Description {{{1
13
13
== Description
@@ -547,10 +547,10 @@ letters used by the TR-DOS BASIC interface:
547
547
548
548
1. <<_run_trdos,Run Solo Forth>>.
549
549
550
- 2. “Insert” the file <disks/trdos/disk_1a_library.trd> into the second
551
- disk drive (called B in TR-DOS and 1 in Solo Forth), and the file
552
- <disks/trdos/disk_1b_library.trd> into the third disk drive (called
553
- C in TR-DOS and 2 in Solo Forth).
550
+ 2. “Insert” the file <disks/trdos/disk_1a_library.trd> into the first
551
+ disk drive (called A in TR-DOS and 0 in Solo Forth), and the file
552
+ <disks/trdos/disk_1b_library.trd> into the second disk drive (called
553
+ B in TR-DOS and 1 in Solo Forth).
554
554
+
555
555
--
556
556
Notice that the library is split into two disks because the maximun
@@ -560,17 +560,14 @@ Also remember in Solo Forth the <<trdosdiskdrives,TR-DOS disk drive
560
560
identifiers>> are numbers 0..3 instead of letters A..D.
561
561
--
562
562
563
- 3. Type `1 set-drive throw` to make drive 1 (i.e. the second one,
564
- called B by TR-DOS) the current one.
563
+ 3. Type `1 load` to load block 1 from the first library disk. By
564
+ convention, block 0 cannot be loaded (it is used for comments), and
565
+ block 1 is used as a loader. In Solo Forth, block 1 contains `2
566
+ load`, in order to load the `need` tool from block 2.
565
567
566
- 4. Type `1 load` to load block 1 from the library disk. By convention,
567
- block 0 cannot be loaded (it is used for comments), and block 1 is
568
- used as a loader. In Solo Forth, block 1 contains `2 load`, in
569
- order to load the `need` tool from block 2. Type `need
570
- set-block-drives` to load the word `set-block-drives` from the
571
- library. Then type `2 1 2 set-block-drives` to configure the second
572
- and the third drives (i.e. drives 1 and 2 in Solo Forth, called B
573
- and C in the TR-DOS BASIC interface) as block drives.
568
+ 4. Type `need 2-block-drives` to load and execute the word
569
+ `2-block-drives` from the library, setting the first two drives as
570
+ block drives in their normal order.
574
571
575
572
5. Type `need name`, were “name” is the name of the word or tool you
576
573
want to load from the library.
0 commit comments