Clavier.Exe

See all articles from Sinc-Link v7 n5
Author(s): Louis LaFerriere; Real Gagnon
Publication: Sinc-Link
Pub Details: Sinc-Link v7 n5 (Volume 7, Issue 5)
Date: September/October 1989
Pages: 6

The attached program has been translated by L.Laferriere from a program by R.Gagnon and published in Issue #7 of QL_DOC. The purpose is to display the french characters on the screen. ( not the printer , just the screen for now , the printer will follow next. ). I will give Hugh Howie a disk with the SuperBasic listing which I called keyboard_bas . Then the resulting exec which is called CLAVIER_EXE to stay with R.Gagnon designation. There is also a modified copy of boot for QUILL. The program CLAVIER_EXE must be loaded on the same disk with QUILL. The procedure to get the accents for the french characters depends on a two key operation.

After the program is running to get the e with the accent you have to press the apostrophe then the e . To get the other accent you enter the pound sign. To get the soft c you enter the upper case of the pound sign.

Remember in most cases you need to enter two characters. e.g. the apostrophe, the quote mark or the little hat,on upper case 6. You can still get the signs , ‘by entering the apostrophe , or quote mark twice.

Confusing ?

L.Laferrire

100 REMark Creating a File CLAVIER_EXE
110 :
120 CLS
130 INPUT "Where to save CLAVIER_EXE (e.g. mdv1_)?",save$
140 IF LEN(save$)=0: save$="flp1_"
150 PRINT " One moment please. "
160 :
170 RESTORE 300:a=RESPR(1000):basr=a
180 count=0
190 REPeat 1
200 IF EOF:EXIT 1
210 AT 3,0:PRINT "> "
220 READ x: POKE a,x : a=a+1
230 AT 3,0:PRINT " <";
240 count=count+1
250 END REPeat 1
260 :
270 PRINT "Press any key to save CLAVIER_EXE.": PAUSE
280 SEXEC save$&"CLAVIER_EXE",basr,count,128
290 :
300 DATA 96,12,0,0,0,0,74,251,0,4
310 DATA 67,81,48,53,112,11,114,255,116,1
320 DATA 78,65,67,250,1,22,18,25,12,1
330 DATA 0,42,103,0,0,10,97,0,0,200
340 DATA 96,0,255,240,22,57,0,2,128,139
350 DATA 12,3,0,39,103,0,0,38,12,3
360 DATA 0,34,103,0,0,46,12,3,0,94
370 DATA 103,0,0,54,12,3,0,96,103,0
380 DATA 0,92,12,3,0,126,103,0,0,100
390 DATA 96,0,0,160,97,0,0,124,97,0
400 DATA 0,104,67,250,0,162,96,0,0,34
410 DATA 97,0,0,108,97,0,0,88,67,250
420 DATA 0,156,96,0,0,18,97,0,0,92
430 DATA 97,0,0,72,67,250,0,152,96,0
440 DATA 0,2,16,25,176,60,0,42,103,0
450 DATA 255,150,176,3,102,0,255,242,97,0
460 DATA 0,60,18,17,97,0,0,72,96,0
470 DATA 255,130,97,0,0,46,18,60,0,131
480 DATA 97,0,0,56,96,0,255,114,97,0
490 DATA 0,30,18,60,0,136,97,0,0,40
500 DATA 96,0,255,98,22,57,0,2,128,139
510 DATA 12,3,0,0,103,0,255,244,78,117
520 DATA 19,252,0,0,0,2,128,139,18,60
530 DATA 0,194,97,0,0,4,78,117,36,121
540 DATA 0,2,128,76,48,120,0,224,78,144
550 DATA 78,117,112,8,114,255,118,5,147,201
560 DATA 78,65,96,0,255,36,101,144,97,141
570 DATA 117,154,39,39,42,42,101,143,105,146
580 DATA 117,135,111,132,34,34,42,42,101,145
590 DATA 97,142,117,155,105,149,111,152,94,94
600 DATA 42,42,82,69,77,97,114,107,32,62
610 DATA 62,32,67,108,97,118,105,101,114,32
620 DATA 81,117,131,98,131,99,111,105,115,32
630 DATA 97,99,116,105,102,32,118,101,114,115
640 DATA 105,111,110,32,48,46,53,32,32,131
650 DATA 99,114,105,116,32,112,97,114,32,82
660 DATA 131,97,108,32,71,97,103,110,111,110
670 DATA 44,32,77,111,110,116,114,131,97,108
680 DATA 32,56,56,10,42,0,0,0

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.