Mouse cursor for TV&VGA
Rayman
Posts: 14,793
I think I just realized that there's no built-in mouse cursor support for the basic VGA or TV drivers.· Guess I was spoiled with the 1024x768 XGA driver...
Anybody already made a version of these drivers that draws the cursor?· Or, is there a better way (without using Graphics)?
Anybody already made a version of these drivers that draws the cursor?· Or, is there a better way (without using Graphics)?
Comments
What are you trying for? Adding the mouse.spin with a cursor routine seems to be
straightforward enough.. Are you attempting to adapt your text/window driver to
TV? (That would be interesting.. [noparse]:)[/noparse] I've got some plot routines in my working
copy of AiGeneric that I'm using for NES cursor/pointer.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.
Essentially, what happens is TWO video generators are set to output to the same set of pins. This overlays the cursor signal with the VGA signal. A timing loop is used for position and that's about it for VGA.
On the TV, syncing the pixels and color artifacts is a lot tougher to get right. It is the same idea however.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
-Again, please excuse my current dumb-ness of the propeller!
Well, I guess the simple solution for me is to do like I did before and manually show a whole tile or two as the mouse...