home *** CD-ROM | disk | FTP | other *** search
- Routine : PROCcompressed_screen_init
- Library : ScreenLib
- Purpose : assembles the machine code required by
- PROCcompressed_screen_load and
- PROCcompressed_screen_save
- Source : RISC User April 1988 Page 28
- Author : Mark Davis
- Parameters:
- None
- Dependant Routines:
- None
- Global Variables:
- block,final,block2,code,sbl,compact,no,
- shift,max,total,fin,scaddr,sclen,decompact
- Notes:
- This procedure must only be called once in the
- main program. Note that 160k is reserved as
- workspace by the routine. Be sure to avoid
- conflicts of variable names in the main program
- Routine : PROCcompressed_screen_save(filename$)
- Library : ScreenLib
- Purpose : Saves a graphics screen in a compacted
- format and also much more quickly than
- the OS *SCREENSAVE command. As an
- example a Mode 15 Mandelbrot screen
- can be compressed to 40k, less than a
- third of the original disk space
- required.
- Source : RISC User April 1988 Page 28
- Author : Mark Davis
- Parameters:
- filename$ = a legal filename for the saved
- file.
- Dependant Routines:
- PROCcompressed_screen_init
- Global Variables:
- block,compact,sbl,max,shift,total,fin,
- scaddr,sclen
- Notes:
- The saved screen may only be reloaded using
- PROCcompressed_screen_load(). No validity
- checking is performed on the file name. The
- screen must be non-scrolled and it is possible
- in some cases that no compression is possible
- in which case the screen will still be saved at
- high speed.
- Routine : PROCcompressed_screen_load(filename$)
- Library : ScreenLib
- Purpose : Loads a graphics screen saved by
- PROCcompressed_screen_save() in
- compact format and more quickly than
- the OS *SCREENLOAD command.
- Source : RISC User April 1988 Page 28
- Author : Mark Davis
- Parameters:
- filename$ = a legal filename for the file to
- load.
- Dependant Routines:
- PROCcompressed_screen_init
- Global Variables:
- no,sbl,block,shift,max,total,fin,scaddr,
- sclen,decompact
- Notes:
- The routine will fail if the saved screen has
- not been created by
- PROCcompressed_screen_save(). No validity
- checking is performed on the file name and no
- checks are made to ensure the file exists or is
- in the correct format. The screen mode is set
- to the mode in which the screen was created
- which of course clears the screen.
- Routine : PROCmode7_screen_save(filename$)
- Library : ScreenLib
- Purpose : Saves a mode 7 screen in only 1k of
- disk space instead of the usual 80k
- that it takes in memory.
- Source : Archive November 1987 Page 44
- Author : Not Known
- Parameters:
- filename$ = a legal filename for the file to
- save.
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- No validity checking is performed on the file
- name, whether it already exists, or if the
- current mode is 7.
- Routine : PROCmode7_screen_load(filename$)
- Library : ScreenLib
- Purpose : Loads a mode 7 screen save using 1k of
- disk space by PROCmode7_screen_save().
- Source : Archive November 1987 Page 44
- Author : Not Known
- Parameters:
- filename$ = a legal filename for the file to
- load.
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- No validity checking is performed on the file
- name, whether it already exists, or if the
- current mode is 7. A CLS is performed, however.
- The file must have been created by
- PROCmode7_screen_save().
- Routine : PROCscreenman
- Library : ScreenLib
- Purpose : A collection of routines to allow
- palettes to be adjusted, displayed,
- loaded and saved. Also mouse pointer
- coordinates are shown.
- Source : RISC User April 1988 Page 11
- Author : Lee Calcraft
- Parameters:
- None
- Dependant Routines:
- None
- Global Variables:
- None
- Notes:
- The routine only works in 80 column modes, but
- not in mode 15. All 'internal' PROCs and FNs
- are prefixed by 'ce'.
-
-
-