garrylancaster (stranger
)
2002/07/05 02:52 Attachment
|
|
SEE is very difficult to do, and I don't see any reason for it; I will release the sources of CamelForth when they are stable, so you can see the definition of any word; all other words you will have written yourself ;-)
I don't have an up-to-date glossary for Sprinter CamelForth. However, attached is a glossary for a recent version of Z88 CamelForth; most of the words are the same.
If you can't find a Sprinter CamelForth word in the glossary, it is probably Sprinter-specific and described somewhere in the *.txt documentation files.
If you can't find a glossary word in Sprinter CamelForth, it is probably Z88-specific (for example, all words in the "graphics", "packages", "windows" and "far-memory" categories).
More complete definitions of all the ANS Standard words can be found in the ANS Standard; a copy of this is at:
http://www.z88forever.org.uk/forth/ansforth/dpans.htm
--
Garry Lancaster
http://www.z88forever.org.uk/zxplus3e/
http://www.z88forever.org.uk/
|
Alex_Hot (stranger
)
2002/07/08 22:23
|
|
Has CamelForth a word for cleaning screen as CLS in Forth-83?
In Glossary I have found GPAGE only, but this word for Z88, for its graphic screen...
BTW, have you a plan about supporting of 640x256 graphic mode? Using of "text print procedure" by Anton Enin can be a way for well speed printing at the graphic screen. The print in Camel Forth will be more quickly in this case. I know that Sprinter Forth use Accelerator for printing.
Or new word for quick printing will be better way? And for other actions on the graphic screen too?
|
garrylancaster (stranger
)
2002/07/09 12:12
|
|
The ANS word for "starting a new page of output" is PAGE - this clears the current window on the Sprinter. To reinitialise all windows to the full screen (and clear them), there is also the word CINIT.
One of the next releases will include support for graphic modes; I haven't started this yet, but I will have a good look at the text print procedure soon.
Initialially I will probably only add support for text on the graphics screen (this will all be done with EMIT, so no changes needed to programs), but other words such as those in Z88 CamelForth will follow later.
--
Garry Lancaster
http://www.z88forever.org.uk/zxplus3e/
http://www.z88forever.org.uk/
|
Alex_Hot (stranger
)
2002/07/10 20:34
|
|
Thanks. I have found another possible:
12 EMIT
Is it a definition of PAGE in CamelForth?
|
Alex_Goryachev (Sprinter Team)
2002/07/10 20:48
|
|
Some information about multitasking for GForth was found in the distribut package. Look at the tasker.fs file for example.
May be possible to define Camel's words for its variant of multitasking...
---
PETERS PLUS LTD
|
garrylancaster (stranger
)
2002/07/11 15:30
|
|
Yes, the definition is just
: PAGE 12 EMIT ;
However, you should use PAGE in preference, since this is the ANS standard word.
--
Garry Lancaster
http://www.z88forever.org.uk/zxplus3e/
http://www.z88forever.org.uk/
|
garrylancaster (newbie)
2002/07/11 15:32
|
|
Is there any word in Gforth that would be useful? I think CamelForth has a full implementation of multitasking already.
--
Garry Lancaster
http://www.z88forever.org.uk/zxplus3e/
http://www.z88forever.org.uk/
|
Alex_Hot (stranger
)
2002/07/12 14:08
|
|
Ok. And can you post a difinition of CINIT if it was defined in Forth?
BTW this word not defines all windows as fullscreen windows. And that's right!
Edited by Alex_Hot on 2002/07/12 14:22.
|
Alex_Goryachev (Sprinter Team)
2002/07/12 14:35
|
|
Yes, you are right! But I told about usage of GForth for Sprinter programs creation, when Sprinter is not available.
---
PETERS PLUS LTD
|
garrylancaster (newbie)
2002/07/12 14:40
|
|
The definition is currently:
: CINIT
3 SETMODE 0 WINDOW 23 ATTRIB
0 0 80 32 OPENWINDOW
x y z CMOVE ;
x, y, and z are not available in CamelForth; they are the addresses of windows 0 & 1, and the size of 7 windows, so the CMOVE copies the definition of window 0 to windows 1-7.
--
Garry Lancaster
http://www.z88forever.org.uk/zxplus3e/
http://www.z88forever.org.uk/
|