home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1996-04-06 | 1.3 KB | 46 lines |
- Global X,Y,BLOCK,_WAIT
- _TEXT$="scrolling intuition screens in amos is dead easy with d.j.softwares"
- _TEXT$=_TEXT$+" intuition extension visit our home page at http//www."
- _TEXT$=_TEXT$+"demon.co.uk/djsoftware "
- _TEXTLEN=Len(_TEXT$)
- Amos To Back
- Extension_25_02BE $100,0,0,0,0,0,0,0
- Extension_25_0282 0,0,0,960,256,4,0,3,$0
- Extension_25_021E $400,$0,$0,$0,$0,$0,$0,$0,$0
- Extension_25_0070 $800,$1000,$0,$0,$0,,,,
- Extension_25_0006 0,0,0,960,256,100,50,960,256
- Extension_25_0522 2,0
- '
- SIZE=32
- Repeat
- If _WAIT>0 : Dec _WAIT : Wait Vbl : End If
- Inc X
- Inc X1
- If X1=SIZE
- X1=0
- Inc X3
- Inc X4
- BLOCK1=Asc(Mid$(_TEXT$,X4,X4+1))
- BLOCK2=Asc(Mid$(_TEXT$,X4+1,X4+2))
- BLOCK3=Asc(Mid$(_TEXT$,X4+2,X4+3))
- If BLOCK2=5+96 and BLOCK3=13+96 : _WAIT=800 : End If
- If BLOCK1<>32 and BLOCK1<>46 and BLOCK1<>47
- BLOCK1=BLOCK1-96
- End If
- If BLOCK1=32 : BLOCK1=44 : End If
- If BLOCK1=46 : BLOCK1=37 : End If
- If BLOCK1=47 : BLOCK1=43 : End If
- '
- Extension_25_04E0(X3*SIZE)+320,100,BLOCK1
- If X=>320 : Extension_25_04E0(X3*SIZE)-320,100,BLOCK1 : End If
- End If
- Extension_25_0578 X,0
- If X=640 : X1=0 : X=0 : X3=0 : End If
- If X4=_TEXTLEN : X=0 : X1=0 : X3=0 : X4=0 : End If
- EV= Extension_25_0210
- Until EV=$400
- Extension_25_002C 0
- Extension_25_02A8 0
- Amos To Front
- End
- '