home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-02-26 | 754 b | 26 lines |
- Rem Loads a picture into bank 2 unpack to screen 0
- Rem Text is added over the top of picture by using Gr Writing and text commands
- Rem restored to original picture by use of block 1
- Rem colour 15 is used as the text colour
- Rem
- Rem David Pickin
- Rem
- Rem
- Load "GP.abk",2
- Unpack 2 To 0 : Erase 2
- Gr Writing 0
- Colour 15,$FFF : Colour 17,$999 : Colour 18,$666 : Colour 19,$FFF
- Get Block 1,50,0,579,190 : Rem get original screen
- Bob Off : Paper 0 : ED=0
- Pen 15 : Ink 15 : Text 170,22,"Text Added Over A Background Picture"
- Text 170,30,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
- Text 250,100,"Press Mouse"
- Repeat
- Until Mouse Key
- Gr Writing 1
- Text 250,180,"This Is Normal Text"
- Wait 10
- Repeat
- Until Mouse Key
- Put Block 1,50,0 : Rem Restore Screen
- Del Block 1