home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
procedures
/
disk_change_rtn.amos
/
disk_change_rtn.amosSourceCode
Wrap
AMOS Source Code
|
1992-03-20
|
1KB
|
30 lines
'
' --------------------------------------------------------
' DISK CHANGE ROUNTINE BY JASON CHAN
' --------------------------------------------------------
' ************************************************
' TAKE OUT DISK IN DF0: BEFORE RUNNING TO SEE HOW IT WORKS <------------ READ FIRST
' ************************************************
'
Get Rom Fonts
CD
Procedure CD
If Exist("DF0:")=-1 Then Pop Proc : Rem ** CHANGE "DF0:" TO YOUR DISK NAME
Screen Open 1,320,256,8,Lowres : Cls 0
'
Rem ** DRAWING OF DISK **
'
Ink 6 : Bar 110,50 To 220,150
Ink 0 : Polygon 121,150 To 110,150 To 110,142
Ink 6 : Draw 121,150 To 110,142
Ink 2 : Bar 117,50 To 213,105
Ink 7 : Bar 126,116 To 197,149
Ink 6 : Bar 134,120 To 147,144
Set Font 1 : Ink 3,2 : Text 135,70,"INSERT"
Text 146,86,"DISK" : Ink 4,8 : Set Pattern 9 : Paint 10,10 : Bell 80
'
Rem ** CHECKING OF DISK **
'
Repeat : Until Exist("DF0:") : Rem ** CHANGE "DF0:" TO YOUR DISK NAME
Bell 80 : Screen Close 1
End Proc