the cutting room mirror

Droites (Thomson TO)

Droites teaches students geometrical lines of various kinds. It was bundled alongside several other educational programs teaching geometry.

Commented-Out Lines#

The TO9/TO8/TO9+ disk version from the Logiciels Nathan Ecoles : Mathématiques compilation has a set of commented-out lines in DROITES.BAS, which are not present in any of the tape releases, including the one for the MO series. They are as follows:

  • Line 2 is a credit to programmer Jacques Sanvoisin:

' Auteur :JACQUES SANVOISIN

  • Lines 2500 and 2600 contain some annotations regarding some of the variables:

'Z% dizième de secondes , T5 L24
'Aléa de ZP nombres # entre 0 et ZN tableau ZQ(.)

  • Line 7951 contains a commented key check for Insert and ↵ Return. The line that the program would be redirected to upon pressing the former key is a light pen/key test, while pressing the latter goes to another commented function labeled INSTIT. Uncommenting both produces no visible effect.

' IF ASC(ZR$)=28 THEN GOSUB 3900:IF ASC(ZR$)=13 THEN 8000

8000 ' INSTIT
8001 'CLS
8498 'GOSUB3510:GOSUB 3900
8499 'GOTO7000

  • Line 22100 is part of the parallel lines observation routine, and would display a box close to the bottom part of the screen. However, there's no visible effect upon re-enabling this line.

'BOXF(208,174)-(319,199),7:TIT=2

  • Line 36050 is part of the subgame selection screen, and would display the text "Donne ton choix:" (Enter your choice:).droitesTHOMSON-donnetonchoix.png

'LOCATE12,20,0:PRINT"Donne ton choix:"

  • Lines 36800 and 36810 contains a light pen test for the menu. Line 36900, to which the code later redirects to, only contains a RETURN instruction.

'TEST CRAYON SOUS MENU-----------
'IFZX>100 THENX=0:GOTO36900

  • Lines 47000 to 47030 are part of the gameplay screen code, and would display buttons to quit the game (RAZ) and to reset the points.droitesTHOMSON-buttons.png

47000 'FLECHE ET RAZ--------------------
47010 'BOXF(206,174)-(257,193),0
47020 'ATTRB1,1:LOCATE26,23,0:COLOR0,3:PRINT"RAZ";:ATTRB0,0:COLOR0,6
47030 'FX=35:FY=23:COLOR0,3:GOSUB3500:COLOR0,7

References#


  1. VIFI Nathan ad - Microtom, Number 2, September/October 1985↩︎