Re: [hatari-devel] Sync byte on Falcon |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: "Roger Burrows" <anodyne@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] Sync byte on Falcon
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sat, 9 Sep 2023 05:15:32 +0000
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1694236534; bh=JHJw4+k3SdzhmAbF5gY3awftQinS9x4QLjgS/7Gnx74=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=NC9QwT6HZPz4n0NK2mvetmVBJ0YGqcca/9UAboluLAPe2mM2PJWxrem5bgm98iv5q 3cdWIc+DU1XK1Q0gceZPza6RwBcs6nh0DTYh9nOsvezztbP7ngD96/Xfov4NCGDjvy ban6+6MJi7kl6j3l19V8DqRRZcoKj4bftdu8gEA+zbn6Nxayl7GjEYZp8n/MvdRpxu Nv4+cRoXwFlZqqvkPkV+YXula6g60YWT4RM+BP5m6YKPpbjtrEsbZHe8E+lohmLKj6 Audd1NAbzsNghSu9I8B02opr0JhIsbvoHuGrIQ8l/q/f4cQIU+YTcLAnkvp6jKClDZ 9QPU0vvHt/JgQ==
Am Tue, 05 Sep 2023 20:31:56 -0400
schrieb "Roger Burrows" <anodyne@xxxxxxxxxxxx>:
> I always thought that bit 1 of the sync byte (0xff820a) on the Falcon had the
> same meaning as on the ST etc: a 1 bit means PAL (50Hz sync), a zero bit means
> NTSC (60Hz sync). But Hatari 2.3.0 disagrees: it always sets the 1 bit unless
> a monochrome monitor (71Hz sync) is connected.
>
> If that's really the way the hardware works, I'm extremely puzzled that Atari
> defined a PAL/NTSC bit in the video modes settable for RGB/TV, and that TOS4
> writes 0x02 to the sync byte (indicating 50Hz sync) for an RGB screen when the
> PAL/NTSC bit in the mode set to 1; and 0x00 to the sync byte (indicating 60Hz
> sync) for an RGB screen with the PAL/NTSC bit in the mode set to 0.
>
> This seems like a bug to me. If so, is it fixed in a later release?
This code has been added by Laurent more than 10 years ago:
https://git.tuxfamily.org/hatari/hatari.git/commit/?id=27f598b280618b6
I think this comes from "HE AUTHORITATIVE GUIDE TO THE FALCON VIDEO
HARDWARE BY AURA AND ANIMAL MINE", see e.g.:
https://bus-error.nokturnal.pl/dl124
It says:
$FFFF820A [R/W] _______0 .................................. SYNC-MODE
||
|+--Synchronisation [ 0:internal / 1:external ]
+---Vertical frequency [ Read-only bit ]
[ Monochrome monitor:0 / Colour monitor:1 ]
Is anyone with a Falcon able to reproduce this?
Thomas