home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Falcon 030 Power 2
/
F030_POWER2.iso
/
ST_STE
/
MAGS
/
ICTARI07.ARJ
/
ictari.07
/
GFA
/
OVERSCAN.GFA
/
TOP.GFA
(
.txt
)
< prev
next >
Wrap
GFA-BASIC Atari
|
1997-09-18
|
2KB
|
116 lines
'
' After > If bottom border BLACK: DECREASE 82 (on indicated d| loop) by, say 5
' running > If bottom border is (vertically) FLASHING: INCREASE 82 by, say 5
'
SETCOLOR 15,&H0
mouse(0)
msg(1)
REPEAT
UNTIL INKEY$=" "
msg(2)
'
REPEAT
SPOKE &HFF820A,254
VSYNC
SPOKE &HFF820A,252
FOR d|=1 TO 82 ! Processor free here;
SETCOLOR 0,&H777 ! but timing is **crucial**
NEXT d|
UNTIL INKEY$=" "
SPOKE &HFF820A,254
'
msg(3)
REPEAT
UNTIL INKEY$=" "
mouse(1)
PRINT CHR$(7);
EDIT
'
'
'
'
PROCEDURE mouse(run|)
LOCAL gretr$
IF run|=1
gretr$=CHR$(8)
ELSE
HIDEM
gretr$=CHR$(18)
ENDIF
~XBIOS(25,0,L:VARPTR(gretr$))
RETURN
'
'
'
'
PROCEDURE msg(run|)
LOCAL line|,text$,max|
PRINT "E"
IF XBIOS(4)=0
max|=20
ELSE
max|=40
ENDIF
SELECT run|
CASE 1
RESTORE text1
CASE 2
RESTORE text2
CASE 3
RESTORE text3
ENDSELECT
PRINT AT(1,1);
FOR line|=1 TO 12
READ text$
PRINT
PRINT SPACE$(max|-LEN(text$)/2);text$
NEXT line|
IF XBIOS(4)=0
BOX 0,0,319,199
ELSE
BOX 0,0,639,199
ENDIF
RETURN
'
text1:
DATA "Professor"
DATA "of VIRTUAL INFINITY"
DATA "presents a first for GFA ..."
DATA "*Pure*, GFA, Overscan !!"
DATA "------"
DATA "The screen works perfectly on my cold-"
DATA "started 1040 STe & TV. I sincerely"
DATA "hope it works on your machine."
DATA "------"
DATA "Press <space> once to see it,"
DATA "and <space> a second time to"
DATA "return to standard 50Hz."
'
text2:
DATA "You`re not dreaming,"
DATA "Professor of VIRTUAL INFINITY"
DATA "waves goodbye to the top border"
DATA "with *pure* GFA Overscan !!"
DATA "------"
DATA "The simple VBL routine to shift a"
DATA "standard 200 line screen, naturally"
DATA "leaves plenty of processor free."
DATA "------"
DATA "Will somebody please explain to"
DATA "me the theory of bottom overscan,"
DATA "so I can write a GFA version !!"
'
text3:
DATA "Returning to normality,"
DATA "Don`t forget to give credit to me,"
DATA "Professor of VIRTUAL INFINITY"
DATA "if you wish to use this routine."
DATA "------"
DATA "Will somebody please explain to"
DATA "me the theory of bottom overscan,"
DATA "so I can write a GFA version !!"
DATA "------"
DATA "Thanks for your time,"
DATA "Press <space> to quit."
DATA ""