home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus Graphics Universe
/
Pegasus_Graphics_Universe.iso
/
p11
/
piston
/
piston91.txt
< prev
next >
Wrap
Text File
|
1992-05-25
|
2KB
|
82 lines
\ON KEY F10 JUMP MENU
\ON KEY 7181 JUMP NEXT1
\IF #775>=2\JUMP NOTENUF\ELSE\IF #775>2\JUMP NOTENUF2\ENDIF
\ON ERROR JUMP NOTENUF\READ PISTONBL.PIC\ON ERROR\MOVE 1 TO #775\JUMP GO_ON
\X WAY2SML\CALLM FAR2SMALL
\X NOTENUF\ON ERROR JUMP NOTENUF2\READ MEDPISBL.PIC\MOVE 2 TO #775\JUMP GO_ON
\X NOTENUF2\ON ERROR JUMP WAY2SML\READ SMLPSTBL.PIC\MOVE 3 TO #775
\X GO_ON\CLEAR ON ERROR
\ROUNDS #1141/7+3 SPEED 14
\SHOW 220,40,1,24
\X NEXT1\ON KEY 7181
\LOC 0,30\WID 200 DOTS\HEI 199\OVER 1,A,226\SHOW 220,40,2
First, an air-and-fuel mixture (represented by the blue dots) is introduced
into the chamber. The valve on the right (shown in black)
opens as the piston is drawn down by the revolving
camshaft. Higher pressure outside the chamber forces the mixture in.
When the piston is at the
bottom of its stroke the
valve is closed.
\WAIT RET #1141/10+3 " Press <RETURN> to continue..."
\ROUNDS 1 SPEED 112
\SHOW 220,40,2,7
\X NEXT3
\LOC 0,30\WID 200 DOTS\HEI 199\OVER 1,A,225
\"
\"
\"
\"
Next the gas mixture is
compressed to a small
fraction of its normal
atmospheric volume.
\"
\"
\"
\"
\"
\WAIT RET #1141/10+3
\SHOW 220,40,8,11\SHOW W=0,65,320,199 F=12,12
\IF #775=3\SHOW W=0,52,320,199 F=13,13\ELSE\IF #775=2
\SHOW W=0,60,320,199 F=13,13\ELSE
\SHOW W=0,070,320,199 F=13,13\ENDIF
\X NEXT4
\LOC 0,60\WID 200 DOTS\HEI 139\OVER 1,A,218
As the piston reaches
maximum compression a
spark is introduced,
and the resulting
explosion forces the
piston down. This is
the power stroke of the
engine.
\WAIT RET #1141/1O+3
\CLEAR SHOW
\SHOW 220,40,13,19
\X NEXT5
\LOC 0,60\WID 200 DOTS\HEI 139\OVER 1,A,222
\"
\"
After the power stroke,
the exhaust valve opens so
that the rapidly cooling
gases can be expelled
from the cylinder.
\"
\WAIT RET #1141/10+3
\SHOW 220,40,20,24
\X NEXT7
\LOC 0,81\WID 200 DOTS\HEI 199\OVER 1,A,226
The exhaust valve closes
and the intake valve
opens as the cycle begins
to repeat...
\"
\WAIT RET #1141/10+3
\ROUNDS #1141/7+3 SPEED 84
\LOC 0,183\WID 320 DOTS C\OVE 0,A,230
Press <RETURN> to go to the main menu...
\ON KEY 7181 JUMP MENU
\SHOW 220,40,1,24
\X MENU\CLEAR SHOW\READ #97:/(#4000)/MENU.TXT