home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fujiology Archive
/
fujiology_archive_v1_0.iso
/
!MAGS
/
!BONUS
/
COVERDSK
/
STFORMAT
/
STF41.ZIP
/
STF41A.MSA
/
GFASPEC
/
SHOWSPEC.GFA
(
.txt
)
< prev
Wrap
GFA-BASIC Atari
|
1985-11-20
|
1KB
|
34 lines
'
' Routine to show SPECTRUM 512 pictures in GFA basic.
'
' Deals ONLY with Spectrum uncompressed pictures (SPU).
'
' Code and program by The Phantom of Electronic Images.
'
' PAL 50Hz version with hbl refresh @ 64 microseconds.
'
'
'
DIM codespc|(564) ! Reserve space for my code - 564 bytes!
DIM piccie|(64000) ! Space reserved for Spectrum 512 pic.
'
pic%=VARPTR(piccie|(0)) ! Get address of picture.
code%=VARPTR(codespc|(0)) ! Get address of code.
'
BLOAD "speccy.spu",pic% ! Load Spectrum 512 picture in buffer.
BLOAD "512_gfa.dat",code% ! Load my code as well!
' Replace the above BLOAD for an INLINE if you want.
'
'
showspec%=code%+4 ! Skip 4 bytes of pic adress in my code.
'
LPOKE code%,pic% ! Poke in the adress of the picture.
'
BMOVE pic%,XBIOS(2),32000 ! Copy picture to screen ( only 32K ).
CALL showspec% ! Call my routine for 512 colours!
'
WHILE INKEY$=""
WEND ! Wait for key...
'
SLPOKE &H4D2,0 ! Disable my routine (supervisor poke).