Re: [PATCH 23/30] mac_via: fix rtc command decoding for the PRAM seconds registers

2023-05-30 Thread Laurent Vivier
Le 24/05/2023 à 23:10, Mark Cave-Ayland a écrit : Analysis of the MacOS toolbox ROM code shows that on startup it attempts 2 separate reads of the seconds registers with commands 0x9d...0x91 followed by 0x8d..0x81 without resetting the command to its initial value. The PRAM seconds value is only

[PATCH 23/30] mac_via: fix rtc command decoding for the PRAM seconds registers

2023-05-24 Thread Mark Cave-Ayland
Analysis of the MacOS toolbox ROM code shows that on startup it attempts 2 separate reads of the seconds registers with commands 0x9d...0x91 followed by 0x8d..0x81 without resetting the command to its initial value. The PRAM seconds value is only accepted when the values of the 2 separate reads mat