src/emu/video/pc_vga.c
| r14476 | r14477 | |
| 932 | 932 | return res; |
| 933 | 933 | } |
| 934 | 934 | |
| 935 | | #if 0 |
| 936 | 935 | static UINT8 crtc_reg_read(UINT8 index) |
| 937 | 936 | { |
| 938 | 937 | UINT8 res; |
| r14476 | r14477 | |
| 988 | 987 | res |= (vga.crtc.vert_blank_start & 0x200) >> 4; |
| 989 | 988 | break; |
| 990 | 989 | case 0x0a: |
| 991 | | res = (vga.crtc.cursor_scan_start & 0x1f; |
| 990 | res = (vga.crtc.cursor_scan_start & 0x1f); |
| 992 | 991 | res |= ((vga.crtc.cursor_enable & 1) ^ 1) << 5; |
| 993 | 992 | break; |
| 994 | 993 | case 0x0b: |
| r14476 | r14477 | |
| 1042 | 1041 | break; |
| 1043 | 1042 | default: |
| 1044 | 1043 | printf("Unhandled CRTC reg r %02x\n",index); |
| 1044 | break; |
| 1045 | 1045 | } |
| 1046 | 1046 | |
| 1047 | 1047 | return res; |
| 1048 | 1048 | } |
| 1049 | | #endif |
| 1050 | 1049 | |
| 1051 | 1050 | static void recompute_params_clock(running_machine &machine, int divisor, int xtal) |
| 1052 | 1051 | { |
| r14476 | r14477 | |
| 1076 | 1075 | static void recompute_params(running_machine &machine) |
| 1077 | 1076 | { |
| 1078 | 1077 | recompute_params_clock(machine, 1, (vga.miscellaneous_output & 0xc) ? XTAL_28_63636MHz : XTAL_25_1748MHz); |
| 1078 | if(vga.miscellaneous_output & 8) |
| 1079 | logerror("Warning: VGA external clock latch selected\n"); |
| 1079 | 1080 | } |
| 1080 | 1081 | |
| 1081 | 1082 | static void crtc_reg_write(running_machine &machine, UINT8 index, UINT8 data) |
| r14476 | r14477 | |
| 1254 | 1255 | data = vga.crtc.index; |
| 1255 | 1256 | break; |
| 1256 | 1257 | case 5: |
| 1257 | | if (vga.crtc.index < vga.svga_intf.crtc_regcount) |
| 1258 | | data = vga.crtc.data[vga.crtc.index]; |
| 1258 | data = crtc_reg_read(vga.crtc.index); |
| 1259 | 1259 | break; |
| 1260 | 1260 | case 0xa: |
| 1261 | 1261 | UINT8 hsync,vsync; |
| r14476 | r14477 | |
| 1994 | 1994 | |
| 1995 | 1995 | res = 0; |
| 1996 | 1996 | if(index <= 0x18) |
| 1997 | | res = vga.crtc.data[index]; |
| 1997 | res = crtc_reg_read(index); |
| 1998 | 1998 | else |
| 1999 | 1999 | { |
| 2000 | 2000 | switch(index) |
| r14476 | r14477 | |
| 2015 | 2015 | return res; |
| 2016 | 2016 | } |
| 2017 | 2017 | |
| 2018 | | |
| 2019 | 2018 | static void tseng_crtc_reg_write(running_machine &machine, UINT8 index, UINT8 data) |
| 2020 | 2019 | { |
| 2021 | 2020 | if(index <= 0x18) |
| r14476 | r14477 | |
| 2079 | 2078 | } |
| 2080 | 2079 | } |
| 2081 | 2080 | |
| 2081 | READ8_HANDLER(tseng_et4k_03b0_r) |
| 2082 | { |
| 2083 | UINT8 res = 0xff; |
| 2084 | |
| 2085 | if (CRTC_PORT_ADDR == 0x3b0) |
| 2086 | { |
| 2087 | switch(offset) |
| 2088 | { |
| 2089 | case 5: |
| 2090 | res = tseng_crtc_reg_read(space->machine(),vga.crtc.index); |
| 2091 | break; |
| 2092 | case 8: |
| 2093 | res = et4k.reg_3d8; |
| 2094 | break; |
| 2095 | default: |
| 2096 | res = vga_port_03b0_r(space,offset); |
| 2097 | break; |
| 2098 | } |
| 2099 | } |
| 2100 | |
| 2101 | return res; |
| 2102 | } |
| 2103 | |
| 2104 | WRITE8_HANDLER(tseng_et4k_03b0_w) |
| 2105 | { |
| 2106 | if (CRTC_PORT_ADDR == 0x3b0) |
| 2107 | { |
| 2108 | switch(offset) |
| 2109 | { |
| 2110 | case 5: |
| 2111 | vga.crtc.data[vga.crtc.index] = data; |
| 2112 | tseng_crtc_reg_write(space->machine(),vga.crtc.index,data); |
| 2113 | break; |
| 2114 | case 8: |
| 2115 | et4k.reg_3d8 = data; |
| 2116 | if(data == 0xa0) |
| 2117 | et4k.ext_reg_ena = true; |
| 2118 | else if(data == 0x29) |
| 2119 | et4k.ext_reg_ena = false; |
| 2120 | break; |
| 2121 | default: |
| 2122 | vga_port_03b0_w(space,offset,data); |
| 2123 | break; |
| 2124 | } |
| 2125 | } |
| 2126 | tseng_define_video_mode(space->machine()); |
| 2127 | } |
| 2128 | |
| 2129 | |
| 2082 | 2130 | READ8_HANDLER(tseng_et4k_03c0_r) |
| 2083 | 2131 | { |
| 2084 | 2132 | UINT8 res; |
| r14476 | r14477 | |
| 2399 | 2447 | |
| 2400 | 2448 | ******************************************/ |
| 2401 | 2449 | |
| 2402 | | READ8_HANDLER(s3_port_03c0_r) |
| 2403 | | { |
| 2404 | | UINT8 res; |
| 2405 | | |
| 2406 | | switch(offset) |
| 2407 | | { |
| 2408 | | default: |
| 2409 | | res = vga_port_03c0_r(space,offset); |
| 2410 | | break; |
| 2411 | | } |
| 2412 | | |
| 2413 | | return res; |
| 2414 | | } |
| 2415 | | |
| 2416 | | WRITE8_HANDLER(s3_port_03c0_w) |
| 2417 | | { |
| 2418 | | switch(offset) |
| 2419 | | { |
| 2420 | | default: |
| 2421 | | vga_port_03c0_w(space,offset,data); |
| 2422 | | break; |
| 2423 | | } |
| 2424 | | } |
| 2425 | | |
| 2426 | 2450 | static UINT8 s3_crtc_reg_read(running_machine &machine, UINT8 index) |
| 2427 | 2451 | { |
| 2428 | 2452 | UINT8 res; |
| 2429 | 2453 | |
| 2430 | 2454 | res = 0; |
| 2431 | 2455 | if(index <= 0x18) |
| 2432 | | res = vga.crtc.data[index]; |
| 2456 | res = crtc_reg_read(index); |
| 2433 | 2457 | else |
| 2434 | 2458 | { |
| 2435 | 2459 | switch(index) |
| r14476 | r14477 | |
| 2546 | 2570 | } |
| 2547 | 2571 | } |
| 2548 | 2572 | |
| 2573 | |
| 2574 | READ8_HANDLER(s3_port_03b0_r) |
| 2575 | { |
| 2576 | UINT8 res = 0xff; |
| 2577 | |
| 2578 | if (CRTC_PORT_ADDR == 0x3b0) |
| 2579 | { |
| 2580 | switch(offset) |
| 2581 | { |
| 2582 | case 5: |
| 2583 | res = s3_crtc_reg_read(space->machine(),vga.crtc.index); |
| 2584 | break; |
| 2585 | default: |
| 2586 | res = vga_port_03b0_r(space,offset); |
| 2587 | break; |
| 2588 | } |
| 2589 | } |
| 2590 | |
| 2591 | return res; |
| 2592 | } |
| 2593 | |
| 2594 | WRITE8_HANDLER(s3_port_03b0_w) |
| 2595 | { |
| 2596 | if (CRTC_PORT_ADDR == 0x3b0) |
| 2597 | { |
| 2598 | switch(offset) |
| 2599 | { |
| 2600 | case 5: |
| 2601 | vga.crtc.data[vga.crtc.index] = data; |
| 2602 | s3_crtc_reg_write(space->machine(),vga.crtc.index,data); |
| 2603 | break; |
| 2604 | default: |
| 2605 | vga_port_03b0_w(space,offset,data); |
| 2606 | break; |
| 2607 | } |
| 2608 | } |
| 2609 | } |
| 2610 | |
| 2611 | READ8_HANDLER(s3_port_03c0_r) |
| 2612 | { |
| 2613 | UINT8 res; |
| 2614 | |
| 2615 | switch(offset) |
| 2616 | { |
| 2617 | default: |
| 2618 | res = vga_port_03c0_r(space,offset); |
| 2619 | break; |
| 2620 | } |
| 2621 | |
| 2622 | return res; |
| 2623 | } |
| 2624 | |
| 2625 | WRITE8_HANDLER(s3_port_03c0_w) |
| 2626 | { |
| 2627 | switch(offset) |
| 2628 | { |
| 2629 | default: |
| 2630 | vga_port_03c0_w(space,offset,data); |
| 2631 | break; |
| 2632 | } |
| 2633 | } |
| 2634 | |
| 2549 | 2635 | READ8_HANDLER(s3_port_03d0_r) |
| 2550 | 2636 | { |
| 2551 | 2637 | UINT8 res = 0xff; |
src/mess/video/isa_vga.c
| r14476 | r14477 | |
| 1 | | /*************************************************************************** |
| 2 | | |
| 3 | | ISA VGA wrapper |
| 4 | | |
| 5 | | ***************************************************************************/ |
| 6 | | |
| 7 | | #include "emu.h" |
| 8 | | #include "isa_vga.h" |
| 9 | | #include "video/pc_vga.h" |
| 10 | | |
| 11 | | ROM_START( et4000 ) |
| 12 | | ROM_REGION(0x8000,"et4000", 0) |
| 13 | | ROM_LOAD("et4000.bin", 0x00000, 0x8000, CRC(f1e817a8) SHA1(945d405b0fb4b8f26830d495881f8587d90e5ef9) ) |
| 14 | | ROM_END |
| 15 | | |
| 16 | | //************************************************************************** |
| 17 | | // GLOBAL VARIABLES |
| 18 | | //************************************************************************** |
| 19 | | |
| 20 | | const device_type ISA8_VGA = &device_creator<isa8_vga_device>; |
| 21 | | |
| 22 | | |
| 23 | | //------------------------------------------------- |
| 24 | | // machine_config_additions - device-specific |
| 25 | | // machine configurations |
| 26 | | //------------------------------------------------- |
| 27 | | |
| 28 | | machine_config_constructor isa8_vga_device::device_mconfig_additions() const |
| 29 | | { |
| 30 | | return MACHINE_CONFIG_NAME( pcvideo_vga_isa ); |
| 31 | | } |
| 32 | | |
| 33 | | //------------------------------------------------- |
| 34 | | // rom_region - device-specific ROM region |
| 35 | | //------------------------------------------------- |
| 36 | | |
| 37 | | const rom_entry *isa8_vga_device::device_rom_region() const |
| 38 | | { |
| 39 | | return ROM_NAME( et4000 ); |
| 40 | | } |
| 41 | | |
| 42 | | //************************************************************************** |
| 43 | | // LIVE DEVICE |
| 44 | | //************************************************************************** |
| 45 | | |
| 46 | | //------------------------------------------------- |
| 47 | | // isa8_vga_device - constructor |
| 48 | | //------------------------------------------------- |
| 49 | | |
| 50 | | isa8_vga_device::isa8_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 51 | | device_t(mconfig, ISA8_VGA, "ISA8_VGA", tag, owner, clock), |
| 52 | | device_isa8_card_interface(mconfig, *this) |
| 53 | | { |
| 54 | | m_shortname = "et4000"; |
| 55 | | } |
| 56 | | |
| 57 | | //------------------------------------------------- |
| 58 | | // device_start - device-specific startup |
| 59 | | //------------------------------------------------- |
| 60 | | static READ8_HANDLER( input_port_0_r ) { return 0xff; } //return input_port_read(space->machine(), "IN0"); } |
| 61 | | |
| 62 | | void isa8_vga_device::device_start() |
| 63 | | { |
| 64 | | set_isa_device(); |
| 65 | | |
| 66 | | video_start_vga( machine() ); |
| 67 | | |
| 68 | | pc_vga_init(machine(), input_port_0_r, NULL); |
| 69 | | |
| 70 | | int i; |
| 71 | | for (i = 0; i < 0x100; i++) |
| 72 | | palette_set_color_rgb(machine(), i, 0, 0, 0); |
| 73 | | pc_video_start(machine()); |
| 74 | | |
| 75 | | m_isa->install_rom(this, 0xc0000, 0xc7fff, 0, 0, "et4000", "et4000"); |
| 76 | | |
| 77 | | m_isa->install_device(0x3b0, 0x3bf, 0, 0, FUNC(vga_port_03b0_r), FUNC(vga_port_03b0_w)); |
| 78 | | m_isa->install_device(0x3c0, 0x3cf, 0, 0, FUNC(tseng_et4k_03c0_r), FUNC(tseng_et4k_03c0_w)); |
| 79 | | m_isa->install_device(0x3d0, 0x3df, 0, 0, FUNC(tseng_et4k_03d0_r), FUNC(tseng_et4k_03d0_w)); |
| 80 | | |
| 81 | | m_isa->install_memory(0xa0000, 0xbffff, 0, 0, FUNC(tseng_mem_r), FUNC(tseng_mem_w)); |
| 82 | | } |
| 83 | | |
| 84 | | //------------------------------------------------- |
| 85 | | // device_reset - device-specific reset |
| 86 | | //------------------------------------------------- |
| 87 | | |
| 88 | | void isa8_vga_device::device_reset() |
| 89 | | { |
| 90 | | pc_vga_reset(machine()); |
| 91 | | } |
src/mess/video/isa_vga.h
| r14476 | r14477 | |
| 1 | | #pragma once |
| 2 | | |
| 3 | | #ifndef __ISA_VGA_H__ |
| 4 | | #define __ISA_VGA_H__ |
| 5 | | |
| 6 | | #include "emu.h" |
| 7 | | #include "machine/isa.h" |
| 8 | | |
| 9 | | //************************************************************************** |
| 10 | | // TYPE DEFINITIONS |
| 11 | | //************************************************************************** |
| 12 | | |
| 13 | | // ======================> isa8_vga_device |
| 14 | | |
| 15 | | class isa8_vga_device : |
| 16 | | public device_t, |
| 17 | | public device_isa8_card_interface |
| 18 | | { |
| 19 | | public: |
| 20 | | // construction/destruction |
| 21 | | isa8_vga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 22 | | |
| 23 | | // optional information overrides |
| 24 | | virtual machine_config_constructor device_mconfig_additions() const; |
| 25 | | virtual const rom_entry *device_rom_region() const; |
| 26 | | protected: |
| 27 | | // device-level overrides |
| 28 | | virtual void device_start(); |
| 29 | | virtual void device_reset(); |
| 30 | | }; |
| 31 | | |
| 32 | | |
| 33 | | // device type definition |
| 34 | | extern const device_type ISA8_VGA; |
| 35 | | |
| 36 | | #endif /* __ISA_VGA_H__ */ |
src/mess/video/isa_svga_tseng.c
| r0 | r14477 | |
| 1 | /*************************************************************************** |
| 2 | |
| 3 | ISA SVGA Tseng wrapper |
| 4 | |
| 5 | ***************************************************************************/ |
| 6 | |
| 7 | #include "emu.h" |
| 8 | #include "isa_svga_tseng.h" |
| 9 | #include "video/pc_vga.h" |
| 10 | |
| 11 | ROM_START( et4000 ) |
| 12 | ROM_REGION(0x8000,"et4000", 0) |
| 13 | ROM_LOAD("et4000.bin", 0x00000, 0x8000, CRC(f1e817a8) SHA1(945d405b0fb4b8f26830d495881f8587d90e5ef9) ) |
| 14 | ROM_END |
| 15 | |
| 16 | //************************************************************************** |
| 17 | // GLOBAL VARIABLES |
| 18 | //************************************************************************** |
| 19 | |
| 20 | const device_type ISA8_SVGA_ET4K = &device_creator<isa8_svga_et4k_device>; |
| 21 | |
| 22 | |
| 23 | //------------------------------------------------- |
| 24 | // machine_config_additions - device-specific |
| 25 | // machine configurations |
| 26 | //------------------------------------------------- |
| 27 | |
| 28 | machine_config_constructor isa8_svga_et4k_device::device_mconfig_additions() const |
| 29 | { |
| 30 | return MACHINE_CONFIG_NAME( pcvideo_vga_isa ); |
| 31 | } |
| 32 | |
| 33 | //------------------------------------------------- |
| 34 | // rom_region - device-specific ROM region |
| 35 | //------------------------------------------------- |
| 36 | |
| 37 | const rom_entry *isa8_svga_et4k_device::device_rom_region() const |
| 38 | { |
| 39 | return ROM_NAME( et4000 ); |
| 40 | } |
| 41 | |
| 42 | //************************************************************************** |
| 43 | // LIVE DEVICE |
| 44 | //************************************************************************** |
| 45 | |
| 46 | //------------------------------------------------- |
| 47 | // isa8_vga_device - constructor |
| 48 | //------------------------------------------------- |
| 49 | |
| 50 | isa8_svga_et4k_device::isa8_svga_et4k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 51 | device_t(mconfig, ISA8_SVGA_ET4K, "ISA8_SVGA_ET4K", tag, owner, clock), |
| 52 | device_isa8_card_interface(mconfig, *this) |
| 53 | { |
| 54 | m_shortname = "et4000"; |
| 55 | } |
| 56 | |
| 57 | //------------------------------------------------- |
| 58 | // device_start - device-specific startup |
| 59 | //------------------------------------------------- |
| 60 | static READ8_HANDLER( input_port_0_r ) { return 0xff; } //return input_port_read(space->machine(), "IN0"); } |
| 61 | |
| 62 | void isa8_svga_et4k_device::device_start() |
| 63 | { |
| 64 | set_isa_device(); |
| 65 | |
| 66 | video_start_vga( machine() ); |
| 67 | |
| 68 | pc_vga_init(machine(), input_port_0_r, NULL); |
| 69 | |
| 70 | int i; |
| 71 | for (i = 0; i < 0x100; i++) |
| 72 | palette_set_color_rgb(machine(), i, 0, 0, 0); |
| 73 | pc_video_start(machine()); |
| 74 | |
| 75 | m_isa->install_rom(this, 0xc0000, 0xc7fff, 0, 0, "et4000", "et4000"); |
| 76 | |
| 77 | m_isa->install_device(0x3b0, 0x3bf, 0, 0, FUNC(tseng_et4k_03b0_r), FUNC(tseng_et4k_03b0_w)); |
| 78 | m_isa->install_device(0x3c0, 0x3cf, 0, 0, FUNC(tseng_et4k_03c0_r), FUNC(tseng_et4k_03c0_w)); |
| 79 | m_isa->install_device(0x3d0, 0x3df, 0, 0, FUNC(tseng_et4k_03d0_r), FUNC(tseng_et4k_03d0_w)); |
| 80 | |
| 81 | m_isa->install_memory(0xa0000, 0xbffff, 0, 0, FUNC(tseng_mem_r), FUNC(tseng_mem_w)); |
| 82 | } |
| 83 | |
| 84 | //------------------------------------------------- |
| 85 | // device_reset - device-specific reset |
| 86 | //------------------------------------------------- |
| 87 | |
| 88 | void isa8_svga_et4k_device::device_reset() |
| 89 | { |
| 90 | pc_vga_reset(machine()); |
| 91 | } |
src/mess/video/isa_svga_tseng.h
| r0 | r14477 | |
| 1 | #pragma once |
| 2 | |
| 3 | #ifndef __ISA_SVGA_ET4K_H__ |
| 4 | #define __ISA_SVGA_ET4K_H__ |
| 5 | |
| 6 | #include "emu.h" |
| 7 | #include "machine/isa.h" |
| 8 | |
| 9 | //************************************************************************** |
| 10 | // TYPE DEFINITIONS |
| 11 | //************************************************************************** |
| 12 | |
| 13 | // ======================> isa8_vga_device |
| 14 | |
| 15 | class isa8_svga_et4k_device : |
| 16 | public device_t, |
| 17 | public device_isa8_card_interface |
| 18 | { |
| 19 | public: |
| 20 | // construction/destruction |
| 21 | isa8_svga_et4k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 22 | |
| 23 | // optional information overrides |
| 24 | virtual machine_config_constructor device_mconfig_additions() const; |
| 25 | virtual const rom_entry *device_rom_region() const; |
| 26 | protected: |
| 27 | // device-level overrides |
| 28 | virtual void device_start(); |
| 29 | virtual void device_reset(); |
| 30 | }; |
| 31 | |
| 32 | |
| 33 | // device type definition |
| 34 | extern const device_type ISA8_SVGA_ET4K; |
| 35 | |
| 36 | #endif /* __ISA_SVGA_ET4K_H__ */ |
src/mess/video/isa_svga_s3.c
| r14476 | r14477 | |
| 75 | 75 | |
| 76 | 76 | m_isa->install_rom(this, 0xc0000, 0xc7fff, 0, 0, "svga", "s3_764"); |
| 77 | 77 | |
| 78 | | m_isa->install_device(0x03b0, 0x03bf, 0, 0, FUNC(vga_port_03b0_r), FUNC(vga_port_03b0_w)); |
| 78 | m_isa->install_device(0x03b0, 0x03bf, 0, 0, FUNC(s3_port_03b0_r), FUNC(s3_port_03b0_w)); |
| 79 | 79 | m_isa->install_device(0x03c0, 0x03cf, 0, 0, FUNC(s3_port_03c0_r), FUNC(s3_port_03c0_w)); |
| 80 | 80 | m_isa->install_device(0x03d0, 0x03df, 0, 0, FUNC(s3_port_03d0_r), FUNC(s3_port_03d0_w)); |
| 81 | 81 | m_isa->install_device(0x9ae8, 0x9aeb, 0, 0, FUNC(s3_port_9ae8_r), FUNC(s3_port_9ae8_w)); |
src/mess/drivers/genpc.c
| r14476 | r14477 | |
| 17 | 17 | #include "video/pc_cga.h" |
| 18 | 18 | #include "video/isa_ega.h" |
| 19 | 19 | #include "video/isa_mda.h" |
| 20 | | #include "video/isa_vga.h" |
| 20 | #include "video/isa_svga_tseng.h" |
| 21 | 21 | #include "video/isa_svga_s3.h" |
| 22 | 22 | |
| 23 | 23 | #include "machine/ram.h" |
| r14476 | r14477 | |
| 110 | 110 | static SLOT_INTERFACE_START(pc_isa8_cards) |
| 111 | 111 | SLOT_INTERFACE("mda", ISA8_MDA) |
| 112 | 112 | SLOT_INTERFACE("ega", ISA8_EGA) |
| 113 | | SLOT_INTERFACE("vga", ISA8_VGA) |
| 114 | | SLOT_INTERFACE("svga",ISA8_SVGA_S3) |
| 113 | SLOT_INTERFACE("svga_et4k", ISA8_SVGA_ET4K) |
| 114 | SLOT_INTERFACE("svga_s3",ISA8_SVGA_S3) |
| 115 | 115 | SLOT_INTERFACE("com", ISA8_COM) |
| 116 | 116 | SLOT_INTERFACE("fdc", ISA8_FDC) |
| 117 | 117 | SLOT_INTERFACE("finalchs", ISA8_FINALCHS) |
| r14476 | r14477 | |
| 254 | 254 | MCFG_ISA8_SLOT_ADD("mb:isa","isa2", pc_isa8_cards, "fdc", NULL) |
| 255 | 255 | MCFG_ISA8_SLOT_ADD("mb:isa","isa3", pc_isa8_cards, "hdc", NULL) |
| 256 | 256 | MCFG_ISA8_SLOT_ADD("mb:isa","isa4", pc_isa8_cards, "sblaster1_0", NULL) |
| 257 | | MCFG_ISA8_SLOT_ADD("mb:isa","isa5", pc_isa8_cards, "vga", NULL) |
| 257 | MCFG_ISA8_SLOT_ADD("mb:isa","isa5", pc_isa8_cards, "svga_et4k", NULL) |
| 258 | 258 | MCFG_ISA8_SLOT_ADD("mb:isa","isa6", pc_isa8_cards, NULL, NULL) |
| 259 | 259 | |
| 260 | 260 | /* video hardware */ |
src/mess/drivers/at.c
| r14476 | r14477 | |
| 363 | 363 | SLOT_INTERFACE("mda", ISA8_MDA) |
| 364 | 364 | SLOT_INTERFACE("cga", ISA8_CGA) |
| 365 | 365 | SLOT_INTERFACE("ega", ISA8_EGA) |
| 366 | | SLOT_INTERFACE("vga", ISA8_VGA) |
| 366 | SLOT_INTERFACE("svga_et4k", ISA8_SVGA_ET4K) |
| 367 | 367 | SLOT_INTERFACE("svga_s3",ISA8_SVGA_S3) |
| 368 | 368 | SLOT_INTERFACE("svga_dm",ISA8_SVGA_CIRRUS) |
| 369 | 369 | SLOT_INTERFACE("com", ISA8_COM) |
| r14476 | r14477 | |
| 485 | 485 | MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "fdc", NULL) |
| 486 | 486 | MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL) |
| 487 | 487 | MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, "comat", NULL) |
| 488 | | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "vga", NULL) |
| 488 | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "svga_et4k", NULL) |
| 489 | 489 | |
| 490 | 490 | /* internal ram */ |
| 491 | 491 | MCFG_RAM_ADD(RAM_TAG) |
| r14476 | r14477 | |
| 530 | 530 | MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL) |
| 531 | 531 | MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, "comat", NULL) |
| 532 | 532 | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "ne2000", NULL) |
| 533 | | MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, "vga", NULL) |
| 533 | MCFG_ISA16_SLOT_ADD("isabus","isa5", pc_isa16_cards, "svga_et4k", NULL) |
| 534 | 534 | |
| 535 | 535 | /* internal ram */ |
| 536 | 536 | MCFG_RAM_ADD(RAM_TAG) |
| r14476 | r14477 | |
| 550 | 550 | MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "fdc", NULL) |
| 551 | 551 | MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, "ide", NULL) |
| 552 | 552 | MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, "comat", NULL) |
| 553 | | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "vga", NULL) |
| 553 | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, "svga_et4k", NULL) |
| 554 | 554 | |
| 555 | 555 | /* internal ram */ |
| 556 | 556 | MCFG_RAM_ADD(RAM_TAG) |
| r14476 | r14477 | |
| 570 | 570 | MCFG_ISA_ONBOARD_ADD("isabus", "com", ISA8_COM_AT, NULL) |
| 571 | 571 | MCFG_ISA_ONBOARD_ADD("isabus", "ide", ISA16_IDE, NULL) |
| 572 | 572 | MCFG_ISA_ONBOARD_ADD("isabus", "lpt", ISA8_LPT, NULL) |
| 573 | | MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "vga", NULL) |
| 573 | MCFG_ISA16_SLOT_ADD("isabus","isa1", pc_isa16_cards, "svga_et4k", NULL) |
| 574 | 574 | MCFG_ISA16_SLOT_ADD("isabus","isa2", pc_isa16_cards, NULL, NULL) |
| 575 | 575 | MCFG_ISA16_SLOT_ADD("isabus","isa3", pc_isa16_cards, NULL, NULL) |
| 576 | 576 | MCFG_ISA16_SLOT_ADD("isabus","isa4", pc_isa16_cards, NULL, NULL) |
src/mess/drivers/ibmpc.c
| r14476 | r14477 | |
| 268 | 268 | #include "video/isa_cga.h" |
| 269 | 269 | #include "video/isa_ega.h" |
| 270 | 270 | #include "video/isa_mda.h" |
| 271 | | #include "video/isa_vga.h" |
| 271 | #include "video/isa_svga_tseng.h" |
| 272 | 272 | #include "machine/ne1000.h" |
| 273 | 273 | #include "machine/isa_mpu401.h" |
| 274 | 274 | #include "machine/isa_ibm_mfc.h" |
| r14476 | r14477 | |
| 331 | 331 | SLOT_INTERFACE("ega", ISA8_EGA) |
| 332 | 332 | SLOT_INTERFACE("mda", ISA8_MDA) |
| 333 | 333 | SLOT_INTERFACE("hercules", ISA8_HERCULES) |
| 334 | | SLOT_INTERFACE("vga", ISA8_VGA) |
| 334 | SLOT_INTERFACE("svga_et4k", ISA8_SVGA_ET4K) |
| 335 | 335 | SLOT_INTERFACE("com", ISA8_COM) |
| 336 | 336 | SLOT_INTERFACE("fdc", ISA8_FDC) |
| 337 | 337 | SLOT_INTERFACE("finalchs", ISA8_FINALCHS) |