home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
demos
/
dreamersmag.amos
/
dreamersmag.amosSourceCode
< prev
next >
Wrap
AMOS Source Code
|
1986-08-03
|
13KB
|
518 lines
MEMCHECK
Procedure MEMCHECK
Close Workbench
If Chip Free>250000
Load "Dreamers3:Mag.Files/music.mag" : Led Off : Music 1 : Tempo 17 : PAUL
Else
PAUL
End If
End Proc
Procedure PAUL
INITIALIZE:
Hide On
Load "Dreamers3:Mag.Files/lo",10
Unpack 10 To 0 : Erase 10
Screen Display 0,112+16,-100,340,84
'
Load "Dreamers3:Mag.Files/db",10
Unpack 10 To 2 : Erase 10
Screen Display 2,112+16,320,320,80
'
Unpack 11 To 1
Screen Display 1,112,120,640,125
Gr Writing 0 : Ink 3
Text 280,65,"Written by the ED"
Text 300,50,"Dreamers Mag"
Change Mouse 2
Screen 1 : Limit Mouse 127,250 To 448,290
Wait 150
Goto MOTION
'
MAGPAGE:
Screen 1
Unpack 11,0,0
Palette $400,$700,$300
Screen Display 1,112,120,640,125
Flash 3,"(400,20)(aaa,20)"
Gr Writing 0 : Ink 3
Wait 10
Text 300,55,"Press an Icon"
Goto ZO
'
ZO:
Screen 2
Reserve Zone 20
Set Zone 1,5,6 To 20,19 : Set Zone 2,27,6 To 42,19 : Set Zone 3,49,6 To 66,19 : Set Zone 4,72,6 To 88,19
Set Zone 5,95,6 To 110,19 : Set Zone 6,119,6 To 134,19 : Set Zone 7,141,6 To 156,19 : Set Zone 8,165,6 To 180,19
Set Zone 9,187,6 To 202,19 : Set Zone 10,5,24 To 20,40 : Set Zone 11,27,24 To 42,40 : Set Zone 12,49,24 To 64,40
Set Zone 13,72,24 To 88,40 : Set Zone 14,95,24 To 110,40 : Set Zone 15,119,24 To 134,40 : Set Zone 16,141,24 To 156,40
Set Zone 17,165,24 To 180,40 : Set Zone 18,187,24 To 202,40 : Set Zone 19,220,10 To 265,35 : Set Zone 20,280,10 To 308,35
Do
M=Mouse Key
MZ=Mouse Zone
If M=1 and MZ=1
Goto PAGE1
End If
If M=1 and MZ=2
Goto PAGE2
End If
If M=1 and MZ=3
Goto PAGE3
End If
If M=1 and MZ=4
Goto PAGE4
End If
If M=1 and MZ=5
Goto PAGE5
End If
If M=1 and MZ=6
Goto PAGE6
End If
If M=1 and MZ=7
Goto PAGE7
End If
If M=1 and MZ=8
Goto PAGE8
End If
If M=1 and MZ=9
Goto PAGE9
End If
If M=1 and MZ=10
Goto PAGE10
End If
If M=1 and MZ=11
Goto PAGE11
End If
If M=1 and MZ=12
Goto PAGE12
End If
If M=1 and MZ=13
Goto PAGE13
End If
If M=1 and MZ=14
Goto PIC
End If
If M=1 and MZ=19
Goto PAGE19
End If
If M=1 and MZ=20
Goto PAGE20
End If
Loop
'
MOTIONPAGE:
Channel 3 To Screen Display 1
P$="M 0,-126,126"
Amal 3,P$
Amal On
Wait 126
Return
'
MOTION:
Channel 0 To Screen Display 0 : Channel 2 To Screen Display 2
D$="M 0,133,60"
B$="M 0,-70,60"
Amal 0,D$
Amal 2,B$
Amal On
Wait 60
Show
Screen 1
Load "Dreamers3:Mag.Files/?1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Goto PAGE1
'
PAGE1:
Screen 1
Load "Dreamers3:Mag.Files/db.ins",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE2:
Screen 1
Load "Dreamers3:Mag.Files/NEWS1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/NEWS2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE3:
Screen 1
Load "Dreamers3:Mag.Files/PRE1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/PRE2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/PRE3",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE4:
Screen 1
Load "Dreamers3:Mag.Files/REV1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/REV2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/REV3",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Screen 1
Load "Dreamers3:Mag.Files/REV4",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/REV5",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/REV6",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE5:
Screen 1
Load "Dreamers3:Mag.Files/MEM1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/MEM2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE6:
Screen 1
Load "Dreamers3:Mag.Files/PD1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/PD2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE7:
Screen 1
Load "Dreamers3:Mag.Files/GC",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE8:
Screen 1
Load "Dreamers3:Mag.Files/DTP1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/DTP2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE9:
Screen 1
Load "Dreamers3:Mag.Files/MUS",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE10:
Screen 1
Load "Dreamers3:Mag.Files/AN",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE11:
Screen 1
Load "Dreamers3:Mag.Files/3D1",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Screen 1
Load "Dreamers3:Mag.Files/3D2",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/3D3",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Load "Dreamers3:Mag.Files/3D4",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE12:
Screen 1
Load "Dreamers3:Mag.Files/DT",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE13:
Screen 1
Load "Dreamers3:Mag.Files/TIPS",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PIC:
Screen 1
Unpack 11,0,0
Palette $400,$700,$300
Screen Display 1,112,120,640,125
Flash 3,"(aaa,20)(aaa,20)"
Gr Writing 0 : Ink 3
Wait 10
Text 170,50,"Pic of the Month by Andrew Dixon from Liverpool."
Text 155,65,"If you think you can do better, then send them in !"
Load "Dreamers3:Mag.Files/PIC",10
Wait 300
Fade 5 : Wait 75 : Screen Close 1
Hide
Unpack 10 To 4 : Erase 10
Screen Display 4,140,-220,,
Channel 4 To Screen Display 4
Z$="M 0,260,260"
Amal 4,Z$
Amal On
Wait 260
Repeat : Until Mouse Key=1
Screen 4
Y$="M 0,310,310"
Amal 4,Y$
Amal On
Wait 310
Screen Close 4
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Show
Goto MAGPAGE
'
PAGE19:
Screen 1
Load "Dreamers3:Mag.Files/LET",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,117,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
'
PAGE20:
Screen 1
Load "Dreamers3:Mag.Files/ENDN",10
Fade 5 : Wait 75 : Screen Close 1
Unpack 10 To 1 : Erase 10
Screen Display 1,140,119,,
Screen To Back 1
Repeat : Until Mouse Key=1
Gosub MOTIONPAGE
Repeat : Until Mouse Key=1
Fade 5 : Wait 75 : Screen Close 1
Screen Open 1,640,256,4,Hires
Screen To Back 1
Screen Display 1,112,120,640,125
Goto MAGPAGE
End Proc