|
Atari coding BBS
Re: VBL frequency F030 |
Posted by: evil
|
Feb,14.2012-20:35
|
You can use VsetMode() with parameter -1 and then you'll get a word in d0 with the current settings.
Just remember that this will just return the Xbios settings, not eventual changes made to hardware registers.
move.w #-1,-(sp)
move.w #$58,-(sp)
trap #14
addq.l #4,sp
Bits
0-2 = bits per pixel (1,2,4,8,16)
3 = 40/80 columns (set = 80)
4 = VGA/TV (set = VGA)
5 = PAL/NTSC (set = PAL) this is the one you're out for
6 = Overscan (set = Overscan)
7 = ST mode (set = use ST compatible mode)
8 = Vertical mode (set = interlace on RGB, linedouble on VGA)
Or just read Atari Compendium 4.106 :)
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|