APPLICATIONSPROGRAMMATION ★ Follow the Forth protocol|Computing with the Amstrad) ★

Hisoft ForthApplications Programmation
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 
Stephen Devine evaluates Hisoft's language implementation customised for the CPC6128

THIS HiSoft version of Forth is a full implementation for use under CP/M Plus. It is also available for the PCW and the review copy contained both versions on the same disc. It conforms to the popular FIG (Forth Interest Group) standard with no extras in the basic system.

Forth, however, is an extensible language and, in the true spirit of this, HiSoft has provided many extra features in the form of support libraries. This means that you don't need to clutter up precious memory with all the features at once, but can select only those required by a particular application.

Four such libraries are provided. The first is a utility library which extends the system to include such features as strings and arrays as well as a full CASE statement familiar to Pascal and C users.

The second, CPM.LIB, allows you to access the BDOS to perform your own disc filing operations.

Then there's ASSEMBLE.LIB which, as its name suggests, is a Z80 assembler. As well as having the usual Z80 mnemonics, it supports loops and conditional statements.

Perhaps the most interesting library is GSX.LIB. This opens up the full range of the CPC's high-resolution graphics and allows you to output some very impressive results.

As with most Forths, programs can be entered directly from the command line and tested right away. But in order to make development easier, use the proper Forth method of entering text into 'screens'. These allow you to develop very large programs using the disc as extra memory.

HiSoft Forth contains a full screen editor which makes the use of screens very easy. Each screen consists of up to 16 lines of 64 characters and using the arrow keys you can move around and enter text wherever you wish in either overwrite or insert mode. You can also move freely from one screen to another without leaving the editor-not all implementations allow this.

When you've finished editing a screen it is automatically saved and you can continue on a new blank screen. Unfortunately, the editor does not have a find or search/replace facility but it is possible to step through screens fairly rapidly to find a particular item. A blank file of 50 screens is provided to develop your own programs and this can be extended.

A manual is supplied in the form of an 84-page A5 booklet in three parts. Part one contains a brief description of Forth on the CPC6128, a list of editor commands, and details of all the support libraries supplied.

This is followed by a section of over 20 pages which, although not claiming to be a full tutorial, provides a very clear and thorough introduction to
Forth. I recommend strongly that beginners read this before attempting to use the language or even before reading the first section - Forth can be very daunting to the uninitiated.

The final section consists of three appendices containing a list of error messages, a full glossary of the words provided in the basic implementation, and a useful list of books on Forth.

There's no index but this shouldn't . be a drawback given the very clear layout of the manual.

There are other files on the disc, the most important of which is READ.ME, containing essential information missing from the manual. Among the topics covered are the use of the printer, various extensions to the library files, and some important changes to the editor commands.

It also has details of three utility programs provided: WD.COM - for deleting files - similar to ERASE.COM but easier to use, WP.COM - for copying files - like PIP.COM but more user friendly, and SD.COM - for listing disc directories - much better than DIR.COM and far smaller at less than 1k.

These are not public domain utilities but have been specially written by HiSoft to provide similar facilities.

If you think Forth might be the language for you and you want to use it in a CP/M environment, I can certainly recommend this version.

With its various support libraries and the extra disc utilities provided you have a complete package that is hard to beat.

CWTA

★ PUBLISHER: HISOFT
★ YEAR: 1987
★ CONFIG: 64K + CP/M
★ LANGUAGE:
★ LICENCE: COMMERCIALE
★ AUTHOR(S): ???
★ PRICE: £19.95

★ AMSTRAD CPC ★ DOWNLOAD ★

Advert/Publicité:
» HISOFT-High  Quality  Microcomputer  Software    ENGLISHDATE: 2015-01-08
DL: 484 fois
TYPE: image
SIZE: 148Ko

Je participe au site:
» Newfile(s) upload/Envoye de fichier(s)
★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » CPC 464 Forth
» Applications » Abersoft Fig-Forth / Forth Amstrad
» Applications » Coding - Hisoft - Pascal 80
» Applications » Hisoft - Devpac80
» Applications » Hisoft - C for Amstrad
» Applications » Coding - Hisoft - Nevada Cobol

QUE DIT LA LOI FRANÇAISE:

L'alinéa 8 de l'article L122-5 du Code de la propriété intellectuelle explique que « Lorsque l'œuvre a été divulguée, l'auteur ne peut interdire la reproduction d'une œuvre et sa représentation effectuées à des fins de conservation ou destinées à préserver les conditions de sa consultation à des fins de recherche ou détudes privées par des particuliers, dans les locaux de l'établissement et sur des terminaux dédiés par des bibliothèques accessibles au public, par des musées ou par des services d'archives, sous réserve que ceux-ci ne recherchent aucun avantage économique ou commercial ». Pas de problème donc pour nous!

CPCrulez[Content Management System] v8.7-desktop/cache
Page créée en 133 millisecondes et consultée 102 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.