Add Intel Advanced/MA (Monaco) (#6297)

This commit is contained in:
Cacodemon345
2025-10-08 20:10:42 +06:00
committed by GitHub
parent 151e0bdd16
commit 5b7ac6fa21
5 changed files with 100 additions and 0 deletions

View File

@@ -4916,6 +4916,7 @@ mach64_common_init(const device_t *info)
mach64->wake_fifo_thread = thread_create_event();
mach64->fifo_not_full_event = thread_create_event();
mach64->fifo_thread = thread_create(fifo_thread, mach64);
mach64->on_board = !!(info->local & (1 << 19));
mach64->i2c = i2c_gpio_init("ddc_ati_mach64");
mach64->ddc = ddc_init(i2c_gpio_get_bus(mach64->i2c));
@@ -5222,6 +5223,20 @@ const device_t mach64ct_device = {
.config = NULL
};
const device_t mach64ct_device_onboard = {
.name = "ATI Mach64CT (On-Board)",
.internal_name = "mach64ct",
.flags = DEVICE_PCI,
.local = MACH64_CT | (1 << 19),
.init = mach64ct_init,
.close = mach64_close,
.reset = NULL,
.available = NULL,
.speed_changed = mach64_speed_changed,
.force_redraw = mach64_force_redraw,
.config = NULL
};
const device_t mach64vt_device = {
.name = "ATI Mach64VT",
.internal_name = "mach64vt",