Download Print this page

Philips MSX NMS IWOO Instruction Manual page 3

Advertisement

Philips MSX mouse NMS 1140100
Operation instructions
The mouse is used in combination with your MSX
computer and will be connected to the joystick port,
indicated in the user manual of the related application
software package.
When sliding this mouse lightly over a flat surface
,
the
cursor on the display moves quickly in accordance
with the motion of the mouse.
The mouse can easily be used if a le\Jel surface is
available where the mouse can be moved about
25 cm/10 inches in all directions. However if the
mouse cannot be moved as far as desired due to
space limitation, it can be picked up and returned to
the appropriate location.
This ergonomical designed mouse with two select
switches is easy in operation by manipulating with
one hand. The program below enables you to design
graphics
;
which will be displayed on your monitor
screen. In this program the mouse will be connected
to joystick port 1.
Sample MSX computer program
10
20
30
40
50
60
70
8'0
90
100
110
120
130
140
150
160
170
180
190
200
ON ERROR GOTO 20
DEFINTA-Z
OPEN "grp:" FOR OUTPUT AS#1
SCREEN 2:CLS
A$—""
FOR 1=1 TO 8
READ A:A$=A$+CHR$(A)
NEXT I
SPRITE$(0)=A$
IF PAD(12)=0 THEN 100
X=X+PAD(13):Y=Y+PAD(14)
IF X>256 THEN X=256
IF Y>1 92 THEN Y=192
IF X<0 THEN X=0
IF Y<0 THEN Y=0
PUT SPRITE 0, (X-4, Y-4), 1 5
IF NOT STRIG(1 )=-1 THEN XI =X:Y1=Y:GOTO 100
LINE (XI, Y1 )-{X,Y):X1 =X:Y1 =Y
GOTO 100
DATA 16,16,16,238,16,16,16,0

Advertisement

loading