-REZ CHECK- CODED BY MR. PINK (C) 1995 RESERVOIR GODS This ones for all you coders out there - raise your xbios calls in the air like you just don't care! Rez check is useful if you are just starting to find your way around the maze of Falcon video resolutions, giving you clear and concise info on the current screen mode. Rez check analyses the bits of the Xbios VsetMode call and displays them. It doesn't cover all the VIDEL registers, but you shouldn't need to use them if you want to retain compatibility across all Falcons (especially the new ones when they are released!). There are 7 defined components of screen mode: Colours: this can be mono, 16, 256 or true colour. This is represented by bits 0-2 of the mode word. Columns: can be 40 or 80 (bit 3) VGA flag: tells whether RGB or VGA monitor attached (bit 4) PAL/NTSC: display type (bit 5) Overscan: are you killing those horrid borders? (bit 6) ST mode: in ST compatibility mode? (bit 7) Vertical: represents whether interlace is on (RGB) or double line (VGA) and is flagged by bit 8. Bits 9-15 are unused and this program callously ignores them. Also displayed are the mode code in hex (only three bytes needed as the most significant nibble of the high byte is always zero) and binary. You can use this hex value for setting the screen in your program. Its best to use the xbios vsetscreen call, with 'modecode' being the hex value you noted down from -Rez Check-. move.w modecode,-(a7) move.w #3,-(a7) ;VsetMode option pea physic pea logic move.w #5,-(a7) trap #14 lea 14(a7),a7 Don't forget then after you have used this setscreen call you won't be able to use the AES, so if you want to call things like the GEM file selector you will have to restore the screen back into its old mode. Its that easy. Honest. Have fun!