mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
Cleanups and version bump
This commit is contained in:
parent
c4e9058ee2
commit
5d7e1fcc62
@ -4,7 +4,7 @@
|
||||
|
||||
license: BSD-3-Clause
|
||||
copyright-holders: R. Belmont
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
@ -203,4 +203,3 @@ void device_a1bus_card_interface::install_bank(offs_t start, offs_t end, offs_t
|
||||
{
|
||||
m_a1bus->install_bank(start, end, mask, mirror, tag, data);
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
a1cassette.c
|
||||
|
||||
Apple I Cassette Interface
|
||||
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#include "a1cassette.h"
|
||||
@ -196,4 +196,3 @@ WRITE8_MEMBER(a1bus_cassette_device::cassette_w)
|
||||
|
||||
cassette_toggle_output();
|
||||
}
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
a1cffa.c
|
||||
|
||||
Rich Dreher's Compact Flash for Apple I
|
||||
|
||||
Rich Dreher's Compact Flash for Apple I
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#include "a1cffa.h"
|
||||
@ -153,4 +153,3 @@ WRITE8_MEMBER(a1bus_cffa_device::cffa_w)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
const device_type A2BUS_DISKIING = &device_creator<a2bus_diskiing_device>;
|
||||
|
||||
#define WOZFDC_TAG "wozfdc"
|
||||
#define WOZFDC_TAG "wozfdc"
|
||||
#define DISKII_ROM_REGION "diskii_rom"
|
||||
|
||||
static SLOT_INTERFACE_START( a2_floppies )
|
||||
@ -120,4 +120,3 @@ UINT8 a2bus_diskiing_device::read_cnxx(address_space &space, UINT8 offset)
|
||||
{
|
||||
return m_rom[offset];
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
a2dx1.c
|
||||
|
||||
Implementation of the Decillionix DX-1 sampler card
|
||||
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#include "a2dx1.h"
|
||||
@ -84,13 +84,13 @@ UINT8 a2bus_dx1_device::read_c0nx(address_space &space, UINT8 offset)
|
||||
{
|
||||
switch (offset)
|
||||
{
|
||||
case 1: // ADC input
|
||||
case 1: // ADC input
|
||||
return 0;
|
||||
|
||||
case 3: // busy flag
|
||||
return 0x80; // indicate not busy
|
||||
return 0x80; // indicate not busy
|
||||
|
||||
case 7: // 1-bit ADC input (bit 7 of c0n1, probably)
|
||||
case 7: // 1-bit ADC input (bit 7 of c0n1, probably)
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -101,7 +101,7 @@ void a2bus_dx1_device::write_c0nx(address_space &space, UINT8 offset, UINT8 data
|
||||
{
|
||||
switch (offset)
|
||||
{
|
||||
case 5: // volume
|
||||
case 5: // volume
|
||||
m_volume = data;
|
||||
m_dac->write_unsigned16(data*m_lastdac);
|
||||
break;
|
||||
|
@ -7,7 +7,7 @@
|
||||
Implementation of the Mountain Computer Music System.
|
||||
This was sold standalone and also used as part of the alphaSyntauri
|
||||
and SoundChaser systems.
|
||||
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#include "a2mcms.h"
|
||||
@ -35,7 +35,7 @@ const device_type MCMS = &device_creator<mcms_device>;
|
||||
const device_type A2BUS_MCMS1 = &device_creator<a2bus_mcms1_device>;
|
||||
const device_type A2BUS_MCMS2 = &device_creator<a2bus_mcms2_device>;
|
||||
|
||||
#define ENGINE_TAG "engine"
|
||||
#define ENGINE_TAG "engine"
|
||||
|
||||
#define MCFG_MCMS_IRQ_CALLBACK(_cb) \
|
||||
devcb = &mcms_device::set_irq_cb(*device, DEVCB_##_cb);
|
||||
@ -109,7 +109,7 @@ UINT8 a2bus_mcms1_device::read_c0nx(address_space &space, UINT8 offset)
|
||||
m_mcms->control_w(space, CTRL_IRQS, 1);
|
||||
}
|
||||
|
||||
return 0xff;
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
// read at Cn00: light gun in bit 7, bits 0-5 = 'random' number
|
||||
@ -130,7 +130,7 @@ void a2bus_mcms1_device::write_cnxx(address_space &space, UINT8 offset, UINT8 da
|
||||
mcms_device *a2bus_mcms1_device::get_engine(void)
|
||||
{
|
||||
return m_mcms;
|
||||
}
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(a2bus_mcms1_device::irq_w)
|
||||
{
|
||||
@ -208,7 +208,7 @@ void a2bus_mcms2_device::write_cnxx(address_space &space, UINT8 offset, UINT8 da
|
||||
|
||||
|
||||
/*
|
||||
Sound device implementation
|
||||
Sound device implementation
|
||||
*/
|
||||
|
||||
mcms_device::mcms_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
@ -257,13 +257,13 @@ void mcms_device::device_timer(emu_timer &timer, device_timer_id tid, int param,
|
||||
{
|
||||
if (tid == 0)
|
||||
{
|
||||
m_write_irq(ASSERT_LINE);
|
||||
m_write_irq(ASSERT_LINE);
|
||||
// clear this IRQ in 10 cycles (?)
|
||||
m_clrtimer->adjust(attotime::from_usec(10), 0);
|
||||
}
|
||||
else if (tid == 1)
|
||||
{
|
||||
m_write_irq(CLEAR_LINE);
|
||||
m_write_irq(CLEAR_LINE);
|
||||
}
|
||||
}
|
||||
|
||||
@ -307,7 +307,7 @@ void mcms_device::sound_stream_update(sound_stream &stream, stream_sample_t **in
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < samples; i++)
|
||||
for (i = 0; i < samples; i++)
|
||||
{
|
||||
outL[i] = outR[i] = 0;
|
||||
}
|
||||
@ -319,18 +319,18 @@ WRITE8_MEMBER(mcms_device::voiceregs_w)
|
||||
m_stream->update();
|
||||
if (offset >= 0x20)
|
||||
{
|
||||
if (offset & 1) // amp
|
||||
if (offset & 1) // amp
|
||||
{
|
||||
m_vols[(offset-0x21)/2] = data;
|
||||
}
|
||||
else // wavetable page
|
||||
else // wavetable page
|
||||
{
|
||||
m_table[(offset-0x20)/2] = data;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (offset & 1) // freq L
|
||||
if (offset & 1) // freq L
|
||||
{
|
||||
if (offset == 0x1f)
|
||||
{
|
||||
@ -344,7 +344,7 @@ WRITE8_MEMBER(mcms_device::voiceregs_w)
|
||||
m_freq[reg] |= data;
|
||||
}
|
||||
}
|
||||
else // freq H
|
||||
else // freq H
|
||||
{
|
||||
int reg = (offset/2);
|
||||
m_freq[reg] &= 0x00ff;
|
||||
@ -369,12 +369,12 @@ WRITE8_MEMBER(mcms_device::control_w)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_timer->adjust(attotime::zero, 0, attotime::from_hz(125));
|
||||
m_timer->adjust(attotime::zero, 0, attotime::from_hz(125));
|
||||
}
|
||||
break;
|
||||
|
||||
case CTRL_DMA:
|
||||
m_enabled = (data == 0) ? false : true;
|
||||
m_enabled = (data == 0) ? false : true;
|
||||
break;
|
||||
|
||||
case CTRL_MASTERVOL:
|
||||
@ -382,4 +382,3 @@ WRITE8_MEMBER(mcms_device::control_w)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
Commodore A2052
|
||||
Commodore A2052
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
Zorro-II RAM Expansion (0.5, 1 or 2 MB)
|
||||
Zorro-II RAM Expansion (0.5, 1 or 2 MB)
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
Commodore A2232
|
||||
Commodore A2232
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
Zorro-II Serial Card
|
||||
Zorro-II Serial Card
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
Commodore A590 / A2091
|
||||
Commodore A590 / A2091
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
DMAC based HD controller for the Amiga 500 and Zorro-II
|
||||
DMAC based HD controller for the Amiga 500 and Zorro-II
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
/***************************************************************************
|
||||
|
||||
Datel Action Replay
|
||||
Datel Action Replay
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
Freezer cartridge for Amiga 500 and Amiga 2000
|
||||
Freezer cartridge for Amiga 500 and Amiga 2000
|
||||
|
||||
Skeleton device, just loads the ROMs and generates the NMI
|
||||
for now.
|
||||
Skeleton device, just loads the ROMs and generates the NMI
|
||||
for now.
|
||||
|
||||
Hardware notes:
|
||||
- http://www.mways.co.uk/amiga/howtocode/text/actionreplay.php
|
||||
Hardware notes:
|
||||
- http://www.mways.co.uk/amiga/howtocode/text/actionreplay.php
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
Buddha
|
||||
Buddha
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
Zorro-II IDE controller
|
||||
Zorro-II IDE controller
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***************************************************************************
|
||||
|
||||
Amiga Zorro Cards
|
||||
Amiga Zorro Cards
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
Amiga Zorro Slots
|
||||
Amiga Zorro Slots
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
86-pin Expansion Slot (Zorro-I), Zorro-II, Zorro-III
|
||||
86-pin Expansion Slot (Zorro-I), Zorro-II, Zorro-III
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -150,7 +150,7 @@ static MACHINE_CONFIG_FRAGMENT( c64_ieee488 )
|
||||
MCFG_TPI6525_OUT_PB_CB(DEVWRITE8(IEEE488_TAG, ieee488_device, dio_w))
|
||||
MCFG_TPI6525_IN_PC_CB(READ8(c64_ieee488_device, tpi_pc_r))
|
||||
MCFG_TPI6525_OUT_PC_CB(WRITE8(c64_ieee488_device, tpi_pc_w))
|
||||
|
||||
|
||||
MCFG_CBM_IEEE488_ADD(NULL)
|
||||
MCFG_C64_PASSTHRU_EXPANSION_SLOT_ADD()
|
||||
MACHINE_CONFIG_END
|
||||
|
@ -84,25 +84,25 @@ const rom_entry *c64_xl80_device::device_rom_region() const
|
||||
MC6845_UPDATE_ROW( c64_xl80_device::crtc_update_row )
|
||||
{
|
||||
const pen_t *pen = m_palette->pens();
|
||||
|
||||
|
||||
for (int column = 0; column < x_count; column++)
|
||||
{
|
||||
UINT8 code = m_ram[((ma + column) & 0x7ff)];
|
||||
UINT16 addr = (code << 3) | (ra & 0x07);
|
||||
UINT8 data = m_char_rom->base()[addr & 0x7ff];
|
||||
|
||||
|
||||
if (column == cursor_x)
|
||||
{
|
||||
data = 0xff;
|
||||
}
|
||||
|
||||
|
||||
for (int bit = 0; bit < 8; bit++)
|
||||
{
|
||||
int x = (column * 8) + bit;
|
||||
int color = BIT(data, 7) && de;
|
||||
|
||||
|
||||
bitmap.pix32(vbp + y, hbp + x) = pen[color];
|
||||
|
||||
|
||||
data <<= 1;
|
||||
}
|
||||
}
|
||||
|
@ -107,18 +107,18 @@ MC6845_UPDATE_ROW( comx_clm_device::crtc_update_row )
|
||||
UINT8 code = m_video_ram[((ma + column) & 0x7ff)];
|
||||
UINT16 addr = (code << 3) | (ra & 0x07);
|
||||
UINT8 data = m_char_rom->base()[addr & 0x7ff];
|
||||
|
||||
|
||||
if (BIT(ra, 3) && column == cursor_x)
|
||||
{
|
||||
data = 0xff;
|
||||
}
|
||||
|
||||
|
||||
for (int bit = 0; bit < 8; bit++)
|
||||
{
|
||||
int x = (column * 8) + bit;
|
||||
|
||||
|
||||
bitmap.pix32(vbp + y, hbp + x) = m_palette->pen(BIT(data, 7) && de);
|
||||
|
||||
|
||||
data <<= 1;
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ const device_type CPC_PDS = &device_creator<cpc_pds_device>;
|
||||
|
||||
|
||||
static MACHINE_CONFIG_FRAGMENT( cpc_pds )
|
||||
MCFG_DEVICE_ADD("pio", Z80PIO, XTAL_4MHz) // no clock on the PCB, so will presume that it uses the CPC's clock
|
||||
MCFG_DEVICE_ADD("pio", Z80PIO, XTAL_4MHz) // no clock on the PCB, so will presume that it uses the CPC's clock
|
||||
|
||||
// no pass-through seen on remake PCBs, unknown if actual hardware had a pass-through port or not
|
||||
MACHINE_CONFIG_END
|
||||
|
@ -33,7 +33,7 @@ static MACHINE_CONFIG_FRAGMENT( cpc_rs232 )
|
||||
MCFG_RS232_RXD_HANDLER(DEVWRITELINE("dart",z80dart_device,rxa_w))
|
||||
MCFG_RS232_DCD_HANDLER(DEVWRITELINE("dart",z80dart_device,dcda_w))
|
||||
MCFG_RS232_CTS_HANDLER(DEVWRITELINE("dart",z80dart_device,ctsa_w))
|
||||
// MCFG_RS232_RI_HANDLER(DEVWRITELINE("dart",z80dart_device,ria_w))
|
||||
// MCFG_RS232_RI_HANDLER(DEVWRITELINE("dart",z80dart_device,ria_w))
|
||||
|
||||
// pass-through
|
||||
MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0)
|
||||
|
@ -232,12 +232,12 @@ MC6845_UPDATE_ROW( grip_device::crtc_update_row )
|
||||
{
|
||||
UINT16 address = (m_page << 12) | (((ma + column) & 0xfff) << 3) | (ra & 0x07);
|
||||
UINT8 data = m_video_ram[address];
|
||||
|
||||
|
||||
for (int bit = 0; bit < 8; bit++)
|
||||
{
|
||||
int x = (column * 8) + bit;
|
||||
int color = (m_flash ? 0 : BIT(data, bit)) && de;
|
||||
|
||||
|
||||
bitmap.pix32(vbp + y, hbp + x) = m_palette->pen(color);
|
||||
}
|
||||
}
|
||||
|
@ -543,14 +543,14 @@ int base_gb_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
|
||||
|
||||
if (count == 4876)
|
||||
{
|
||||
// printf("Li Cheng %d\n", count);
|
||||
// printf("Li Cheng %d\n", count);
|
||||
type = GB_MBC_LICHENG;
|
||||
}
|
||||
if (count == 4138 || count == 4125)
|
||||
{
|
||||
// Zhi Huan Wang uses 4138
|
||||
// most sintax use 4125
|
||||
// printf("Sintax %d!\n", count);
|
||||
// printf("Sintax %d!\n", count);
|
||||
type = GB_MBC_SINTAX;
|
||||
}
|
||||
}
|
||||
|
@ -306,7 +306,7 @@ machine_config_constructor isa8_aga_device::device_mconfig_additions() const
|
||||
*************************************/
|
||||
|
||||
/* colors need fixing in the mda_text_* functions ! */
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::mda_text_inten_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::mda_text_inten_update_row )
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
UINT8 *videoram = m_videoram;
|
||||
@ -367,7 +367,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::mda_text_inten_update_row )
|
||||
}
|
||||
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::mda_text_blink_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::mda_text_blink_update_row )
|
||||
{
|
||||
UINT8 *videoram = m_videoram;
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
@ -429,7 +429,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::mda_text_blink_update_row )
|
||||
}
|
||||
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_update_row )
|
||||
{
|
||||
UINT8 *videoram = m_videoram;
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
@ -460,7 +460,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_alt_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_alt_update_row )
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
UINT8 *videoram = m_videoram;
|
||||
@ -490,7 +490,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_text_inten_alt_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_update_row )
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
UINT8 *videoram = m_videoram;
|
||||
@ -524,7 +524,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_alt_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_alt_update_row )
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
UINT8 *videoram = m_videoram;
|
||||
@ -560,7 +560,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_text_blink_alt_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bppl_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bppl_update_row )
|
||||
{
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
UINT8 *videoram = m_videoram;
|
||||
@ -586,7 +586,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bppl_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bpph_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bpph_update_row )
|
||||
{
|
||||
UINT8 *videoram = m_videoram;
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
@ -620,7 +620,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_4bpph_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_2bpp_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_2bpp_update_row )
|
||||
{
|
||||
UINT8 *videoram = m_videoram;
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
@ -646,7 +646,7 @@ MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_2bpp_update_row )
|
||||
}
|
||||
}
|
||||
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_1bpp_update_row )
|
||||
MC6845_UPDATE_ROW( isa8_aga_device::cga_gfx_1bpp_update_row )
|
||||
{
|
||||
UINT8 *videoram = m_videoram;
|
||||
const rgb_t *palette = m_palette->palette()->entry_list_raw();
|
||||
@ -723,7 +723,7 @@ WRITE8_MEMBER ( isa8_aga_device::pc_aga_mda_w )
|
||||
case 8:
|
||||
m_mda_mode_control = data;
|
||||
|
||||
switch (m_mda_mode_control & 0x2a)
|
||||
switch (m_mda_mode_control & 0x2a)
|
||||
{
|
||||
case 0x08:
|
||||
m_update_row_type = MDA_TEXT_INTEN;
|
||||
@ -807,7 +807,7 @@ WRITE8_MEMBER (isa8_aga_device:: pc_aga_cga_w )
|
||||
break;
|
||||
case 8:
|
||||
m_cga_mode_control = data;
|
||||
|
||||
|
||||
//logerror("mode set to %02X\n", m_cga_mode_control & 0x3F );
|
||||
switch ( m_cga_mode_control & 0x3F ) {
|
||||
case 0x08: case 0x09: case 0x0C: case 0x0D:
|
||||
|
@ -180,7 +180,7 @@ MC6845_UPDATE_ROW( isa8_cga_device::crtc_update_row )
|
||||
{
|
||||
if (m_update_row_type == -1)
|
||||
return;
|
||||
|
||||
|
||||
switch (m_update_row_type)
|
||||
{
|
||||
case CGA_TEXT_INTEN:
|
||||
@ -221,7 +221,7 @@ MC6845_UPDATE_ROW( isa8_cga_pc1512_device::crtc_update_row )
|
||||
{
|
||||
if (m_update_row_type == -1)
|
||||
return;
|
||||
|
||||
|
||||
switch (m_update_row_type)
|
||||
{
|
||||
case PC1512_GFX_4BPP:
|
||||
|
@ -34,13 +34,13 @@ mach32_8514a_device::mach32_8514a_device(const machine_config &mconfig, device_t
|
||||
// SVGA device
|
||||
mach32_device::mach32_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: ati_vga_device(mconfig, ATIMACH32, "ATi mach32", tag, owner, clock, "mach32", __FILE__),
|
||||
m_8514a(*this,"8514a")
|
||||
m_8514a(*this,"8514a")
|
||||
{
|
||||
}
|
||||
|
||||
mach32_device::mach32_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||
: ati_vga_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_8514a(*this,"8514a")
|
||||
m_8514a(*this,"8514a")
|
||||
{
|
||||
}
|
||||
|
||||
@ -98,13 +98,13 @@ mach64_8514a_device::mach64_8514a_device(const machine_config &mconfig, device_t
|
||||
// SVGA device
|
||||
mach64_device::mach64_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: mach32_device(mconfig, ATIMACH64, "ATi mach64", tag, owner, clock, "mach64", __FILE__),
|
||||
m_8514a(*this,"8514a")
|
||||
m_8514a(*this,"8514a")
|
||||
{
|
||||
}
|
||||
|
||||
mach64_device::mach64_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||
: mach32_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_8514a(*this,"8514a")
|
||||
m_8514a(*this,"8514a")
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -362,7 +362,7 @@ MC6845_UPDATE_ROW( isa8_mda_device::crtc_update_row )
|
||||
{
|
||||
if (m_update_row_type == -1)
|
||||
return;
|
||||
|
||||
|
||||
switch (m_update_row_type)
|
||||
{
|
||||
case MDA_TEXT_INTEN:
|
||||
@ -379,7 +379,7 @@ MC6845_UPDATE_ROW( isa8_hercules_device::crtc_update_row )
|
||||
{
|
||||
if (m_update_row_type == -1)
|
||||
return;
|
||||
|
||||
|
||||
switch (m_update_row_type)
|
||||
{
|
||||
case HERCULES_GFX_BLINK:
|
||||
|
@ -229,7 +229,7 @@ FLOPPY_FORMATS_END
|
||||
// and a PC BIOS to make the card bootable on a PC.
|
||||
// we have the Z8 program, we still need the PC BIOS.
|
||||
ROM_START( omti8621 )
|
||||
ROM_REGION(0x4000, OMTI_CPU_REGION, 0) // disassembles fine as Z8 code
|
||||
ROM_REGION(0x4000, OMTI_CPU_REGION, 0) // disassembles fine as Z8 code
|
||||
ROM_LOAD( "omti_8621_102640-b.bin", 0x000000, 0x004000, CRC(e6f20dbb) SHA1(cf1990ad72eac6b296485410f5fa3309a0d6d078) )
|
||||
|
||||
ROM_REGION(0x1000, OMTI_BIOS_REGION, 0)
|
||||
@ -875,7 +875,7 @@ void omti8621_device::do_command(const UINT8 cdb[], const UINT16 cdb_length)
|
||||
set_data_transfer(disk->m_esdi_defect_list, sizeof(disk->m_esdi_defect_list));
|
||||
break;
|
||||
|
||||
#if 0 // this command seems unused by Domain/OS, and it's unclear what the intent of the code is (it makes some versions of GCC quite unhappy)
|
||||
#if 0 // this command seems unused by Domain/OS, and it's unclear what the intent of the code is (it makes some versions of GCC quite unhappy)
|
||||
case OMTI_CMD_ASSIGN_ALTERNATE_TRACK: // 0x11
|
||||
log_data();
|
||||
alternate_track_address[0] = get_disk_track(cdb);
|
||||
@ -1212,7 +1212,7 @@ UINT32 omti8621_device::get_sector(INT32 diskaddr, UINT8 *data_buffer, UINT32 le
|
||||
}
|
||||
else
|
||||
{
|
||||
// LOG1(("omti8621_get_sector %x on lun %d", diskaddr, lun));
|
||||
// LOG1(("omti8621_get_sector %x on lun %d", diskaddr, lun));
|
||||
|
||||
// restrict length to size of 1 sector (i.e. 1024 Byte)
|
||||
length = length < OMTI_DISK_SECTOR_SIZE ? length : OMTI_DISK_SECTOR_SIZE;
|
||||
|
@ -44,7 +44,7 @@ static MACHINE_CONFIG_FRAGMENT( hdc_b942 )
|
||||
MCFG_WD2010_IN_WF_CB(VCC)
|
||||
MCFG_WD2010_IN_TK000_CB(VCC)
|
||||
MCFG_WD2010_IN_SC_CB(VCC)
|
||||
|
||||
|
||||
MCFG_HARDDISK_ADD("hard0")
|
||||
MCFG_HARDDISK_ADD("hard1")
|
||||
MACHINE_CONFIG_END
|
||||
|
@ -7,8 +7,8 @@
|
||||
* ATi Graphics Ultra Pro ISA Video card
|
||||
* - ATi 68800-3 (Mach32, combined VGA and 8514/A)
|
||||
*
|
||||
* ATi mach64 ISA Video card
|
||||
* - ATi 88800 (Mach64, combined VGA and 8514/A)
|
||||
* ATi mach64 ISA Video card
|
||||
* - ATi 88800 (Mach64, combined VGA and 8514/A)
|
||||
*
|
||||
* Created on: 9/09/2012
|
||||
*/
|
||||
|
@ -60,4 +60,3 @@ READ8_MEMBER(msx_cart_arc::io_7f_r)
|
||||
{
|
||||
return ((m_7f & 0x03) == 0x03) ? 0xda : 0xff;
|
||||
}
|
||||
|
||||
|
@ -136,7 +136,7 @@ void msx_cart_ascii16::initialize_cartridge()
|
||||
UINT32 size = get_rom_size();
|
||||
|
||||
if ( size > 256 * 0x4000 )
|
||||
{
|
||||
{
|
||||
fatalerror("ascii16: ROM is too big\n");
|
||||
}
|
||||
|
||||
@ -371,7 +371,7 @@ void msx_cart_ascii16_sram::initialize_cartridge()
|
||||
UINT32 size = get_rom_size();
|
||||
|
||||
if ( size > 128 * 0x4000 )
|
||||
{
|
||||
{
|
||||
fatalerror("ascii16_sram: ROM is too big\n");
|
||||
}
|
||||
|
||||
@ -439,4 +439,3 @@ WRITE8_MEMBER(msx_cart_ascii16_sram::write_cart)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,5 +108,3 @@ WRITE_LINE_MEMBER(msx_cart_bm_012::midi_in)
|
||||
m_mdthru->write_txd(state);
|
||||
m_tmpz84c015af->rxb_w(state);
|
||||
}
|
||||
|
||||
|
||||
|
@ -38,7 +38,7 @@ SLOT_INTERFACE_START(msx_cart)
|
||||
SLOT_INTERFACE_INTERNAL("superloderunner", MSX_CART_SUPERLODERUNNER)
|
||||
SLOT_INTERFACE_INTERNAL("synthesizer", MSX_CART_SYNTHESIZER)
|
||||
SLOT_INTERFACE_INTERNAL("cross_blaim", MSX_CART_CROSSBLAIM)
|
||||
// SLOT_INTERFACE_INTERNAL("disk_rom", MSX_CART_DISK_ROM)
|
||||
// SLOT_INTERFACE_INTERNAL("disk_rom", MSX_CART_DISK_ROM)
|
||||
SLOT_INTERFACE_INTERNAL("korean_80in1", MSX_CART_KOREAN_80IN1)
|
||||
SLOT_INTERFACE_INTERNAL("korean_90in1", MSX_CART_KOREAN_90IN1)
|
||||
SLOT_INTERFACE_INTERNAL("korean_126in1", MSX_CART_KOREAN_126IN1)
|
||||
@ -92,4 +92,3 @@ SLOT_INTERFACE_START(msx_yamaha_60pin)
|
||||
SLOT_INTERFACE("sfg01", MSX_CART_SFG01)
|
||||
SLOT_INTERFACE("sfg05", MSX_CART_SFG05)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
|
@ -78,4 +78,3 @@ WRITE8_MEMBER(msx_cart_crossblaim::write_cart)
|
||||
}
|
||||
setup_bank();
|
||||
}
|
||||
|
||||
|
@ -63,4 +63,3 @@ WRITE8_MEMBER(msx_cart_dooly::write_cart)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -169,4 +169,3 @@ WRITE8_MEMBER(msx_cart_fmpac::write_ym2413)
|
||||
m_ym2413->write(space, offset & 1, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -155,4 +155,3 @@ WRITE8_MEMBER(msx_cart_halnote::write_cart)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -75,4 +75,3 @@ WRITE8_MEMBER(msx_cart_hfox::write_cart)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -115,4 +115,3 @@ WRITE8_MEMBER(msx_cart_holy_quran::write_cart)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -712,17 +712,17 @@ WRITE8_MEMBER(msx_cart_konami_sound::write_cart)
|
||||
}
|
||||
switch (offset & 0x1800)
|
||||
{
|
||||
case 0x1000: // 0x9000-0x97ff
|
||||
case 0x1000: // 0x9000-0x97ff
|
||||
m_selected_bank[2] = data;
|
||||
m_scc_active = ( ( data & 0x3f ) == 0x3f );
|
||||
setup_bank(2);
|
||||
break;
|
||||
|
||||
case 0x1800: // 0x9800-0x9fff
|
||||
case 0x1800: // 0x9800-0x9fff
|
||||
if ( m_scc_active )
|
||||
{
|
||||
offset &= 0xff;
|
||||
|
||||
|
||||
if (offset < 0x80)
|
||||
{
|
||||
m_k052539->k051649_waveform_w(space, offset, data);
|
||||
@ -837,7 +837,7 @@ void msx_cart_konami_sound_snatcher::initialize_cartridge()
|
||||
// The Snatcher Sound cartridge has 64KB RAM available by selecting ram banks 0-7
|
||||
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
{
|
||||
m_ram_bank[i] = get_ram_base() + i * 0x2000;
|
||||
}
|
||||
}
|
||||
@ -933,4 +933,3 @@ READ8_MEMBER(msx_cart_keyboard_master::io_00_r)
|
||||
{
|
||||
return m_vlm5030->bsy() ? 0x10 : 0x00;
|
||||
}
|
||||
|
||||
|
@ -294,4 +294,3 @@ WRITE8_MEMBER(msx_cart_korean_126in1::write_cart)
|
||||
setup_bank(bank);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -111,4 +111,3 @@ WRITE8_MEMBER(msx_cart_majutsushi::write_cart)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -180,9 +180,9 @@ WRITE_LINE_MEMBER(msx_cart_msx_audio_nms1205::irq_write)
|
||||
{
|
||||
// Trigger IRQ on the maincpu
|
||||
// The 8950 seems to trigger an irq on reset, this causes an infinite loop of continuously triggering
|
||||
// the MSX's interrupt handler. The 8950 irq will never be cleared the nms1205's irq handler hook hasn't
|
||||
// the MSX's interrupt handler. The 8950 irq will never be cleared the nms1205's irq handler hook hasn't
|
||||
// been installed yet.
|
||||
// m_out_irq_cb(state);
|
||||
// m_out_irq_cb(state);
|
||||
}
|
||||
|
||||
|
||||
@ -383,4 +383,3 @@ READ8_MEMBER(msx_cart_msx_audio_fsca1::y8950_io_r)
|
||||
{
|
||||
return m_io_config->read();
|
||||
}
|
||||
|
||||
|
@ -309,5 +309,3 @@ SLOT_INTERFACE_START( msx_audio_keyboards )
|
||||
SLOT_INTERFACE("hxmu901", MSX_AUDIO_KB_HXMU901)
|
||||
SLOT_INTERFACE("nms1160", MSX_AUDIO_KB_NMS1160)
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
|
||||
|
@ -63,4 +63,3 @@ WRITE8_MEMBER(msx_cart_msxdos2::write_cart)
|
||||
restore_banks();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -25,14 +25,14 @@ void msx_cart_nomapper::initialize_cartridge()
|
||||
// determine start address
|
||||
// default to $4000
|
||||
m_start_address = 0x4000;
|
||||
|
||||
|
||||
switch (size)
|
||||
{
|
||||
/* 8KB/16KB */
|
||||
case 0x2000: case 0x4000:
|
||||
{
|
||||
UINT16 start = rom[3] << 8 | rom[2];
|
||||
|
||||
|
||||
// start address of $0000: call address in the $4000 region: $4000, else $8000
|
||||
if (start == 0)
|
||||
{
|
||||
@ -41,11 +41,11 @@ void msx_cart_nomapper::initialize_cartridge()
|
||||
else
|
||||
m_start_address = 0x8000;
|
||||
}
|
||||
|
||||
|
||||
// start address in the $8000 region: $8000, else default
|
||||
else if ((start & 0xc000) == 0x8000)
|
||||
m_start_address = 0x8000;
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@ -55,12 +55,12 @@ void msx_cart_nomapper::initialize_cartridge()
|
||||
if (rom[0] != 'A' && rom[1] != 'B' && rom[0x4000] == 'A' && rom[0x4001] == 'B')
|
||||
{
|
||||
UINT16 start = rom[0x4003] << 8 | rom[0x4002];
|
||||
|
||||
|
||||
// start address of $0000 and call address in the $4000 region, or start address outside the $8000 region: $0000, else default
|
||||
if ((start == 0 && (rom[0x4005] & 0xc0) == 0x40) || start < 0x8000 || start >= 0xc000)
|
||||
m_start_address = 0;
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
|
||||
/* 48KB */
|
||||
@ -70,9 +70,9 @@ void msx_cart_nomapper::initialize_cartridge()
|
||||
m_start_address = 0x4000;
|
||||
else
|
||||
m_start_address = 0;
|
||||
|
||||
|
||||
break;
|
||||
|
||||
|
||||
/* 64KB */
|
||||
default:
|
||||
m_start_address = 0;
|
||||
@ -90,4 +90,3 @@ READ8_MEMBER(msx_cart_nomapper::read_cart)
|
||||
}
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
|
@ -74,4 +74,3 @@ WRITE8_MEMBER(msx_cart_rtype::write_cart)
|
||||
m_bank_base[1] = get_rom_base() + m_selected_bank * 0x4000;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -68,4 +68,3 @@ WRITE8_MEMBER(msx_cart_super_swangi::write_cart)
|
||||
logerror("msx_cart_super_swangi: unhandled write %02x to %04x\n", data, offset);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,4 +58,3 @@ WRITE8_MEMBER(msx_cart_superloderunner::banking)
|
||||
m_selected_bank = data;
|
||||
restore_banks();
|
||||
}
|
||||
|
||||
|
@ -147,7 +147,7 @@ READ8_MEMBER(msx_cart_sfg::read_cart)
|
||||
switch (offset & 0x3fff)
|
||||
{
|
||||
case 0x3ff0: // YM-2151 status read
|
||||
case 0x3ff1: // YM-2151 status read mirror?
|
||||
case 0x3ff1: // YM-2151 status read mirror?
|
||||
return m_ym2151->status_r(space, 0);
|
||||
|
||||
case 0x3ff2: // YM-2148 keyboard column read
|
||||
@ -155,8 +155,8 @@ READ8_MEMBER(msx_cart_sfg::read_cart)
|
||||
case 0x3ff4: // YM-2148 --
|
||||
case 0x3ff5: // YM-2148 MIDI UART data read register
|
||||
case 0x3ff6: // YM-2148 MIDI UART status register
|
||||
// ------x- - 1 = received a byte/receive buffer full?
|
||||
// -------x - 1 = ready to send next byte/send buffer empty?
|
||||
// ------x- - 1 = received a byte/receive buffer full?
|
||||
// -------x - 1 = ready to send next byte/send buffer empty?
|
||||
return m_ym2148->read(space, offset & 7);
|
||||
}
|
||||
|
||||
@ -186,13 +186,13 @@ WRITE8_MEMBER(msx_cart_sfg::write_cart)
|
||||
case 0x3ff4: // YM-2148 External IRQ vector
|
||||
case 0x3ff5: // YM-2148 MIDI UART data write register
|
||||
case 0x3ff6: // YM-2148 MIDI UART command register
|
||||
// On startup the sfg01 writes 0x80
|
||||
// followed by 0x05.
|
||||
// Other write seen in the code: 0x15
|
||||
//
|
||||
// x------- - 1 = reset
|
||||
// -----x-- - 1 = enable receiving / sending midi data
|
||||
// -------x - 1 = enable receiving / sending midi data
|
||||
// On startup the sfg01 writes 0x80
|
||||
// followed by 0x05.
|
||||
// Other write seen in the code: 0x15
|
||||
//
|
||||
// x------- - 1 = reset
|
||||
// -----x-- - 1 = enable receiving / sending midi data
|
||||
// -------x - 1 = enable receiving / sending midi data
|
||||
m_ym2148->write(space, offset & 7, data);
|
||||
break;
|
||||
|
||||
@ -201,4 +201,3 @@ WRITE8_MEMBER(msx_cart_sfg::write_cart)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -74,4 +74,3 @@ WRITE8_MEMBER(msx_slot_bunsetsu_device::write)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,10 +137,10 @@ bool msx_slot_cartridge_device::call_load()
|
||||
else
|
||||
{
|
||||
UINT32 length = this->length();
|
||||
|
||||
|
||||
// determine how much space to allocate
|
||||
UINT32 length_aligned = 0x10000;
|
||||
|
||||
|
||||
if (length <= 0x2000)
|
||||
length_aligned = 0x2000;
|
||||
else if (length <= 0x4000)
|
||||
@ -165,7 +165,7 @@ bool msx_slot_cartridge_device::call_load()
|
||||
return IMAGE_INIT_FAIL;
|
||||
}
|
||||
|
||||
// Check if there's some mapper related
|
||||
// Check if there's some mapper related
|
||||
astring extrainfo;
|
||||
if (hashfile_extrainfo(*this, extrainfo))
|
||||
{
|
||||
@ -349,7 +349,7 @@ READ8_MEMBER(msx_slot_cartridge_device::read)
|
||||
{
|
||||
return m_cartridge->read_cart(space, offset);
|
||||
}
|
||||
return 0xFF;
|
||||
return 0xFF;
|
||||
}
|
||||
|
||||
|
||||
@ -365,7 +365,7 @@ WRITE8_MEMBER(msx_slot_cartridge_device::write)
|
||||
|
||||
|
||||
msx_slot_yamaha_expansion_device::msx_slot_yamaha_expansion_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: msx_slot_cartridge_device(mconfig, MSX_SLOT_YAMAHA_EXPANSION, "MSX Yamaha Expansion slot", tag, owner, clock, "msx_slot_yamaha_expansion", __FILE__)
|
||||
: msx_slot_cartridge_device(mconfig, MSX_SLOT_YAMAHA_EXPANSION, "MSX Yamaha Expansion slot", tag, owner, clock, "msx_slot_yamaha_expansion", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -379,5 +379,3 @@ void msx_slot_yamaha_expansion_device::device_start()
|
||||
m_cartridge->set_out_irq_cb(DEVCB_WRITELINE(msx_slot_cartridge_device, irq_out));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -421,7 +421,7 @@ WRITE8_MEMBER(msx_slot_disk2_device::write)
|
||||
|
||||
|
||||
msx_slot_disk3_device::msx_slot_disk3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: msx_slot_tc8566_disk_device(mconfig, MSX_SLOT_DISK3, "MSX Internal floppy type 3", tag, owner, clock, "msx_slot_disk3", __FILE__)
|
||||
: msx_slot_tc8566_disk_device(mconfig, MSX_SLOT_DISK3, "MSX Internal floppy type 3", tag, owner, clock, "msx_slot_disk3", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -459,7 +459,7 @@ READ8_MEMBER(msx_slot_disk3_device::read)
|
||||
return m_fdc->fifo_r(space, 5);
|
||||
}
|
||||
|
||||
return msx_slot_rom_device::read(space, offset);
|
||||
return msx_slot_rom_device::read(space, offset);
|
||||
}
|
||||
|
||||
|
||||
@ -638,5 +638,3 @@ WRITE8_MEMBER(msx_slot_disk5_device::io_write)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -159,4 +159,3 @@ WRITE8_MEMBER(msx_slot_fs4600_device::write)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,4 +45,3 @@ WRITE8_MEMBER(msx_slot_music_device::write_ym2413)
|
||||
{
|
||||
m_ym2413->write(space, offset & 1, data);
|
||||
}
|
||||
|
||||
|
@ -178,4 +178,3 @@ WRITE8_MEMBER(msx_slot_panasonic08_device::write)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -33,4 +33,3 @@ WRITE8_MEMBER(msx_slot_ram_device::write)
|
||||
m_ram[offset - m_start_address] = data;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,4 +76,3 @@ WRITE8_MEMBER(msx_slot_ram_mm_device::write_mapper_bank)
|
||||
m_bank_selected[offset] = data;
|
||||
m_bank_base[offset] = m_ram + 0x4000 * ( m_bank_selected[offset] & m_bank_mask );
|
||||
}
|
||||
|
||||
|
@ -62,5 +62,3 @@ READ8_MEMBER(msx_slot_rom_device::read)
|
||||
}
|
||||
return 0xFF;
|
||||
}
|
||||
|
||||
|
||||
|
@ -32,4 +32,3 @@ void msx_internal_slot_interface::set_size(device_t &device, UINT32 size)
|
||||
dev.m_size = size;
|
||||
dev.m_end_address = dev.m_start_address + dev.m_size;
|
||||
}
|
||||
|
||||
|
@ -186,4 +186,3 @@ WRITE8_MEMBER(msx_slot_sony08_device::write)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -47,14 +47,14 @@ void neogeo_banked_cart_device::_set_main_cpu_bank_address(void)
|
||||
|
||||
if (!m_bank_cartridge)
|
||||
printf("bank_cartridge is null\n");
|
||||
|
||||
|
||||
if (m_region && m_bank_cartridge) m_bank_cartridge->set_base(m_region + m_main_cpu_bank_address);
|
||||
}
|
||||
|
||||
|
||||
void neogeo_banked_cart_device::neogeo_set_main_cpu_bank_address( UINT32 bank_address )
|
||||
{
|
||||
// if (LOG_MAIN_CPU_BANKING) logerror("MAIN CPU PC %06x: neogeo_set_main_cpu_bank_address %06x\n", m_maincpu->pc(), bank_address);
|
||||
// if (LOG_MAIN_CPU_BANKING) logerror("MAIN CPU PC %06x: neogeo_set_main_cpu_bank_address %06x\n", m_maincpu->pc(), bank_address);
|
||||
|
||||
m_main_cpu_bank_address = bank_address;
|
||||
|
||||
@ -96,11 +96,10 @@ void neogeo_banked_cart_device::install_banks(running_machine& machine, cpu_devi
|
||||
{
|
||||
maincpu->space(AS_PROGRAM).install_read_bank(0x200000, 0x2fffff, 0, 0, "cartridge");
|
||||
maincpu->space(AS_PROGRAM).install_write_handler(0x2ffff0, 0x2fffff, write16_delegate(FUNC(neogeo_banked_cart_device::main_cpu_bank_select_w),this));
|
||||
|
||||
|
||||
m_bank_cartridge = machine.root_device().membank("cartridge");
|
||||
m_region = region;
|
||||
m_region_size = region_size;
|
||||
|
||||
init_banks();
|
||||
}
|
||||
|
||||
|
@ -361,5 +361,3 @@ void neogeo_bootleg_kog_cart::decrypt_all(DECRYPT_ALL_PARAMS)
|
||||
m_bootleg_prot->neogeo_bootleg_sx_decrypt(fix_region, fix_region_size,1);
|
||||
m_bootleg_prot->neogeo_bootleg_cx_decrypt(spr_region, spr_region_size);
|
||||
}
|
||||
|
||||
|
||||
|
@ -192,7 +192,7 @@ READ16_MEMBER( ngbootleg_prot_device::kof10th_RAMB_r )
|
||||
|
||||
READ16_MEMBER(ngbootleg_prot_device::kof10th_RAM2_r)
|
||||
{
|
||||
// printf("kof10th_RAM2_r\n");
|
||||
// printf("kof10th_RAM2_r\n");
|
||||
return m_cartridge_ram2[offset];
|
||||
}
|
||||
|
||||
@ -1128,4 +1128,3 @@ void ngbootleg_prot_device::matrimbl_decrypt(UINT8* sprrom, UINT32 sprrom_size,
|
||||
/* decrypt gfx */
|
||||
cthd2003_c(sprrom,sprrom_size, 0 );
|
||||
}
|
||||
|
||||
|
@ -219,4 +219,3 @@ void neogeo_cmc_kof2000n_cart::decrypt_all(DECRYPT_ALL_PARAMS)
|
||||
m_cmc_prot->neogeo_cmc50_m1_decrypt(audiocrypt_region, audiocrypt_region_size, audiocpu_region, audio_region_size);
|
||||
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, KOF2000_GFX_KEY);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@ cmc_prot_device::cmc_prot_device(const machine_config &mconfig, const char *tag,
|
||||
|
||||
void cmc_prot_device::device_start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void cmc_prot_device::device_reset()
|
||||
@ -786,4 +785,3 @@ void cmc_prot_device::neogeo_cmc50_m1_decrypt(UINT8* romcrypt, UINT32 romcrypt_s
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -70,4 +70,4 @@ void neogeo_fatfury2_cart::activate_cart(ACTIVATE_CART_PARAMS)
|
||||
{
|
||||
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
|
||||
m_fatfury2_prot->fatfury2_install_protection(maincpu, m_banked_cart);
|
||||
}
|
||||
}
|
||||
|
@ -106,4 +106,3 @@ void fatfury2_prot_device::fatfury2_install_protection(cpu_device* maincpu, neog
|
||||
m_fatfury2_prot_data = 0;
|
||||
|
||||
}
|
||||
|
||||
|
@ -153,4 +153,3 @@ void neogeo_kof2002_samsho5sp_cart::decrypt_all(DECRYPT_ALL_PARAMS)
|
||||
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, SAMSHO5SP_GFX_KEY);
|
||||
m_pcm2_prot->neo_pcm2_swap(ym_region, ym_region_size, 6);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@ kof2002_prot_device::kof2002_prot_device(const machine_config &mconfig, const ch
|
||||
|
||||
void kof2002_prot_device::device_start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void kof2002_prot_device::device_reset()
|
||||
@ -80,5 +79,3 @@ void kof2002_prot_device::samsh5sp_decrypt_68k(UINT8* cpurom, UINT32 cpurom_size
|
||||
memcpy( src+i*0x80000, dst+sec[i], 0x80000 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -75,4 +75,4 @@ void neogeo_kof98_cart::activate_cart(ACTIVATE_CART_PARAMS)
|
||||
{
|
||||
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
|
||||
m_kof98_prot->install_kof98_protection(maincpu);
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,6 @@ kof98_prot_device::kof98_prot_device(const machine_config &mconfig, const char *
|
||||
|
||||
void kof98_prot_device::device_start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void kof98_prot_device::device_reset()
|
||||
@ -137,5 +136,3 @@ void kof98_prot_device::install_kof98_protection(cpu_device* maincpu)
|
||||
|
||||
maincpu->space(AS_PROGRAM).install_write_handler(0x20aaaa, 0x20aaab, write16_delegate(FUNC(kof98_prot_device::kof98_prot_w),this));
|
||||
}
|
||||
|
||||
|
||||
|
@ -70,4 +70,4 @@ void neogeo_mslugx_cart::activate_cart(ACTIVATE_CART_PARAMS)
|
||||
{
|
||||
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
|
||||
m_mslugx_prot->mslugx_install_protection(maincpu);
|
||||
}
|
||||
}
|
||||
|
@ -91,8 +91,3 @@ void mslugx_prot_device::mslugx_install_protection(cpu_device* maincpu)
|
||||
maincpu->space(AS_PROGRAM).install_readwrite_handler(0x2fffe0, 0x2fffef, read16_delegate(FUNC(mslugx_prot_device::mslugx_protection_16_r),this), write16_delegate(FUNC(mslugx_prot_device::mslugx_protection_16_w),this));
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -36,25 +36,25 @@ SLOT_INTERFACE_START(neogeo_cart)
|
||||
/* only CMC50 for gfx (& audiocpu) */
|
||||
SLOT_INTERFACE_INTERNAL("r_cmc_kof2001", NEOGEO_CMC_KOF2001_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_cmc_kof2000n", NEOGEO_CMC_KOF2000N_CART)
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble */
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble */
|
||||
SLOT_INTERFACE_INTERNAL("r_pc2_mslug4", NEOGEO_PCM2_MSLUG4_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_pc2_rotd", NEOGEO_PCM2_ROTD_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_pc2_pnyaa", NEOGEO_PCM2_PNYAA_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_ms4plus", NEOGEO_PCM2_MS4PLUS_CART) // regular encryption but external S1 rom
|
||||
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble + additonal prg scramble */
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble + additonal prg scramble */
|
||||
SLOT_INTERFACE_INTERNAL("r_k2_kof2002", NEOGEO_KOF2002_KOF2002_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_k2_matrim", NEOGEO_KOF2002_MATRIM_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_k2_samsh5", NEOGEO_KOF2002_SAMSHO5_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_k2_sams5s", NEOGEO_KOF2002_SAMSHO5SP_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_kf2k2pls", NEOGEO_KOF2002_KF2K2PLS_CART) // regular encryption but external S1 rom
|
||||
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble + PVC protection/encryption */
|
||||
/* CMC50 for gfx (& audiocpu) + NEOPCM2 for YM scramble + PVC protection/encryption */
|
||||
SLOT_INTERFACE_INTERNAL("r_pv_mslug5", NEOGEO_PVC_MSLUG5_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_pv_svc", NEOGEO_PVC_SVC_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_pv_kf2k3", NEOGEO_PVC_KOF2003_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_pv_kf2k3h", NEOGEO_PVC_KOF2003H_CART)
|
||||
|
||||
|
||||
/* 100% bootleg logic */
|
||||
SLOT_INTERFACE_INTERNAL("r_garoubl", NEOGEO_BOOTLEG_GAROUBL_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_cthd2003", NEOGEO_BOOTLEG_CTHD2003_CART)
|
||||
@ -85,11 +85,11 @@ SLOT_INTERFACE_START(neogeo_cart)
|
||||
SLOT_INTERFACE_INTERNAL("r_kf2k3bl", NEOGEO_BOOTLEG_HYBRID_KF2K3BL_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_kf2k3pl", NEOGEO_BOOTLEG_HYBRID_KF2K3PL_CART)
|
||||
SLOT_INTERFACE_INTERNAL("r_kf2k3upl", NEOGEO_BOOTLEG_HYBRID_KF2K3UPL_CART)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SLOT_INTERFACE_END
|
||||
|
@ -29,4 +29,3 @@ device_neogeo_cart_interface::device_neogeo_cart_interface(const machine_config
|
||||
device_neogeo_cart_interface::~device_neogeo_cart_interface()
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -78,29 +78,29 @@ bool neogeo_cart_slot_device::call_load()
|
||||
{
|
||||
// create memory regions
|
||||
len = get_software_region_length("maincpu");
|
||||
m_cart->rom_alloc(len); ROM = m_cart->get_rom_base();
|
||||
m_cart->rom_alloc(len); ROM = m_cart->get_rom_base();
|
||||
memcpy(ROM, get_software_region("maincpu"), len);
|
||||
|
||||
len = get_software_region_length("fixed");
|
||||
m_cart->fixed_alloc(len); ROM8 = m_cart->get_fixed_base();
|
||||
m_cart->fixed_alloc(len); ROM8 = m_cart->get_fixed_base();
|
||||
memcpy(ROM8, get_software_region("fixed"), len);
|
||||
|
||||
if (get_software_region("audiocpu") != NULL)
|
||||
{
|
||||
len = get_software_region_length("audiocpu");
|
||||
m_cart->audio_alloc(len + 0x10000); ROM8 = m_cart->get_audio_base();
|
||||
m_cart->audio_alloc(len + 0x10000); ROM8 = m_cart->get_audio_base();
|
||||
memcpy(ROM8, get_software_region("audiocpu"), len);
|
||||
memcpy(ROM8 + 0x10000, get_software_region("audiocpu"), len); // avoid reloading in XML, should just improve banking instead tho?
|
||||
}
|
||||
|
||||
len = get_software_region_length("ymsnd");
|
||||
m_cart->ym_alloc(len); ROM8 = m_cart->get_ym_base();
|
||||
m_cart->ym_alloc(len); ROM8 = m_cart->get_ym_base();
|
||||
memcpy(ROM8, get_software_region("ymsnd"), len);
|
||||
|
||||
if (get_software_region("ymsnd.deltat") != NULL)
|
||||
{
|
||||
len = get_software_region_length("ymsnd.deltat");
|
||||
m_cart->ymdelta_alloc(len); ROM8 = m_cart->get_ymdelta_base();
|
||||
m_cart->ymdelta_alloc(len); ROM8 = m_cart->get_ymdelta_base();
|
||||
memcpy(ROM8, get_software_region("ymsnd.deltat"), len);
|
||||
}
|
||||
else
|
||||
@ -110,13 +110,13 @@ bool neogeo_cart_slot_device::call_load()
|
||||
|
||||
|
||||
len = get_software_region_length("sprites");
|
||||
m_cart->sprites_alloc(len); ROM8 = m_cart->get_sprites_base();
|
||||
m_cart->sprites_alloc(len); ROM8 = m_cart->get_sprites_base();
|
||||
memcpy(ROM8, get_software_region("sprites"), len);
|
||||
|
||||
if (get_software_region("audiocrypt") != NULL) // encrypted Z80 code
|
||||
{
|
||||
len = get_software_region_length("audiocrypt");
|
||||
m_cart->audiocrypt_alloc(len); ROM8 = m_cart->get_audiocrypt_base();
|
||||
m_cart->audiocrypt_alloc(len); ROM8 = m_cart->get_audiocrypt_base();
|
||||
memcpy(ROM8, get_software_region("audiocrypt"), len);
|
||||
// allocate the audiocpu region to decrypt data into
|
||||
m_cart->audio_alloc(len + 0x10000);
|
||||
|
@ -131,5 +131,3 @@ void neogeo_pcm2_pnyaa_cart::decrypt_all(DECRYPT_ALL_PARAMS)
|
||||
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, PNYAA_GFX_KEY);
|
||||
m_pcm2_prot->neo_pcm2_snk_1999(ym_region, ym_region_size, 4);
|
||||
}
|
||||
|
||||
|
||||
|
@ -84,4 +84,3 @@ void pcm2_prot_device::neo_pcm2_swap(UINT8* ymrom, UINT32 ymsize, int value)
|
||||
src[j]=buf[d]^xordata[value][j&0x7];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -135,10 +135,3 @@ void neogeo_pvc_kof2003h_cart::decrypt_all(DECRYPT_ALL_PARAMS)
|
||||
m_cmc_prot->neogeo_cmc50_m1_decrypt(audiocrypt_region, audiocrypt_region_size, audiocpu_region, audio_region_size);
|
||||
m_cmc_prot->kof2000_neogeo_gfx_decrypt(spr_region, spr_region_size, fix_region, fix_region_size, KOF2003_GFX_KEY);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -312,6 +312,3 @@ void pvc_prot_device::kof2003h_decrypt_68k(UINT8* rom, UINT32 size)
|
||||
memcpy (&rom[0x100000], &buf[0x800000], 0x100000);
|
||||
memcpy (&rom[0x200000], &buf[0x100000], 0x700000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -65,4 +65,4 @@ machine_config_constructor neogeo_rom_device::device_mconfig_additions() const
|
||||
void neogeo_rom_device::activate_cart(ACTIVATE_CART_PARAMS)
|
||||
{
|
||||
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,6 @@ sbp_prot_device::sbp_prot_device(const machine_config &mconfig, const char *tag,
|
||||
|
||||
void sbp_prot_device::device_start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void sbp_prot_device::device_reset()
|
||||
@ -82,4 +81,4 @@ void sbp_prot_device::sbp_install_protection(cpu_device* maincpu, UINT8* cpurom,
|
||||
rom[0x2a6fa / 2] = 0x4e71;
|
||||
rom[0x2a6fc / 2] = 0x4e71;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -173,5 +173,3 @@ void neogeo_sma_kof2000_cart::activate_cart(ACTIVATE_CART_PARAMS)
|
||||
m_banked_cart->install_banks(machine, maincpu, cpuregion, cpuregion_size);
|
||||
m_sma_prot->kof2000_install_protection(maincpu, m_banked_cart);
|
||||
}
|
||||
|
||||
|
||||
|
@ -236,7 +236,6 @@ void sma_prot_device::reset_sma_rng()
|
||||
|
||||
void sma_prot_device::sma_install_random_read_handler(cpu_device* maincpu, int addr1, int addr2 )
|
||||
{
|
||||
|
||||
maincpu->space(AS_PROGRAM).install_read_handler(addr1, addr1 + 1, read16_delegate(FUNC(sma_prot_device::sma_random_r),this));
|
||||
maincpu->space(AS_PROGRAM).install_read_handler(addr2, addr2 + 1, read16_delegate(FUNC(sma_prot_device::sma_random_r),this));
|
||||
}
|
||||
@ -459,5 +458,3 @@ void sma_prot_device::kof2000_decrypt_68k(UINT8* base)
|
||||
rom[i] = rom[0x73a000/2 + BITSWAP24(i,23,22,21,20,19,18,8,4,15,13,3,14,16,2,6,17,7,12,10,0,5,11,1,9)];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -68,29 +68,29 @@ void nes_2a03pur_device::pcb_reset()
|
||||
|
||||
In MESS: supported.
|
||||
|
||||
This mapper supports up to 1MB of PRG-ROM, in 4k
|
||||
banks located at $8000, $9000, $A000, $B000, $C000,
|
||||
$D000, $E000, and $F000. Each bank is selected by n
|
||||
8-bit register at $5FF8, $5FF9, $5FFA, $5FFB, $5FFC,
|
||||
$5FFD, $5FFE, and $5FFF, respectively, just like NSF
|
||||
banking. These registers are mirrored across the
|
||||
entire $5000-$5FFF region (the register is selected
|
||||
by the low 3 bits), but it is recommended to use the
|
||||
original addresses. The mirroring is merely a
|
||||
This mapper supports up to 1MB of PRG-ROM, in 4k
|
||||
banks located at $8000, $9000, $A000, $B000, $C000,
|
||||
$D000, $E000, and $F000. Each bank is selected by n
|
||||
8-bit register at $5FF8, $5FF9, $5FFA, $5FFB, $5FFC,
|
||||
$5FFD, $5FFE, and $5FFF, respectively, just like NSF
|
||||
banking. These registers are mirrored across the
|
||||
entire $5000-$5FFF region (the register is selected
|
||||
by the low 3 bits), but it is recommended to use the
|
||||
original addresses. The mirroring is merely a
|
||||
convenience for the hardware implementation.
|
||||
|
||||
The 8kb CHR region may be RAM or ROM. This project
|
||||
uses CHR-RAM, and the board used by infiniteneslives
|
||||
|
||||
The 8kb CHR region may be RAM or ROM. This project
|
||||
uses CHR-RAM, and the board used by infiniteneslives
|
||||
for this project may only support CHR-RAM.
|
||||
|
||||
At power-on, the mapper automatically sets all bits
|
||||
in the $5FFF bank register, placing the highest bank
|
||||
in $F000. This occurs on power-on but not on reset,
|
||||
so any bank that is mapped to $F000 after power-on
|
||||
|
||||
At power-on, the mapper automatically sets all bits
|
||||
in the $5FFF bank register, placing the highest bank
|
||||
in $F000. This occurs on power-on but not on reset,
|
||||
so any bank that is mapped to $F000 after power-on
|
||||
should contain a valid reset vector.
|
||||
|
||||
At present, the project uses iNES mapper 30 to
|
||||
designate this mapper. No mapper number has been
|
||||
|
||||
At present, the project uses iNES mapper 30 to
|
||||
designate this mapper. No mapper number has been
|
||||
officially reserved yet.
|
||||
-------------------------------------------------*/
|
||||
|
||||
|
@ -365,7 +365,7 @@ static MACHINE_CONFIG_FRAGMENT( c1551 )
|
||||
MCFG_TPI6525_IN_PB_CB(READ8(c1551_device, tpi1_pb_r))
|
||||
MCFG_TPI6525_IN_PC_CB(READ8(c1551_device, tpi1_pc_r))
|
||||
MCFG_TPI6525_OUT_PC_CB(WRITE8(c1551_device, tpi1_pc_w))
|
||||
|
||||
|
||||
MCFG_DEVICE_ADD(C64H156_TAG, C64H156, XTAL_16MHz)
|
||||
MCFG_64H156_BYTE_CALLBACK(DEVWRITELINE(C64H156_TAG, c64h156_device, atni_w))
|
||||
MCFG_FLOPPY_DRIVE_ADD(C64H156_TAG":0", c1551_floppies, "525ssqd", c1551_device::floppy_formats)
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**********************************************************************
|
||||
|
||||
CST QL Disc Interface emulation
|
||||
|
||||
|
||||
Copyright MESS Team.
|
||||
Visit http://mamedev.org for licensing and usage restrictions.
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Curt Coder
|
||||
/**********************************************************************
|
||||
|
||||
Cumana Floppy Disk Interface emulation
|
||||
Cumana Floppy Disk Interface emulation
|
||||
|
||||
Copyright MESS Team.
|
||||
Visit http://mamedev.org for licensing and usage restrictions.
|
||||
|
@ -269,7 +269,7 @@ void qubide_t::write(address_space &space, offs_t offset, UINT8 data)
|
||||
case 0: case 0x0e: case 0x0f:
|
||||
m_ata->write_cs1(space, 0x05, data, 0xff);
|
||||
break;
|
||||
|
||||
|
||||
case 0x08: case 0x0a: case 0x0c:
|
||||
m_ata_data = (data << 8) | (m_ata_data & 0xff);
|
||||
break;
|
||||
|
@ -133,7 +133,7 @@ void ql_rom_cartridge_slot_t::get_default_card_software(astring &result)
|
||||
|
||||
SLOT_INTERFACE_START( ql_rom_cartridge_cards )
|
||||
SLOT_INTERFACE("mhd", MIRACLE_HARD_DISK)
|
||||
|
||||
|
||||
// the following need ROMs from the software list
|
||||
SLOT_INTERFACE_INTERNAL("standard", QL_STANDARD_ROM_CARTRIDGE)
|
||||
SLOT_INTERFACE_END
|
||||
|
@ -17,9 +17,9 @@
|
||||
// MACROS/CONSTANTS
|
||||
//**************************************************************************
|
||||
|
||||
#define WD1772_TAG "wd1772"
|
||||
#define TTL74273_TAG "ttl74273"
|
||||
#define CENTRONICS_TAG "centronics"
|
||||
#define WD1772_TAG "wd1772"
|
||||
#define TTL74273_TAG "ttl74273"
|
||||
#define CENTRONICS_TAG "centronics"
|
||||
|
||||
|
||||
|
||||
@ -170,20 +170,20 @@ UINT8 sandy_super_disk_t::read(address_space &space, offs_t offset, UINT8 data)
|
||||
case 0:
|
||||
data = m_fdc->read(space, offset & 0x03);
|
||||
break;
|
||||
|
||||
|
||||
case 3:
|
||||
/*
|
||||
|
||||
bit description
|
||||
bit description
|
||||
|
||||
0 BUSY
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
0 BUSY
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
|
||||
*/
|
||||
|
||||
@ -221,22 +221,22 @@ void sandy_super_disk_t::write(address_space &space, offs_t offset, UINT8 data)
|
||||
{
|
||||
/*
|
||||
|
||||
bit description
|
||||
bit description
|
||||
|
||||
0 SIDE ONE
|
||||
1 DSEL0
|
||||
2 DSEL1
|
||||
3 M ON0
|
||||
4 /DDEN
|
||||
5 STROBE inverted
|
||||
6 enable printer interrupt
|
||||
7
|
||||
0 SIDE ONE
|
||||
1 DSEL0
|
||||
2 DSEL1
|
||||
3 M ON0
|
||||
4 /DDEN
|
||||
5 STROBE inverted
|
||||
6 enable printer interrupt
|
||||
7
|
||||
|
||||
*/
|
||||
|
||||
floppy_image_device *floppy = NULL;
|
||||
|
||||
if (BIT(data, 1))
|
||||
if (BIT(data, 1))
|
||||
{
|
||||
floppy = m_floppy0->get_device();
|
||||
}
|
||||
|
@ -17,9 +17,9 @@
|
||||
// MACROS/CONSTANTS
|
||||
//**************************************************************************
|
||||
|
||||
#define WD1772_TAG "ic3"
|
||||
#define TTL74273_TAG "ic10"
|
||||
#define CENTRONICS_TAG "j2"
|
||||
#define WD1772_TAG "ic3"
|
||||
#define TTL74273_TAG "ic10"
|
||||
#define CENTRONICS_TAG "j2"
|
||||
|
||||
|
||||
|
||||
@ -289,7 +289,7 @@ void sandy_superqboard_t::device_reset()
|
||||
|
||||
m_latch->write(0);
|
||||
m_centronics->write_strobe(1);
|
||||
|
||||
|
||||
m_fd6 = 0;
|
||||
m_fd7 = 0;
|
||||
m_status = 0;
|
||||
@ -313,20 +313,20 @@ UINT8 sandy_superqboard_t::read(address_space &space, offs_t offset, UINT8 data)
|
||||
case 0:
|
||||
data = m_fdc->read(space, offset & 0x03);
|
||||
break;
|
||||
|
||||
|
||||
case 3:
|
||||
/*
|
||||
|
||||
bit description
|
||||
bit description
|
||||
|
||||
0 BUSY
|
||||
1 mouse pin 8 (middle button)
|
||||
2 mouse pin 1 (right button)
|
||||
3 mouse pin 2 (left button)
|
||||
4 mouse pin 4 flip-flop Q (Y direction)
|
||||
5 mouse pin 3 flip-flop Q (X direction)
|
||||
6 INT3 (Y interrupt)
|
||||
7 INT2 (X interrupt)
|
||||
0 BUSY
|
||||
1 mouse pin 8 (middle button)
|
||||
2 mouse pin 1 (right button)
|
||||
3 mouse pin 2 (left button)
|
||||
4 mouse pin 4 flip-flop Q (Y direction)
|
||||
5 mouse pin 3 flip-flop Q (X direction)
|
||||
6 INT3 (Y interrupt)
|
||||
7 INT2 (X interrupt)
|
||||
|
||||
*/
|
||||
|
||||
@ -378,22 +378,22 @@ void sandy_superqboard_t::write(address_space &space, offs_t offset, UINT8 data)
|
||||
{
|
||||
/*
|
||||
|
||||
bit description
|
||||
bit description
|
||||
|
||||
0 SIDE ONE
|
||||
1 DSEL0
|
||||
2 DSEL1
|
||||
3 M ON0
|
||||
4 /DDEN
|
||||
5 STROBE inverted
|
||||
6 enable printer interrupt (GAL pin 11)
|
||||
7 enable mouse interrupt (GAL pin 9)
|
||||
0 SIDE ONE
|
||||
1 DSEL0
|
||||
2 DSEL1
|
||||
3 M ON0
|
||||
4 /DDEN
|
||||
5 STROBE inverted
|
||||
6 enable printer interrupt (GAL pin 11)
|
||||
7 enable mouse interrupt (GAL pin 9)
|
||||
|
||||
*/
|
||||
|
||||
floppy_image_device *floppy = NULL;
|
||||
|
||||
if (BIT(data, 1))
|
||||
if (BIT(data, 1))
|
||||
{
|
||||
floppy = m_floppy0->get_device();
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
// MACROS/CONSTANTS
|
||||
//**************************************************************************
|
||||
|
||||
#define WD1772_TAG "wd1772"
|
||||
#define WD1772_TAG "wd1772"
|
||||
|
||||
|
||||
|
||||
@ -238,27 +238,27 @@ void ql_trump_card_t::write(address_space &space, offs_t offset, UINT8 data)
|
||||
{
|
||||
m_fdc->write(space, offset & 0x03, data);
|
||||
}
|
||||
|
||||
|
||||
if (offset == 0x1e000)
|
||||
{
|
||||
/*
|
||||
|
||||
bit description
|
||||
bit description
|
||||
|
||||
0 DRIVE1
|
||||
1 DRIVE0
|
||||
2 MOTOR
|
||||
3 SIDE
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
0 DRIVE1
|
||||
1 DRIVE0
|
||||
2 MOTOR
|
||||
3 SIDE
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
|
||||
*/
|
||||
|
||||
floppy_image_device *floppy = NULL;
|
||||
|
||||
if (BIT(data, 1))
|
||||
if (BIT(data, 1))
|
||||
{
|
||||
floppy = m_floppy0->get_device();
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ machine_config_constructor SCSI_PORT_DEVICE::device_mconfig_additions() const
|
||||
|
||||
void SCSI_PORT_DEVICE::device_start()
|
||||
{
|
||||
const char *deviceName[] =
|
||||
const char *deviceName[] =
|
||||
{
|
||||
SCSI_PORT_DEVICE1,
|
||||
SCSI_PORT_DEVICE2,
|
||||
|
@ -124,7 +124,7 @@ static const char *const phasenames[] =
|
||||
|
||||
void scsihle_device::data_out(UINT8 data)
|
||||
{
|
||||
// printf( "%s data out %02x\n", tag(), data );
|
||||
// printf( "%s data out %02x\n", tag(), data );
|
||||
output_data0(BIT(data, 0));
|
||||
output_data1(BIT(data, 1));
|
||||
output_data2(BIT(data, 2));
|
||||
@ -396,7 +396,7 @@ void scsihle_device::scsi_change_phase(UINT8 newphase)
|
||||
|
||||
WRITE_LINE_MEMBER( scsihle_device::input_sel )
|
||||
{
|
||||
// printf( "sel %d %d %02x\n", state, m_phase, m_input_data );
|
||||
// printf( "sel %d %d %02x\n", state, m_phase, m_input_data );
|
||||
switch (m_phase)
|
||||
{
|
||||
case SCSI_PHASE_BUS_FREE:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ I/O Expansion Slot Devices
|
||||
VTech Laser/VZ I/O Expansion Slot Devices
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ I/O Expansion Slot
|
||||
VTech Laser/VZ I/O Expansion Slot
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
30-pin slot
|
||||
30-pin slot
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ Joystick Interface
|
||||
VTech Laser/VZ Joystick Interface
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
@ -1,12 +1,12 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ Printer Interface
|
||||
VTech Laser/VZ Printer Interface
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
VTech PI 20
|
||||
Dick Smith Electronics X-7320
|
||||
VTech PI 20
|
||||
Dick Smith Electronics X-7320
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ Memory Expansion Slot Devices
|
||||
VTech Laser/VZ Memory Expansion Slot Devices
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
/***************************************************************************
|
||||
|
||||
VTech Laser/VZ Floppy Controller Cartridge
|
||||
VTech Laser/VZ Floppy Controller Cartridge
|
||||
|
||||
license: MAME, GPL-2.0+
|
||||
copyright-holders: Dirk Best
|
||||
|
||||
Laser DD 20
|
||||
Laser DD 20
|
||||
Dick Smith Electronics X-7304
|
||||
|
||||
***************************************************************************/
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user