Locomotive BASIC - Double Hauteur by Michel Gantier

Started by ComSoft6128, 17:51, 28 June 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ComSoft6128

1986 type-in from the French 'CPC' magazine.

From CPCRulez:
"Double Height (CPC Revue)
This routine written in Assembler aims to introduce a resident extended command (RSX) for your AMSTRAD 464 in order to display a double height text (which is nice in mode 0).

SYNTAX: |DHUP, A$

A$ is the string to display in double height. A$ makes it possible to pass to the routine, the address of the character string concerned. The program makes use of redefinable characters whose codes are 254 and 255. Consequently, they must exist and the command:

SYMBOL AFTER 256 is prohibited.
By default, there are 16 redefinable characters (from 240).
MANUAL

It is necessary, first of all, to initialize the RSX by doing CALL &A5E6 so that the system takes this new command into account. Then, you have to assign a string variable (for example A$) with the text you want to see displayed in large format. It is then sufficient to position the text cursor at the appropriate place (LOCATE command) knowing that it is the line of the cursor and the one below that will be used and that the display is made from the column where the cursor.

NOTE

Routine location

The value &A5E6 was chosen taking into account the memory space used by the disk controller, knowing that HIMEM is then equal to &A67B and that the routine occupies 148 bytes, therefore, before any test, do not forget the order MEMORY &A5E5..."


From CPCPOWER:
"Published as a listing in the magazine CPC n° 7 - January 1986
Authors: Michel GANTIER

- BUGS -

Small errors in the example listing:
No loading of the binary file and bad symbol for the concatenation on the value of the mode tested.

BEFORE :
40 A$="TEST in MODE ";STR$(I)

AFTER :
5 LOAD"DBLHIGH.BIN
40 A$="TEST in MODE "+STR$(I)"



Links:
https://www.cpc-power.com/index.php?p...
https://cpcrulez.fr/applications_util..."

Not emulated - original hardware and software.
Please note that  the aspect ratio for this YouTube video is 16:9 but the CPC monitor
has an aspect ratio of 4:3 so you may wish to adjust your viewing device accordingly.

Powered by SMFPacks Menu Editor Mod