home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1993-02-25 | 548 b | 19 lines |
- 'converted from an old stos listing
- Screen Open 0,320,180,16,Lowres
- Screen Open 1,640,20,2,Hires
- Curs Off
- Print "this is screen 1"
- Screen 0
- 10 Curs Off : Hide On : Cls 0 : Autoback OFF
- 11 Def Scroll 1,0,0 To 288,32,32,0 : Def Scroll 2,0,0 To 320,176,0,32
- 12 Palette 0,$71,$62,$53,$44,$35,$26,$17
- 14 C=1 : CC=1
- 20 Dim A(1) : A(0)=359 : A(1)=0
- 30 For L=0 To 1
- 40 X=16+Sin(A(L)/7.7)*16 : Y=16+Cos(A(L)/6.7)*16
- 50 A(L)=(A(L)+1) mod 360
- 60 Ink L*C : Plot X,Y : Plot Y,X
- 80 Next L
- 82 C=C+CC : If C=7 or C=1 Then CC=-CC
- 85 Scroll 1 : Scroll 2
- 90 Goto 30