mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
srcclean for release
This commit is contained in:
parent
c6abdd77fb
commit
5fe20586ee
@ -10459,7 +10459,7 @@ has been replaced with an all-zero block. -->
|
||||
<rom name="Ishar [Silmarils] [1992] [5.25DD] [Disk 4 of 4] [Disk D].img" size="368640" crc="e5b4da48" sha1="d53fd8662d25cef392a2650732de8ab25c11d7c9"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
</software>
|
||||
|
||||
<software name="italy90">
|
||||
<description>Italy '90 Soccer</description>
|
||||
|
@ -12801,7 +12801,7 @@ license:CC0
|
||||
<rom name="Ishar 2 (Spain) [Silmarils] [1995] [3.5HD] [Disk 2 of 2] [Disk B].img" size="1474560" crc="3ea14189" sha1="be8895194524656fbf5956e417cd54630bd83d83"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
</software>
|
||||
|
||||
<software name="jazz">
|
||||
<description>Jazz Jackrabbit</description>
|
||||
|
@ -2670,7 +2670,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="bruceleek" cloneof="brucelee">
|
||||
<description>Bruce Lee (set 10, Erbe)</description>
|
||||
<year>1988</year>
|
||||
@ -21450,7 +21450,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="rbislandb" cloneof="rbisland">
|
||||
<description>Rainbow Islands (Erbe, small case)</description>
|
||||
<year>1990</year>
|
||||
@ -42324,7 +42324,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="aspargpma" cloneof="aspargpm">
|
||||
<description>Aspar - GP Master (set 2)</description>
|
||||
<year>1989</year>
|
||||
@ -54579,7 +54579,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="continen_c" cloneof="continen">
|
||||
<description>Continental Circus (Mastertronic Plus)</description>
|
||||
<year>1989</year>
|
||||
@ -74876,7 +74876,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="gpcirca" cloneof="gpcirc">
|
||||
<description>Grand Prix Circuit (Dro Soft)</description>
|
||||
<year>1990</year>
|
||||
@ -85746,7 +85746,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="perigosn" cloneof="jungletr">
|
||||
<description>Perigos na Selva</description>
|
||||
<year>1983</year>
|
||||
@ -105851,7 +105851,7 @@ license:CC0
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<software name="penetratb" cloneof="penetrat">
|
||||
<description>Penetrator (Investronica)</description>
|
||||
<year>1983</year>
|
||||
|
@ -296,11 +296,11 @@ function console.startplugin()
|
||||
end
|
||||
|
||||
setmetatable(console, {
|
||||
__gc = function ()
|
||||
if history_fullpath then
|
||||
local ln = require("linenoise")
|
||||
ln.savehistory(history_fullpath)
|
||||
end
|
||||
__gc = function ()
|
||||
if history_fullpath then
|
||||
local ln = require("linenoise")
|
||||
ln.savehistory(history_fullpath)
|
||||
end
|
||||
end})
|
||||
|
||||
return exports
|
||||
|
@ -1134,10 +1134,10 @@ end
|
||||
end
|
||||
if (version >= 110000) then
|
||||
buildoptions {
|
||||
"-Wno-nonnull", -- luaengine.cpp lambdas do not need "this" captured but GCC 11.1 erroneously insists
|
||||
"-Wno-stringop-overread", -- machine/bbc.cpp in GCC 11.1
|
||||
"-Wno-misleading-indentation", -- sqlite3.c in GCC 11.1
|
||||
"-Wno-maybe-uninitialized" -- expat in GCC 11.1
|
||||
"-Wno-nonnull", -- luaengine.cpp lambdas do not need "this" captured but GCC 11.1 erroneously insists
|
||||
"-Wno-stringop-overread", -- machine/bbc.cpp in GCC 11.1
|
||||
"-Wno-misleading-indentation", -- sqlite3.c in GCC 11.1
|
||||
"-Wno-maybe-uninitialized" -- expat in GCC 11.1
|
||||
}
|
||||
end
|
||||
end
|
||||
|
@ -6,14 +6,14 @@
|
||||
|
||||
Implementation of the BOOTI card
|
||||
|
||||
The BOOTI is an Apple II interface to the CH376 USB module.
|
||||
The CH376 is intended for use with small microcontrollers (or,
|
||||
you know, the 6502) to give them access to FAT-formatted
|
||||
flash drives. See ch376.cpp for details.
|
||||
The BOOTI is an Apple II interface to the CH376 USB module.
|
||||
The CH376 is intended for use with small microcontrollers (or,
|
||||
you know, the 6502) to give them access to FAT-formatted
|
||||
flash drives. See ch376.cpp for details.
|
||||
|
||||
C0n0: read/write data to CH376
|
||||
C0n1: read status/write command to CH376
|
||||
C0n4: $C800 ROM bank (0-3)
|
||||
C0n0: read/write data to CH376
|
||||
C0n1: read status/write command to CH376
|
||||
C0n4: $C800 ROM bank (0-3)
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
|
@ -2,16 +2,16 @@
|
||||
// copyright-holders:R. Belmont
|
||||
|
||||
/*
|
||||
mboardd.cpp - Mockingboard D emulation
|
||||
by R. Belmont
|
||||
mboardd.cpp - Mockingboard D emulation
|
||||
by R. Belmont
|
||||
|
||||
The Apple IIc didn't have slots, so Sweet Micro Systems came up with this, a Mockingboard
|
||||
in a little box that attached to the IIc's modem port. There's nothing special about the
|
||||
IIc though - with a proper cable, anything that speaks 9600 8N1 RS-232 could drive this
|
||||
device.
|
||||
The Apple IIc didn't have slots, so Sweet Micro Systems came up with this, a Mockingboard
|
||||
in a little box that attached to the IIc's modem port. There's nothing special about the
|
||||
IIc though - with a proper cable, anything that speaks 9600 8N1 RS-232 could drive this
|
||||
device.
|
||||
|
||||
A decent disassembly of the 6803 firmware is available from the Apple II Documentation Project:
|
||||
https://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Interface%20Cards/Audio/Sweet%20Microsystems%20Mockingboard/Source%20Code/
|
||||
A decent disassembly of the 6803 firmware is available from the Apple II Documentation Project:
|
||||
https://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Interface%20Cards/Audio/Sweet%20Microsystems%20Mockingboard/Source%20Code/
|
||||
|
||||
*/
|
||||
|
||||
@ -35,7 +35,7 @@ mockingboard_d_device::mockingboard_d_device(const machine_config &mconfig, cons
|
||||
|
||||
void mockingboard_d_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
M6803(config, m_cpu, 4.9152_MHz_XTAL); // value reverse-engineered from 9600 baud SCI rate needed
|
||||
M6803(config, m_cpu, 4.9152_MHz_XTAL); // value reverse-engineered from 9600 baud SCI rate needed
|
||||
m_cpu->set_addrmap(AS_PROGRAM, &mockingboard_d_device::m6803_mem);
|
||||
m_cpu->in_p2_cb().set(FUNC(mockingboard_d_device::p2_r));
|
||||
m_cpu->out_p1_cb().set(FUNC(mockingboard_d_device::p1_w));
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
|
||||
enum comms_state : uint8_t
|
||||
{
|
||||
STATE_POWERUP = 0U,
|
||||
STATE_POWERUP = 0U,
|
||||
STATE_HELLO_MESSAGE,
|
||||
STATE_HELLO_RECEIVE_BYTE1,
|
||||
STATE_HELLO_RECEIVE_BYTE2,
|
||||
|
@ -370,7 +370,7 @@ void m5074x_device::ports_w(offs_t offset, uint8_t data)
|
||||
break;
|
||||
|
||||
case 0xa: // p4 (4-bit open drain)
|
||||
send_port(4, (data & m_ddrs[4] & 0x0f) | (m_pullups[4] & ~m_ddrs[4]));
|
||||
send_port(4, (data & m_ddrs[4] & 0x0f) | (m_pullups[4] & ~m_ddrs[4]));
|
||||
m_ports[4] = data & 0x0f;
|
||||
break;
|
||||
|
||||
|
@ -1787,7 +1787,7 @@ void hd6301x_cpu_device::increment_t2cnt(int amount)
|
||||
}
|
||||
|
||||
m_tcsr3 |= 0x80;
|
||||
m_timer_next = 0; // HACK
|
||||
m_timer_next = 0; // HACK
|
||||
}
|
||||
else
|
||||
m_t2cnt += amount;
|
||||
|
@ -866,7 +866,7 @@ offs_t pdp8_disassembler::disassemble(std::ostream &stream, offs_t pc, const pdp
|
||||
case 4:
|
||||
stream << "JMS";
|
||||
dasm_memory_reference(stream, inst, pc);
|
||||
return 1 | SUPPORTED | STEP_OVER;
|
||||
return 1 | SUPPORTED | STEP_OVER;
|
||||
|
||||
case 5:
|
||||
stream << "JMP";
|
||||
|
@ -229,7 +229,7 @@ uint8_t at28c64b_device::read(offs_t offset)
|
||||
if( m_last_write >= 0 )
|
||||
{
|
||||
uint8_t data = m_last_write ^ 0x80;
|
||||
// logerror( "%s: AT28C64B: read( %04x ) write status %02x\n", machine().describe_context(), offset, data );
|
||||
// logerror( "%s: AT28C64B: read( %04x ) write status %02x\n", machine().describe_context(), offset, data );
|
||||
return data;
|
||||
}
|
||||
else
|
||||
|
@ -97,7 +97,7 @@ protected:
|
||||
C140_VOICE m_voi[MAX_VOICE];
|
||||
|
||||
emu_timer *m_int1_timer;
|
||||
|
||||
|
||||
u8 keyon_status_read(u16 offset);
|
||||
};
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
/**********************************************************************
|
||||
|
||||
Intel 82720 Graphics Display Controller emulation
|
||||
also known as NEC uPD7220
|
||||
also known as NEC uPD7220
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
@ -1732,12 +1732,12 @@ void upd7220_device::update_graphics(bitmap_rgb32 &bitmap, const rectangle &clip
|
||||
if(im || force_bitmap)
|
||||
{
|
||||
// according to documentation only areas 0-1-2 can be drawn in bitmap mode
|
||||
// PC98 Quarth definitely needs area 2 for player section.
|
||||
// PC98 Quarth definitely needs area 2 for player section.
|
||||
// TODO: what happens if combined area size is smaller than display height?
|
||||
// documentation suggests that it should repeat from area 0, needs real HW verification (no known SW do it).
|
||||
if(area >= 3)
|
||||
break;
|
||||
|
||||
|
||||
// PC98 madoum1-3 sets up ALL areas to a length of 0 after initial intro screen.
|
||||
// madoum1: area 0 sad==0 on gameplay (PC=0x955e7), sad==0xaa0 on second intro screen (tower) then intentionally scrolls up and back to initial position.
|
||||
// Suggests that length should be treated as max size if this occurs, this is also proven to be correct via real HW verification.
|
||||
|
@ -89,7 +89,7 @@ fs_meta_data fs_oric_jasmin::impl::metadata()
|
||||
len--;
|
||||
|
||||
res.set(fs_meta_name::name, bdir.rstr(0xf8, len));
|
||||
return res;
|
||||
return res;
|
||||
}
|
||||
|
||||
bool fs_oric_jasmin::validate_filename(std::string name)
|
||||
@ -149,7 +149,7 @@ void fs_oric_jasmin::impl::format(const fs_meta_data &meta)
|
||||
}
|
||||
|
||||
fs_oric_jasmin::impl::impl(fsblk_t &blockdev) : filesystem_t(blockdev, 256), m_root(true)
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
bool fs_oric_jasmin::impl::ref_valid(u16 ref)
|
||||
@ -440,7 +440,7 @@ fs_oric_jasmin::impl::file_t fs_oric_jasmin::impl::root_dir::file_create(const f
|
||||
bdir.w8 (off+0x0f, info.get_flag(fs_meta_name::sequential, true) ? 'S' : 'D');
|
||||
bdir.w16l(off+0x10, 2); // 2 sectors for an empty file
|
||||
|
||||
return file_t(new file(m_fs, this, bdir.rodata() + off, id));
|
||||
return file_t(new file(m_fs, this, bdir.rodata() + off, id));
|
||||
}
|
||||
|
||||
|
||||
|
@ -77,7 +77,7 @@ public:
|
||||
|
||||
impl(fsblk_t &blockdev);
|
||||
virtual ~impl() = default;
|
||||
|
||||
|
||||
virtual void format(const fs_meta_data &meta) override;
|
||||
virtual fs_meta_data metadata() override;
|
||||
virtual void metadata_change(const fs_meta_data &info) override;
|
||||
|
@ -188,7 +188,7 @@ void fs_prodos::impl::format(const fs_meta_data &meta)
|
||||
}
|
||||
|
||||
fs_prodos::impl::impl(fsblk_t &blockdev) : filesystem_t(blockdev, 512), m_root(true)
|
||||
{
|
||||
{
|
||||
}
|
||||
|
||||
util::arbitrary_datetime fs_prodos::impl::prodos_to_dt(u32 date)
|
||||
@ -216,7 +216,7 @@ fs_meta_data fs_prodos::impl::metadata()
|
||||
res.set(fs_meta_name::os_minimum_version, bdir.r8(0x21));
|
||||
res.set(fs_meta_name::creation_date, prodos_to_dt(bdir.r32l(0x1c)));
|
||||
res.set(fs_meta_name::modification_date, prodos_to_dt(bdir.r32l(0x16)));
|
||||
return res;
|
||||
return res;
|
||||
}
|
||||
|
||||
filesystem_t::dir_t fs_prodos::impl::root()
|
||||
@ -251,7 +251,7 @@ fs_meta_data fs_prodos::impl::dir::metadata()
|
||||
res.set(fs_meta_name::os_minimum_version, bdir.r8(0x21));
|
||||
res.set(fs_meta_name::creation_date, prodos_to_dt(bdir.r32l(0x1c)));
|
||||
res.set(fs_meta_name::modification_date, prodos_to_dt(bdir.r32l(0x16)));
|
||||
return res;
|
||||
return res;
|
||||
}
|
||||
|
||||
std::vector<fs_dir_entry> fs_prodos::impl::dir::contents()
|
||||
@ -362,7 +362,7 @@ fs_meta_data fs_prodos::impl::file::metadata()
|
||||
auto rootblk = m_fs.m_blockdev.get(r16l(m_entry+0x11));
|
||||
res.set(fs_meta_name::length, rootblk.r24l(0x005));
|
||||
res.set(fs_meta_name::rsrc_length, rootblk.r24l(0x105));
|
||||
|
||||
|
||||
} else if(type >= 1 && type <= 3)
|
||||
res.set(fs_meta_name::length, r24l(m_entry + 0x15));
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
|
||||
impl(fsblk_t &blockdev);
|
||||
virtual ~impl() = default;
|
||||
|
||||
|
||||
virtual void format(const fs_meta_data &meta) override;
|
||||
|
||||
virtual fs_meta_data metadata() override;
|
||||
|
@ -24,7 +24,7 @@ bool fs_refcounted_inner::unref()
|
||||
if(m_ref == 0) {
|
||||
if(m_weak_ref)
|
||||
drop_weak_references();
|
||||
else
|
||||
else
|
||||
delete this;
|
||||
return true;
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ public:
|
||||
} else if(m_is_weak_ref != cref.m_is_weak_ref) {
|
||||
ref();
|
||||
cref.unref();
|
||||
m_object = cref.m_object; // In case the object got deleted (when going from strong ref to weak on the last strong)
|
||||
m_object = cref.m_object; // In case the object got deleted (when going from strong ref to weak on the last strong)
|
||||
}
|
||||
cref.m_object = nullptr;
|
||||
return *this;
|
||||
@ -161,7 +161,7 @@ private:
|
||||
m_object->ref();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void unref() {
|
||||
if(m_object) {
|
||||
bool del = m_is_weak_ref ? m_object->unref_weak() : m_object->unref();
|
||||
@ -269,7 +269,7 @@ public:
|
||||
|
||||
fsblk_t() : m_block_size(0) {}
|
||||
virtual ~fsblk_t() = default;
|
||||
|
||||
|
||||
virtual void set_block_size(uint32_t block_size);
|
||||
virtual uint32_t block_count() const = 0;
|
||||
virtual block_t get(uint32_t id) = 0;
|
||||
@ -385,7 +385,7 @@ protected:
|
||||
};
|
||||
|
||||
class unformatted_floppy_creator;
|
||||
|
||||
|
||||
class filesystem_manager_t {
|
||||
public:
|
||||
struct floppy_enumerator {
|
||||
|
@ -37,7 +37,7 @@ arbitrary_datetime arbitrary_datetime::now()
|
||||
time_t sec;
|
||||
time(&sec);
|
||||
auto t = *localtime(&sec);
|
||||
|
||||
|
||||
arbitrary_datetime dt;
|
||||
dt.year = t.tm_year + 1900;
|
||||
dt.month = t.tm_mon + 1;
|
||||
@ -46,7 +46,7 @@ arbitrary_datetime arbitrary_datetime::now()
|
||||
dt.minute = t.tm_min;
|
||||
dt.second = t.tm_sec;
|
||||
|
||||
return dt;
|
||||
return dt;
|
||||
}
|
||||
|
||||
static std::chrono::system_clock::duration calculate_system_clock_adjustment()
|
||||
|
@ -513,7 +513,7 @@ void _1942_state::_1942(machine_config &config)
|
||||
PALETTE(config, m_palette, FUNC(_1942_state::_1942_palette), 64*4+4*32*8+16*16, 256);
|
||||
|
||||
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
|
||||
m_screen->set_raw(MASTER_CLOCK/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_raw(MASTER_CLOCK/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_screen_update(FUNC(_1942_state::screen_update));
|
||||
m_screen->set_palette(m_palette);
|
||||
|
||||
@ -573,7 +573,7 @@ void _1942p_state::_1942p(machine_config &config)
|
||||
PALETTE(config, m_palette, FUNC(_1942p_state::_1942p_palette), 0x500, 0x400);
|
||||
|
||||
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
|
||||
m_screen->set_raw(MASTER_CLOCK/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_raw(MASTER_CLOCK/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_screen_update(FUNC(_1942p_state::screen_update));
|
||||
m_screen->set_palette(m_palette);
|
||||
|
||||
|
@ -296,7 +296,7 @@ void _1943_state::_1943(machine_config &config)
|
||||
|
||||
// video hardware
|
||||
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
|
||||
m_screen->set_raw(XTAL(24'000'000)/4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_raw(XTAL(24'000'000)/4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
m_screen->set_screen_update(FUNC(_1943_state::screen_update));
|
||||
m_screen->set_palette(m_palette);
|
||||
|
||||
|
@ -4772,7 +4772,7 @@ static void apple2_cards(device_slot_interface &device)
|
||||
device.option_add("sider1", A2BUS_SIDER1); /* Advanced Tech Systems / First Class Peripherals Sider 1 SASI card */
|
||||
device.option_add("uniprint", A2BUS_UNIPRINT); /* Videx Uniprint parallel printer card */
|
||||
device.option_add("ccs7710", A2BUS_CCS7710); /* California Computer Systems Model 7710 Asynchronous Serial Interface */
|
||||
device.option_add("booti", A2BUS_BOOTI); /* Booti Card */
|
||||
device.option_add("booti", A2BUS_BOOTI); /* Booti Card */
|
||||
}
|
||||
|
||||
void apple2gs_state::apple2gs(machine_config &config)
|
||||
|
@ -656,7 +656,7 @@ void bionicc_state::bionicc(machine_config &config)
|
||||
|
||||
// video hardware
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(24_MHz_XTAL / 4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(24_MHz_XTAL / 4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(bionicc_state::screen_update));
|
||||
screen.screen_vblank().set(m_spriteram, FUNC(buffered_spriteram16_device::vblank_copy_rising));
|
||||
screen.set_palette(m_palette);
|
||||
|
@ -310,7 +310,7 @@ void blktiger_state::blktiger(machine_config &config)
|
||||
|
||||
/* video hardware */
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(24_MHz_XTAL / 4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(24_MHz_XTAL / 4, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(blktiger_state::screen_update_blktiger));
|
||||
screen.screen_vblank().set("spriteram", FUNC(buffered_spriteram8_device::vblank_copy_rising));
|
||||
screen.set_palette(m_palette);
|
||||
|
@ -449,7 +449,7 @@
|
||||
|
||||
Major improvements...
|
||||
- Worked the analogic color system, adding the three R-G-B presets.
|
||||
- Added the PORT_ADJUST for RGB in all games, defining the default values.
|
||||
- Added the PORT_ADJUST for RGB in all games, defining the default values.
|
||||
- Redumped the Cal Omega - Game 20.8 (Winner's Choice). Reworked proper inputs.
|
||||
- Inputs from the scratch for all the Pixels, Keno and Hotline games. Promoted to WORKING.
|
||||
- Specific inputs for games 12.8, 15.7, 15.9, 17.2, and 20.4. Promoted to WORKING.
|
||||
@ -770,7 +770,7 @@ void calomega_state::s903_mux_w(uint8_t data)
|
||||
|
||||
uint8_t calomega_state::s905_mux_port_r()
|
||||
{
|
||||
switch( m_s905_mux_data & 0x0f ) // bits 0-3
|
||||
switch( m_s905_mux_data & 0x0f ) // bits 0-3
|
||||
{
|
||||
case 0x01: return m_in0_0->read();
|
||||
case 0x02: return m_in0_1->read();
|
||||
@ -786,10 +786,10 @@ void calomega_state::s905_mux_w(uint8_t data)
|
||||
m_s905_mux_data = data ^ 0x0f; // inverted
|
||||
|
||||
/* Upper nibble
|
||||
PIA_1_PB_4 - Hopper1.
|
||||
PIA_1_PB_5 - Hopper2.
|
||||
PIA_1_PB_6 - Not Connected.
|
||||
PIA_1_PB_7 - Lockout.
|
||||
PIA_1_PB_4 - Hopper1.
|
||||
PIA_1_PB_5 - Hopper2.
|
||||
PIA_1_PB_6 - Not Connected.
|
||||
PIA_1_PB_7 - Lockout.
|
||||
*/
|
||||
m_hopper->motor_w(BIT(~data, 4) && BIT(~data, 5));
|
||||
m_lockout = BIT(data, 7);
|
||||
@ -800,18 +800,18 @@ void calomega_state::s905_mux_w(uint8_t data)
|
||||
|
||||
uint8_t calomega_state::pia0_bin_r()
|
||||
{
|
||||
//logerror("PIA0: Port B in\n");
|
||||
//logerror("PIA0: Port B in\n");
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
void calomega_state::pia0_aout_w(uint8_t data)
|
||||
{
|
||||
//logerror("PIA0: Port A out: %02X\n", data);
|
||||
//logerror("PIA0: Port A out: %02X\n", data);
|
||||
}
|
||||
|
||||
void calomega_state::pia0_bout_w(uint8_t data)
|
||||
{
|
||||
// Meters???...M1-M5
|
||||
// Meters???...M1-M5
|
||||
m_diverter = BIT(data, 3);
|
||||
m_lockout = BIT(data, 5);
|
||||
m_hopper->motor_w(BIT(~data, 6) && BIT(~data, 7));
|
||||
@ -832,7 +832,7 @@ uint8_t calomega_state::pia1_ain_r()
|
||||
|
||||
uint8_t calomega_state::pia1_bin_r()
|
||||
{
|
||||
// logerror("PIA1: Port B in\n");
|
||||
// logerror("PIA1: Port B in\n");
|
||||
return 0xff;
|
||||
}
|
||||
|
||||
@ -917,7 +917,7 @@ WRITE_LINE_MEMBER(calomega_state::vblank1_w)
|
||||
WRITE_LINE_MEMBER(calomega_state::vblank2_w)
|
||||
{
|
||||
m_vblank = state;
|
||||
m_pia[1]->read(0);
|
||||
m_pia[1]->read(0);
|
||||
m_pia[1]->read(0);
|
||||
m_pia[1]->cb1_w(state);
|
||||
|
||||
@ -980,7 +980,7 @@ WRITE_LINE_MEMBER(calomega_state::dummy_pia_line_w)
|
||||
*/
|
||||
void calomega_state::lamps_903a_w(uint8_t data)
|
||||
{
|
||||
// Whole 8 bits of PIA0 port B
|
||||
// Whole 8 bits of PIA0 port B
|
||||
m_lamps[0] = BIT(~data, 0); // L1 (Hold 1)
|
||||
m_lamps[1] = BIT(~data, 1); // L2 (Hold 2)
|
||||
m_lamps[2] = BIT(~data, 2); // L3 (Hold 3)
|
||||
@ -993,7 +993,7 @@ void calomega_state::lamps_903a_w(uint8_t data)
|
||||
|
||||
void calomega_state::lamps_903b_w(uint8_t data)
|
||||
{
|
||||
// First 4 bits of PIA1 port A
|
||||
// First 4 bits of PIA1 port A
|
||||
m_lamps[5] = BIT(~data, 0); // L6 (Cancel)
|
||||
m_lamps[6] = BIT(~data, 1); // L7 (Bet)
|
||||
m_lamps[7] = BIT(~data, 2); // L8 (Take)
|
||||
@ -1002,7 +1002,7 @@ void calomega_state::lamps_903b_w(uint8_t data)
|
||||
|
||||
void calomega_state::lamps_905_w(uint8_t data)
|
||||
{
|
||||
// Whole 8 bits of PIA0 port B
|
||||
// Whole 8 bits of PIA0 port B
|
||||
m_lamps[0] = BIT(~data, 0); // L1 (Hold 1)
|
||||
m_lamps[1] = BIT(~data, 1); // L2 (Hold 2)
|
||||
m_lamps[2] = BIT(~data, 2); // L3 (Hold 3)
|
||||
@ -1484,8 +1484,8 @@ static INPUT_PORTS_START( keno_903 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("43")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("KB_11")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Exit") PORT_CODE(KEYCODE_X) // #84 0x54 TEST EXIT
|
||||
PORT_START("KB_11")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Exit") PORT_CODE(KEYCODE_X) // #84 0x54 TEST EXIT
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_CANCEL ) // #83 0x53 CANCEL "N"
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("60")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("50")
|
||||
@ -1921,7 +1921,7 @@ static INPUT_PORTS_START( comg208 )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Learn") PORT_CODE(KEYCODE_7)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Service/Clear") PORT_CODE(KEYCODE_8)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Data / Audit") PORT_CODE(KEYCODE_9)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Data / Audit") PORT_CODE(KEYCODE_9)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test Mode")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
@ -2557,7 +2557,7 @@ static INPUT_PORTS_START( biggame )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( nudgensw ) // nudge bingo
|
||||
static INPUT_PORTS_START( nudgensw ) // nudge bingo
|
||||
PORT_START("IN0-0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Nudge 1 Up") PORT_CODE(KEYCODE_A)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Nudge 2 Up") PORT_CODE(KEYCODE_S)
|
||||
@ -2706,7 +2706,7 @@ static INPUT_PORTS_START( nudgesw )
|
||||
PORT_INCLUDE( nudgensw )
|
||||
|
||||
PORT_MODIFY("SW1") // settings (PIA1), SW2 in schematics
|
||||
PORT_DIPNAME( 0xc0, 0xc0, "Bet Options" ) PORT_DIPLOCATION("SW2:3,4")
|
||||
PORT_DIPNAME( 0xc0, 0xc0, "Bet Options" ) PORT_DIPLOCATION("SW2:3,4")
|
||||
PORT_DIPSETTING( 0x00, "Play 1" )
|
||||
PORT_DIPSETTING( 0x40, "Play 1 to 3" )
|
||||
PORT_DIPSETTING( 0x80, "Play 1 to 4" )
|
||||
@ -2714,7 +2714,7 @@ static INPUT_PORTS_START( nudgesw )
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
static INPUT_PORTS_START( hotline ) // nudge bingo
|
||||
static INPUT_PORTS_START( hotline ) // nudge bingo
|
||||
PORT_START("IN0-0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Move Up 1") PORT_CODE(KEYCODE_A)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Move Up 2") PORT_CODE(KEYCODE_S)
|
||||
@ -3604,14 +3604,14 @@ static INPUT_PORTS_START( comg204 )
|
||||
PORT_START("IN0-0")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) PORT_NAME("Play (Bet)")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_NAME("Deal / Draw")
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hit (Pedir)") PORT_CODE(KEYCODE_V)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME("Hit (Pedir)") PORT_CODE(KEYCODE_V)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_STAND ) PORT_NAME("Stand")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Double")
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP ) PORT_NAME("Double")
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_START("IN0-1")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Learn") PORT_CODE(KEYCODE_8)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Clr Data") PORT_CODE(KEYCODE_0)
|
||||
@ -3619,7 +3619,7 @@ static INPUT_PORTS_START( comg204 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Test")
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
|
||||
PORT_START("IN0-2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
@ -3629,7 +3629,7 @@ static INPUT_PORTS_START( comg204 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
|
||||
PORT_START("IN0-3")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_NAME("Tilt") PORT_CODE(KEYCODE_T)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
@ -4572,7 +4572,7 @@ void calomega_state::sys903(machine_config &config)
|
||||
ay8912.port_a_read_callback().set_ioport("SW3"); // from schematics
|
||||
ay8912.add_route(ALL_OUTPUTS, "mono", 0.75);
|
||||
|
||||
// acia 0
|
||||
// acia 0
|
||||
ACIA6850(config, m_acia6850[0], 0);
|
||||
m_acia6850[0]->irq_handler().set_inputline("maincpu", M6502_IRQ_LINE);
|
||||
|
||||
@ -4596,11 +4596,11 @@ void calomega_state::sys903kb(machine_config &config)
|
||||
I8035(config, m_kstec, XTAL(5'185'000)); // from schematics
|
||||
m_kstec->set_addrmap(AS_PROGRAM, &calomega_state::kstec_mem_map);
|
||||
m_kstec->set_addrmap(AS_IO, &calomega_state::kstec_io_map);
|
||||
m_kstec->p2_out_cb().set([this] (int data) { calomega_state::m_kbscan = (data & 0xf0) >> 4; }); // set keyboard scan lines
|
||||
m_kstec->p1_in_cb().set(FUNC(calomega_state::keyb_903_r)); // get keyboard input lines
|
||||
m_kstec->t0_in_cb().set("uart", FUNC(i8251_device::txrdy_r)); // uart tx handshake
|
||||
m_kstec->t1_in_cb().set([this] () { return calomega_state::m_rxrdy; }); // uart rx handshake
|
||||
|
||||
m_kstec->p2_out_cb().set([this] (int data) { calomega_state::m_kbscan = (data & 0xf0) >> 4; }); // set keyboard scan lines
|
||||
m_kstec->p1_in_cb().set(FUNC(calomega_state::keyb_903_r)); // get keyboard input lines
|
||||
m_kstec->t0_in_cb().set("uart", FUNC(i8251_device::txrdy_r)); // uart tx handshake
|
||||
m_kstec->t1_in_cb().set([this] () { return calomega_state::m_rxrdy; }); // uart rx handshake
|
||||
|
||||
PIA6821(config, m_pia[0], 0);
|
||||
m_pia[0]->readpa_handler().set(FUNC(calomega_state::s903_mux_port_r));
|
||||
m_pia[0]->readpb_handler().set(FUNC(calomega_state::dummy_pia_r)); // Debug: some dipsw maybe???
|
||||
@ -4645,14 +4645,14 @@ void calomega_state::sys903kb(machine_config &config)
|
||||
ay8912.port_a_read_callback().set_ioport("SW3"); // from schematics
|
||||
ay8912.add_route(ALL_OUTPUTS, "mono", 0.75);
|
||||
|
||||
// acia 0
|
||||
// acia 0
|
||||
ACIA6850(config, m_acia6850[0], 0);
|
||||
m_acia6850[0]->txd_handler().set("uart", FUNC(i8251_device::write_rxd));
|
||||
m_acia6850[0]->irq_handler().set_inputline("maincpu", M6502_IRQ_LINE);
|
||||
m_acia6850[0]->irq_handler().set_inputline("maincpu", M6502_IRQ_LINE);
|
||||
|
||||
I8251(config, m_uart, 5'185'000);
|
||||
m_uart->txd_handler().set("acia6850_0", FUNC(acia6850_device::write_rxd));
|
||||
m_uart->rxrdy_handler().set([this] (int state) { calomega_state::m_rxrdy = state;});
|
||||
m_uart->txd_handler().set("acia6850_0", FUNC(acia6850_device::write_rxd));
|
||||
m_uart->rxrdy_handler().set([this] (int state) { calomega_state::m_rxrdy = state;});
|
||||
|
||||
clock_device &aciabaud(CLOCK(config, "aciabaud", UART_CLOCK));
|
||||
aciabaud.signal_handler().set(FUNC(calomega_state::w_903kb_acia_clock));
|
||||
@ -4813,7 +4813,7 @@ ROM_END
|
||||
|
||||
ROM_START( comg079 ) // Cal Omega v7.9 (Arcade Poker)
|
||||
/* The original code jumps to $2e64 where there's an inexistent mnemonic 0x32! (kill).
|
||||
Also writes to $axxx (inexistent) and $08fx-$09xx (supposed to be $0880-$0881).
|
||||
Also writes to $axxx (inexistent) and $08fx-$09xx (supposed to be $0880-$0881).
|
||||
Found damaged bits on this program ROM. Fix details on init().
|
||||
*/
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
@ -5851,126 +5851,126 @@ void calomega_state::init_comg079()
|
||||
uint8_t *PRGROM = memregion( "maincpu" )->base();
|
||||
|
||||
PRGROM[0x2ad2] = 0x00; // checksum flag (0xe0)
|
||||
PRGROM[0x2CD1] = 0x33;
|
||||
PRGROM[0x2CD3] = 0x5A;
|
||||
PRGROM[0x2CD5] = 0x76;
|
||||
PRGROM[0x2CD9] = 0x13;
|
||||
PRGROM[0x2CDB] = 0x30;
|
||||
PRGROM[0x2CDD] = 0x06;
|
||||
PRGROM[0x2D01] = 0x10;
|
||||
PRGROM[0x2D06] = 0x36;
|
||||
PRGROM[0x2D07] = 0x20;
|
||||
PRGROM[0x2D08] = 0x7D;
|
||||
PRGROM[0x2D09] = 0x3D;
|
||||
PRGROM[0x2D0A] = 0x60;
|
||||
PRGROM[0x2D30] = 0x26;
|
||||
PRGROM[0x2D31] = 0x00;
|
||||
PRGROM[0x2D33] = 0x00;
|
||||
PRGROM[0x2D35] = 0x25;
|
||||
PRGROM[0x2D36] = 0x00;
|
||||
PRGROM[0x2D37] = 0x4C;
|
||||
PRGROM[0x2D39] = 0x34;
|
||||
PRGROM[0x2D3B] = 0x00;
|
||||
PRGROM[0x2D3C] = 0x38;
|
||||
PRGROM[0x2D3E] = 0x40;
|
||||
PRGROM[0x2D3F] = 0x48;
|
||||
PRGROM[0x2D41] = 0x01;
|
||||
PRGROM[0x2D44] = 0x48;
|
||||
PRGROM[0x2D46] = 0x02;
|
||||
PRGROM[0x2D48] = 0x0F;
|
||||
PRGROM[0x2D4A] = 0x0B;
|
||||
PRGROM[0x2D4C] = 0x02;
|
||||
PRGROM[0x2D4F] = 0x01;
|
||||
PRGROM[0x2D50] = 0x68;
|
||||
PRGROM[0x2D52] = 0x00;
|
||||
PRGROM[0x2D53] = 0x4C;
|
||||
PRGROM[0x2D54] = 0x3A;
|
||||
PRGROM[0x2D55] = 0x2D;
|
||||
PRGROM[0x2D56] = 0x68;
|
||||
PRGROM[0x2D57] = 0x68;
|
||||
PRGROM[0x2D58] = 0x60;
|
||||
PRGROM[0x2D5A] = 0x00;
|
||||
PRGROM[0x2D5C] = 0x06;
|
||||
PRGROM[0x2D5E] = 0x01;
|
||||
PRGROM[0x2D60] = 0x02;
|
||||
PRGROM[0x2D62] = 0x02;
|
||||
PRGROM[0x2D63] = 0x20;
|
||||
PRGROM[0x2D64] = 0x3A;
|
||||
PRGROM[0x2D65] = 0x2D;
|
||||
PRGROM[0x2D66] = 0x60;
|
||||
PRGROM[0x2D68] = 0x00;
|
||||
PRGROM[0x2D6A] = 0x08;
|
||||
PRGROM[0x2D6C] = 0x01;
|
||||
PRGROM[0x2D6E] = 0x02;
|
||||
PRGROM[0x2D79] = 0x0A;
|
||||
PRGROM[0x2D7B] = 0x06;
|
||||
PRGROM[0x2D80] = 0x78;
|
||||
PRGROM[0x2D81] = 0x2D;
|
||||
PRGROM[0x2D82] = 0x09;
|
||||
PRGROM[0x2D84] = 0x60;
|
||||
PRGROM[0x2D86] = 0x00;
|
||||
PRGROM[0x2D87] = 0xBE;
|
||||
PRGROM[0x2D88] = 0x97;
|
||||
PRGROM[0x2D89] = 0x2D;
|
||||
PRGROM[0x2D8C] = 0x97;
|
||||
PRGROM[0x2D8F] = 0x9D;
|
||||
PRGROM[0x2D90] = 0x00;
|
||||
PRGROM[0x2D98] = 0x04;
|
||||
PRGROM[0x2D9C] = 0x00;
|
||||
PRGROM[0x2DAC] = 0x04;
|
||||
PRGROM[0x2DB0] = 0x04;
|
||||
PRGROM[0x2DB4] = 0x00;
|
||||
PRGROM[0x2DB6] = 0x0F;
|
||||
PRGROM[0x2DB8] = 0x04;
|
||||
PRGROM[0x2DBC] = 0x04;
|
||||
PRGROM[0x2DD1] = 0x20;
|
||||
PRGROM[0x2DD3] = 0x00;
|
||||
PRGROM[0x2DD5] = 0x00;
|
||||
PRGROM[0x2DD6] = 0x10;
|
||||
PRGROM[0x2DD7] = 0x99;
|
||||
PRGROM[0x2DD9] = 0x11;
|
||||
PRGROM[0x2DDB] = 0x00;
|
||||
PRGROM[0x2DDD] = 0x99;
|
||||
PRGROM[0x2DDE] = 0x00;
|
||||
PRGROM[0x2DE3] = 0x8A;
|
||||
PRGROM[0x2DE5] = 0x00;
|
||||
PRGROM[0x2DE6] = 0x99;
|
||||
PRGROM[0x2DE7] = 0x00;
|
||||
PRGROM[0x2DE8] = 0x14;
|
||||
PRGROM[0x2DE9] = 0x99;
|
||||
PRGROM[0x2DEA] = 0x00;
|
||||
PRGROM[0x2DEB] = 0x15;
|
||||
PRGROM[0x2DED] = 0x00;
|
||||
PRGROM[0x2DEE] = 0x16;
|
||||
PRGROM[0x2DEF] = 0x99;
|
||||
PRGROM[0x2E01] = 0x90;
|
||||
PRGROM[0x2E03] = 0x45;
|
||||
PRGROM[0x2E05] = 0x49;
|
||||
PRGROM[0x2E06] = 0x01;
|
||||
PRGROM[0x2E07] = 0x4A;
|
||||
PRGROM[0x2E09] = 0x90;
|
||||
PRGROM[0x2E0B] = 0x91;
|
||||
PRGROM[0x2E0D] = 0x92;
|
||||
PRGROM[0x2E0F] = 0x93;
|
||||
PRGROM[0x2E30] = 0xE0;
|
||||
PRGROM[0x2E31] = 0x12;
|
||||
PRGROM[0x2E32] = 0x90;
|
||||
PRGROM[0x2E34] = 0xAD;
|
||||
PRGROM[0x2E35] = 0xC4;
|
||||
PRGROM[0x2E36] = 0x08;
|
||||
PRGROM[0x2E37] = 0x29;
|
||||
PRGROM[0x2E38] = 0x80;
|
||||
PRGROM[0x2E39] = 0xD0;
|
||||
PRGROM[0x2E3A] = 0x13;
|
||||
PRGROM[0x2E3B] = 0xA0;
|
||||
PRGROM[0x2E3C] = 0x00;
|
||||
PRGROM[0x2E3E] = 0x04;
|
||||
PRGROM[0x2E67] = 0x2E;
|
||||
PRGROM[0x2E68] = 0x8D;
|
||||
PRGROM[0x2E69] = 0x08;
|
||||
PRGROM[0x2E6A] = 0x00;
|
||||
PRGROM[0x2E6E] = 0x8D;
|
||||
PRGROM[0x2E6F] = 0x09;
|
||||
PRGROM[0x2CD1] = 0x33;
|
||||
PRGROM[0x2CD3] = 0x5A;
|
||||
PRGROM[0x2CD5] = 0x76;
|
||||
PRGROM[0x2CD9] = 0x13;
|
||||
PRGROM[0x2CDB] = 0x30;
|
||||
PRGROM[0x2CDD] = 0x06;
|
||||
PRGROM[0x2D01] = 0x10;
|
||||
PRGROM[0x2D06] = 0x36;
|
||||
PRGROM[0x2D07] = 0x20;
|
||||
PRGROM[0x2D08] = 0x7D;
|
||||
PRGROM[0x2D09] = 0x3D;
|
||||
PRGROM[0x2D0A] = 0x60;
|
||||
PRGROM[0x2D30] = 0x26;
|
||||
PRGROM[0x2D31] = 0x00;
|
||||
PRGROM[0x2D33] = 0x00;
|
||||
PRGROM[0x2D35] = 0x25;
|
||||
PRGROM[0x2D36] = 0x00;
|
||||
PRGROM[0x2D37] = 0x4C;
|
||||
PRGROM[0x2D39] = 0x34;
|
||||
PRGROM[0x2D3B] = 0x00;
|
||||
PRGROM[0x2D3C] = 0x38;
|
||||
PRGROM[0x2D3E] = 0x40;
|
||||
PRGROM[0x2D3F] = 0x48;
|
||||
PRGROM[0x2D41] = 0x01;
|
||||
PRGROM[0x2D44] = 0x48;
|
||||
PRGROM[0x2D46] = 0x02;
|
||||
PRGROM[0x2D48] = 0x0F;
|
||||
PRGROM[0x2D4A] = 0x0B;
|
||||
PRGROM[0x2D4C] = 0x02;
|
||||
PRGROM[0x2D4F] = 0x01;
|
||||
PRGROM[0x2D50] = 0x68;
|
||||
PRGROM[0x2D52] = 0x00;
|
||||
PRGROM[0x2D53] = 0x4C;
|
||||
PRGROM[0x2D54] = 0x3A;
|
||||
PRGROM[0x2D55] = 0x2D;
|
||||
PRGROM[0x2D56] = 0x68;
|
||||
PRGROM[0x2D57] = 0x68;
|
||||
PRGROM[0x2D58] = 0x60;
|
||||
PRGROM[0x2D5A] = 0x00;
|
||||
PRGROM[0x2D5C] = 0x06;
|
||||
PRGROM[0x2D5E] = 0x01;
|
||||
PRGROM[0x2D60] = 0x02;
|
||||
PRGROM[0x2D62] = 0x02;
|
||||
PRGROM[0x2D63] = 0x20;
|
||||
PRGROM[0x2D64] = 0x3A;
|
||||
PRGROM[0x2D65] = 0x2D;
|
||||
PRGROM[0x2D66] = 0x60;
|
||||
PRGROM[0x2D68] = 0x00;
|
||||
PRGROM[0x2D6A] = 0x08;
|
||||
PRGROM[0x2D6C] = 0x01;
|
||||
PRGROM[0x2D6E] = 0x02;
|
||||
PRGROM[0x2D79] = 0x0A;
|
||||
PRGROM[0x2D7B] = 0x06;
|
||||
PRGROM[0x2D80] = 0x78;
|
||||
PRGROM[0x2D81] = 0x2D;
|
||||
PRGROM[0x2D82] = 0x09;
|
||||
PRGROM[0x2D84] = 0x60;
|
||||
PRGROM[0x2D86] = 0x00;
|
||||
PRGROM[0x2D87] = 0xBE;
|
||||
PRGROM[0x2D88] = 0x97;
|
||||
PRGROM[0x2D89] = 0x2D;
|
||||
PRGROM[0x2D8C] = 0x97;
|
||||
PRGROM[0x2D8F] = 0x9D;
|
||||
PRGROM[0x2D90] = 0x00;
|
||||
PRGROM[0x2D98] = 0x04;
|
||||
PRGROM[0x2D9C] = 0x00;
|
||||
PRGROM[0x2DAC] = 0x04;
|
||||
PRGROM[0x2DB0] = 0x04;
|
||||
PRGROM[0x2DB4] = 0x00;
|
||||
PRGROM[0x2DB6] = 0x0F;
|
||||
PRGROM[0x2DB8] = 0x04;
|
||||
PRGROM[0x2DBC] = 0x04;
|
||||
PRGROM[0x2DD1] = 0x20;
|
||||
PRGROM[0x2DD3] = 0x00;
|
||||
PRGROM[0x2DD5] = 0x00;
|
||||
PRGROM[0x2DD6] = 0x10;
|
||||
PRGROM[0x2DD7] = 0x99;
|
||||
PRGROM[0x2DD9] = 0x11;
|
||||
PRGROM[0x2DDB] = 0x00;
|
||||
PRGROM[0x2DDD] = 0x99;
|
||||
PRGROM[0x2DDE] = 0x00;
|
||||
PRGROM[0x2DE3] = 0x8A;
|
||||
PRGROM[0x2DE5] = 0x00;
|
||||
PRGROM[0x2DE6] = 0x99;
|
||||
PRGROM[0x2DE7] = 0x00;
|
||||
PRGROM[0x2DE8] = 0x14;
|
||||
PRGROM[0x2DE9] = 0x99;
|
||||
PRGROM[0x2DEA] = 0x00;
|
||||
PRGROM[0x2DEB] = 0x15;
|
||||
PRGROM[0x2DED] = 0x00;
|
||||
PRGROM[0x2DEE] = 0x16;
|
||||
PRGROM[0x2DEF] = 0x99;
|
||||
PRGROM[0x2E01] = 0x90;
|
||||
PRGROM[0x2E03] = 0x45;
|
||||
PRGROM[0x2E05] = 0x49;
|
||||
PRGROM[0x2E06] = 0x01;
|
||||
PRGROM[0x2E07] = 0x4A;
|
||||
PRGROM[0x2E09] = 0x90;
|
||||
PRGROM[0x2E0B] = 0x91;
|
||||
PRGROM[0x2E0D] = 0x92;
|
||||
PRGROM[0x2E0F] = 0x93;
|
||||
PRGROM[0x2E30] = 0xE0;
|
||||
PRGROM[0x2E31] = 0x12;
|
||||
PRGROM[0x2E32] = 0x90;
|
||||
PRGROM[0x2E34] = 0xAD;
|
||||
PRGROM[0x2E35] = 0xC4;
|
||||
PRGROM[0x2E36] = 0x08;
|
||||
PRGROM[0x2E37] = 0x29;
|
||||
PRGROM[0x2E38] = 0x80;
|
||||
PRGROM[0x2E39] = 0xD0;
|
||||
PRGROM[0x2E3A] = 0x13;
|
||||
PRGROM[0x2E3B] = 0xA0;
|
||||
PRGROM[0x2E3C] = 0x00;
|
||||
PRGROM[0x2E3E] = 0x04;
|
||||
PRGROM[0x2E67] = 0x2E;
|
||||
PRGROM[0x2E68] = 0x8D;
|
||||
PRGROM[0x2E69] = 0x08;
|
||||
PRGROM[0x2E6A] = 0x00;
|
||||
PRGROM[0x2E6E] = 0x8D;
|
||||
PRGROM[0x2E6F] = 0x09;
|
||||
}
|
||||
|
||||
void calomega_state::init_comg080()
|
||||
@ -6009,7 +6009,7 @@ void calomega_state::init_comg176()
|
||||
void calomega_state::init_any()
|
||||
{
|
||||
uint8_t *PRGROM = memregion( "maincpu" )->base();
|
||||
PRGROM[0x0000] = 0x00;
|
||||
PRGROM[0x0000] = 0x00;
|
||||
|
||||
}
|
||||
|
||||
|
@ -278,7 +278,7 @@ void commando_state::commando(machine_config &config)
|
||||
|
||||
/* video hardware */
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL / 2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(XTAL / 2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(commando_state::screen_update_commando));
|
||||
screen.screen_vblank().set(m_spriteram, FUNC(buffered_spriteram8_device::vblank_copy_rising));
|
||||
screen.screen_vblank().append(FUNC(commando_state::vblank_irq));
|
||||
|
@ -93,7 +93,7 @@ REEL1->|C| A |K6T0808C10 | ____________ |__||
|
||||
| _________ |
|
||||
| __________ |HCF4094BE _________ |
|
||||
| |CI-2 unused |HCF4094BE |
|
||||
| __________ __________ |
|
||||
| __________ __________ |
|
||||
| |411GR-001| |411GR-001| |
|
||||
|SEGASA-SONIC __________ O <- LED __________ __________ |
|
||||
|1B-2006-283 |HCF4094BE| ___________ ___________ |_74LS14N_| |HCF4094BE| |
|
||||
|
@ -408,7 +408,7 @@ void gng_state::gng(machine_config &config)
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(12'000'000)/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(XTAL(12'000'000)/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(gng_state::screen_update_gng));
|
||||
screen.screen_vblank().set(m_spriteram, FUNC(buffered_spriteram8_device::vblank_copy_rising));
|
||||
screen.set_palette(m_palette);
|
||||
|
@ -240,7 +240,7 @@ constexpr u32 get_video_addr(u16 x, u16 y)
|
||||
return (x & 0x7ff) | (u32(y & 0x7ff) << 11);
|
||||
}
|
||||
|
||||
|
||||
|
||||
class gunpey_state : public driver_device
|
||||
{
|
||||
public:
|
||||
|
@ -320,7 +320,7 @@ void gunsmoke_state::gunsmoke(machine_config &config)
|
||||
|
||||
/* video hardware */
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(gunsmoke_state::screen_update_gunsmoke));
|
||||
screen.set_palette(m_palette);
|
||||
|
||||
|
@ -12531,7 +12531,7 @@ GAME( 199?, j6tbrdclj, j6tbrdcl, impact_nonvideo, j6tbrdclg,jpmimpct_state
|
||||
GAME( 199?, j6tbrdclk, j6tbrdcl, impact_nonvideo, j6tbrdcl, jpmimpct_state, empty_init, ROT0, "JPM", "Thunderbirds Club (JPM) (IMPACT) (set 12)", GAME_FLAGS )
|
||||
GAME( 199?, j6tbrdcll, j6tbrdcl, impact_nonvideo, j6tbrdcl, jpmimpct_state, empty_init, ROT0, "JPM", "Thunderbirds Club (JPM) (IMPACT) (set 13)", GAME_FLAGS )
|
||||
|
||||
GAMEL( 199?, j6tomb, 0, impact_nonvideo, j6tomb, jpmimpct_state, empty_init, ROT0, "JPM", "Tomb Raider (JPM) (IMPACT) (set 1)", GAME_FLAGS, layout_j6tombc ) //inputs
|
||||
GAMEL( 199?, j6tomb, 0, impact_nonvideo, j6tomb, jpmimpct_state, empty_init, ROT0, "JPM", "Tomb Raider (JPM) (IMPACT) (set 1)", GAME_FLAGS, layout_j6tombc ) //inputs
|
||||
GAMEL( 199?, j6tomba, j6tomb, impact_nonvideo, j6tomb, jpmimpct_state, empty_init, ROT0, "JPM", "Tomb Raider (JPM) (IMPACT) (set 2)", GAME_FLAGS, layout_j6tombc )
|
||||
GAMEL( 199?, j6tombb, j6tomb, impact_nonvideo, j6tomb, jpmimpct_state, empty_init, ROT0, "JPM", "Tomb Raider (JPM) (IMPACT) (set 3)", GAME_FLAGS, layout_j6tombc )
|
||||
GAMEL( 199?, j6tombc, j6tomb, impact_nonvideo, j6tomb, jpmimpct_state, empty_init, ROT0, "JPM", "Tomb Raider (JPM) (IMPACT) (set 4)", GAME_FLAGS, layout_j6tombc )
|
||||
|
@ -58,7 +58,7 @@ Mrs. Dynamite
|
||||
Space Raider
|
||||
|
||||
Space Raider also uses the Starfield generator board from Zero Hour,
|
||||
Connected via flywires to these boards
|
||||
Connected via flywires to these boards
|
||||
|
||||
TODO:
|
||||
|
||||
@ -147,11 +147,11 @@ void dorodon_state::decrypted_opcodes_map(address_map &map)
|
||||
void mrsdyna_state::mrsdyna_cpu1_map(address_map &map)
|
||||
{
|
||||
// LS138 @ J4
|
||||
map(0x0000, 0x5fff).rom(); // 2764s at R4, N4, and M4
|
||||
map(0x0000, 0x5fff).rom(); // 2764s at R4, N4, and M4
|
||||
// LS138 @ J4 and LS139 @ H4
|
||||
map(0x6000, 0x6fff).ram(); // 6116s @ K3 & M3, also connected to clk on PAL K2 (16R6, U001)
|
||||
map(0x7000, 0x73ff).w("video", FUNC(ladybug_video_device::spr_w)); // pin 29 on ribbon
|
||||
//map(0x77ff, 0x7fff); // LS139 @ H4 pin7 is NC
|
||||
map(0x7000, 0x73ff).w("video", FUNC(ladybug_video_device::spr_w)); // pin 29 on ribbon
|
||||
//map(0x77ff, 0x7fff); // LS139 @ H4 pin7 is NC
|
||||
|
||||
// LS138 @ J4, Pin11 (0x8000-0x9fff) and
|
||||
// LS138 @ N3 (bottom 3 bits)
|
||||
|
@ -1781,7 +1781,7 @@ ROM_START( dokaben2 )
|
||||
ROM_REGION( 0x100000, "gfx1", ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "d2_02.1e", 0x000000, 0x20000, CRC(5dd7b941) SHA1(b0e93e733b9bbabe68896c92af34b90daf8dcd7c) ) /* chars */
|
||||
ROM_LOAD( "d2_03.2e", 0x020000, 0x20000, CRC(b615e696) SHA1(f1ec11202fce23af4af15682b158795f7ff4234f) )
|
||||
/* 40000-7ffff empty */
|
||||
/* 40000-7ffff empty */
|
||||
ROM_LOAD( "d2_04.1g", 0x080000, 0x20000, CRC(56b35605) SHA1(c065b03b5cb00ac75b8b439a4f35d9b04a886626) )
|
||||
ROM_LOAD( "d2_05.2g", 0x0a0000, 0x20000, CRC(ce98ff74) SHA1(ddae2e035369886ab03074e947405ef916cc425a) )
|
||||
/* c0000-fffff empty */
|
||||
|
@ -15,7 +15,7 @@
|
||||
- CMT support (-13/-36 cbus only, identify which models mounted it off the bat);
|
||||
- Write a PC80S31K device for 2d type floppies
|
||||
(also used on PC-8801 and PC-88VA, it's the FDC + Z80 sub-system);
|
||||
- DAC1BIT has a bit of clicking with start/end of samples, is it fixable or just a btanb?
|
||||
- DAC1BIT has a bit of clicking with start/end of samples, is it fixable or just a btanb?
|
||||
- clean-ups & split into separate devices and driver flavours;
|
||||
- derive romsets by default options (cfr. 3.5 2HD floppies vs. default 5.25, 2D/2DD etc.);
|
||||
- Remove kludge for POR bit in a20_ctrl_w fn;
|
||||
@ -2150,7 +2150,7 @@ MACHINE_RESET_MEMBER(pc9801_state,pc9801f)
|
||||
|
||||
for(i=0;i<0x1000;i++)
|
||||
ROM[i] = PRG[i+op_mode*0x8000+0x10000];
|
||||
|
||||
|
||||
m_beeper->set_state(0);
|
||||
}
|
||||
|
||||
@ -2171,7 +2171,7 @@ MACHINE_RESET_MEMBER(pc9801_state,pc9801rs)
|
||||
else
|
||||
m_maincpu->space(AS_PROGRAM).install_rom(0xd8000, 0xd9fff, memregion("ide")->base() + 0x2000);
|
||||
}
|
||||
|
||||
|
||||
m_dac_disable = true;
|
||||
}
|
||||
|
||||
@ -2359,7 +2359,7 @@ void pc9801_state::pc9801_common(machine_config &config)
|
||||
m_ppi_sys->in_pa_callback().set_ioport("DSW2");
|
||||
m_ppi_sys->in_pb_callback().set_ioport("DSW1");
|
||||
m_ppi_sys->in_pc_callback().set_constant(0xa0); // 0x80 cpu triple fault reset flag?
|
||||
// m_ppi_sys->out_pc_callback().set(FUNC(pc9801_state::ppi_sys_portc_w));
|
||||
// m_ppi_sys->out_pc_callback().set(FUNC(pc9801_state::ppi_sys_portc_w));
|
||||
|
||||
I8255(config, m_ppi_prn, 0);
|
||||
// TODO: check this one
|
||||
@ -2465,7 +2465,7 @@ void pc9801_state::pc9801rs(machine_config &config)
|
||||
|
||||
m_hgdc2->set_addrmap(0, &pc9801_state::upd7220_grcg_2_map);
|
||||
|
||||
// DAC_1BIT(config, m_dac, 0).set_output_range(-1, 1).add_route(ALL_OUTPUTS, "mono", 0.15);
|
||||
// DAC_1BIT(config, m_dac, 0).set_output_range(-1, 1).add_route(ALL_OUTPUTS, "mono", 0.15);
|
||||
SPEAKER_SOUND(config, m_dac).add_route(ALL_OUTPUTS, "mono", 0.40);
|
||||
PALETTE(config, m_palette, FUNC(pc9801_state::pc9801_palette), 16 + 16);
|
||||
}
|
||||
|
@ -3130,7 +3130,7 @@ GAME( 1993, raiden2i, raiden2, raiden2, raiden2, raiden2_state, init_raiden
|
||||
|
||||
// code rev with first ROM having checksum 2abc848c
|
||||
GAME( 1993, raiden2e, raiden2, raiden2, raiden2, raiden2_state, init_raiden2, ROT270, "Seibu Kaihatsu", "Raiden II (easier, Korea)", MACHINE_SUPPORTS_SAVE ) // (Region 0x04) - Korea, if regions are the same as RDX, no license or region message tho
|
||||
GAME( 1993, raiden2eub, raiden2, raiden2, raiden2, raiden2_state, init_raiden2, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden II (easier, US set 3)", MACHINE_SUPPORTS_SAVE ) // (Region 0x01) - PRG0 is same as raiden2e, but PRG1 has region byte different than raiden2e, other ROMs match raiden2u
|
||||
GAME( 1993, raiden2eub, raiden2, raiden2, raiden2, raiden2_state, init_raiden2, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden II (easier, US set 3)", MACHINE_SUPPORTS_SAVE ) // (Region 0x01) - PRG0 is same as raiden2e, but PRG1 has region byte different than raiden2e, other ROMs match raiden2u
|
||||
// code rev with first ROM having checksum ed1514e3 (using 4x program ROM configuration, not 2) would have crc 2abc848c in 2 ROM config, so same rev as above
|
||||
GAME( 1993, raiden2eua, raiden2, raiden2, raiden2, raiden2_state, init_raiden2, ROT270, "Seibu Kaihatsu (Fabtek license)", "Raiden II (easier, US set 1)", MACHINE_SUPPORTS_SAVE )
|
||||
GAME( 1993, raiden2eg, raiden2, raiden2, raiden2, raiden2_state, init_raiden2, ROT270, "Seibu Kaihatsu (Tuning license)", "Raiden II (easier, Germany)", MACHINE_SUPPORTS_SAVE )
|
||||
|
@ -54,7 +54,7 @@ protected:
|
||||
required_device<i8035_device> m_maincpu;
|
||||
required_device<i8748_device> m_audiocpu;
|
||||
};
|
||||
|
||||
|
||||
INPUT_PORTS_START(ajofrin)
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
@ -214,11 +214,11 @@ void rmnimbus_state::nimbus(machine_config &config)
|
||||
|
||||
/*
|
||||
Known unavailable BIOS set:
|
||||
Another version of v1.31a labelled: SYS1 16128 31/10/86, SYS2 16129 28/10/86
|
||||
Another version of v1.32c labelled: SYS1 17130 10.03.87, SYS 2. 17131 09.03.87
|
||||
Another version of v1.32c labelled: SYS 1 21323 2/12/88, SYS 2 21324 5/1/89
|
||||
v1.33c labelled "RESEARCH MACHINE P.N. 32857(32858) PC186 SYS1(SYS2) V1.33C", no date labelled
|
||||
Another version of v1.40d labelled: 24693 IC30 02/7/91(AA), 24694 IC27 28/6/91(AA)
|
||||
Another version of v1.31a labelled: SYS1 16128 31/10/86, SYS2 16129 28/10/86
|
||||
Another version of v1.32c labelled: SYS1 17130 10.03.87, SYS 2. 17131 09.03.87
|
||||
Another version of v1.32c labelled: SYS 1 21323 2/12/88, SYS 2 21324 5/1/89
|
||||
v1.33c labelled "RESEARCH MACHINE P.N. 32857(32858) PC186 SYS1(SYS2) V1.33C", no date labelled
|
||||
Another version of v1.40d labelled: 24693 IC30 02/7/91(AA), 24694 IC27 28/6/91(AA)
|
||||
*/
|
||||
ROM_START( nimbus )
|
||||
ROM_REGION( 0x100000, MAINCPU_TAG, 0 )
|
||||
@ -226,7 +226,7 @@ ROM_START( nimbus )
|
||||
ROM_SYSTEM_BIOS(0, "v125a", "Nimbus BIOS v1.25a (1985-12-02)")
|
||||
ROMX_LOAD("sys1-1.25a_13484_6-11-85_m5m27256p.rom", 0xf0001, 0x8000, CRC(5870df28) SHA1(12e1a7d22439d512b221c355d641d113f0e6568e), ROM_SKIP(1) | ROM_BIOS(0))
|
||||
ROMX_LOAD("sys2-1.25a_13485_2-12-85_m5m27256p.rom", 0xf0000, 0x8000, CRC(15888320) SHA1(32cc2485468c6a9944e505162e319a283eef8a84), ROM_SKIP(1) | ROM_BIOS(0))
|
||||
|
||||
|
||||
ROM_SYSTEM_BIOS(1, "v131a", "Nimbus BIOS v1.31a (1986-06-18)")
|
||||
ROMX_LOAD("sys1-1.31a-16128-1986-06-18.rom", 0xf0001, 0x8000, CRC(6416eb05) SHA1(1b640163a7efbc24381c7b24976a8609c066959b), ROM_SKIP(1) | ROM_BIOS(1))
|
||||
ROMX_LOAD("sys2-1.31a-16129-1986-06-18.rom", 0xf0000, 0x8000, CRC(b224359d) SHA1(456bbe37afcd4429cca76ba2d6bd534dfda3fc9c), ROM_SKIP(1) | ROM_BIOS(1))
|
||||
@ -238,7 +238,7 @@ ROM_START( nimbus )
|
||||
ROM_SYSTEM_BIOS(3, "v132d", "Nimbus BIOS v1.32d (1989-01-20)")
|
||||
ROMX_LOAD("sys1-1.32d_21323_17-1-89_m5m27256p_63210c.rom", 0xf0001, 0x8000, CRC(e0ecbc02) SHA1(b5cb16df23bd30af5556660364e4733790f99164), ROM_SKIP(1) | ROM_BIOS(3))
|
||||
ROMX_LOAD("sys2-1.32d_21324_20-1-89_m5m27256p_63210c.rom", 0xf0000, 0x8000, CRC(8ef4a357) SHA1(29309cb8bfe9256d4684f3e6575e3720b0dcacd4), ROM_SKIP(1) | ROM_BIOS(3))
|
||||
|
||||
|
||||
ROM_SYSTEM_BIOS(4, "v132f", "Nimbus BIOS v1.32f (1989-11-29)")
|
||||
ROMX_LOAD("sys-1-1.32f-22779-1989-11-29.rom", 0xf0001, 0x8000, CRC(786c31e8) SHA1(da7f828f7f96087518bea1a3d89fee59b283b4ba), ROM_SKIP(1) | ROM_BIOS(4))
|
||||
ROMX_LOAD("sys-2-1.32f-22778-1989-11-29.rom", 0xf0000, 0x8000, CRC(0be3db64) SHA1(af806405ec6fbc20385705f90d5059a47de17b08), ROM_SKIP(1) | ROM_BIOS(4))
|
||||
|
@ -193,14 +193,14 @@ uint8_t sprint2_state::sync_r()
|
||||
}
|
||||
|
||||
|
||||
template <uint8_t Which>
|
||||
template <uint8_t Which>
|
||||
uint8_t sprint2_state::steering_r()
|
||||
{
|
||||
return m_steering[Which];
|
||||
}
|
||||
|
||||
|
||||
template <uint8_t Which>
|
||||
template <uint8_t Which>
|
||||
void sprint2_state::steering_reset_w(uint8_t data)
|
||||
{
|
||||
m_steering[Which] |= 0x80;
|
||||
|
@ -431,7 +431,7 @@ void supduck_state::supduck(machine_config &config)
|
||||
|
||||
/* video hardware */
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(supduck_state::screen_update));
|
||||
screen.set_palette(m_palette);
|
||||
screen.screen_vblank().set(m_spriteram, FUNC(buffered_spriteram16_device::vblank_copy_rising));
|
||||
|
@ -634,7 +634,7 @@ void tigeroad_state::tigeroad(machine_config &config)
|
||||
|
||||
// Timings may be different, driver originally had 60.08Hz vblank.
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(tigeroad_state::screen_update));
|
||||
screen.screen_vblank().set("spriteram", FUNC(buffered_spriteram16_device::vblank_copy_rising));
|
||||
screen.set_palette(m_palette);
|
||||
@ -713,7 +713,7 @@ void tigeroad_state::f1dream_comad(machine_config &config)
|
||||
BUFFERED_SPRITERAM16(config, "spriteram");
|
||||
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(6000000, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(tigeroad_state::screen_update));
|
||||
screen.screen_vblank().set("spriteram", FUNC(buffered_spriteram16_device::vblank_copy_rising));
|
||||
screen.set_palette(m_palette);
|
||||
|
@ -229,7 +229,7 @@ void vulgus_state::vulgus(machine_config &config)
|
||||
|
||||
/* video hardware */
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(12'000'000)/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_raw(XTAL(12'000'000)/2, 384, 128, 0, 262, 22, 246); // hsync is 50..77, vsync is 257..259
|
||||
screen.set_screen_update(FUNC(vulgus_state::screen_update));
|
||||
screen.set_palette(m_palette);
|
||||
|
||||
|
@ -100,7 +100,7 @@ void psr340_state::psr340_map(address_map &map)
|
||||
|
||||
map(0x600000, 0x600000).lr8(NAME([]() -> uint8_t { return 0x80; })); // FDC status
|
||||
|
||||
// map(0xffe000, 0xffe7ff).ram();
|
||||
// map(0xffe000, 0xffe7ff).ram();
|
||||
|
||||
map(0xffe027, 0xffe027).r(FUNC(psr340_state::matrix_r));
|
||||
|
||||
|
@ -178,7 +178,7 @@ private:
|
||||
required_shared_ptr<uint16_t> m_video_ram_2;
|
||||
optional_shared_ptr<uint32_t> m_ext_gvram;
|
||||
optional_device<beep_device> m_beeper;
|
||||
// optional_device<dac_1bit_device> m_dac;
|
||||
// optional_device<dac_1bit_device> m_dac;
|
||||
optional_device<speaker_sound_device> m_dac;
|
||||
optional_device<ram_device> m_ram;
|
||||
optional_device<address_map_bank_device> m_ipl;
|
||||
|
@ -4649,4 +4649,4 @@
|
||||
<bounds x="93" y="475" width="24" height="28"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -7727,4 +7727,4 @@
|
||||
<bounds x="1600" y="272" width="50" height="30"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -3973,4 +3973,4 @@
|
||||
<bounds x="118" y="207" width="63" height="16"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -3973,4 +3973,4 @@
|
||||
<bounds x="118" y="207" width="63" height="16"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -2759,4 +2759,4 @@
|
||||
<bounds x="600" y="134" width="48" height="26"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -4198,4 +4198,4 @@
|
||||
<bounds x="483" y="426" width="55" height="20"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -2213,4 +2213,4 @@
|
||||
<bounds x="707" y="69" width="70" height="26"/>
|
||||
</element>
|
||||
</view>
|
||||
</mamelayout>
|
||||
</mamelayout>
|
||||
|
@ -70,7 +70,7 @@ license:CC0
|
||||
<color alpha="0.50" red="1.00" green="0.50" blue="0.50" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
|
||||
<view name="Keyboard Buttons">
|
||||
<screen index="0">
|
||||
<bounds left="0" top="0" right="4" bottom="3" />
|
||||
@ -79,34 +79,34 @@ license:CC0
|
||||
<element ref="num" inputtag="KB_0" inputmask="0x04"><bounds x="2.50" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_0" inputmask="0x08"><bounds x="2.50" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_0" inputmask="0x10"><bounds x="2.25" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 20, 19, 29, 28, 38 -->
|
||||
<!-- 20, 19, 29, 28, 38 -->
|
||||
<element ref="num" inputtag="KB_1" inputmask="0x02"><bounds x="2.50" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_1" inputmask="0x04"><bounds x="2.25" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_1" inputmask="0x08"><bounds x="2.25" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_1" inputmask="0x10"><bounds x="2.00" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_1" inputmask="0x20"><bounds x="2.00" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 10, 9, 18, 17, 27, 37 -->
|
||||
<!-- 10, 9, 18, 17, 27, 37 -->
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x01"><bounds x="2.50" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x02"><bounds x="2.25" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x08"><bounds x="2.00" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x10"><bounds x="1.75" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x20"><bounds x="1.75" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_2" inputmask="0x40"><bounds x="1.75" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 8, 7, 6, 16, 26, 36 -->
|
||||
<!-- 8, 7, 6, 16, 26, 36 -->
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x02"><bounds x="2.00" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x04"><bounds x="1.75" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x08"><bounds x="1.50" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x10"><bounds x="1.50" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x20"><bounds x="1.50" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_3" inputmask="0x40"><bounds x="1.50" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 3, 4, 5, 15, 25, 35 -->
|
||||
<!-- 3, 4, 5, 15, 25, 35 -->
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x02"><bounds x="0.75" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x04"><bounds x="1.00" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x08"><bounds x="1.25" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x10"><bounds x="1.25" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x20"><bounds x="1.25" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_4" inputmask="0x40"><bounds x="1.25" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 2, 13, 14, 24, 34 -->
|
||||
<!-- 2, 13, 14, 24, 34 -->
|
||||
<element ref="num" inputtag="KB_5" inputmask="0x01"><bounds x="0.50" y="0.29000" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_5" inputmask="0x08"><bounds x="0.75" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_5" inputmask="0x10"><bounds x="1.00" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
@ -117,7 +117,7 @@ license:CC0
|
||||
<element ref="num" inputtag="KB_6" inputmask="0x04"><bounds x="0.50" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_6" inputmask="0x10"><bounds x="0.50" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_6" inputmask="0x20"><bounds x="0.75" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_6" inputmask="0x40"><bounds x="0.75" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_6" inputmask="0x40"><bounds x="0.75" y="0.87065" width="0.25" height="0.19355" /></element>
|
||||
<!-- 11, 21, 31, 32 -->
|
||||
<element ref="num" inputtag="KB_7" inputmask="0x02"><bounds x="0.25" y="0.48355" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_7" inputmask="0x04"><bounds x="0.25" y="0.67710" width="0.25" height="0.19355" /></element>
|
||||
@ -170,26 +170,26 @@ license:CC0
|
||||
<element ref="num" inputtag="KB_14" inputmask="0x10"><bounds x="1.50" y="1.45130" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_14" inputmask="0x20"><bounds x="1.50" y="1.25775" width="0.25" height="0.19355" /></element>
|
||||
<element ref="num" inputtag="KB_14" inputmask="0x40"><bounds x="1.50" y="1.06420" width="0.25" height="0.19355" /></element>
|
||||
|
||||
|
||||
<element ref="stand">
|
||||
<bounds x="0" y="3.0" width="4.0" height="0.45" />
|
||||
</element>
|
||||
|
||||
|
||||
<element ref="bet" inputtag="KB_0" inputmask="0x01">
|
||||
<bounds x="1" y="3.1" width="0.40" height="0.25" />
|
||||
</element>
|
||||
|
||||
|
||||
<element ref="start" inputtag="KB_0" inputmask="0x02">
|
||||
<bounds x="1.5" y="3.1" width="0.40" height="0.25" />
|
||||
</element>
|
||||
|
||||
|
||||
<element ref="cancel" inputtag="KB_11" inputmask="0x02">
|
||||
<bounds x="2" y="3.1" width="0.40" height="0.25" />
|
||||
</element>
|
||||
|
||||
|
||||
<element ref="exit" inputtag="KB_11" inputmask="0x01">
|
||||
<bounds x="2.5" y="3.1" width="0.40" height="0.25" />
|
||||
</element>
|
||||
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
||||
|
@ -559,9 +559,9 @@ QUICKLOAD_LOAD_MEMBER(sorcerer_state::quickload_cb)
|
||||
1. A start address of 01D5 indicates a basic program which needs its pointers fixed up.
|
||||
2. If autorunning, jump to C689 (command processor), else jump to C3DD (READY prompt).
|
||||
Important addresses:
|
||||
01D5 = start (load) address of a conventional basic program
|
||||
C858 = an autorun basic program will have this exec address on the tape
|
||||
C3DD = part of basic that displays READY and lets user enter input */
|
||||
01D5 = start (load) address of a conventional basic program
|
||||
C858 = an autorun basic program will have this exec address on the tape
|
||||
C3DD = part of basic that displays READY and lets user enter input */
|
||||
|
||||
if (((start_address == 0x1d5) || (execute_address == 0xc858)) && (space.read_byte(0xdffa) == 0xc3))
|
||||
{
|
||||
|
@ -16,7 +16,7 @@
|
||||
#define SDLOPTION_INIPATH "inipath"
|
||||
#define SDLOPTION_SDLVIDEOFPS "sdlvideofps"
|
||||
#define SDLOPTION_USEALLHEADS "useallheads"
|
||||
#define SDLOPTION_ATTACH_WINDOW "attach_window"
|
||||
#define SDLOPTION_ATTACH_WINDOW "attach_window"
|
||||
#define SDLOPTION_CENTERH "centerh"
|
||||
#define SDLOPTION_CENTERV "centerv"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Olivier Galibert
|
||||
/***************************************************************************
|
||||
|
||||
(Floppy) image command-line manager
|
||||
(Floppy) image command-line manager
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -568,7 +568,7 @@ static int generic_dir(const filesystem_manager_t *fm, fsblk_t &blockdev)
|
||||
std::unordered_map<fs_meta_name, size_t> nmap;
|
||||
for(size_t i = 0; i != names.size(); i++)
|
||||
nmap[names[i]] = i;
|
||||
|
||||
|
||||
auto root = load_fs->root();
|
||||
std::vector<std::vector<std::string>> entries;
|
||||
|
||||
@ -593,7 +593,7 @@ static int generic_dir(const filesystem_manager_t *fm, fsblk_t &blockdev)
|
||||
}
|
||||
printf("%s\n", l.c_str());
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user