At 02:33 AM 12/11/98 -0200, you wrote:
>Hello all.
>
>I'm trying to run some softwares here (most demos) in my brazilian MSX,
>which runs with my TV in 60hz. Those software switch to 50 hz, so my TV
>can't display the image right. How can i fix this?

Typical assembly fragment that switches to 50Hz looks like this:
        LD      A,2
        OUT     (#99),A
        LD      A,#89
        OUT     (#99),A
in bytes that is:
        3E      02
        D3      99
        3E      89
        D3      99
If you change "02" into "00", you'll get 60Hz display.
Some programs use 192 lines, in that case "82" should be changed into "80".

However, this won't fix all programs:
- some programs use another (more compatible) way of changing frequency
- some programs depend on the 50Hz frequency and will not run well on 60Hz
(because they have less clock ticks to spend per interrupt)

Bye,
                Maarten



****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to