Commit a6492b14 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix detection of Philips RTC/NVRAM when MaybeIIC is in use

Detail:
  s/PMF/i2cutils - Although the code will detect the Philips RTC correctly, it was failing to set the device size in R4, causing CMOS RAM to be misread. This change fixes that.
Admin:
  Tested in IOMD HAL build on development version of RPCEmu.


Version 5.35, 4.79.2.110. Tagged as 'Kernel-5_35-4_79_2_110'
parent ed3cc555
......@@ -13,11 +13,11 @@
GBLS Module_ComponentPath
Module_MajorVersion SETS "5.35"
Module_Version SETA 535
Module_MinorVersion SETS "4.79.2.109"
Module_Date SETS "02 Feb 2010"
Module_ApplicationDate SETS "02-Feb-10"
Module_MinorVersion SETS "4.79.2.110"
Module_Date SETS "20 Feb 2010"
Module_ApplicationDate SETS "20-Feb-10"
Module_ComponentName SETS "Kernel"
Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel"
Module_FullVersion SETS "5.35 (4.79.2.109)"
Module_HelpVersion SETS "5.35 (02 Feb 2010) 4.79.2.109"
Module_FullVersion SETS "5.35 (4.79.2.110)"
Module_HelpVersion SETS "5.35 (20 Feb 2010) 4.79.2.110"
END
......@@ -5,19 +5,19 @@
*
*/
#define Module_MajorVersion_CMHG 5.35
#define Module_MinorVersion_CMHG 4.79.2.109
#define Module_Date_CMHG 02 Feb 2010
#define Module_MinorVersion_CMHG 4.79.2.110
#define Module_Date_CMHG 20 Feb 2010
#define Module_MajorVersion "5.35"
#define Module_Version 535
#define Module_MinorVersion "4.79.2.109"
#define Module_Date "02 Feb 2010"
#define Module_MinorVersion "4.79.2.110"
#define Module_Date "20 Feb 2010"
#define Module_ApplicationDate "02-Feb-10"
#define Module_ApplicationDate "20-Feb-10"
#define Module_ComponentName "Kernel"
#define Module_ComponentPath "castle/RiscOS/Sources/Kernel"
#define Module_FullVersion "5.35 (4.79.2.109)"
#define Module_HelpVersion "5.35 (02 Feb 2010) 4.79.2.109"
#define Module_FullVersion "5.35 (4.79.2.110)"
#define Module_HelpVersion "5.35 (20 Feb 2010) 4.79.2.110"
#define Module_LibraryVersionInfo "5:35"
......@@ -1597,6 +1597,7 @@ InitCMOSCache Entry "r1-r6, sb,r12"
MOV R0, #RTCAddressPHI
BL DummyAccess
MOV R5, #8 ; 256 byte page size for CMOS
MOVVC R4, #1
BVC %FT5
; We ain't got anything!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment