READ CALENDAR

From NeoGeo Development Wiki
Revision as of 17:53, 9 October 2016 by Furrtek (talk | contribs) (→‎BIOSF_READ_CALENDAR ($C0045C))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BIOSF_READ_CALENDAR ($C0045C)

Helper function which reads the uPD4990 calendar date and time in RAM. MVS only. Sets in BCD:

Address DEF name Size Set by Description
$10FDD2 BIOS_YEAR byte BIOS Current year
$10FDD3 BIOS_MONTH byte BIOS Current month
$10FDD4 BIOS_DAY byte BIOS Current day
$10FDD5 BIOS_WEEKDAY byte BIOS Current weekday (Sunday = 00, Monday = 01 ... Saturday = 06)
$10FDD6 BIOS_HOUR byte BIOS Current hour (24h format)
$10FDD7 BIOS_MINUTE byte BIOS Current minute
$10FDD8 BIOS_SECOND byte BIOS Current second