READ CALENDAR

From NeoGeo Development Wiki
Revision as of 03:13, 12 July 2011 by Furrtek (talk | contribs) (Created page with "==BIOSF_READ_CALENDAR ($C0045C)== Reads the uPD4990 calendar and sets values in RAM. MVS only. Sets in BCD: *BIOS_YEAR ($10FDD2): last 2 digits of year *BI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BIOSF_READ_CALENDAR ($C0045C)

Reads the uPD4990 calendar and sets values in RAM. MVS only. Sets in BCD:

  • BIOS_YEAR ($10FDD2): last 2 digits of year
  • BIOS_MONTH ($10FDD3): 1~12
  • BIOS_DAY ($10FDD4): 1~31
  • BIOS_WEEKDAY ($10FDD5): Sunday = 0... Saturday = 6
  • BIOS_HOUR ($10FDD6): 0~23
  • BIOS_MINUTE ($10FDD7): 0~59
  • BIOS_SECOND ($10FDD8): 0~59