Does anybody know of any toolkit having commands that support both absolute 
coordinates AND GD2? The Relative coordinates do not seem to work with non 
2:1 screens (640x480 for example) and my S*Basic procedures with direct 
Poke to the screen are kinda slow :-)...

My solution so far has been of the form:

100 MAXHORRES = 800
200 MAXVERTRES = 600
300 DIRECTADDRESS= SCR_BASE+((MAXVERTRES*Y)*2)+(X*2)
400 POKE DIRECTADDRESS, COLOURELEMENT1:POKE DIRECTADDRESS, COLOURELEMENT2


Of course this snippet does not include code to check the vertical and 
horizontal pixel coordinates (if they are out of bounds that is) and the 
colour selection is rather elementary (to the point of guessing ;-) but 
that's the only thing I could come up with.


Any Ideas?


Phoebus

Reply via email to