; ; screen.s ; ; Screen mode information caching ; ; © 1994-1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's Quartz library. ; ; Quartz is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; Quartz is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with Quartz. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; screen_getInfo ; screen_init ;----- Data offsets --------------------------------------------------------- ^ 0 screen_xEig # 4 screen_yEig # 4 screen_bpp # 4 screen_width # 4 screen_height # 4 screen_dx # 4 screen_dy # 4 ;----- Functions provided --------------------------------------------------- ; --- screen_getInfo --- ; ; On entry: -- ; ; On exit: R0 == pointer to screen information block ; ; Use: This call returns a pointer to a block of information ; about the current screen modes. The offset for different ; bits of data are defined in screen.sh IMPORT screen_getInfo ; --- screen_init --- ; ; On entry: R12 == pointer to screen workspace ; ; On exit: -- ; ; Use: Initialises the screen information caching system IMPORT screen_init ;----- That's all, folks ---------------------------------------------------- END