phat code POKE 35899,0
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Plasma Sun Sep 3 2006 at 2:26 pm
the problem is
 
 
Since the VGA doesn't have a light pen interface (only CGA and EGA), the scan beam x/y registers can't be read directly from software.

Most video cards that are VGA compatible have some additional registers which can be read from software, but I don't know of any that give access to the current x/y registers.

So I don't think it's possible to get the x/y beam position with software unless you use the method I described in my last post. But that will not work if you are using a multitasking OS, as you won't be able to get the timing accurate enough.
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.