diff options
Diffstat (limited to 'src/emu/machine/pd4990a.h')
-rw-r--r-- | src/emu/machine/pd4990a.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/emu/machine/pd4990a.h b/src/emu/machine/pd4990a.h new file mode 100644 index 00000000000..10428528d6f --- /dev/null +++ b/src/emu/machine/pd4990a.h @@ -0,0 +1,26 @@ +/* + * Header file for the PD4990A Serial I/O calendar & clock. + */ + + +struct pd4990a_s +{ + int seconds; + int minutes; + int hours; + int days; + int month; + int year; + int weekday; +}; + +extern struct pd4990a_s pd4990a; + +void pd4990a_addretrace (void); +void pd4990a_init(void); +READ8_HANDLER( pd4990a_testbit_r ); +READ8_HANDLER( pd4990a_databit_r ); +WRITE16_HANDLER( pd4990a_control_16_w ); +void pd4990a_increment_day(void); +void pd4990a_increment_month(void); + |