phat code "The trick is to forget about writing something good and pull cheese out of your butt." - Necros
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
rezetvektor Fri Sep 1 2006 at 9:18 pm
Thanks
 
 
Hi Plasma, thank u for your answer...

...actually it is a light pen, i just thought that maybe there's a way of doing it by software, of course always has to be some part of hardware but i want it at the minimal because its price.

in this way i want to do in hardware just the sensor (fototransistor) and the buttons, but the part of detecting the position of the beam i want to do it by software, because anyway there's a part of software too.

So, what do you think about my idea of doing it in this way?

i know that internally in the videocard there are two counters (maybe more): the line counter (Y), and the character counter (x), so it's just make the calcs and latch those values to the mouse coordinates when the sensor detects the beam. It's not so dificult right?

...but, where are the registers of the counters? or maybe they are just in a circuit level and the software can't see them?.

I hope you can help me, because i couldn't find someone that can.

THK man!.
 
 
 
 

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.