Initial revision
[ssr] / StraySrc / Libraries / Quartz / sh / screen
1 ;
2 ; screen.s
3 ;
4 ; Screen mode information caching
5 ;
6 ; © 1994-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Quartz library.
12 ;
13 ; Quartz is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; Quartz is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with Quartz. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Overview -------------------------------------------------------------
28 ;
29 ; Functions provided:
30 ;
31 ; screen_getInfo
32 ; screen_init
33
34 ;----- Data offsets ---------------------------------------------------------
35
36 ^ 0
37 screen_xEig # 4
38 screen_yEig # 4
39 screen_bpp # 4
40 screen_width # 4
41 screen_height # 4
42 screen_dx # 4
43 screen_dy # 4
44
45 ;----- Functions provided ---------------------------------------------------
46
47 ; --- screen_getInfo ---
48 ;
49 ; On entry: --
50 ;
51 ; On exit: R0 == pointer to screen information block
52 ;
53 ; Use: This call returns a pointer to a block of information
54 ; about the current screen modes. The offset for different
55 ; bits of data are defined in screen.sh
56
57 IMPORT screen_getInfo
58
59 ; --- screen_init ---
60 ;
61 ; On entry: R12 == pointer to screen workspace
62 ;
63 ; On exit: --
64 ;
65 ; Use: Initialises the screen information caching system
66
67 IMPORT screen_init
68
69 ;----- That's all, folks ----------------------------------------------------
70
71 END