mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
srcclean in preparation for 0.226 release branch
This commit is contained in:
parent
8c453c2daf
commit
87948d7b89
@ -156,7 +156,7 @@ uint8_t a2bus_hsscsi_device::read_c0nx(uint8_t offset)
|
||||
return m_ncr5380->read(offset);
|
||||
|
||||
case 6:
|
||||
if (m_dma_control & 1) // pseudo-DMA?
|
||||
if (m_dma_control & 1) // pseudo-DMA?
|
||||
{
|
||||
return m_ncr5380->dma_r();
|
||||
}
|
||||
@ -166,19 +166,19 @@ uint8_t a2bus_hsscsi_device::read_c0nx(uint8_t offset)
|
||||
return m_ncr5380->read(offset);
|
||||
}
|
||||
|
||||
case 8: // DMA address low
|
||||
case 8: // DMA address low
|
||||
return m_dma_addr & 0xff;
|
||||
|
||||
case 9: // DMA address high
|
||||
case 9: // DMA address high
|
||||
return (m_dma_addr >> 8) & 0xff;
|
||||
|
||||
case 0xa: // DMA size low
|
||||
case 0xa: // DMA size low
|
||||
return m_dma_size & 0xff;
|
||||
|
||||
case 0xb: // DMA size high
|
||||
case 0xb: // DMA size high
|
||||
return (m_dma_size >> 8) & 0xff;
|
||||
|
||||
case 0xc: // DMA control
|
||||
case 0xc: // DMA control
|
||||
return m_dma_control;
|
||||
|
||||
case 0xe: // code at cf32 wants to RMW this without killing the ROM bank
|
||||
@ -204,7 +204,7 @@ void a2bus_hsscsi_device::write_c0nx(uint8_t offset, uint8_t data)
|
||||
{
|
||||
switch (offset)
|
||||
{
|
||||
case 0: // data out register; in PDMA mode, it's assumed this goes to DMA as reads do
|
||||
case 0: // data out register; in PDMA mode, it's assumed this goes to DMA as reads do
|
||||
if (m_dma_control & 1)
|
||||
{
|
||||
m_ncr5380->dma_w(data);
|
||||
@ -252,7 +252,7 @@ void a2bus_hsscsi_device::write_c0nx(uint8_t offset, uint8_t data)
|
||||
|
||||
case 0xc: // DMA control
|
||||
//printf("%02x to DMA control\n", data);
|
||||
m_dma_control &= ~0x2b; // clear the read/write bits
|
||||
m_dma_control &= ~0x2b; // clear the read/write bits
|
||||
m_dma_control |= (data & 0x2b);
|
||||
break;
|
||||
|
||||
@ -332,5 +332,5 @@ void a2bus_hsscsi_device::write_c800(uint16_t offset, uint8_t data)
|
||||
WRITE_LINE_MEMBER( a2bus_hsscsi_device::drq_w )
|
||||
{
|
||||
m_drq = (state ? 0x80 : 0x00);
|
||||
// printf("DRQ to %d\n", state);
|
||||
// printf("DRQ to %d\n", state);
|
||||
}
|
||||
|
@ -141,7 +141,8 @@ INPUT_CHANGED_MEMBER(a2bus_pic_device::x_char_width)
|
||||
|
||||
u8 a2bus_pic_device::read_c0nx(u8 offset)
|
||||
{
|
||||
LOG("Read C0n%01X\n", offset);
|
||||
if (!machine().side_effects_disabled())
|
||||
LOG("Read C0n%01X\n", offset);
|
||||
|
||||
switch (offset & 0x07U)
|
||||
{
|
||||
@ -156,11 +157,13 @@ u8 a2bus_pic_device::read_c0nx(u8 offset)
|
||||
break;
|
||||
|
||||
case 6U:
|
||||
enable_irq();
|
||||
if (!machine().side_effects_disabled())
|
||||
enable_irq();
|
||||
break;
|
||||
|
||||
case 7U:
|
||||
reset_mode();
|
||||
if (!machine().side_effects_disabled())
|
||||
reset_mode();
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -42,9 +42,9 @@ uint16_t fatfury2_prot_device::protection_r(offs_t offset)
|
||||
u8 gad = m_pro_ct0->gad_r();
|
||||
u8 gbd = m_pro_ct0->gbd_r();
|
||||
/*
|
||||
Data pin from PRO-CT0
|
||||
D0 D1 D2 D3 D4 D5 D6 D7
|
||||
GAD2 GAD3 GAD0 GAD1 GBD2 GBD3 GBD0 GBD1
|
||||
Data pin from PRO-CT0
|
||||
D0 D1 D2 D3 D4 D5 D6 D7
|
||||
GAD2 GAD3 GAD0 GAD1 GBD2 GBD3 GBD0 GBD1
|
||||
*/
|
||||
return (BIT(gbd, 0, 2) << 6) | (BIT(gbd, 2, 2) << 4) | (BIT(gad, 0, 2) << 2) | (BIT(gad, 2, 2) << 0);
|
||||
}
|
||||
@ -61,9 +61,9 @@ void fatfury2_prot_device::protection_w(offs_t offset, uint16_t data)
|
||||
|
||||
// C16-31 = A4-A19, C0-C15 = D0-D15
|
||||
/*
|
||||
Address/Data pin mapping into PRO-CT0
|
||||
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 LOAD EVEN H
|
||||
D0 D4 D1 D5 D2 D6 D3 D7 D8 D12 D9 D13 D10 D14 D11 D15 A4 A8 A5 A9 A6 A10 A7 A11 A12 A16 A13 A17 A14 A18 A15 A19 A1 A2 A3
|
||||
Address/Data pin mapping into PRO-CT0
|
||||
C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 LOAD EVEN H
|
||||
D0 D4 D1 D5 D2 D6 D3 D7 D8 D12 D9 D13 D10 D14 D11 D15 A4 A8 A5 A9 A6 A10 A7 A11 A12 A16 A13 A17 A14 A18 A15 A19 A1 A2 A3
|
||||
*/
|
||||
m_pro_ct0->c_w((u32(bitswap<16>(BIT(offset, 3, 16), 15, 11, 14, 10, 13, 9, 12, 8, 7, 3, 6, 2, 5, 1, 4, 0)) << 16) |
|
||||
u32(bitswap<16>(data, 15, 11, 14, 10, 13, 9, 12, 8, 7, 3, 6, 2, 5, 1, 4, 0)));
|
||||
|
@ -28,19 +28,19 @@ public:
|
||||
enum stale_mat_inputs : uint16_t
|
||||
{
|
||||
STALE_NONE = 0U,
|
||||
STALE_YELLOW_RIGHT = 1U << 0,
|
||||
STALE_RED_LEFT = 1U << 1,
|
||||
STALE_CENTER = 1U << 2,
|
||||
STALE_UP = 1U << 3,
|
||||
STALE_DOWN = 1U << 4,
|
||||
STALE_GREEN = 1U << 5,
|
||||
STALE_OK = 1U << 6,
|
||||
STALE_QUIT = 1U << 7,
|
||||
STALE_HELP = 1U << 8,
|
||||
STALE_BLUE = 1U << 9,
|
||||
STALE_YELLOW_RIGHT = 1U << 0,
|
||||
STALE_RED_LEFT = 1U << 1,
|
||||
STALE_CENTER = 1U << 2,
|
||||
STALE_UP = 1U << 3,
|
||||
STALE_DOWN = 1U << 4,
|
||||
STALE_GREEN = 1U << 5,
|
||||
STALE_OK = 1U << 6,
|
||||
STALE_QUIT = 1U << 7,
|
||||
STALE_HELP = 1U << 8,
|
||||
STALE_BLUE = 1U << 9,
|
||||
|
||||
STALE_JOY = STALE_YELLOW_RIGHT | STALE_RED_LEFT,
|
||||
STALE_COLORS = STALE_CENTER | STALE_UP | STALE_DOWN | STALE_GREEN,
|
||||
STALE_COLORS = STALE_CENTER | STALE_UP | STALE_DOWN | STALE_GREEN,
|
||||
STALE_BUTTONS = STALE_OK | STALE_QUIT | STALE_HELP | STALE_BLUE,
|
||||
STALE_ALL = STALE_JOY | STALE_COLORS | STALE_BUTTONS
|
||||
};
|
||||
|
@ -970,7 +970,7 @@ void sunplus_gcm394_base_device::base_internal_map(address_map &map)
|
||||
map(0x0078b2, 0x0078b2).rw(FUNC(sunplus_gcm394_base_device::unkarea_78b2_r), FUNC(sunplus_gcm394_base_device::unkarea_78b2_w)); // 78b2 TimeBase C Control Register (P_TimeBaseC_Ctrl)
|
||||
|
||||
map(0x0078b8, 0x0078b8).w(FUNC(sunplus_gcm394_base_device::unkarea_78b8_w)); // 78b8 TimeBase Counter Reset Register (P_TimeBase_Reset)
|
||||
|
||||
|
||||
map(0x0078c0, 0x0078c0).r(FUNC(sunplus_gcm394_base_device::unkarea_78c0_r)); // beijuehh
|
||||
|
||||
map(0x0078d0, 0x0078d0).r(FUNC(sunplus_gcm394_base_device::unkarea_78d0_r)); // jak_s500
|
||||
|
@ -1050,8 +1050,8 @@ void gcm394_base_video_device::palette_w(offs_t offset, uint16_t data)
|
||||
{
|
||||
LOGMASKED(LOG_GCM394_VIDEO_PALETTE,"palette writes with m_703a_palettebank %04x\n", m_703a_palettebank);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
offset |= (m_703a_palettebank & 0x000c) << 6;
|
||||
m_paletteram[offset] = data;
|
||||
|
||||
@ -1060,7 +1060,7 @@ void gcm394_base_video_device::palette_w(offs_t offset, uint16_t data)
|
||||
(((data >> 10) & 0x1f)<<3),
|
||||
(((data >> 5) & 0x1f)<<3),
|
||||
(((data >> 0) & 0x1f)<<3)));
|
||||
|
||||
|
||||
}
|
||||
|
||||
uint16_t gcm394_base_video_device::palette_r(offs_t offset)
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
Continuously Variable Slope Demodulator standalone chip emulator:
|
||||
Harris HC-55516 (sometimes labeled HCI-55516 or HC1-55516)
|
||||
Harris HC-55532 (sometimes labeled HCI-55532 or HC1-55532) [preliminary]
|
||||
Harris HC-55532 (sometimes labeled HCI-55532 or HC1-55532) [preliminary]
|
||||
Motorola MC-3417/MC-34115
|
||||
Motorola MC-3418
|
||||
TODO: research HC-55536 and HC-55564 differences vs HC-55516 (better auto-zeroing, and removal of the encoder offset compensation DAC?)
|
||||
@ -82,8 +82,8 @@ void cvsd_device_base::device_reset()
|
||||
//-------------------------------------------------
|
||||
/*void cvsd_device_base::device_clock_changed()
|
||||
{
|
||||
// do nothing.
|
||||
//m_stream->set_sample_rate(clock());
|
||||
// do nothing.
|
||||
//m_stream->set_sample_rate(clock());
|
||||
}*/
|
||||
|
||||
READ_LINE_MEMBER( cvsd_device_base::clock_r )
|
||||
@ -107,7 +107,7 @@ WRITE_LINE_MEMBER( cvsd_device_base::digin_w )
|
||||
// the following encode related functions don't do anything yet, don't call them.
|
||||
/*void cvsd_device_base::audio_in_w(int16_t data)
|
||||
{
|
||||
assert(0);
|
||||
assert(0);
|
||||
}*/
|
||||
|
||||
WRITE_LINE_MEMBER( cvsd_device_base::dec_encq_w )
|
||||
@ -365,16 +365,16 @@ void hc55516_device::sound_stream_update(sound_stream &stream, std::vector<read_
|
||||
auto &buffer = outputs[0];
|
||||
|
||||
/*
|
||||
if (!is_external_oscillator())
|
||||
{
|
||||
// track how many samples we've updated without a clock; if it's been more than 1/32 of a second, output silence
|
||||
m_samples_generated += buffer.samples();
|
||||
if (m_samples_generated > SAMPLE_RATE / 32)
|
||||
{
|
||||
m_samples_generated = SAMPLE_RATE;
|
||||
m_next_sample = 0;
|
||||
}
|
||||
}
|
||||
if (!is_external_oscillator())
|
||||
{
|
||||
// track how many samples we've updated without a clock; if it's been more than 1/32 of a second, output silence
|
||||
m_samples_generated += buffer.samples();
|
||||
if (m_samples_generated > SAMPLE_RATE / 32)
|
||||
{
|
||||
m_samples_generated = SAMPLE_RATE;
|
||||
m_next_sample = 0;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
if (is_external_oscillator())
|
||||
|
@ -75,10 +75,10 @@ class hc55516_device : public cvsd_device_base
|
||||
public:
|
||||
hc55516_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
auto fzq_cb() { return m_fzq_pull_cb.bind(); } // /FZ (partial reset) pull callback, ok to leave unconnected (we assume it is pulled high)
|
||||
auto agc_cb() { return m_agc_push_cb.bind(); } // AGC callback function, called to push the state if the AGC pin changes, ok to leave unconnected
|
||||
auto fzq_cb() { return m_fzq_pull_cb.bind(); } // /FZ (partial reset) pull callback, ok to leave unconnected (we assume it is pulled high)
|
||||
auto agc_cb() { return m_agc_push_cb.bind(); } // AGC callback function, called to push the state if the AGC pin changes, ok to leave unconnected
|
||||
|
||||
WRITE_LINE_MEMBER( fzq_w ); // /FZ (partial reset) push
|
||||
WRITE_LINE_MEMBER( fzq_w ); // /FZ (partial reset) push
|
||||
READ_LINE_MEMBER( agc_r ); // AGC pull
|
||||
/* TODO: These are only relevant for encode mode, which isn't done yet! */
|
||||
//WRITE_LINE_MEMBER( aptq_w ); // /APT (silence encoder output) push
|
||||
|
@ -33,46 +33,46 @@
|
||||
1 if it is active
|
||||
|
||||
ADPCM data and volume is compatible with OKI MSM6295, but some Command
|
||||
byte is slightly different.
|
||||
byte is slightly different.
|
||||
|
||||
Compares to other Tontek OKI MSM6295 derivatives:
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Part number | TT5665 | TT6297 | TT6298 |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Address Bus width | 24bit (128MBit) | 24bit (128MBit) | 23bit (64MBit) |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Output channels | 2 (DAOL/R) | 1 (DAO) | 1 (DAO) |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Variable Frequency | SS, S0-1(For | Not exists | Not exists |
|
||||
| Pins | DAOL only) | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Crystal Oscillator | 2 (XT, XTB) | 1 (XT) | 2 (XT, XTB) |
|
||||
| Pins | | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Frequency Divider | DAOR: 136, 170 | 136 | 136 |
|
||||
| | DAOL: DAOR * n | | |
|
||||
| | (n : 1,2,4,8) | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
These chips share Command bytes and ADPCM format.
|
||||
Compares to other Tontek OKI MSM6295 derivatives:
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Part number | TT5665 | TT6297 | TT6298 |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Address Bus width | 24bit (128MBit) | 24bit (128MBit) | 23bit (64MBit) |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Output channels | 2 (DAOL/R) | 1 (DAO) | 1 (DAO) |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Variable Frequency | SS, S0-1(For | Not exists | Not exists |
|
||||
| Pins | DAOL only) | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Crystal Oscillator | 2 (XT, XTB) | 1 (XT) | 2 (XT, XTB) |
|
||||
| Pins | | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
| Frequency Divider | DAOR: 136, 170 | 136 | 136 |
|
||||
| | DAOL: DAOR * n | | |
|
||||
| | (n : 1,2,4,8) | | |
|
||||
|--------------------|-----------------|-----------------|-----------------|
|
||||
These chips share Command bytes and ADPCM format.
|
||||
|
||||
Frequency Table (Unit: KHz) :
|
||||
Frequency Table (Unit: KHz) :
|
||||
|---------------------------|---------------------------|
|
||||
| SS = "1" | SS = "0" |
|
||||
|-----------------|---------------------------|---------------------------|
|
||||
| (S1,S0) | 00 | 01 | 10 | 11 | 00 | 01 | 10 | 11 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 8.0 | 8.0 | 8.0 | 8.0 | 6.4 | 6.4 | 6.4 | 6.4 |
|
||||
| 1.088MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 8.0 | 4.0 | 2.0 | 1.0 | 6.4 | 3.2 | 1.6 | 0.8 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 16.0 | 16.0 | 16.0 | 16.0 | 12.8 | 12.8 | 12.8 | 12.8 |
|
||||
| 2.176MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 16.0 | 8.0 | 4.0 | 2.0 | 12.8 | 6.4 | 3.2 | 1.6 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 32.0 | 32.0 | 32.0 | 32.0 | 25.6 | 25.6 | 25.6 | 25.6 |
|
||||
| 4.352MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 32.0 | 16.0 | 8.0 | 4.0 | 25.6 | 12.8 | 6.4 | 3.2 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| SS = "1" | SS = "0" |
|
||||
|-----------------|---------------------------|---------------------------|
|
||||
| (S1,S0) | 00 | 01 | 10 | 11 | 00 | 01 | 10 | 11 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 8.0 | 8.0 | 8.0 | 8.0 | 6.4 | 6.4 | 6.4 | 6.4 |
|
||||
| 1.088MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 8.0 | 4.0 | 2.0 | 1.0 | 6.4 | 3.2 | 1.6 | 0.8 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 16.0 | 16.0 | 16.0 | 16.0 | 12.8 | 12.8 | 12.8 | 12.8 |
|
||||
| 2.176MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 16.0 | 8.0 | 4.0 | 2.0 | 12.8 | 6.4 | 3.2 | 1.6 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
| OSC = | DAOR | 32.0 | 32.0 | 32.0 | 32.0 | 25.6 | 25.6 | 25.6 | 25.6 |
|
||||
| 4.352MHz |------|------|------|------|------|------|------|------|------|
|
||||
| | DAOL | 32.0 | 16.0 | 8.0 | 4.0 | 25.6 | 12.8 | 6.4 | 3.2 |
|
||||
|----------|------|------|------|------|------|------|------|------|------|
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -942,7 +942,7 @@ ru_imgformat render_detect_image(util::core_file &file)
|
||||
jpeg_destroy_decompress(&cinfo);
|
||||
file.seek(0, SEEK_SET);
|
||||
}
|
||||
|
||||
|
||||
// Microsoft DIB: check for valid header
|
||||
util::msdib_error const msdib = util::msdib_verify_header(file);
|
||||
file.seek(0, SEEK_SET);
|
||||
|
@ -24,8 +24,8 @@ static const cassette_image::Modulation aquarius_caq_modulation =
|
||||
cassette_image::MODULATION_SINEWAVE,
|
||||
900.0 - 300, 900.0, 900.0 + 300,
|
||||
1800.0 - 600, 1800.0, 1800.0 + 600
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
/*-------------------------------------------------
|
||||
|
@ -111,7 +111,7 @@ static cassette_image::error csw_cassette_load(cassette_image *cassette)
|
||||
LOG_FORMATS("Unsupported Major Version\n");
|
||||
return cassette_image::error::INVALID_IMAGE;
|
||||
}
|
||||
|
||||
|
||||
/* csw data */
|
||||
switch (compression)
|
||||
{
|
||||
@ -141,13 +141,13 @@ static cassette_image::error csw_cassette_load(cassette_image *cassette)
|
||||
std::vector<uint8_t> gz_ptr;
|
||||
z_stream d_stream;
|
||||
int err;
|
||||
|
||||
|
||||
gz_ptr.resize(8);
|
||||
|
||||
d_stream.next_in = (unsigned char *) &image_data[csw_data];
|
||||
d_stream.avail_in = image_size - 0x34 - header[0x23];
|
||||
d_stream.total_in = 0;
|
||||
|
||||
|
||||
d_stream.next_out = &gz_ptr[0];
|
||||
d_stream.avail_out = 1;
|
||||
d_stream.total_out = 0;
|
||||
@ -186,7 +186,7 @@ static cassette_image::error csw_cassette_load(cassette_image *cassette)
|
||||
}
|
||||
bit ^= 0xff;
|
||||
}
|
||||
}
|
||||
}
|
||||
while (err == Z_OK);
|
||||
|
||||
if (err != Z_STREAM_END)
|
||||
|
@ -410,11 +410,11 @@ namespace plib {
|
||||
case OP: \
|
||||
if (ADJ == 2) {\
|
||||
if (m_precompiled[ptr-3].cmd() == PUSH_CONST && m_precompiled[ptr-2].cmd() == PUSH_CONST && m_precompiled[ptr-1].cmd() == PUSH_CONST) \
|
||||
{ ptr--; m_precompiled[ptr-2] = rpn_inst(EXPR); n -= 3; ptr++; std::copy(m_precompiled.begin()+(ptr+1), m_precompiled.end(), m_precompiled.begin()+(ptr-2)); ptr-=2;} \
|
||||
{ ptr--; m_precompiled[ptr-2] = rpn_inst(EXPR); n -= 3; ptr++; std::copy(m_precompiled.begin()+(ptr+1), m_precompiled.end(), m_precompiled.begin()+(ptr-2)); ptr-=2;} \
|
||||
else { ptr++; } \
|
||||
} else if (ADJ == 1) {\
|
||||
if (m_precompiled[ptr-2].cmd() == PUSH_CONST && m_precompiled[ptr-1].cmd() == PUSH_CONST) \
|
||||
{ m_precompiled[ptr-2] = rpn_inst(EXPR); n -= 2; std::copy(m_precompiled.begin()+(ptr+1), m_precompiled.end(), m_precompiled.begin()+(ptr-1)); ptr--;} \
|
||||
{ m_precompiled[ptr-2] = rpn_inst(EXPR); n -= 2; std::copy(m_precompiled.begin()+(ptr+1), m_precompiled.end(), m_precompiled.begin()+(ptr-1)); ptr--;} \
|
||||
else { ptr++; } \
|
||||
} else if (ADJ == 0) {\
|
||||
if (m_precompiled[ptr-1].cmd() == PUSH_CONST) \
|
||||
|
@ -224,7 +224,7 @@ NETLIST_START(armora)
|
||||
D_1N914(D8)
|
||||
|
||||
|
||||
// Q_2N3904(Q1) // NPN -- not used
|
||||
// Q_2N3904(Q1) // NPN -- not used
|
||||
Q_2N3906(Q2) // PNP
|
||||
Q_2N3906(Q3) // PNP
|
||||
Q_2N3906(Q4) // PNP
|
||||
|
@ -128,8 +128,8 @@ NETLIST_START(barrier)
|
||||
Q_2N3904(Q2) // NPN
|
||||
#endif
|
||||
Q_2N6426(Q3) // NPN Darlington
|
||||
// Q_2N6292(Q4) // NPN -- not used
|
||||
// Q_2N6107(Q5) // PNP -- not used
|
||||
// Q_2N6292(Q4) // NPN -- not used
|
||||
// Q_2N6107(Q5) // PNP -- not used
|
||||
Q_2N6426(Q6) // NPN Darlington
|
||||
Q_2N3904(Q7) // NPN
|
||||
|
||||
|
@ -395,8 +395,8 @@ NETLIST_START(boxingb)
|
||||
Q_2N3906(Q26) // PNP
|
||||
// Q_2N6292(Q27) // PNP -- part of final amp (not emulated)
|
||||
// Q_2N6107(Q28) // NPN -- part of final amp (not emulated)
|
||||
// Q_2N5210(Q29) // NPN -- not used
|
||||
// Q_2N5210(Q30) // NPN -- not used
|
||||
// Q_2N5210(Q29) // NPN -- not used
|
||||
// Q_2N5210(Q30) // NPN -- not used
|
||||
Q_2N3906(Q31) // PNP
|
||||
Q_2N3906(Q32) // PNP
|
||||
Q_2N3906(Q33) // PNP
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -52,14 +52,14 @@ NETLIST_START(frogs)
|
||||
PARAM(Solver.DYNAMIC_TS, 1)
|
||||
PARAM(Solver.DYNAMIC_MIN_TIMESTEP, 4e-6)
|
||||
|
||||
TTL_INPUT(I_SOUND_0, 0)
|
||||
TTL_INPUT(I_SOUND_1, 0)
|
||||
TTL_INPUT(I_SOUND_2, 0)
|
||||
TTL_INPUT(I_SOUND_3, 0)
|
||||
TTL_INPUT(I_SOUND_4, 0)
|
||||
TTL_INPUT(I_SOUND_5, 0)
|
||||
TTL_INPUT(I_SOUND_6, 0)
|
||||
TTL_INPUT(I_SOUND_7, 0)
|
||||
TTL_INPUT(I_SOUND_0, 0)
|
||||
TTL_INPUT(I_SOUND_1, 0)
|
||||
TTL_INPUT(I_SOUND_2, 0)
|
||||
TTL_INPUT(I_SOUND_3, 0)
|
||||
TTL_INPUT(I_SOUND_4, 0)
|
||||
TTL_INPUT(I_SOUND_5, 0)
|
||||
TTL_INPUT(I_SOUND_6, 0)
|
||||
TTL_INPUT(I_SOUND_7, 0)
|
||||
|
||||
NET_C(GND, I_SOUND_0.GND, I_SOUND_1.GND, I_SOUND_2.GND, I_SOUND_3.GND, I_SOUND_4.GND, I_SOUND_5.GND, I_SOUND_6.GND, I_SOUND_7.GND)
|
||||
NET_C(I_V5, I_SOUND_0.VCC, I_SOUND_1.VCC, I_SOUND_2.VCC, I_SOUND_3.VCC, I_SOUND_4.VCC, I_SOUND_5.VCC, I_SOUND_6.VCC, I_SOUND_7.VCC)
|
||||
@ -75,95 +75,95 @@ NETLIST_START(frogs)
|
||||
ANALOG_INPUT(I_V12, 12)
|
||||
ANALOG_INPUT(I_VM12, -12)
|
||||
|
||||
RES(R1, RES_K(3.3)) // SPLASH
|
||||
RES(R2, RES_K(3.3)) // SPLASH
|
||||
RES(R3, RES_K(3.3)) // CAPTURE
|
||||
RES(R4, RES_K(3.3)) // CAPTURE
|
||||
RES(R5, RES_K(3.3)) // TONGUE
|
||||
RES(R6, RES_K(3.3)) // TONGUE
|
||||
RES(R7, RES_K(3.3)) // HOP
|
||||
RES(R8, RES_K(3.3)) // HOP
|
||||
RES(R9, RES_K(3.3)) // JUMP
|
||||
RES(R10, RES_K(3.3)) // JUMP
|
||||
RES(R11, RES_K(3.3)) // FLY
|
||||
RES(R12, RES_K(10)) // FLY
|
||||
RES(R13, RES_K(10)) // SPLASH
|
||||
RES(R14, RES_K(4.7)) // SPLASH
|
||||
RES(R15, RES_K(100)) // SPLASH
|
||||
RES(R16, RES_K(4.7)) // CAPTURE
|
||||
RES(R17, RES_K(330)) // CAPTURE
|
||||
RES(R18, RES_K(4.7)) // TONGUE
|
||||
RES(R19, RES_K(100)) // TONGUE
|
||||
RES(R20, RES_K(4.7)) // HOP
|
||||
RES(R21, RES_K(3.3)) // HOP
|
||||
RES(R22, RES_K(4.7)) // JUMP
|
||||
RES(R23, RES_K(150)) // JUMP
|
||||
RES(R24, RES_K(4.7)) // FLY
|
||||
RES(R25, RES_K(22)) // SPLASH
|
||||
RES(R26, 51) // HOP
|
||||
RES(R27, RES_K(10)) // FLY
|
||||
RES(R28, RES_K(22)) // TONGUE
|
||||
RES(R29, RES_K(100)) // TONGUE
|
||||
RES(R30, RES_K(470)) // HOP
|
||||
RES(R31, 220) // HOP
|
||||
RES(R32, RES_K(33)) // HOP (mislabelled R22)
|
||||
RES(R33, 330) // JUMP
|
||||
RES(R34, 820) // JUMP
|
||||
RES(R35, RES_K(100)) // FLY
|
||||
RES(R36, RES_K(2.2)) // FLY
|
||||
RES(R37, RES_K(2.2)) // SPLASH
|
||||
RES(R38, RES_K(10)) // SPLASH
|
||||
RES(R39, RES_K(10)) // SPLASH
|
||||
RES(R40, RES_K(68)) // CAPTURE
|
||||
RES(R41, RES_K(4.7)) // CAPTURE
|
||||
RES(R42, RES_K(1)) // TONGUE
|
||||
RES(R43, RES_K(82)) // HOP
|
||||
RES(R44, RES_K(3.3)) // FLY
|
||||
RES(R45, RES_K(100)) // FLY
|
||||
RES(R46, RES_K(3.3)) // FLY
|
||||
POT(R47, RES_K(50)) // SPLASH
|
||||
RES(R48, RES_K(47)) // CAPTURE
|
||||
RES(R49, RES_K(3.3)) // CAPTURE
|
||||
RES(R50, RES_K(100)) // CAPTURE
|
||||
RES(R51, RES_K(39)) // TONGUE
|
||||
RES(R52, 51) // HOP
|
||||
RES(R1, RES_K(3.3)) // SPLASH
|
||||
RES(R2, RES_K(3.3)) // SPLASH
|
||||
RES(R3, RES_K(3.3)) // CAPTURE
|
||||
RES(R4, RES_K(3.3)) // CAPTURE
|
||||
RES(R5, RES_K(3.3)) // TONGUE
|
||||
RES(R6, RES_K(3.3)) // TONGUE
|
||||
RES(R7, RES_K(3.3)) // HOP
|
||||
RES(R8, RES_K(3.3)) // HOP
|
||||
RES(R9, RES_K(3.3)) // JUMP
|
||||
RES(R10, RES_K(3.3)) // JUMP
|
||||
RES(R11, RES_K(3.3)) // FLY
|
||||
RES(R12, RES_K(10)) // FLY
|
||||
RES(R13, RES_K(10)) // SPLASH
|
||||
RES(R14, RES_K(4.7)) // SPLASH
|
||||
RES(R15, RES_K(100)) // SPLASH
|
||||
RES(R16, RES_K(4.7)) // CAPTURE
|
||||
RES(R17, RES_K(330)) // CAPTURE
|
||||
RES(R18, RES_K(4.7)) // TONGUE
|
||||
RES(R19, RES_K(100)) // TONGUE
|
||||
RES(R20, RES_K(4.7)) // HOP
|
||||
RES(R21, RES_K(3.3)) // HOP
|
||||
RES(R22, RES_K(4.7)) // JUMP
|
||||
RES(R23, RES_K(150)) // JUMP
|
||||
RES(R24, RES_K(4.7)) // FLY
|
||||
RES(R25, RES_K(22)) // SPLASH
|
||||
RES(R26, 51) // HOP
|
||||
RES(R27, RES_K(10)) // FLY
|
||||
RES(R28, RES_K(22)) // TONGUE
|
||||
RES(R29, RES_K(100)) // TONGUE
|
||||
RES(R30, RES_K(470)) // HOP
|
||||
RES(R31, 220) // HOP
|
||||
RES(R32, RES_K(33)) // HOP (mislabelled R22)
|
||||
RES(R33, 330) // JUMP
|
||||
RES(R34, 820) // JUMP
|
||||
RES(R35, RES_K(100)) // FLY
|
||||
RES(R36, RES_K(2.2)) // FLY
|
||||
RES(R37, RES_K(2.2)) // SPLASH
|
||||
RES(R38, RES_K(10)) // SPLASH
|
||||
RES(R39, RES_K(10)) // SPLASH
|
||||
RES(R40, RES_K(68)) // CAPTURE
|
||||
RES(R41, RES_K(4.7)) // CAPTURE
|
||||
RES(R42, RES_K(1)) // TONGUE
|
||||
RES(R43, RES_K(82)) // HOP
|
||||
RES(R44, RES_K(3.3)) // FLY
|
||||
RES(R45, RES_K(100)) // FLY
|
||||
RES(R46, RES_K(3.3)) // FLY
|
||||
POT(R47, RES_K(50)) // SPLASH
|
||||
RES(R48, RES_K(47)) // CAPTURE
|
||||
RES(R49, RES_K(3.3)) // CAPTURE
|
||||
RES(R50, RES_K(100)) // CAPTURE
|
||||
RES(R51, RES_K(39)) // TONGUE
|
||||
RES(R52, 51) // HOP
|
||||
RES(R53, RES_K(62))
|
||||
RES(R54, 470) // JUMP
|
||||
RES(R55, RES_K(22)) // JUMP
|
||||
RES(R56, RES_M(2.2)) // JUMP
|
||||
RES(R54, 470) // JUMP
|
||||
RES(R55, RES_K(22)) // JUMP
|
||||
RES(R56, RES_M(2.2)) // JUMP
|
||||
RES(R57, RES_K(22))
|
||||
RES(R58, RES_K(22))
|
||||
RES(R59, RES_K(3.3)) // FLY
|
||||
// RES(R60, RES_K(10)) -- final amp
|
||||
RES(R61, RES_K(100)) // SPLASH
|
||||
RES(R62, RES_K(47)) // SPLASH
|
||||
RES(R63, RES_K(33)) // SPLASH
|
||||
RES(R64, RES_K(820)) // CAPTURE
|
||||
RES(R65, RES_K(150)) // CAPTURE
|
||||
RES(R66, 51) // CAPTURE
|
||||
RES(R67, 51) // CAPTURE
|
||||
RES(R68, RES_K(1)) // JUMP
|
||||
RES(R69, RES_K(82)) // JUMP
|
||||
RES(R70, 51) // JUMP
|
||||
RES(R71, RES_K(4.7)) // JUMP
|
||||
RES(R72, RES_K(27)) // FLY
|
||||
RES(R73, RES_K(10)) // FLY
|
||||
RES(R74, RES_K(1)) // FLY
|
||||
RES(R75, RES_K(10)) // JUMP
|
||||
RES(R76, RES_K(10)) // JUMP
|
||||
RES(R77, 560) // JUMP
|
||||
RES(R78, RES_K(10)) // JUMP
|
||||
RES(R79, RES_K(10)) // JUMP
|
||||
RES(R80, RES_K(39)) // FLY
|
||||
RES(R81, RES_K(100)) // FLY
|
||||
RES(R82, RES_K(10)) // FLY
|
||||
RES(R83, RES_K(100)) // JUMP
|
||||
RES(R84, RES_K(1)) // JUMP
|
||||
RES(R85, RES_K(10)) // JUMP
|
||||
RES(R86, RES_K(1)) // FLY
|
||||
RES(R87, RES_K(100)) // FLY
|
||||
RES(R88, RES_K(82)) // FLY
|
||||
RES(R90, RES_K(56)) // MIXER
|
||||
RES(R59, RES_K(3.3)) // FLY
|
||||
// RES(R60, RES_K(10)) -- final amp
|
||||
RES(R61, RES_K(100)) // SPLASH
|
||||
RES(R62, RES_K(47)) // SPLASH
|
||||
RES(R63, RES_K(33)) // SPLASH
|
||||
RES(R64, RES_K(820)) // CAPTURE
|
||||
RES(R65, RES_K(150)) // CAPTURE
|
||||
RES(R66, 51) // CAPTURE
|
||||
RES(R67, 51) // CAPTURE
|
||||
RES(R68, RES_K(1)) // JUMP
|
||||
RES(R69, RES_K(82)) // JUMP
|
||||
RES(R70, 51) // JUMP
|
||||
RES(R71, RES_K(4.7)) // JUMP
|
||||
RES(R72, RES_K(27)) // FLY
|
||||
RES(R73, RES_K(10)) // FLY
|
||||
RES(R74, RES_K(1)) // FLY
|
||||
RES(R75, RES_K(10)) // JUMP
|
||||
RES(R76, RES_K(10)) // JUMP
|
||||
RES(R77, 560) // JUMP
|
||||
RES(R78, RES_K(10)) // JUMP
|
||||
RES(R79, RES_K(10)) // JUMP
|
||||
RES(R80, RES_K(39)) // FLY
|
||||
RES(R81, RES_K(100)) // FLY
|
||||
RES(R82, RES_K(10)) // FLY
|
||||
RES(R83, RES_K(100)) // JUMP
|
||||
RES(R84, RES_K(1)) // JUMP
|
||||
RES(R85, RES_K(10)) // JUMP
|
||||
RES(R86, RES_K(1)) // FLY
|
||||
RES(R87, RES_K(100)) // FLY
|
||||
RES(R88, RES_K(82)) // FLY
|
||||
RES(R90, RES_K(56)) // MIXER
|
||||
POT(R91, RES_K(100))
|
||||
POT(R92, RES_M(1))
|
||||
POT(R93, RES_M(1))
|
||||
@ -171,8 +171,8 @@ NETLIST_START(frogs)
|
||||
POT(R95, RES_M(1))
|
||||
POT(R96, RES_K(50))
|
||||
|
||||
// CAP(C1, CAP_U(10))
|
||||
// CAP(C2, CAP_U(10))
|
||||
// CAP(C1, CAP_U(10))
|
||||
// CAP(C2, CAP_U(10))
|
||||
CAP(C3, CAP_U(0.047))
|
||||
CAP(C4, CAP_U(1))
|
||||
CAP(C5, CAP_U(1))
|
||||
@ -204,8 +204,8 @@ NETLIST_START(frogs)
|
||||
CAP(C31, CAP_U(0.47))
|
||||
CAP(C32, CAP_U(0.47))
|
||||
CAP(C33, CAP_U(0.05))
|
||||
// CAP(C34, CAP_U(0.05)) -- final amp
|
||||
// CAP(C35, CAP_U(0.05)) -- final amp
|
||||
// CAP(C34, CAP_U(0.05)) -- final amp
|
||||
// CAP(C35, CAP_U(0.05)) -- final amp
|
||||
CAP(C36, CAP_U(0.05))
|
||||
CAP(C37, CAP_U(0.05))
|
||||
CAP(C38, CAP_U(0.05))
|
||||
@ -228,7 +228,7 @@ NETLIST_START(frogs)
|
||||
CAP(C55, CAP_U(0.05))
|
||||
CAP(C56, CAP_U(0.05))
|
||||
CAP(C57, CAP_U(2.2))
|
||||
// CAP(C58, CAP_U(0.1)) -- final amp
|
||||
// CAP(C58, CAP_U(0.1)) -- final amp
|
||||
CAP(C59, CAP_U(0.05))
|
||||
CAP(C60, CAP_U(0.05))
|
||||
CAP(C61, CAP_U(0.05))
|
||||
@ -288,19 +288,19 @@ NETLIST_START(frogs)
|
||||
NE555_DIP(U5) // Timer
|
||||
NE555_DIP(U6) // Timer
|
||||
NE555_DIP(U7) // Timer
|
||||
LM741_DIP(U8) // Op. Amp.
|
||||
LM741_DIP(U8) // Op. Amp.
|
||||
NE555_DIP(U9) // Timer
|
||||
LM741_DIP(U10) // Op. Amp.
|
||||
LM741_DIP(U11) // Op. Amp.
|
||||
LM741_DIP(U10) // Op. Amp.
|
||||
LM741_DIP(U11) // Op. Amp.
|
||||
NE555_DIP(U12) // Timer
|
||||
// LM741_DIP(U13) // Op. Amp. -- final amp
|
||||
LM741_DIP(U14) // Op. Amp.
|
||||
// LM741_DIP(U13) // Op. Amp. -- final amp
|
||||
LM741_DIP(U14) // Op. Amp.
|
||||
NE555_DIP(U15) // Timer
|
||||
LM741_DIP(U16) // Op. Amp.
|
||||
LM741_DIP(U17) // Op. Amp.
|
||||
LM741_DIP(U18) // Op. Amp.
|
||||
LM741_DIP(U16) // Op. Amp.
|
||||
LM741_DIP(U17) // Op. Amp.
|
||||
LM741_DIP(U18) // Op. Amp.
|
||||
NE555_DIP(U19) // Timer
|
||||
LM741_DIP(U20) // Op. Amp.
|
||||
LM741_DIP(U20) // Op. Amp.
|
||||
|
||||
//
|
||||
// JUMP
|
||||
@ -366,9 +366,9 @@ NETLIST_START(frogs)
|
||||
NET_C(Q4.C, R18.1, U4.2)
|
||||
NET_C(C13.2, U4.5)
|
||||
NET_C(C5.1, U4.7, U4.6, R19.1, R29.1)
|
||||
RES(RU4, RES_K(100)) // netlist doesn't like unconnected
|
||||
NET_C(RU4.1, U4.3) // 555 outputs, so run it through
|
||||
NET_C(RU4.2, GND) // a 100k resistor to ground
|
||||
RES(RU4, RES_K(100)) // netlist doesn't like unconnected
|
||||
NET_C(RU4.1, U4.3) // 555 outputs, so run it through
|
||||
NET_C(RU4.2, GND) // a 100k resistor to ground
|
||||
NET_C(R29.2, Q11.B)
|
||||
NET_C(Q11.E, Q12.B)
|
||||
NET_C(Q12.E, R51.2)
|
||||
@ -376,9 +376,9 @@ NETLIST_START(frogs)
|
||||
NET_C(Q13.E, R42.1)
|
||||
NET_C(Q13.C, C49.2, U15.2, U15.6, U15.7, C50.1)
|
||||
NET_C(U15.5, C41.2)
|
||||
RES(RU15, RES_K(100)) // netlist doesn't like unconnected
|
||||
NET_C(RU15.1, U15.3) // 555 outputs, so run it through
|
||||
NET_C(RU15.2, GND) // a 100k resistor to ground
|
||||
RES(RU15, RES_K(100)) // netlist doesn't like unconnected
|
||||
NET_C(RU15.1, U15.3) // 555 outputs, so run it through
|
||||
NET_C(RU15.2, GND) // a 100k resistor to ground
|
||||
ALIAS(ZIP, C50.2)
|
||||
|
||||
//
|
||||
|
@ -133,8 +133,8 @@ NETLIST_START(spacewar)
|
||||
Q_2N3904(Q2) // NPN
|
||||
#endif
|
||||
Q_2N6426(Q3) // NPN Darlington
|
||||
// Q_2N6292(Q4) // NPN -- not used
|
||||
// Q_2N6107(Q5) // PNP -- not used
|
||||
// Q_2N6292(Q4) // NPN -- not used
|
||||
// Q_2N6107(Q5) // PNP -- not used
|
||||
Q_2N6426(Q6) // NPN Darlington
|
||||
Q_2N3904(Q7) // NPN
|
||||
|
||||
|
@ -204,8 +204,8 @@ NETLIST_START(tailg)
|
||||
D_1N914(D8)
|
||||
D_1N914(D9)
|
||||
|
||||
// Q_2N3904(Q1) // NPN -- not used
|
||||
// Q_2N3904(Q2) // NPN -- not used
|
||||
// Q_2N3904(Q1) // NPN -- not used
|
||||
// Q_2N3904(Q2) // NPN -- not used
|
||||
Q_2N3906(Q3) // PNP
|
||||
Q_2N3906(Q4) // PNP
|
||||
Q_2N3906(Q5) // PNP
|
||||
|
@ -306,24 +306,24 @@ uint32_t galpani3_state::screen_update_galpani3(screen_device &screen, bitmap_rg
|
||||
/*
|
||||
else if (pridat==0x2f) // area outside of the girl
|
||||
{
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
}
|
||||
|
||||
else if (pridat==0x00) // the initial line / box that gets drawn
|
||||
{
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
}
|
||||
else if (pridat==0x30) // during the 'gals boxes' on the intro
|
||||
{
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
}
|
||||
else if (pridat==0x0c) // 'nice' at end of level
|
||||
{
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
//dst[drawx] = machine().rand()&0x3fff;
|
||||
}
|
||||
else
|
||||
{
|
||||
//printf("%02x, ",pridat);
|
||||
//printf("%02x, ",pridat);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ public:
|
||||
m_screen(*this, "screen"),
|
||||
m_spirom(*this, "spi")
|
||||
{ }
|
||||
|
||||
|
||||
void generalplus_gpl_unknown(machine_config &config);
|
||||
|
||||
private:
|
||||
|
@ -1187,12 +1187,12 @@ INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( shoottv )
|
||||
PORT_INCLUDE( itech32_base_16bit )
|
||||
PORT_MODIFY("P1") /* 080000 */
|
||||
PORT_MODIFY("P1") /* 080000 */
|
||||
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x00fc, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("P2") /* 100000 */
|
||||
PORT_MODIFY("P2") /* 100000 */
|
||||
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x00fc, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
@ -148,10 +148,10 @@ Notes:
|
||||
8PIN_JVS - Common JVS Power Connectors (on other side of the PCB)
|
||||
6PIN_JVS /
|
||||
|
||||
TODO:
|
||||
More undumped games for Python/2?
|
||||
Python 2 is based on consumer PS2, can be derived with ps2sony.cpp?
|
||||
Everything
|
||||
TODO:
|
||||
More undumped games for Python/2?
|
||||
Python 2 is based on consumer PS2, can be derived with ps2sony.cpp?
|
||||
Everything
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -534,8 +534,8 @@ void nes_clone_afbm7800_state::update_banks()
|
||||
/* not correct? desert falcon
|
||||
if (m_extraregs[0] & 0x80)
|
||||
{
|
||||
bankmask = 0x0f;
|
||||
outerchrbank = (m_extraregs[0] & 0x38) << 1;
|
||||
bankmask = 0x0f;
|
||||
outerchrbank = (m_extraregs[0] & 0x38) << 1;
|
||||
}
|
||||
else
|
||||
*/
|
||||
|
@ -740,7 +740,7 @@ CONS( 200?, ablwikid, 0, 0, nes_sh6578_pal, nes_sh6578, nes_sh6578_abl_wiki
|
||||
CONS( 2001?, ts_handy11, 0, 0, nes_sh6578, nes_sh6578, nes_sh6578_state, init_nes_sh6578, "Techno Source / JungleTac", "Handy Boy 11-in-1 (TV Play Power)", MACHINE_NOT_WORKING ) // possibly newer than 2001
|
||||
|
||||
// from a blue coloured unit, a yellow one exists, is it the same?
|
||||
CONS( 2004?, vsmaxx15, 0, 0, nes_sh6578, nes_sh6578, nes_sh6578_state, init_nes_sh6578, "Senario / JungleTac", "Vs Maxx 15-in-1", MACHINE_NOT_WORKING )
|
||||
CONS( 2004?, vsmaxx15, 0, 0, nes_sh6578, nes_sh6578, nes_sh6578_state, init_nes_sh6578, "Senario / JungleTac", "Vs Maxx 15-in-1", MACHINE_NOT_WORKING )
|
||||
|
||||
// This is from the blue coloured unit with the 1p/2p slider (does it do anything / get read anywhere?)
|
||||
// A version of the 25-in-1 on VT hardware also exists, with the downgraded version of Big Racing & removed copyrights etc. (probably the purple tinted version without the 1p/2p slider)
|
||||
|
@ -319,7 +319,7 @@ void nes_vt_swap_op_d5_d6_state::vt_external_space_map_senwld_512kbyte(address_m
|
||||
void nes_vt_state::vt_external_space_map_1mbyte_majkon(address_map &map)
|
||||
{
|
||||
map(0x0000000, 0x00fffff).mirror(0x1f00000).r(FUNC(nes_vt_state::vt_rom_r));
|
||||
map(0x1400000, 0x1401fff).ram(); // rush'n attack writes to chr space, after setting the program and character outer bank to a mirror, is the correct way to handle it?
|
||||
map(0x1400000, 0x1401fff).ram(); // rush'n attack writes to chr space, after setting the program and character outer bank to a mirror, is the correct way to handle it?
|
||||
}
|
||||
|
||||
template <uint8_t NUM> uint8_t nes_vt_base_state::extrain_r()
|
||||
|
@ -187,9 +187,9 @@ MADE IN JAPAN
|
||||
|------------------------|
|
||||
This pcb is the same as the A version but with one added chip:
|
||||
2G - XICOR X76F041 Secure SerialFlash (SOIC8)
|
||||
|
||||
Note: This chip is also present on *some* Hornet games on the GN715 CPU board at location
|
||||
30C. The chip refreshes game and region specific serial data to the Timekeeper RAM if the
|
||||
|
||||
Note: This chip is also present on *some* Hornet games on the GN715 CPU board at location
|
||||
30C. The chip refreshes game and region specific serial data to the Timekeeper RAM if the
|
||||
region ID matches the timekeeper. Because Racing Jam 2 and Thrill Drive came in a conversion
|
||||
kit for Racing Jam, the two former games will first boot with a "backup data error" because
|
||||
because of the timekeeper used for the incorrect game. Pressing the test switch then sets the
|
||||
@ -642,7 +642,7 @@ void nwktr_state::lanc2_w(offs_t offset, uint32_t data, uint32_t mem_mask)
|
||||
}
|
||||
if (offset == 4)
|
||||
{
|
||||
// TODO: The data below would normally be present on the serialflash at 2G.
|
||||
// TODO: The data below would normally be present on the serialflash at 2G.
|
||||
|
||||
if (core_stricmp(machine().system().name, "thrilld") == 0 ||
|
||||
core_stricmp(machine().system().name, "thrilldb") == 0 ||
|
||||
@ -984,7 +984,7 @@ void nwktr_state::init_racingj()
|
||||
{
|
||||
m_konppc->set_cgboard_texture_bank(0, "bank5", memregion("user5")->base());
|
||||
m_konppc->set_cgboard_texture_bank(0, "bank6", memregion("user6")->base()); // for some reason, additional CG roms are located on the slave CG board...
|
||||
|
||||
|
||||
init_nwktr();
|
||||
}
|
||||
|
||||
@ -1009,7 +1009,7 @@ ROM_START(racingj)
|
||||
ROM_REGION32_BE(0x800000, "user5", 0) // Master CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "676a13.8x", 0x000000, 0x400000, CRC(29077763) SHA1(ee087ca0d41966ca0fd10727055bb1dcd05a0873) )
|
||||
ROM_LOAD32_WORD_SWAP( "676a14.16x", 0x000002, 0x400000, CRC(50a7e3c0) SHA1(7468a66111a3ddf7c043cd400fa175cae5f65632) )
|
||||
|
||||
|
||||
ROM_REGION32_BE(0x800000, "user6", 0) // Slave CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "676a13.8x", 0x000000, 0x400000, CRC(29077763) SHA1(ee087ca0d41966ca0fd10727055bb1dcd05a0873) )
|
||||
ROM_LOAD32_WORD_SWAP( "676a14.16x", 0x000002, 0x400000, CRC(50a7e3c0) SHA1(7468a66111a3ddf7c043cd400fa175cae5f65632) )
|
||||
@ -1037,7 +1037,7 @@ ROM_START(racingj2)
|
||||
ROM_REGION32_BE(0x800000, "user5", 0) // Master CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "888a13.8x", 0x000000, 0x400000, CRC(2292f530) SHA1(0f4d1332708fd5366a065e0a928cc9610558b42d) )
|
||||
ROM_LOAD32_WORD_SWAP( "888a14.16x", 0x000002, 0x400000, CRC(6a834a26) SHA1(d1fbd7ae6afd05f0edac4efde12a5a45aa2bc7df) )
|
||||
|
||||
|
||||
ROM_REGION32_BE(0x800000, "user6", 0) // Slave CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "888a13.8x", 0x000000, 0x400000, CRC(2292f530) SHA1(0f4d1332708fd5366a065e0a928cc9610558b42d) )
|
||||
ROM_LOAD32_WORD_SWAP( "888a14.16x", 0x000002, 0x400000, CRC(6a834a26) SHA1(d1fbd7ae6afd05f0edac4efde12a5a45aa2bc7df) )
|
||||
@ -1048,7 +1048,7 @@ ROM_START(racingj2)
|
||||
ROM_REGION16_LE(0x1000000, "rfsnd", 0) // PCM sample roms
|
||||
ROM_LOAD( "888a09.16p", 0x000000, 0x400000, CRC(11e2fed2) SHA1(24b8a367b59fedb62c56f066342f2fa87b135fc5) )
|
||||
ROM_LOAD( "888a10.14p", 0x400000, 0x400000, CRC(328ce610) SHA1(dbbc779a1890c53298c0db129d496df048929496) )
|
||||
|
||||
|
||||
ROM_REGION( 0x0000084, "laneeprom", 0 )
|
||||
ROM_LOAD( "ge888ea.2g", 0x000000, 0x000084, NO_DUMP )
|
||||
|
||||
@ -1068,7 +1068,7 @@ ROM_START(racingj2j)
|
||||
ROM_REGION32_BE(0x800000, "user5", 0) // Master CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "888a13.8x", 0x000000, 0x400000, CRC(2292f530) SHA1(0f4d1332708fd5366a065e0a928cc9610558b42d) )
|
||||
ROM_LOAD32_WORD_SWAP( "888a14.16x", 0x000002, 0x400000, CRC(6a834a26) SHA1(d1fbd7ae6afd05f0edac4efde12a5a45aa2bc7df) )
|
||||
|
||||
|
||||
ROM_REGION32_BE(0x800000, "user6", 0) // Slave CG Board texture roms
|
||||
ROM_LOAD32_WORD_SWAP( "888a13.8x", 0x000000, 0x400000, CRC(2292f530) SHA1(0f4d1332708fd5366a065e0a928cc9610558b42d) )
|
||||
ROM_LOAD32_WORD_SWAP( "888a14.16x", 0x000002, 0x400000, CRC(6a834a26) SHA1(d1fbd7ae6afd05f0edac4efde12a5a45aa2bc7df) )
|
||||
|
@ -1739,13 +1739,13 @@ static INPUT_PORTS_START( mschamp )
|
||||
INPUT_PORTS_END
|
||||
|
||||
/* Pacman Club inputs are similar to Ms. Pac-Man, except:
|
||||
- P1/P2 joystick inputs are multiplexed via $5004/5005 to allow 2P simultaneous play in "double command" mode
|
||||
- no rack test switch
|
||||
- different service mode inputs (bit 3 of DSW1 enables the test screen, bit 4 of IN1 just resets the game)
|
||||
- different bonus life values and only two lives options
|
||||
- difficulty switch is read, but has no effect. instead, higher difficulty is enabled in double command mode
|
||||
- free play mode is bugged; game is supposed to set up pointers to $5080/50c0 in RAM for later,
|
||||
but this only happens during the attract mode, which is skipped over if free play is enabled
|
||||
- P1/P2 joystick inputs are multiplexed via $5004/5005 to allow 2P simultaneous play in "double command" mode
|
||||
- no rack test switch
|
||||
- different service mode inputs (bit 3 of DSW1 enables the test screen, bit 4 of IN1 just resets the game)
|
||||
- different bonus life values and only two lives options
|
||||
- difficulty switch is read, but has no effect. instead, higher difficulty is enabled in double command mode
|
||||
- free play mode is bugged; game is supposed to set up pointers to $5080/50c0 in RAM for later,
|
||||
but this only happens during the attract mode, which is skipped over if free play is enabled
|
||||
*/
|
||||
static INPUT_PORTS_START( clubpacm )
|
||||
PORT_START("IN0")
|
||||
|
@ -155,14 +155,14 @@ ROM_START( rfsantafeg )
|
||||
*/
|
||||
ROM_LOAD("pic_luces_superior_11125c_2f05c0_pic18f4480-i-p.u2", 0x01800, 0x0800, NO_DUMP ) // 16K Flash
|
||||
|
||||
/*
|
||||
/*
|
||||
PCB coinage (monedero-billetero-hopper) R.F. 53452303
|
||||
-PIC18F448-I/P
|
||||
-ULN2803A
|
||||
-Xtal 12.000 MHz
|
||||
-PCA82C251
|
||||
-3xHC573A
|
||||
-74HC238D
|
||||
-74HC238D
|
||||
*/
|
||||
ROM_LOAD("pic_monedero_billetero_hopper_09482b_0eda_pic18f448-i-p.u2", 0x02000, 0x0800, NO_DUMP ) // 16K Flash
|
||||
|
||||
|
@ -417,14 +417,14 @@ void wheelfir_state::wheelfir_blit_w(offs_t offset, uint16_t data, uint16_t mem_
|
||||
{
|
||||
vpage=LAYER_BG;
|
||||
/*
|
||||
printf("%s bg -> %d %d %d %d %d %d @ %x\n",machine().describe_context().c_str(), dst_x0,dst_y0, dst_x1,dst_y1, dst_x1-dst_x0, dst_y1-dst_y0);
|
||||
printf("%s bg -> %d %d %d %d %d %d @ %x\n",machine().describe_context().c_str(), dst_x0,dst_y0, dst_x1,dst_y1, dst_x1-dst_x0, dst_y1-dst_y0);
|
||||
|
||||
for(int i=0;i<16;++i)
|
||||
{
|
||||
printf("%x = %.4x\n",i,m_blitter_data[i]);
|
||||
}
|
||||
for(int i=0;i<16;++i)
|
||||
{
|
||||
printf("%x = %.4x\n",i,m_blitter_data[i]);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
*/
|
||||
}
|
||||
|
||||
@ -504,7 +504,7 @@ uint32_t wheelfir_state::screen_update_wheelfir(screen_device &screen, bitmap_in
|
||||
copybitmap_trans(bitmap, *m_tmp_bitmap[LAYER_FG], 0, 0, 0, 0, cliprect, 0);
|
||||
|
||||
/*
|
||||
m_tmp_bitmap[LAYER_BG]->fill(0, screen.visible_area());
|
||||
m_tmp_bitmap[LAYER_BG]->fill(0, screen.visible_area());
|
||||
*/
|
||||
|
||||
return 0;
|
||||
|
@ -53,7 +53,7 @@ private:
|
||||
required_shared_ptr<uint8_t> m_spriteram;
|
||||
|
||||
tilemap_t *m_bg_tilemap;
|
||||
|
||||
|
||||
uint8_t m_mcu_p1;
|
||||
uint8_t m_mcu_p2;
|
||||
uint8_t m_mcu_p3;
|
||||
|
@ -414,11 +414,11 @@ license:CC0
|
||||
<element name="LD77" ref="multi_color_button"><!-- 3 --><bounds x="169" y="560" width="43" height="43" /></element>
|
||||
<element name="LD78" ref="multi_color_button"><!-- 4 --><bounds x="214" y="560" width="43" height="43" /></element>
|
||||
<element name="LD79" ref="multi_color_button"><!-- INT VIDEO --><bounds x="259" y="560" width="43" height="43" /></element>
|
||||
<!-- TODO: <text string="VTR A"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR B"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="3"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="4"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="INT VIDEO"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR A"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR B"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="3"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="4"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="INT VIDEO"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
|
||||
<!-- Foreground -->
|
||||
<element name="LD70" ref="multi_color_button"><!-- VTR A --><bounds x="75" y="663" width="43" height="43" /></element>
|
||||
@ -426,11 +426,11 @@ license:CC0
|
||||
<element name="LD72" ref="multi_color_button"><!-- 3 --><bounds x="165" y="663" width="43" height="43" /></element>
|
||||
<element name="LD73" ref="multi_color_button"><!-- 4 --><bounds x="210" y="663" width="43" height="43" /></element>
|
||||
<element name="LD74" ref="multi_color_button"><!-- INT VIDEO --><bounds x="255" y="663" width="43" height="43" /></element>
|
||||
<!-- TODO: <text string="VTR A"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR B"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="3"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="4"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="INT VIDEO"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR A"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="VTR B"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="3"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="4"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
<!-- TODO: <text string="INT VIDEO"><color red="0.1" green="0.1" blue="0.1" /><bounds x="..." y="..." width="..." height="..." /></text> -->
|
||||
|
||||
<!-- Int Video -->
|
||||
<element name="LD82" ref="int_video_col_bkgd"><bounds x="321" y="578" width="52" height="12" /></element>
|
||||
|
@ -9,8 +9,8 @@
|
||||
Seen on die marked VH2009, used on polmega, silv35
|
||||
these are N2A03 derived CPUs used on VTxx systems
|
||||
|
||||
VT1682 systems with this scrambling currently derive from M6502 type
|
||||
but this might be incorrect
|
||||
VT1682 systems with this scrambling currently derive from M6502 type
|
||||
but this might be incorrect
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -231,14 +231,14 @@ NETLIST_START(tank)
|
||||
QBJT_EB(Q6, "2N3644")
|
||||
QBJT_EB(Q7, "2N3644")
|
||||
// Currently not used
|
||||
// QBJT_EB(Q27, "2N3643")
|
||||
// QBJT_EB(Q28, "2N3644")
|
||||
// QBJT_EB(Q29, "2N3643")
|
||||
// QBJT_EB(Q30, "2N3644")
|
||||
// QBJT_EB(Q31, "2N3643")
|
||||
// QBJT_EB(Q32, "2N3644")
|
||||
// QBJT_EB(Q33, "2N3643")
|
||||
// QBJT_EB(Q34, "2N3644")
|
||||
// QBJT_EB(Q27, "2N3643")
|
||||
// QBJT_EB(Q28, "2N3644")
|
||||
// QBJT_EB(Q29, "2N3643")
|
||||
// QBJT_EB(Q30, "2N3644")
|
||||
// QBJT_EB(Q31, "2N3643")
|
||||
// QBJT_EB(Q32, "2N3644")
|
||||
// QBJT_EB(Q33, "2N3643")
|
||||
// QBJT_EB(Q34, "2N3644")
|
||||
|
||||
TTL_7404_DIP(IC_H3)
|
||||
TTL_7400_DIP(IC_B6)
|
||||
|
@ -16995,7 +16995,7 @@ wcbowl16 // (c) 1995 Incredible Technologies
|
||||
wcbowl161 // (c) 1995 Incredible Technologies
|
||||
wcbowl165 // (c) 1995 Incredible Technologies
|
||||
wcbowldx // (c) 1999 Incredible Technologies
|
||||
shoottv // (c) 199? Incredible Technologies
|
||||
shoottv // (c) 199? Incredible Technologies
|
||||
|
||||
@source:itech8.cpp
|
||||
arlingtn // (c) 1991 Strata/Incredible Technologies
|
||||
|
@ -244,20 +244,20 @@ void ms32_state::draw_sprites(bitmap_ind16 &bitmap, bitmap_ind8 &bitmap_pri, con
|
||||
void ms32_state::draw_roz(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect,int priority)
|
||||
{
|
||||
// TODO: registers 0x40 / 0x44 and 0x50 / 0x54 are used, unknown meaning
|
||||
// Given how this works out it is most likely that 0x*0 controls X axis while 0x*4 Y,
|
||||
// nothing is known to diverge between settings so far (i.e. bbbxing sets 0xffff to 0x4* and 0x0000 to 0x5*).
|
||||
// 0x4* 0x5* ROZ should wrap?
|
||||
// bbbxing: 0xffff 0x0000 0 (match presentation)
|
||||
// gratia: 0x0000 0x0000 1 (sky in stage 2)
|
||||
// p47aces: 0xffff 0x0651 0 (title screen)
|
||||
// desertwr: 0xffff 0x0651 1 (any stage)
|
||||
// f1superb: 0xffff 0x0000 ?
|
||||
// suchie2: 0x0000 0x0000 0?
|
||||
// bnstars: 0x0000 0x0000 ?
|
||||
// hayaosi3: 0x0000 0x0000 ?
|
||||
// Maybe wrapping is done by limit boundaries rather than individual bits, so that bbbxing and p47aces abuses of this behaviour?
|
||||
// Are we missing a ROZ plane size as well?
|
||||
|
||||
// Given how this works out it is most likely that 0x*0 controls X axis while 0x*4 Y,
|
||||
// nothing is known to diverge between settings so far (i.e. bbbxing sets 0xffff to 0x4* and 0x0000 to 0x5*).
|
||||
// 0x4* 0x5* ROZ should wrap?
|
||||
// bbbxing: 0xffff 0x0000 0 (match presentation)
|
||||
// gratia: 0x0000 0x0000 1 (sky in stage 2)
|
||||
// p47aces: 0xffff 0x0651 0 (title screen)
|
||||
// desertwr: 0xffff 0x0651 1 (any stage)
|
||||
// f1superb: 0xffff 0x0000 ?
|
||||
// suchie2: 0x0000 0x0000 0?
|
||||
// bnstars: 0x0000 0x0000 ?
|
||||
// hayaosi3: 0x0000 0x0000 ?
|
||||
// Maybe wrapping is done by limit boundaries rather than individual bits, so that bbbxing and p47aces abuses of this behaviour?
|
||||
// Are we missing a ROZ plane size as well?
|
||||
|
||||
if (m_roz_ctrl[0x5c/4] & 1) /* "super" mode */
|
||||
{
|
||||
rectangle my_clip;
|
||||
|
Loading…
Reference in New Issue
Block a user