Posted: 10:45am 13 Oct 2024 |
Copy link to clipboard |
Print this post |
|
Hi All.
PicoMite VGA on RP2350 Software version 6.00.00RC1 Mode 3
I am trying to write a piece of software which requires specific positioning of the cursor on the screen. However I am getting very inconsistent and confusing results. Having tried multiple approaches (short software test routines) to define and comprehend the problem I am having, I have not made very much progress. Hence my first post to the shed. For example the following code
Do
Line 100,100,200,200,,rgb(white) currx=mm.info(hpos) curry=mm.info(vpos)
Print @(-8,0),"xpos=";currx;" ypos=";curry
Loop
results in output (line drawn OK)
xpos= 256 ypos= 0
...including the strange spacing in the output which to me shouldn't really be there.
Also I have found it is necessary to print starting at -8 for x, as otherwise the output string is placed one character to the right.
However, more importantly, should this code not report 200 200 following the line draw?
Yours, confused in Finistère |