UPD4990

From NeoGeo Development Wiki
Revision as of 03:22, 30 September 2016 by Furrtek (talk | contribs) (Details about command inputs and self-test bug)
Jump to navigation Jump to search
µPD4990A RTC on a (dirty) MV1FZS board.

The µPD4990 is a RTC (Real Time Clock) chip made by NEC, used on MVS_hardware to keep the calendar's time and date.

It shares the battery-backed RAM's battery and has a separate 32.768kHz crystal clock to run even when power is off.

The parallel command inputs aren't used, they are all set high to enable serial commands (see MVS schematics page 1, and datasheet).

Interface

The READ_CALENDAR system ROM call can be used to conveniently load the µPD4990 time and date to BIOS RAM locations.

Raw access is done through REG_STATUS_A for input and REG_RTCCTRL for output.

Failure

A damaged chip, oscillator or their connections can bring a calendar error, but most of the time just locks up the system ROM due to a self-test bug.

Datasheet

Official µPD4990A datasheet: [[1]]