home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
various
/
d7.amos
/
d7.amosSourceCode
Wrap
AMOS Source Code
|
1990-10-14
|
3KB
|
123 lines
'
' PC-Emulator
'
' by Jurgen Valks
'
Shared X,Y,TELLER
Proc INIT_SCHERM
Proc BEGIN_TEKST
Do
Inc TELLER : Proc MESSAGE
Proc EMULATOR
Loop
'
Procedure INIT_SCHERM
Screen Open 0,320,200,16,Lowres
Palette $0,$0, : Hide On : Led On : Flash Off
Screen Open 1,640,250,4,Hires
Screen Display 1,,35,,
Palette $80,$80,$F0
Locate 1,3
End Proc
'
Procedure EMULATOR
Locate 1,Y Curs : Input "A>";I$
P$=Lower$(I$)
If P$="dir" Then Proc INHOUD_SCHIJF
If P$="cls" Then Proc CLEAR_SCREEN
If P$="dir/w" Then Proc INHOUD_SCHIJF2
If P$="b:" Then Proc NO_DRIVE
If P$="cd" Then Proc NO_DRIVE
If P$="load" Then Proc NO_LOAD
If P$="delete" Then Proc NO_DELETE
If P$="system" Then Proc EINDE
End Proc
'
Procedure INHOUD_SCHIJF
Dir
Print
End Proc
'
Procedure INHOUD_SCHIJF2
Dir/w
Print
End Proc
'
Procedure CLEAR_SCREEN
Cls : Locate 1,3
End Proc
'
Procedure MESSAGE
If TELLER=4
Locate 3,Y Curs-1 : Print " BLEEEEAAA, i'am transformed into a dirty 8 bits PC."
End If
If TELLER=10
Locate 3,Y Curs-1 : Print " Snif snif, is there something burning ?"
End If
If TELLER=12
Locate 3,Y Curs-1 : Print " O, it's just my VGA-FAT PIXEL card."
End If
If TELLER=20
Locate 3,Y Curs-1 : Print " My processor speed is 3.4 Mhz, am i fast or what !"
End If
If TELLER=25
Locate 3,Y Curs-1 : Print " This is so boring for me!"
End If
If TELLER=35
Locate 3,Y Curs-1 : Print " ZZZZZZZZZZZZZZZZZZZZ....."
End If
If TELLER=39
Locate 3,Y Curs-1 : Print " Please, type system will ya!"
End If
If TELLER=44
Led Off
Locate 3,Y Curs-1 : Print " Who turned the lights (power led) off ?"
End If
If TELLER=50
Locate 3,Y Curs-1 : Print " I wish a was a Amiga....."
End If
If TELLER=58
Locate 3,Y Curs-1 : Print " Did you see Word Perfect version 9009.4 ?"
End If
If TELLER=60
Locate 3,Y Curs-1 : Print " I did! You can now load a file within 1 day !"
End If
If TELLER=70
Locate 3,Y Curs-1 : Print " I played chess against a pocket calculator...."
End If
If TELLER=72
Locate 3,Y Curs-1 : Print " and he won $#!@..."
End If
End Proc
'
Procedure BEGIN_TEKST
Cls
Locate 1,3 : Print "MS-DOS version 4.1 "
Locate 19,3 : Wait 100 : Print "...installed"
Locate 1,4 : Print "VGA-FAT-PIXEL card "
Locate 19,4 : Wait 100 : Print "...installed"
For T=0 To 100
Locate 1,5 : Print "Memory controll : ";T
Wait 2
Next T
Print
End Proc
'
Procedure NO_DRIVE
Locate 3,Y Curs : Print " I can use only one drive.."
End Proc
'
Procedure NO_DELETE
Locate 3,Y Curs : Print " Sorry, i'am to tired.."
End Proc
'
Procedure NO_LOAD
Locate 3,Y Curs : Print " I need more memory."
End Proc
'
Procedure EINDE
Locate 3,Y Curs : Print " Bye bye !"
Wait 10
Screen Close 1
Run "df0:menu.amos"
End Proc