[hatari-devel] FYI: new --desktop option

Nicolas Pomarède npomarede at corp.free.fr
Mon Mar 28 23:58:52 CEST 2011


Le 28/03/2011 23:11, Eero Tamminen a écrit :

>> Today, we only render 320+48+48 pixels in the internal video buffer ;
>> what I'd like to do is to always render 460 pixels and then extract a
>> part of those 460 pixels to copy it to the SDL buffer (using convert/*c
>> functions), depending on the size of the border chosen by the user.
>>
>> So the cropping would happen during the internal buffer ->  sdl
>> conversion.
>
> Cropped based on what the demos do?  Or based on what user has set in Border
> settings / Max window size?

Cropped on what the user choose ; kinda similar to some of the buttons I 
had on my CRT monitor for my ST that allowed me to move the image 
left/right or stretch it horizontaly/verticaly to adjust how many pixels 
I wanted to see on my CRT (especially when overscan is used).

Here, I don't want to stretch the image, but by choosing how many pixels 
you want to be displayed in each border, this allow the user to choose 
the total surface of pixels he wants to see in Hatari's screen.

As for your other comment above, it would not be based on what the demo 
does, so there would be no windows size changes in the middle of 
recording for example.

So, what I'd like to do is not to have the screen size change while 
hatari is running ; I'd like to have 4 parameters to set border width 
and 1 or 2 parameters to set zooming factor on X and/or Y axis.

Once those parameters are set, Hatari would display the content of the 
emulated video memory inside this area, but there wouldn't be more 
resizing as what we have today, it's just that it would be possible to 
specify independant values for each border instead of specifying a total 
X/Y size for Hatari's window.


Nicolas




More information about the hatari-devel mailing list