mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 17:45:31 -07:00
complete the onboard RTC Port Address and IRQ selection passing for Multitech PC-500 and PC-500+
This commit is contained in:
@@ -680,11 +680,9 @@ isartc_init(const device_t *info)
|
||||
|
||||
case ISARTC_RTC58167: /* Multitech PC-500/PC-500+ onboard RTC */
|
||||
dev->flags |= FLAG_YEARBCD;
|
||||
//dev->base_addr = machine_get_config_int("rtc_port");
|
||||
dev->base_addr = 0x2c0;
|
||||
dev->base_addr = machine_get_config_int("rtc_port");
|
||||
dev->base_addrsz = 8;
|
||||
//dev->irq = machine_get_config_int("rtc_irq");
|
||||
dev->irq = -1;
|
||||
dev->irq = machine_get_config_int("rtc_irq");
|
||||
dev->f_rd = rtc58167_read;
|
||||
dev->f_wr = rtc58167_write;
|
||||
dev->nvr.reset = mm67_reset;
|
||||
|
||||
@@ -1259,7 +1259,7 @@ static const device_config_t pc500_config[] = {
|
||||
{
|
||||
.name = "rtc_port",
|
||||
.description = "RTC Port Address",
|
||||
.type = CONFIG_HEX16,
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_string = NULL,
|
||||
.default_int = 0,
|
||||
.file_filter = NULL,
|
||||
@@ -1379,7 +1379,7 @@ static const device_config_t pc500plus_config[] = {
|
||||
{
|
||||
.name = "rtc_port",
|
||||
.description = "Onboard RTC",
|
||||
.type = CONFIG_HEX16,
|
||||
.type = CONFIG_SELECTION,
|
||||
.default_string = NULL,
|
||||
.default_int = 0,
|
||||
.file_filter = NULL,
|
||||
|
||||
Reference in New Issue
Block a user