RF - RightForward move left wheel only, turn 0.5deg. per step RB - RightBackward move left wheel only, turn 0.5deg. per step LF - LeftForward move right wheel only, turn 0.5deg. per step LB - LeftBackward move right wheel only, turn 0.5deg. per step
Reset the QLThis will format the cartridge in mdv1_ and copy over all the files from the master cartridge.
Press F2
Put the master cartridge in mdv2_
Put a blank cartridge in mdv1_
Enter LRUN mdv2_clone
To Use
Reset the QL
Put the cartridge in mdv1_
Press F2
The boot program will load automatically and will then load and run the main program Robot. Robot will then look in files Zmem and Zmem_names to see if any routines were saved from the last session, and if so it will load them into its memory. It then prompts for a speed-factor and gives an option to set the pen position to 'up'. If this option is not taken the it presumes the pen is already in the 'up' position.
The speed-factor and pen position initialisation can be done at any time by entering zinit which also initialises the serial channel, or just the pen positior can be altered by entering peninit. Entering help will display a series of 'Help' screens listing all the commands available to the user that the program understands. However since the user is operating directly in SuperBasic (see 'Program Operation' next section) any legal SuperBasic command will be executed, even 'list'.
At the end of a sesssion enter quit and this will update and close the files Zmem and Zmem-names. Failure to use quit will almost certainly leave Zmem and Zmem-names in a poor state as the QL file buffers are only flushed when the files are closed. Should it happen the program will probably error in the next session when any long-term memory routine is called (by mexec).
Entering LRUN mdv1_Initmem will restore Zmem and Zmem-names to their empty state.
Cartridge Files
Boot loading program for Robot Basic Robot robot control program Basic Zmem holds all long-term memory routines Data Zmem-names holds routine names and lenghts Data Initmem initialises Zmem and Zmem-names to empty Basic Clone cartridge back-up program BasicProgram Operation
a)
For those procedures which are learnable robot commands and are also User invoked with a parameter eg. 'FD n' etc. failure to append any parameter will lead to a program error. This can be overcome by then entering oops which prompts for the missing data and executes a SuperBasic RETRY.
b)
Other procedures are invoked by name only and they then request any data they need.
150*105 =>1.43:1 Windows screen resolution QPCII QL screen size in mm under XP on a 19" LCD monitor 1280*1024 150*75 =>2:1 1280*960 150*80 =>1.875:1 1280*768 145*100 =>1.45:1 QL screen pixels are square, but all text in Windows and QPCII is poor! 800*600 241*128 =>1.13:1 Best results are at 1280*1024 and manually stretch the QPCII window to adjust the QL screen.