home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
226-250
/
apd244
/
docs
/
readmeplease.doc
/
readmeplease.amosSourceCode
Wrap
AMOS Source Code
|
1990-12-28
|
3KB
|
92 lines
Get Rom Fonts : Colour Back 0 : Set Rainbow 0,1,290,"","","" : Screen Open 0,640,1000,2,Hires : Palette 0,0
Flash Off : Curs Off : Cls 0 : Rainbow 0,0,40,290
'
'
'
DAT1:
Data $0,$111,$222,$333,$444,$555,$666,$777,$888,$999,$AAA,$BBB,$CCC,$DDD,$EEE,$FFF
Restore DAT1 : For F=0 To 31 Step 2 : Read D : Rain(0,F)=D : Rain(0,F+1)=D : Next F : For F=31 To 261 : Rain(0,F)=$FFF : Next F
Restore DAT1 : For F=230 To 261 Step 2 : Read D : Rain(0,F)=$FFF-D : Rain(0,F+1)=$FFF-D : Next F
Reserve As Chip Work 6,50000
Bload "Df0:Docs/README.doc",6
Q=Start(6) : Gosub GTEXT
For F=1 To Val(S$) : Gosub GTEXT : Locate 0,F
If Left$(S$,2)="$C" Then Centre Right$(S$,Len(S$)-2) : Goto N
Print S$
'
'
'
N: Next F : Hide : Auto View On : X=70 : For Z=400 To 70 Step -4 : Screen Display 0,,Z,, : Wait Vbl : Next Z
'
'
'
V2:
M=Mouse Key
If Key State(69) Then Goto QUIT
If Key State(95) Then Gosub HELP
If M=2 Then Inc X : Inc X : Inc X : Inc X
If Key State(76) Then Inc X : Inc X : Inc X : Inc X
If M=1 Then Dec X : Dec X : Dec X : Dec X
If Key State(77) Then Dec X : Dec X : Dec X : Dec X
If Key State(68) Then Gosub BUILDHELP
Screen Display 0,,X,, : Wait Vbl
Goto V2
'
'
'
GTEXT: S$=""
'
'
'
PNT:
If Peek(Q)=10 or Peek(Q)=0 Then Inc Q : Return
S$=S$+Chr$(Peek(Q)) : Inc Q : Goto PNT
'
'
'
QUIT:
Rainbow 0,0,40,0 : Erase 6 : Cls 0 : Change Mouse 1 : Show On : End
'
'
'
HELP:
Screen Open 5,320,256,4,Lowres
Paper 0 : Pen 2
Cls
Screen To Front 5
Locate 0,0 : Centre "HURSTY TEXT BY C HURST. HELP SCREEN."
Locate 0,1 : Centre "MODIFIED FROM AMOS PD SOURCE"
Locate 0,5 : Print "LEFT MOUSE BUTTON = SCROLL DOWN"
Locate 0,6 : Print "DOWN ARROW = SCROLL DOWN"
Locate 0,7 : Print "LEFT MOUSE BUTTON = SCROLL DOWN"
Locate 0,8 : Print "DOWN ARROW = SCROLL DOWN"
Locate 0,9 : Print "ESC = QUIT"
Locate 0,11 : Print "RETURN = BUILD A DOC HELP SHEET"
Locate 0,15 : Print "CHRIS HURST"
Locate 0,16 : Print "123 VIVIAN RD"
Locate 0,17 : Print "FENTON"
Locate 0,18 : Print "S-O-T"
Locate 0,19 : Print "STAFFS"
Locate 0,20 : Print "ST4 3JG"
Locate 0,21 : Print "ENGLAND"
Locate 0,23 : Centre "SEND ME A DONATION IF USED"
Locate 0,24 : Centre "PRESS A KEY TO RETURN TO DOC" : Curs Off
Clear Key : Wait 10 : Wait Key : Clear Key : Screen Close 5
Return
'
'
'
BUILDHELP:
Screen Open 5,320,256,4,Lowres
Paper 0 : Pen 2
Cls
Screen To Front 5
Locate 0,0 : Centre "HURSTY TEXT BY C HURST. DOC SCREEN."
Locate 0,7 : Print "FOR YOUR FILE TO WORK WITH THE READER"
Locate 0,8 : Print "A SIMPLE LITTLE CONTROL CODE MUST BE"
Locate 0,9 : Print "INSERTED AT THE START OF YOUR FILE"
Locate 0,11 : Print "SIMPLY ON A BLANK LINE AT THE TOP"
Locate 0,12 : Print "OF THE SCREEN TYPE 65. SIMPLE EH?"
Locate 0,24 : Centre "PRESS A KEY TO RETURN TO DOC" : Curs Off
Clear Key : Wait 10 : Wait Key : Clear Key : Screen Close 5
Return