Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Videl monitor info with CTPCI
Posted by: Klaz Mar,08.2012-13:46 

Hi all,

when you're running a CT60+CTPCI and have booted to PCI/ATI video, how can you get the monitor type, etc. that's connected to the Videl? That's presuming you have both video outputs (ATI/Videl) connected to two different monitors or to a VGA selector switch.

Calling XBIOS Vsetmode(-1) or mon_type doesn't seem to fetch the Videl info when you're in PCI video mode.

I guess you'd have to poll the Videl hardware registers to get to that info?

Another question:
how to determine if the CTPCI is actually in PCI video mode?
I was thinking about something like this:
- check if your're running on a CT60
- get physical video address
- check if physical video address points to fast RAM or ST RAM
- assume it's PCI video when screen is in fast RAM

Not sure if that's safe enough though...

Background is: I want to make ST games run on the CT60 /w CTPCI and want to properly initialise the Videl when the game has been started from PCI video mode. ;)


TIA

Klaz







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
Videl monitor info with CTPCI Klaz Mar,08.2012-13:46
  Re: Videl monitor info with CTPCI PeP Mar,08.2012-14:00
    Re: Videl monitor info with CTPCI Klaz Mar,08.2012-14:23
      Re: Videl monitor info with CTPCI Klaz Mar,08.2012-14:26
        Re: Videl monitor info with CTPCI Cyprian Mar,08.2012-19:37
          Re: Videl monitor info with CTPCI PeP Mar,08.2012-22:17
            Re: Videl monitor info with CTPCI Klaz Mar,08.2012-23:02
            Re: Videl monitor info with CTPCI Cyprian Mar,09.2012-12:51
              Re: Videl monitor info with CTPCI PeP Mar,09.2012-15:02
              Re: Videl monitor info with CTPCI Cyprian Mar,09.2012-17:16
                Re: Videl monitor info with CTPCI Klaz Mar,09.2012-17:36
                  Re: Videl monitor info with CTPCI Beetle Mar,10.2012-08:14
                Re: Videl monitor info with CTPCI PeP Mar,10.2012-03:32
  Re: Videl monitor info with CTPCI saulot Mar,10.2012-10:26
    Re: Videl monitor info with CTPCI Klaz Mar,10.2012-12:11
      Re: Videl monitor info with CTPCI PeP Mar,10.2012-13:08
        Re: Videl monitor info with CTPCI saulot Mar,10.2012-15:54
          Re: Videl monitor info with CTPCI PeP Mar,10.2012-17:17


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson