APPLICATIONSBUREAUTIQUE ★ Supershift for Protext: Cut down on all that shifting ★

Supershift for Protext (Computing With the Amstrad)Applications Bureautique
★ 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 ★ 

CHRIS NIXON presents a routine to make Protext easier on the fingers

PROTEXT from Arnor is a powerful word processor for Amstrad micros and its speed, versatility and ease of use have made it very popular. Although difficult to improve upon, Protext can be customised with useful extra features by adding some RSXs

Supershift is one such addition. It is a typing aid which can be used by anybody, but was designed for those who find word processing a slow and painstaking task. This includes people whose typing is impaired because of arthritis or other disabling condition.

The idea is very simple. With Super-shift enabled, every time you type one of the puncuation marks . , : ; ! and ? a space will automatically be inserted after it. Furthermore, if the punctuation mark is a full stop and the first character in the sentence is a letter, it will be in upper case without you having to touch the shift key.

Type in the program and save it before you run it because once it has installed some machine code it will wipe itself from memory. Incidentally, it's useful to add a few lines to the program to set up ink colours and key definitions.

Once run you will have two new RSXs - |SON (Supershift on) and |SOFF (Supershift off). From Protext's command mode you can dispense with the I and use SON and SOFF. And that's all you need to know to use Supershift. It relocates itself to the highest available area of memory and works with versions of Protext higher than 1.00. If yours is earlier than this, get in touch with Arnor who operate an upgrade service.

For the more technically minded here's how it works.

If the Basic loader finds no errors, it will call Supershift's initialisation routine. This first scans the code for any direct memory references by Supershift to itself, and adjusts them according to Supershift's current location in RAM.

|SON causes Supershift to divert the jumpblock entry for KM_WAIT_ CHAR (&BB06) to point to its own checking routine. Thereafter, all keypresses are checked according to these rules:

  • If the character is one of the punctuation marks . , : ; ! or ? insert a space character in the keyboard buffer. Was the punctuation mark a full stop? If so, set the upper case flag. Exit.
  • If the above is not the case, is caps lock on? If so, leave things alone and exit.
  • If caps lock is off, is the character between a and z inclusive ? If so, and the upper-case flag is set, change the character to upper case, clear the upper case flag and exit.
  • If the character is none of the above, exit.
These four rules ensure that capitals are selected for only one keypress after every full stop, unless caps lock is on, in which case all characters are left as upper case. When returning to normal keyboard input, |SOFF makes KM_WAIT_CHAR point back to the original firmware routine.

CWTA

★ PUBLISHER: Computing With The Amstrad
★ YEAR: 1988
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ COLLECTION: COMPUTING WITH THE AMSTRAD 1988
★ AUTHOR: CHRIS NIXON
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listings:
» Supershift  for  Protext    (Computing  with  the  Amstrad)    ENGLISHDATE: 2020-07-30
DL: 191
TYPE: ZIP
SiZE: 4Ko
NOTE: 40 Cyls
.HFE: Χ

» Supershift  for  Protext    (Computing  with  the  Amstrad)    ENGLISH    LISTINGDATE: 2013-09-15
DL: 245
TYPE: PDF
SiZE: 859Ko
NOTE: 3 pages/PDFlib v1.6

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Textman
» Applications » Hypertext (CPC Amstrad International)
» Applications » Texteditor (Compute Mit)
» Applications » Arnor - Protext PCW
» Applications » CPC Text/Adress
» Applications » Easytext (CPC Amstrad International)
Je participe au site:
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop/c
Page créée en 325 millisecondes et consultée 1677 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.