[hatari-devel] Mouse ungrab, palette?

npomarede at corp.free.fr npomarede at corp.free.fr
Wed Jun 3 10:05:36 CEST 2009


On Wed, 3 Jun 2009, Thomas Huth wrote:

> On Mon, 1 Jun 2009 23:37:05 +0200 (CEST)
> npomarede at corp.free.fr wrote:
>
>> On Tue, 2 Jun 2009, Eero Tamminen wrote:
>>> On Monday 01 June 2009, Thomas H. wrote:
>>>> I never used that feature in Steem, and I never missed it yet.
>>>> Would it be sufficient to write other color values to the color
>>>> register with the help of the debugger? Something like "w ff8240
>>>> 0f 00" ?
>>>
>>> Seems so.  As the color registers are different for:
>>> - ST/e: 16x 12/16-bit entries, ff8240->ff8260
>>> - TT: 256x  12/16-bit entries, ff8400->ff8500
>>> -Falcon/Videl: 256x 24/32-bit entries, ff9800->ff9c00
>>
>> But if you write to ff8240 for instance and go back to the demo,
>> chances are high that the demo will change ff8240 on the next VBL, so
>> the write to ff8240 will be lost, and you will see the altered color
>> only for a blink of the eye, not very useful.
>
> Well, but as long as the program still changes the color registers, it
> is still displaying something on the screen... I think this feature
> would mainly be useful when a program changes all color registers
> permanently to black to conceal what it is doing.
>

In my case, I found this feature useful in steem to see what is happening 
when removing left/right border to obtain hardscroll. In that case, the 
first lines will be black and not the rest of the screen. But if you 
change the palette, you will see that the first lines are in fact a 
combination of different left/right borders removal.




More information about the hatari-devel mailing list