Ultimate Amiga
		Network Boards => AMOS Professional Re-Development => AMOS Factory => Feature requests and bug reports => Topic started by: Dan on April 13, 2017, 07:07:27 PM
		
			
			- 
				
Screen Open 0,640,256,16,Lowres
Limit Mouse 
CH=1
Repeat 
   
   MX=X Mouse
   MY=Y Mouse
   SX=X Screen(MX)
   SY=Y Screen(MY)
   Text 0,10,Str$(MX)+" / "+Str$(MY)+"    "
   Text 0,20,Str$(SX)+" <-/ "+Str$(SY)+"    "
   If Mouse Key=1
      X=X+1
      If X=2
         X=0
      End If 
   End If 
   
   If X=0 and CH=0
      CH=1
      Screen Open 0,640,256,16,Lowres
   End If 
   
   If X=1 and CH=1
      CH=0
      Screen Open 0,640,256,16,Hires
   End If 
   
Until Mouse Key=2
Once, few years ago (and now while developing the wover game) i'v discovered an annoyance, while grabbing sprites, which were drawn on a hires image.
The x coordinate, while in hires screen, as you can test with the above code, is always at the even number.
That makes it difficult to cut out pixel perfect pictures.
the same is with y screen(y mouse) in laced mode.
this code is tested on amos pro v2.0 and easy amos.
			 
			
			- 
				Hardware limit:  sprite coordinates are low resolution on high resolution screens until AGA support is added.
			
 
			
			- 
				thanks.
Edit:
Right, then the question comes up: 
How does Deluxe paint do the painting in the Hires mode ?
			 
			
			- 
				The OS may have more resolution than the Amos hardware banging.