APPLICATIONSCREATION GRAPHIQUE ★ SLIM CHARACTERS (COMPUTING WITH THE AMSTRAD) ★

Slim Characters (Computing With the Amstrad)Applications Creation Graphique
★ 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 ★ 

HAVE you ever wanted to have the use of 16 colours in Mode 1, or wanted 40 columns per line in Mode 0? Well with this utility you can have both. And, as well as that, if you've got very good eyesight, you can have 160 columns per line in Mode 2!

"How is this possible?" you may well ask. The answer is simple. As you know, Amstrad characters are defined by an 8 x 8 grid which can be re-defined using the SYMBOL command.

However with a little cunning it is possible to squeeze a complete character set into a 4 x 8 grid.

This is exactly what I've done in Program I. The left hand sides of characters 32 to 127 have been

re-defined and the right hand sides have been left blank.

This means that once one character in a string has been placed on the screen the next character can be placed over the right hand side of it, over writing the blank part of the first character, thus allowing for twice the number of characters per line.

Program II is a demonstration of how to use the new definitions. It first sets up four variables:

  • ZM The current screen mode.
  • ZX, ZY The X and Y coordinates of where text is to be printed. As with LOCATE X,Y.
  • ZZ$ The string you wish to print.

It then GOSUBs 60000 in order to display the slim characters. So, to use Slim Characters in your program - a game for example - first type or load in Program I, the one containing all the character data. Change the filename in line 310 to that of the program it is to be incorporated in, such as SPACINV and SAVE it.

Now load in your program SPACINV and add line 60000 from Program II to the end of it, along with the necessary extra lines to pass the parameters ZM, ZX, ZY, and ZZ$. Then SAVE the final version of the game.

Bear in mind that the SYMBOL AFTER 32 command has already been initiated in this utility and if you have used it in your program it must be removed from your original or the slim character set you are trying to use will be destroyed.

CWTA

★ PUBLISHER: Computing With The Amstrad
★ YEAR: 1987
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ COLLECTION: COMPUTING WITH THE AMSTRAD 1986
★ AUTHOR: Robin Nixon
 

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listings:
» Slim  Characters    (Computing  with  the  Amstrad)    ENGLISHDATE: 2020-07-23
DL: 207
TYPE: ZIP
SiZE: 5Ko
NOTE: 40 Cyls
.HFE: Χ

» Slim  Characters    LISTINGDATE: 2013-09-15
DL: 272
TYPE: PDF
SiZE: 180Ko
NOTE: 2 pages/PDFlib v1.6

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

Lien(s):
» Applications » OCP à la Loupe (ACPC n°26)
» Applications » Genecar (Microstrad)
» Applications » 4 Line Doodle (Amstrad Action)
» Applications » Geca - Gega - Decamob
» Applications » OCP à la Loupe (ACPC n°22)
» Applications » TryDym
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 460 millisecondes et consultée 1693 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.