mirror of
https://github.com/holub/mame
synced 2025-06-03 03:16:30 +03:00
srcclean (nw)
This commit is contained in:
parent
c8e1190ca1
commit
ace8e401fc
@ -30936,9 +30936,9 @@
|
||||
<publisher>Terrapin</publisher>
|
||||
<info name="release" value="2017-10-21"/>
|
||||
<!--(*) 4am crack no. 178 was labeled "Terrapin Logo 2.0". This disk is
|
||||
"Terrapin Logo 2.00". The filenames are different, and the main program
|
||||
has differences in multiple places. Also the copy protection on this
|
||||
version is significantly stronger, suggesting a later revision.. -->
|
||||
"Terrapin Logo 2.00". The filenames are different, and the main program
|
||||
has differences in multiple places. Also the copy protection on this
|
||||
version is significantly stronger, suggesting a later revision.. -->
|
||||
|
||||
<part name="flop1" interface="floppy_5_25">
|
||||
<dataarea name="flop" size="143360">
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
|
||||
<softwarelist name="cd32" description="Amiga CD-32 CD-ROMs">
|
||||
|
||||
<!--
|
||||
<!--
|
||||
UNDUMPED:
|
||||
|
||||
1001 Girl
|
||||
@ -1697,20 +1697,20 @@
|
||||
</diskarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
<!-- http://redump.org/disc/3366/ -->
|
||||
<!--
|
||||
<!--
|
||||
<software name="suprfrog" supported="no">
|
||||
<description>Superfrog (Rev 1)</description>
|
||||
<year>1999</year>
|
||||
<publisher>Islona</publisher>
|
||||
<info name="barcode" value="5 022358 170384" />
|
||||
<info name="disc_matrix" value="FD7989 THAMESDOWN 01793 421300 ZFS1" />
|
||||
<part name="cdrom" interface="cd32_cdrom">
|
||||
<diskarea name="cdrom">
|
||||
<disk name="superfrog (europe) (rev 1)" sha1=""/>
|
||||
</diskarea>
|
||||
</part>
|
||||
<description>Superfrog (Rev 1)</description>
|
||||
<year>1999</year>
|
||||
<publisher>Islona</publisher>
|
||||
<info name="barcode" value="5 022358 170384" />
|
||||
<info name="disc_matrix" value="FD7989 THAMESDOWN 01793 421300 ZFS1" />
|
||||
<part name="cdrom" interface="cd32_cdrom">
|
||||
<diskarea name="cdrom">
|
||||
<disk name="superfrog (europe) (rev 1)" sha1=""/>
|
||||
</diskarea>
|
||||
</part>
|
||||
</software>
|
||||
-->
|
||||
|
||||
|
@ -3763,7 +3763,7 @@ User/save disks that can be created from the game itself are not included.
|
||||
</part>
|
||||
</software>
|
||||
|
||||
|
||||
|
||||
<software name="emit2">
|
||||
<!--
|
||||
Origin: redump.org
|
||||
@ -8377,7 +8377,7 @@ User/save disks that can be created from the game itself are not included.
|
||||
<description>Provvidenza - Legenda la Spada di Alfa</description>
|
||||
<year>1991</year>
|
||||
<publisher>Sofcom</publisher>
|
||||
<info name="alt_title" value="プロビデンツァ Legenda la Spada di Alfa" />
|
||||
<info name="alt_title" value="プロビデンツァ Legenda la Spada di Alfa" />
|
||||
<info name="release" value="199109xx" />
|
||||
<part name="cdrom" interface="fmt_cdrom">
|
||||
<diskarea name="cdrom">
|
||||
@ -9441,7 +9441,7 @@ User/save disks that can be created from the game itself are not included.
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
The Master Disk contains data on track 81. This data isn't used by the game at all, in fact the manual
|
||||
recommends making a copy of the disk with the standard TownsOS copy tools and using the copy to play.
|
||||
The image included here is in HxC MFM format just for the purpose of preserving that track.
|
||||
|
24
hash/gba.xml
24
hash/gba.xml
@ -41014,18 +41014,18 @@
|
||||
|
||||
<!--
|
||||
<software name="4nickmov">
|
||||
<description>4 Games on One Game Pak (Nickelodeon Movies) (USA)</description>
|
||||
<year>2004</year>
|
||||
<publisher>THQ</publisher>
|
||||
<info name="serial" value="AGB-BI6E-USA"/>
|
||||
<part name="cart" interface="gba_cart">
|
||||
<feature name="pcb" value="AGB-E01-41" />
|
||||
<feature name="u1" value="U1 GPIO MASKROM" />
|
||||
<feature name="slot" value="gba_sram" />
|
||||
<dataarea name="rom" size="33554432">
|
||||
<rom name="agb-bi6e-0.u1" size="33554432" crc="e2f8a189" sha1="a4c779a207e4b83d39e99d58796be1a3eec27c0b"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
<description>4 Games on One Game Pak (Nickelodeon Movies) (USA)</description>
|
||||
<year>2004</year>
|
||||
<publisher>THQ</publisher>
|
||||
<info name="serial" value="AGB-BI6E-USA"/>
|
||||
<part name="cart" interface="gba_cart">
|
||||
<feature name="pcb" value="AGB-E01-41" />
|
||||
<feature name="u1" value="U1 GPIO MASKROM" />
|
||||
<feature name="slot" value="gba_sram" />
|
||||
<dataarea name="rom" size="33554432">
|
||||
<rom name="agb-bi6e-0.u1" size="33554432" crc="e2f8a189" sha1="a4c779a207e4b83d39e99d58796be1a3eec27c0b"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
-->
|
||||
|
||||
|
193416
hash/spectrum_cass.xml
193416
hash/spectrum_cass.xml
File diff suppressed because it is too large
Load Diff
@ -336,12 +336,12 @@ legacy_floppy_image_device *a2bus_agat840k_hle_device::floppy_image(int drive)
|
||||
/*
|
||||
* all signals active low. write support not implemented; WPT is always active.
|
||||
*
|
||||
* b0-b1 type of drive 2: 00 - ES 5323.01 "1000 KB", 01 - "500 KB", 10 - "250 KB", 11 - not present
|
||||
* b2-b3 type of drive 1: -""-
|
||||
* b4 INDEX/SECTOR
|
||||
* b5 WRITE PROTECT
|
||||
* b6 TRACK 0
|
||||
* b7 READY
|
||||
* b0-b1 type of drive 2: 00 - ES 5323.01 "1000 KB", 01 - "500 KB", 10 - "250 KB", 11 - not present
|
||||
* b2-b3 type of drive 1: -""-
|
||||
* b4 INDEX/SECTOR
|
||||
* b5 WRITE PROTECT
|
||||
* b6 TRACK 0
|
||||
* b7 READY
|
||||
*
|
||||
* C0x1
|
||||
*/
|
||||
|
@ -85,7 +85,7 @@ void a2bus_agat_fdc_device::device_add_mconfig (machine_config &config)
|
||||
|
||||
I8255(config, m_d15);
|
||||
m_d15->in_pa_callback().set(FUNC(a2bus_agat_fdc_device::d15_i_a)); // read data
|
||||
// m_d15->out_pb_callback().set(FUNC(a2bus_agat_fdc_device::d15_o_b)); // write data
|
||||
// m_d15->out_pb_callback().set(FUNC(a2bus_agat_fdc_device::d15_o_b)); // write data
|
||||
m_d15->in_pc_callback().set(FUNC(a2bus_agat_fdc_device::d15_i_c));
|
||||
m_d15->out_pc_callback().set(FUNC(a2bus_agat_fdc_device::d15_o_c));
|
||||
}
|
||||
@ -373,12 +373,12 @@ uint8_t a2bus_agat_fdc_device::read_cnxx(uint8_t offset)
|
||||
/*
|
||||
* all signals active low. write support not implemented; WPT is always active.
|
||||
*
|
||||
* b0-b1 type of drive 2: 00 - ES 5323.01 "1000 KB", 01 - "500 KB", 10 - "250 KB", 11 - not present
|
||||
* b2-b3 type of drive 1: -""-
|
||||
* b4 INDEX/SECTOR
|
||||
* b5 WRITE PROTECT
|
||||
* b6 TRACK 0
|
||||
* b7 READY
|
||||
* b0-b1 type of drive 2: 00 - ES 5323.01 "1000 KB", 01 - "500 KB", 10 - "250 KB", 11 - not present
|
||||
* b2-b3 type of drive 1: -""-
|
||||
* b4 INDEX/SECTOR
|
||||
* b5 WRITE PROTECT
|
||||
* b6 TRACK 0
|
||||
* b7 READY
|
||||
*
|
||||
* C0x1
|
||||
*/
|
||||
@ -390,7 +390,7 @@ READ8_MEMBER(a2bus_agat_fdc_device::d14_i_b)
|
||||
if (floppy)
|
||||
{
|
||||
data |= (floppy->idx_r() << 4) ^ 0x10;
|
||||
// data |= floppy->wpt_r() << 5;
|
||||
// data |= floppy->wpt_r() << 5;
|
||||
data |= floppy->trk00_r() << 6;
|
||||
data |= floppy->ready_r() << 7;
|
||||
}
|
||||
@ -406,14 +406,14 @@ READ8_MEMBER(a2bus_agat_fdc_device::d14_i_b)
|
||||
}
|
||||
|
||||
/*
|
||||
* b0 AH strong write precomp
|
||||
* b1 -- NC
|
||||
* b2 -- step direction (1 - inward, 0 - outward)
|
||||
* b3 -- drive select (0 - drive 1, 1 - drive 2)
|
||||
* b4 -- head select (0 - bottom, 1 - top)
|
||||
* b5 AH write precomp off
|
||||
* b6 AH write enable
|
||||
* b7 AH motor on
|
||||
* b0 AH strong write precomp
|
||||
* b1 -- NC
|
||||
* b2 -- step direction (1 - inward, 0 - outward)
|
||||
* b3 -- drive select (0 - drive 1, 1 - drive 2)
|
||||
* b4 -- head select (0 - bottom, 1 - top)
|
||||
* b5 AH write precomp off
|
||||
* b6 AH write enable
|
||||
* b7 AH motor on
|
||||
*
|
||||
* C0x2
|
||||
*/
|
||||
@ -425,8 +425,8 @@ WRITE8_MEMBER(a2bus_agat_fdc_device::d14_o_c)
|
||||
{
|
||||
floppy->dir_w(!BIT(data, 2));
|
||||
floppy->ss_w(BIT(data, 4));
|
||||
// floppy->wtg_w(!BIT(data, 6));
|
||||
// floppy->mon_w(!BIT(data, 7)); // tied to 'drive select', 'motor on' and 'head load'
|
||||
// floppy->wtg_w(!BIT(data, 6));
|
||||
// floppy->mon_w(!BIT(data, 7)); // tied to 'drive select', 'motor on' and 'head load'
|
||||
}
|
||||
if (BIT(data, 7))
|
||||
{
|
||||
@ -458,8 +458,8 @@ READ8_MEMBER(a2bus_agat_fdc_device::d15_i_a)
|
||||
|
||||
// C0x6
|
||||
//
|
||||
// b6 AL desync detected
|
||||
// b7 AH read or write data ready
|
||||
// b6 AL desync detected
|
||||
// b7 AH read or write data ready
|
||||
READ8_MEMBER(a2bus_agat_fdc_device::d15_i_c)
|
||||
{
|
||||
LOG("status B: @ %4d %s %s\n", 0,
|
||||
@ -470,10 +470,10 @@ READ8_MEMBER(a2bus_agat_fdc_device::d15_i_c)
|
||||
|
||||
// C0x7
|
||||
//
|
||||
// b0 -- connected to b7, set if m_intr[PORT_B]
|
||||
// b2 AH b7 = ready for write data
|
||||
// b3 -- connected to b7, set if m_intr[PORT_A]
|
||||
// b4 AH b7 = read data ready
|
||||
// b0 -- connected to b7, set if m_intr[PORT_B]
|
||||
// b2 AH b7 = ready for write data
|
||||
// b3 -- connected to b7, set if m_intr[PORT_A]
|
||||
// b4 AH b7 = read data ready
|
||||
WRITE8_MEMBER(a2bus_agat_fdc_device::d15_o_c)
|
||||
{
|
||||
if (BIT(data, 0) || BIT(data, 3))
|
||||
|
@ -18,8 +18,8 @@
|
||||
#include "machine/i8255.h"
|
||||
|
||||
|
||||
#define MXCSR_SYNC 0x40
|
||||
#define MXCSR_TR 0x80
|
||||
#define MXCSR_SYNC 0x40
|
||||
#define MXCSR_TR 0x80
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
|
@ -156,8 +156,8 @@ protected:
|
||||
int m_width;
|
||||
endianness_t m_endianness;
|
||||
device_generic_cart_interface *m_cart;
|
||||
load_delegate m_device_image_load;
|
||||
unload_delegate m_device_image_unload;
|
||||
load_delegate m_device_image_load;
|
||||
unload_delegate m_device_image_unload;
|
||||
};
|
||||
|
||||
class generic_socket_device : public generic_slot_device
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Ryan Holtz
|
||||
/*********************************************************************
|
||||
|
||||
newport.cpp
|
||||
newport.cpp
|
||||
|
||||
SGI "Newport" graphics board emulation
|
||||
|
||||
@ -23,14 +23,14 @@
|
||||
Known Issues:
|
||||
- Antialiased line drawing currently uses the fractional line
|
||||
drawing routine instead.
|
||||
- Timing-wise, all draw commands complete instantly and all
|
||||
FIFOs are always empty. Thus the performance of an emulated
|
||||
Newport board is likely to be better than real life in scenes
|
||||
that would otherwise be drawing-bound.
|
||||
- The REX3 emulation currently handles a bunch of functionality
|
||||
that should be the responsibility of RO1 and RB2. However,
|
||||
emulating it properly would bring down the emulation speed
|
||||
for not much practical benefit.
|
||||
- Timing-wise, all draw commands complete instantly and all
|
||||
FIFOs are always empty. Thus the performance of an emulated
|
||||
Newport board is likely to be better than real life in scenes
|
||||
that would otherwise be drawing-bound.
|
||||
- The REX3 emulation currently handles a bunch of functionality
|
||||
that should be the responsibility of RO1 and RB2. However,
|
||||
emulating it properly would bring down the emulation speed
|
||||
for not much practical benefit.
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Ryan Holtz
|
||||
/*********************************************************************
|
||||
|
||||
newport.h
|
||||
newport.h
|
||||
|
||||
SGI "Newport" graphics board emulation
|
||||
|
||||
@ -243,7 +243,7 @@ private:
|
||||
|
||||
uint32_t m_global_mask;
|
||||
uint32_t m_write_mask;
|
||||
bool m_blend;
|
||||
bool m_blend;
|
||||
bool m_fast_clear;
|
||||
bool m_rgbmode;
|
||||
bool m_dblsrc;
|
||||
|
@ -215,10 +215,10 @@ WRITE_LINE_MEMBER(tanbus_tug8082_device::bus_irq_w)
|
||||
//{
|
||||
//case 0x01:
|
||||
m_tanbus->irq_w(state);
|
||||
// break;
|
||||
// break;
|
||||
//case 0x02:
|
||||
// m_tanbus->nmi_w(state);
|
||||
// break;
|
||||
// m_tanbus->nmi_w(state);
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
|
@ -2575,7 +2575,7 @@ void i386_device::i386_loadall() // Opcode 0x0f 0x07 (0x0f 0x05 on 80286),
|
||||
m_sreg[i].valid = (m_sreg[i].flags & 0x80) ? true : false;
|
||||
m_sreg[i].d = (m_sreg[i].flags & 0x4000) ? 1 : 0;
|
||||
}
|
||||
|
||||
|
||||
dr7_changed(old_dr7, m_dr[7]);
|
||||
CHANGE_PC(m_eip);
|
||||
}
|
||||
|
@ -268,7 +268,7 @@ std::vector<std::pair<int, const address_space_config *>> m37710_cpu_device::mem
|
||||
/* interrupt control mapping */
|
||||
|
||||
const int m37710_cpu_device::m37710_int_reg_map[M37710_MASKABLE_INTERRUPTS] =
|
||||
{
|
||||
{
|
||||
M37710_LINE_DMA0, // level 3 (0x6c)
|
||||
M37710_LINE_DMA1, // level 2 (0x6d)
|
||||
M37710_LINE_DMA2, // level 1 (0x6e)
|
||||
|
@ -124,9 +124,9 @@ bool unsp_frontend::describe(opcode_desc &desc, const opcode_desc *prev)
|
||||
{
|
||||
r1++;
|
||||
desc.regout[0] |= 1 << r1;
|
||||
if (r1 == unsp_device::REG_PC) {
|
||||
desc.flags |= OPFLAG_END_SEQUENCE | OPFLAG_IS_UNCONDITIONAL_BRANCH;
|
||||
}
|
||||
if (r1 == unsp_device::REG_PC) {
|
||||
desc.flags |= OPFLAG_END_SEQUENCE | OPFLAG_IS_UNCONDITIONAL_BRANCH;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ protected:
|
||||
chd_file m_diffchd; /* handle to the diff CHD */
|
||||
hard_disk_file *m_hard_disk_handle;
|
||||
|
||||
load_delegate m_device_image_load;
|
||||
unload_delegate m_device_image_unload;
|
||||
load_delegate m_device_image_load;
|
||||
unload_delegate m_device_image_unload;
|
||||
const char * m_interface;
|
||||
};
|
||||
|
||||
|
@ -758,13 +758,13 @@ void floppy_image_device::seek_phase_w(int phases)
|
||||
// From http://burtleburtle.net/bob/hash/integer.html
|
||||
uint32_t floppy_image_device::hash32(uint32_t a) const
|
||||
{
|
||||
a = (a+0x7ed55d16) + (a<<12);
|
||||
a = (a^0xc761c23c) ^ (a>>19);
|
||||
a = (a+0x165667b1) + (a<<5);
|
||||
a = (a+0xd3a2646c) ^ (a<<9);
|
||||
a = (a+0xfd7046c5) + (a<<3);
|
||||
a = (a^0xb55a4f09) ^ (a>>16);
|
||||
return a;
|
||||
a = (a+0x7ed55d16) + (a<<12);
|
||||
a = (a^0xc761c23c) ^ (a>>19);
|
||||
a = (a+0x165667b1) + (a<<5);
|
||||
a = (a+0xd3a2646c) ^ (a<<9);
|
||||
a = (a+0xfd7046c5) + (a<<3);
|
||||
a = (a^0xb55a4f09) ^ (a>>16);
|
||||
return a;
|
||||
}
|
||||
|
||||
int floppy_image_device::find_index(uint32_t position, const std::vector<uint32_t> &buf)const
|
||||
|
@ -61,10 +61,10 @@ protected:
|
||||
|
||||
TIMER_CALLBACK_MEMBER(process_snapshot_or_quickload);
|
||||
|
||||
load_delegate m_load; /* loading function */
|
||||
const char * m_file_extensions; /* file extensions */
|
||||
load_delegate m_load; /* loading function */
|
||||
const char * m_file_extensions; /* file extensions */
|
||||
const char * m_interface;
|
||||
attotime m_delay; /* loading delay */
|
||||
attotime m_delay; /* loading delay */
|
||||
emu_timer *m_timer;
|
||||
};
|
||||
|
||||
@ -94,10 +94,10 @@ DECLARE_DEVICE_TYPE(QUICKLOAD, quickload_image_device)
|
||||
/***************************************************************************
|
||||
DEVICE CONFIGURATION MACROS
|
||||
***************************************************************************/
|
||||
#define SNAPSHOT_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image, const char *file_type, int snapshot_size)
|
||||
#define SNAPSHOT_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image, const char *file_type, int snapshot_size)
|
||||
#define DECLARE_SNAPSHOT_LOAD_MEMBER(_name) SNAPSHOT_LOAD_MEMBER(_name)
|
||||
|
||||
#define QUICKLOAD_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image, const char *file_type, int quickload_size)
|
||||
#define QUICKLOAD_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image, const char *file_type, int quickload_size)
|
||||
#define DECLARE_QUICKLOAD_LOAD_MEMBER(_name) QUICKLOAD_LOAD_MEMBER(_name)
|
||||
|
||||
#endif // MAME_DEVICES_IMAGEDEV_SNAPQUIK_H
|
||||
|
@ -55,7 +55,7 @@ protected:
|
||||
virtual void device_post_load() override;
|
||||
|
||||
private:
|
||||
uint8_t m_busnum;
|
||||
uint8_t m_busnum;
|
||||
pci_bus_legacy_read_delegate m_read_callback[32];
|
||||
pci_bus_legacy_write_delegate m_write_callback[32];
|
||||
const char * m_father;
|
||||
|
@ -24,17 +24,17 @@ TODO:
|
||||
#include "emu.h"
|
||||
#include "machine/scc68070.h"
|
||||
|
||||
#define LOG_I2C (1 << 0)
|
||||
#define LOG_UART (1 << 1)
|
||||
#define LOG_TIMERS (1 << 2)
|
||||
#define LOG_TIMERS_HF (1 << 3)
|
||||
#define LOG_DMA (1 << 4)
|
||||
#define LOG_MMU (1 << 5)
|
||||
#define LOG_IRQS (1 << 6)
|
||||
#define LOG_UNKNOWN (1 << 7)
|
||||
#define LOG_ALL (LOG_I2C | LOG_UART | LOG_TIMERS | LOG_DMA | LOG_MMU | LOG_IRQS | LOG_UNKNOWN)
|
||||
#define LOG_I2C (1 << 0)
|
||||
#define LOG_UART (1 << 1)
|
||||
#define LOG_TIMERS (1 << 2)
|
||||
#define LOG_TIMERS_HF (1 << 3)
|
||||
#define LOG_DMA (1 << 4)
|
||||
#define LOG_MMU (1 << 5)
|
||||
#define LOG_IRQS (1 << 6)
|
||||
#define LOG_UNKNOWN (1 << 7)
|
||||
#define LOG_ALL (LOG_I2C | LOG_UART | LOG_TIMERS | LOG_DMA | LOG_MMU | LOG_IRQS | LOG_UNKNOWN)
|
||||
|
||||
#define VERBOSE (LOG_UART)
|
||||
#define VERBOSE (LOG_UART)
|
||||
|
||||
#include "logmacro.h"
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "cpu/i386/i386.h"
|
||||
#include "machine/at.h"
|
||||
|
||||
#define SIS85C496_HOST(_config, _tag, _cpu_tag, _ram_size) \
|
||||
#define SIS85C496_HOST(_config, _tag, _cpu_tag, _ram_size) \
|
||||
pci_host_device &pcihost(PCI_HOST(_config, _tag, SIS85C496, 0x10390496, 0x03, 0x00000000)); \
|
||||
pcihost.set_cpu_tag(_cpu_tag); \
|
||||
pcihost.set_ram_size(_ram_size);
|
||||
|
@ -308,15 +308,15 @@ void t6963c_device::set_md(u8 data)
|
||||
// MD0, MD1
|
||||
m_number_lines = 8 - (data & 3) * 2;
|
||||
|
||||
if (BIT(data, 4)) // MDS
|
||||
if (BIT(data, 4)) // MDS
|
||||
m_number_lines += 8;
|
||||
|
||||
switch((data >> 2) & 3) // MD2, MD3
|
||||
switch((data >> 2) & 3) // MD2, MD3
|
||||
{
|
||||
case 0: m_number_cols = 32; break;
|
||||
case 1: m_number_cols = 40; break;
|
||||
case 2: m_number_cols = 64; break;
|
||||
case 3: m_number_cols = 80; break;
|
||||
case 0: m_number_cols = 32; break;
|
||||
case 1: m_number_cols = 40; break;
|
||||
case 2: m_number_cols = 64; break;
|
||||
case 3: m_number_cols = 80; break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -361,16 +361,16 @@ uint32_t t6963c_device::screen_update(screen_device &screen, bitmap_ind16 &bitma
|
||||
int pix = BIT(data, m_font_size - 1 - i);
|
||||
switch(m_mode & 7)
|
||||
{
|
||||
case 0: // OR
|
||||
case 0: // OR
|
||||
bitmap.pix16(y, x * m_font_size + i) |= pix;
|
||||
break;
|
||||
case 1: // EXOR
|
||||
case 1: // EXOR
|
||||
bitmap.pix16(y, x * m_font_size + i) ^= pix;
|
||||
break;
|
||||
case 3: // AND
|
||||
case 3: // AND
|
||||
bitmap.pix16(y, x * m_font_size + i) &= pix;
|
||||
break;
|
||||
case 4: // Text attribute
|
||||
case 4: // Text attribute
|
||||
logerror("%s: Unimplemented Text attribute\n", machine().describe_context());
|
||||
break;
|
||||
}
|
||||
@ -405,8 +405,8 @@ void lm24014h_device::device_start()
|
||||
{
|
||||
save_item(NAME(m_fs));
|
||||
|
||||
m_lcdc->set_md(4); // 8 lines x 40 columns
|
||||
m_lcdc->set_fs(m_fs << 1); // font size 6x8 or 8x8
|
||||
m_lcdc->set_md(4); // 8 lines x 40 columns
|
||||
m_lcdc->set_fs(m_fs << 1); // font size 6x8 or 8x8
|
||||
}
|
||||
|
||||
|
||||
|
@ -40,8 +40,8 @@ public:
|
||||
void write(offs_t offset, u8 data);
|
||||
|
||||
// Display configurations
|
||||
void set_md(u8 data); // MD0, MD1, MD2, MD3, MDS
|
||||
void set_fs(u8 data); // FS0, FS1
|
||||
void set_md(u8 data); // MD0, MD1, MD2, MD3, MDS
|
||||
void set_fs(u8 data); // FS0, FS1
|
||||
|
||||
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
|
||||
|
@ -98,11 +98,11 @@ enum class image_verify_result { PASS, FAIL };
|
||||
// MACROS
|
||||
//**************************************************************************
|
||||
|
||||
#define DEVICE_IMAGE_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image)
|
||||
#define DECLARE_DEVICE_IMAGE_LOAD_MEMBER(_name) DEVICE_IMAGE_LOAD_MEMBER(_name)
|
||||
#define DEVICE_IMAGE_LOAD_MEMBER(_name) image_init_result _name(device_image_interface &image)
|
||||
#define DECLARE_DEVICE_IMAGE_LOAD_MEMBER(_name) DEVICE_IMAGE_LOAD_MEMBER(_name)
|
||||
|
||||
#define DEVICE_IMAGE_UNLOAD_MEMBER(_name) void _name(device_image_interface &image)
|
||||
#define DECLARE_DEVICE_IMAGE_UNLOAD_MEMBER(_name) DEVICE_IMAGE_UNLOAD_MEMBER(_name)
|
||||
#define DEVICE_IMAGE_UNLOAD_MEMBER(_name) void _name(device_image_interface &image)
|
||||
#define DECLARE_DEVICE_IMAGE_UNLOAD_MEMBER(_name) DEVICE_IMAGE_UNLOAD_MEMBER(_name)
|
||||
|
||||
|
||||
// ======================> device_image_interface
|
||||
|
@ -162,7 +162,7 @@
|
||||
#define OPTION_BIOS "bios"
|
||||
#define OPTION_CHEAT "cheat"
|
||||
#define OPTION_SKIP_GAMEINFO "skip_gameinfo"
|
||||
#define OPTION_SKIP_MANDATORY_FILEMAN "skip_mandatory_fileman"
|
||||
#define OPTION_SKIP_MANDATORY_FILEMAN "skip_mandatory_fileman"
|
||||
#define OPTION_UI_FONT "uifont"
|
||||
#define OPTION_UI "ui"
|
||||
#define OPTION_RAMSIZE "ramsize"
|
||||
|
@ -51,7 +51,7 @@ enum profile_type
|
||||
PROFILER_INPUT, // input.cpp and inptport.cpp
|
||||
PROFILER_MOVIE_REC, // movie recording
|
||||
PROFILER_LOGERROR, // logerror
|
||||
PROFILER_LUA, // LUA
|
||||
PROFILER_LUA, // LUA
|
||||
PROFILER_EXTRA, // everything else
|
||||
|
||||
// the USER types are available to driver writers to profile
|
||||
|
@ -108,7 +108,7 @@ private:
|
||||
running_machine & m_machine; // reference to our machine
|
||||
|
||||
/* pressed states; retrieved with ui_input_pressed() */
|
||||
bool m_presses_enabled;
|
||||
bool m_presses_enabled;
|
||||
osd_ticks_t m_next_repeat[IPT_COUNT];
|
||||
u8 m_seqpressed[IPT_COUNT];
|
||||
|
||||
|
@ -1710,8 +1710,8 @@ void lua_engine::initialize()
|
||||
"empty", sol::property(&natural_keyboard::empty),
|
||||
"in_use", sol::property(&natural_keyboard::in_use, &natural_keyboard::set_in_use),
|
||||
"paste", &natural_keyboard::paste,
|
||||
"post", [](natural_keyboard &nat, const std::string &text) { nat.post_utf8(text); },
|
||||
"post_coded", [](natural_keyboard &nat, const std::string &text) { nat.post_coded(text); });
|
||||
"post", [](natural_keyboard &nat, const std::string &text) { nat.post_utf8(text); },
|
||||
"post_coded", [](natural_keyboard &nat, const std::string &text) { nat.post_coded(text); });
|
||||
|
||||
/* ioport_port library
|
||||
*
|
||||
@ -1819,12 +1819,12 @@ void lua_engine::initialize()
|
||||
"type_class", sol::property([](ioport_field &f) {
|
||||
switch (f.type_class())
|
||||
{
|
||||
case INPUT_CLASS_KEYBOARD: return "keyboard";
|
||||
case INPUT_CLASS_CONTROLLER: return "controller";
|
||||
case INPUT_CLASS_CONFIG: return "config";
|
||||
case INPUT_CLASS_DIPSWITCH: return "dipswitch";
|
||||
case INPUT_CLASS_MISC: return "misc";
|
||||
default: break;
|
||||
case INPUT_CLASS_KEYBOARD: return "keyboard";
|
||||
case INPUT_CLASS_CONTROLLER: return "controller";
|
||||
case INPUT_CLASS_CONFIG: return "config";
|
||||
case INPUT_CLASS_DIPSWITCH: return "dipswitch";
|
||||
case INPUT_CLASS_MISC: return "misc";
|
||||
default: break;
|
||||
}
|
||||
throw false;
|
||||
}),
|
||||
|
@ -135,7 +135,7 @@ void mame_machine_manager::start_luaengine()
|
||||
{
|
||||
// user may specify environment variables; subsitute them
|
||||
osd_subst_env(pluginpath, pluginpath);
|
||||
|
||||
|
||||
// and then scan the directory recursively
|
||||
m_plugins->scan_directory(pluginpath, true);
|
||||
}
|
||||
|
@ -91,11 +91,11 @@ bool plugin_options::load_plugin(const std::string &path)
|
||||
: ".";
|
||||
|
||||
plugin p;
|
||||
p.m_name = document["plugin"]["name"].GetString();
|
||||
p.m_description = document["plugin"]["description"].GetString();
|
||||
p.m_type = document["plugin"]["type"].GetString();
|
||||
p.m_directory = std::move(dir);
|
||||
p.m_start = false;
|
||||
p.m_name = document["plugin"]["name"].GetString();
|
||||
p.m_description = document["plugin"]["description"].GetString();
|
||||
p.m_type = document["plugin"]["type"].GetString();
|
||||
p.m_directory = std::move(dir);
|
||||
p.m_start = false;
|
||||
if (document["plugin"].HasMember("start") && (std::string(document["plugin"]["start"].GetString()) == "true"))
|
||||
p.m_start = true;
|
||||
|
||||
|
@ -23,9 +23,9 @@ struct plugin
|
||||
{
|
||||
std::string m_name;
|
||||
std::string m_description;
|
||||
std::string m_type;
|
||||
std::string m_directory;
|
||||
bool m_start;
|
||||
std::string m_type;
|
||||
std::string m_directory;
|
||||
bool m_start;
|
||||
};
|
||||
|
||||
|
||||
|
@ -48,7 +48,7 @@ protected:
|
||||
private:
|
||||
machine_static_info(const ui_options &options, machine_config const &config, ioport_list const *ports);
|
||||
|
||||
const ui_options & m_options;
|
||||
const ui_options & m_options;
|
||||
|
||||
// overall feature status
|
||||
::machine_flags::type m_flags;
|
||||
|
@ -232,7 +232,7 @@ void menu_sliders::custom_render(void *selectedref, float top, float bottom, flo
|
||||
// draw extra menu area
|
||||
ui().draw_outlined_box(container(), x1, y1, x2, y2, ui().colors().background_color());
|
||||
y1 += ui().box_tb_border();
|
||||
|
||||
|
||||
// determine the text height
|
||||
ui().draw_text_full(container(), tempstring.c_str(), 0, 0, x2 - x1 - 2.0f * ui().box_lr_border(),
|
||||
ui::text_layout::CENTER, ui::text_layout::TRUNCATE, mame_ui_manager::NONE, rgb_t::white(), rgb_t::black(), nullptr, &text_height);
|
||||
|
@ -272,8 +272,8 @@ private:
|
||||
render_texture * m_mouse_arrow_texture;
|
||||
bool m_mouse_show;
|
||||
ui_options m_ui_options;
|
||||
ui_colors m_ui_colors;
|
||||
float m_target_font_height;
|
||||
ui_colors m_ui_colors;
|
||||
float m_target_font_height;
|
||||
|
||||
std::unique_ptr<ui::machine_info> m_machine_info;
|
||||
|
||||
|
@ -56,24 +56,24 @@ LEGACY_FLOPPY_OPTIONS_END
|
||||
|
||||
// exactly 6500 bytes
|
||||
const floppy_image_format_t::desc_e ds9_format::ds9_desc[] = {
|
||||
/* 01 */ { MFM, 0xaa, 32 }, // GAP1
|
||||
/* 02 */ { SECTOR_LOOP_START, 0, 20 }, // 21 sectors
|
||||
/* 03 */ { RAWBITS, 0x8924, 16 }, // sync mark: xA4, 2 us zero level interval, 0xFF
|
||||
/* 01 */ { MFM, 0xaa, 32 }, // GAP1
|
||||
/* 02 */ { SECTOR_LOOP_START, 0, 20 }, // 21 sectors
|
||||
/* 03 */ { RAWBITS, 0x8924, 16 }, // sync mark: xA4, 2 us zero level interval, 0xFF
|
||||
/* 04 */ { RAWBITS, 0x5555, 16 },
|
||||
/* 05 */ { MFM, 0x95, 1 }, // address field prologue
|
||||
/* 05 */ { MFM, 0x95, 1 }, // address field prologue
|
||||
/* 06 */ { MFM, 0x6a, 1 },
|
||||
/* 07 */ { MFM, 0xfe, 1 }, // volume number
|
||||
/* 07 */ { MFM, 0xfe, 1 }, // volume number
|
||||
/* 08 */ { OFFSET_ID },
|
||||
/* 09 */ { SECTOR_ID },
|
||||
/* 10 */ { MFM, 0x5a, 1 }, // address field epilogue
|
||||
/* 11 */ { MFM, 0xaa, 5 }, // GAP2 (min 4 bytes)
|
||||
/* 12 */ { RAWBITS, 0x8924, 16 }, // sync mark
|
||||
/* 10 */ { MFM, 0x5a, 1 }, // address field epilogue
|
||||
/* 11 */ { MFM, 0xaa, 5 }, // GAP2 (min 4 bytes)
|
||||
/* 12 */ { RAWBITS, 0x8924, 16 }, // sync mark
|
||||
/* 13 */ { RAWBITS, 0x5555, 16 },
|
||||
/* 14 */ { MFM, 0x6a, 1 }, // data field prologue
|
||||
/* 14 */ { MFM, 0x6a, 1 }, // data field prologue
|
||||
/* 15 */ { MFM, 0x95, 1 },
|
||||
/* 16 */ { SECTOR_DATA_DS9, -1 },
|
||||
/* 17 */ { MFM, 0x5a, 1 }, // data field epilogue
|
||||
/* 18 */ { MFM, 0xaa, 33 }, // GAP3
|
||||
/* 17 */ { MFM, 0x5a, 1 }, // data field epilogue
|
||||
/* 18 */ { MFM, 0xaa, 33 }, // GAP3
|
||||
/* 19 */ { SECTOR_LOOP_END },
|
||||
/* 20 */ { END }
|
||||
};
|
||||
|
@ -24,12 +24,12 @@
|
||||
#include "formats/dvk_mx_dsk.h"
|
||||
|
||||
const floppy_image_format_t::desc_e dvk_mx_format::dvk_mx_new_desc[] = {
|
||||
/* 01 */ { FM, 0x00, 8*2 }, // eight 0x0000 words
|
||||
/* 01 */ { FM, 0x00, 8*2 }, // eight 0x0000 words
|
||||
/* 03 */ { FM, 0x00, 1 },
|
||||
/* 02 */ { FM, 0xf3, 1 }, // word 0x00f3
|
||||
/* 02 */ { FM, 0xf3, 1 }, // word 0x00f3
|
||||
/* 05 */ { FM, 0x00, 1 },
|
||||
/* 04 */ { TRACK_ID_FM }, // track number word
|
||||
/* 05 */ { SECTOR_LOOP_START, 0, 10 }, // 11 sectors
|
||||
/* 04 */ { TRACK_ID_FM }, // track number word
|
||||
/* 05 */ { SECTOR_LOOP_START, 0, 10 }, // 11 sectors
|
||||
/* 07 */ { SECTOR_DATA_MX, -1 },
|
||||
/* 10 */ { SECTOR_LOOP_END },
|
||||
/* 13 */ { FM, 0x83, 1 },
|
||||
@ -44,10 +44,10 @@ const floppy_image_format_t::desc_e dvk_mx_format::dvk_mx_new_desc[] = {
|
||||
const floppy_image_format_t::desc_e dvk_mx_format::dvk_mx_old_desc[] = {
|
||||
/* 01 */ { FM, 0x00, 30*2 },
|
||||
/* 03 */ { FM, 0x00, 1 },
|
||||
/* 02 */ { FM, 0xf3, 1 }, // word 0x00f3
|
||||
/* 02 */ { FM, 0xf3, 1 }, // word 0x00f3
|
||||
/* 05 */ { FM, 0x00, 1 },
|
||||
/* 04 */ { TRACK_ID_FM }, // track number word
|
||||
/* 06 */ { SECTOR_LOOP_START, 0, 10 }, // 11 sectors
|
||||
/* 04 */ { TRACK_ID_FM }, // track number word
|
||||
/* 06 */ { SECTOR_LOOP_START, 0, 10 }, // 11 sectors
|
||||
/* 07 */ { SECTOR_DATA_MX, -1 },
|
||||
/* 10 */ { SECTOR_LOOP_END },
|
||||
/* 13 */ { FM, 0x83, 1 },
|
||||
|
@ -1731,9 +1731,9 @@ avi_file::error avi_file_impl::read_uncompressed_video_frame(std::uint32_t frame
|
||||
}
|
||||
|
||||
/*-------------------------------------------------
|
||||
read_video_frame - read video data for a
|
||||
particular frame from the AVI file, converting
|
||||
to YUY16 format
|
||||
read_video_frame - read video data for a
|
||||
particular frame from the AVI file, converting
|
||||
to YUY16 format
|
||||
-------------------------------------------------*/
|
||||
|
||||
avi_file::error avi_file_impl::read_video_frame(std::uint32_t framenum, bitmap_yuy16 &bitmap)
|
||||
|
@ -29,11 +29,11 @@
|
||||
#define FORMAT_VYUY AVI_FOURCC('V','Y','U','Y')
|
||||
#define FORMAT_YUY2 AVI_FOURCC('Y','U','Y','2')
|
||||
#define FORMAT_HFYU AVI_FOURCC('H','F','Y','U')
|
||||
#define FORMAT_I420 AVI_FOURCC('I','4','2','0')
|
||||
#define FORMAT_I420 AVI_FOURCC('I','4','2','0')
|
||||
#define FORMAT_DIB AVI_FOURCC('D','I','B',' ')
|
||||
#define FORMAT_RGB AVI_FOURCC('R','G','B',' ')
|
||||
#define FORMAT_RAW AVI_FOURCC('R','A','W',' ')
|
||||
#define FORMAT_UNCOMPRESSED 0x00000000
|
||||
#define FORMAT_UNCOMPRESSED 0x00000000
|
||||
|
||||
|
||||
class avi_file
|
||||
|
@ -27,15 +27,15 @@
|
||||
|
||||
- use priority PROM for drawing sprites
|
||||
- find and dump an unmodified bme01.12d to correct the 1943 Euro set
|
||||
- Accurate interrupt handling
|
||||
- Screen raw parameters
|
||||
- Accurate interrupt handling
|
||||
- Screen raw parameters
|
||||
|
||||
Notes:
|
||||
Notes:
|
||||
|
||||
- The MCU is actually hooked up to a lot more than it actually uses.
|
||||
It can potentially communicate with the audio CPU, read the current
|
||||
vertical line and has a vblank counter. All this isn't used by the MCU
|
||||
program, it only exchanges a value with the main CPU.
|
||||
- The MCU is actually hooked up to a lot more than it actually uses.
|
||||
It can potentially communicate with the audio CPU, read the current
|
||||
vertical line and has a vblank counter. All this isn't used by the MCU
|
||||
program, it only exchanges a value with the main CPU.
|
||||
|
||||
|
||||
*/
|
||||
|
@ -632,14 +632,14 @@ READ8_MEMBER(agat_base_state::c100_r)
|
||||
|
||||
if (m_slotdevice[slotnum] != nullptr)
|
||||
{
|
||||
// u8 data;
|
||||
// u8 data;
|
||||
|
||||
if ((m_slotdevice[slotnum]->take_c800()) && (!machine().side_effects_disabled()))
|
||||
{
|
||||
m_cnxx_slot = slotnum;
|
||||
}
|
||||
|
||||
// logerror("%s: c100_r %04X (slot %d) == %02X\n", machine().describe_context(), offset+0xc100, slotnum, data);
|
||||
// logerror("%s: c100_r %04X (slot %d) == %02X\n", machine().describe_context(), offset+0xc100, slotnum, data);
|
||||
|
||||
return m_slotdevice[slotnum]->read_cnxx(offset & 0xff);
|
||||
}
|
||||
@ -1472,7 +1472,7 @@ static void agat7_cards(device_slot_interface &device)
|
||||
|
||||
static void agat9_cards(device_slot_interface &device)
|
||||
{
|
||||
// device.option_add("a9ram", A2BUS_AGAT9RAM); // Agat-9 128K RAM Card -- decimal 3.089.170
|
||||
// device.option_add("a9ram", A2BUS_AGAT9RAM); // Agat-9 128K RAM Card -- decimal 3.089.170
|
||||
device.option_add("diskii", A2BUS_DISKII); /* Disk II Controller Card */
|
||||
device.option_add("a9fdc140", A2BUS_AGAT9_FDC); // Disk II clone -- decimal 3.089.173 (reworked for agat9)
|
||||
device.option_add("a9fdchle", A2BUS_AGAT840K_HLE); // 840K floppy controller -- decimal 7.104.351 or 3.089.023?
|
||||
|
@ -19,7 +19,7 @@ Commands: same as UNIOR
|
||||
ToDo:
|
||||
- Add devices
|
||||
- There is no obvious evidence of sound.
|
||||
- Cassette
|
||||
- Cassette
|
||||
-- no info available but seems to be much the same as Unior, so code copied over
|
||||
-- clock not hooked up, don't know where it comes from
|
||||
-- unable to test as the i8251 device needs work to support syndet
|
||||
|
@ -11,7 +11,7 @@ Info: The PC 30-III and PC 40-III share the same mainboard. On a PC 30-III the o
|
||||
Form factor: Desktop PC
|
||||
CPU: Siemens SAB 80286-12 (PC 30-III), Intel 80286-12 (PC 40-III)
|
||||
RAM: 1MB on board
|
||||
Chipset: Faraday FE3020, MOS 5720 1788 41, Faraday FE3000, FE3010B,
|
||||
Chipset: Faraday FE3020, MOS 5720 1788 41, Faraday FE3000, FE3010B,
|
||||
Bus: 3x16 bit ISA, 1x8 bit ISA
|
||||
Video: PC 30-III: ATI EGA Wonder 800+, PC 40-III: Onboard Paradise VGA, 256KB
|
||||
Mass storage: One HD disk drive standard, second drive optional; PC 30-III: 20MB, PC 40-III: 40MB AT-IDE HD standard, 80MB or 100MB optional
|
||||
@ -1102,7 +1102,7 @@ ROM_START( o286foxii)
|
||||
ROM_REGION(0x20000, "bios", 0)
|
||||
ROMX_LOAD( "286-fox2-even_32k.bin", 0x10000, 0x8000, CRC(54dc119f) SHA1(4bc543beef0d2201fa20eac90a0a6ca38ebf0dbf), ROM_SKIP(1))
|
||||
ROMX_LOAD( "286-fox2-odd_32k.bin", 0x10001, 0x8000, CRC(e5db7775) SHA1(2bd0572b9f7c76eff51375b551586ca8484e2a74), ROM_SKIP(1))
|
||||
ROM_END
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( atvga )
|
||||
|
@ -75,7 +75,7 @@ void att630_state::mem_map(address_map &map)
|
||||
map(0x200000, 0x20001f).rw("duart1", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask16(0x00ff);
|
||||
map(0x200020, 0x20003f).rw("duart2", FUNC(scn2681_device::read), FUNC(scn2681_device::write)).umask16(0x00ff);
|
||||
map(0x400000, 0x6fffff).noprw(); // expansion i/o card
|
||||
// map(0x700000, 0x75ffff).noprw(); // video controller
|
||||
// map(0x700000, 0x75ffff).noprw(); // video controller
|
||||
map(0x760000, 0x77ffff).ram().share("vram");
|
||||
map(0x780000, 0x7fffff).ram(); // program ram
|
||||
map(0xe00000, 0xe03fff).mirror(0x1fc000).rw(FUNC(att630_state::bram_r), FUNC(att630_state::bram_w)).umask16(0x00ff);
|
||||
|
@ -62,9 +62,9 @@
|
||||
a production board.
|
||||
|
||||
ToDo:
|
||||
- Proper IRQ2 (should be LVBL) and IRQ4 (V256) hookup
|
||||
- Proper IRQ2 (should be LVBL) and IRQ4 (V256) hookup
|
||||
|
||||
About IRQ:
|
||||
About IRQ:
|
||||
IRQ4 seems to be control related.
|
||||
On each interrupt, it reads 0xFE4000 (coin/start), shift the bits around
|
||||
and move the resulting byte into a dword RAM location. The dword RAM location
|
||||
|
@ -141,11 +141,11 @@ void falco5220_state::io_map(address_map &map)
|
||||
{
|
||||
map.global_mask(0xff);
|
||||
map(0x00, 0x00).w(FUNC(falco5220_state::rombank_w));
|
||||
// map(0x50, 0x50).r // keyboard data
|
||||
// map(0x51, 0x51).r // keyboard status
|
||||
// map(0x50, 0x50).r // keyboard data
|
||||
// map(0x51, 0x51).r // keyboard status
|
||||
map(0x52, 0x52).w(FUNC(falco5220_state::rambank_w));
|
||||
// map(0x54, 0x54).w // vram address (low)?
|
||||
// map(0x55, 0x55).w // vram address (high)?
|
||||
// map(0x54, 0x54).w // vram address (low)?
|
||||
// map(0x55, 0x55).w // vram address (high)?
|
||||
map(0x5a, 0x5a).w(FUNC(falco5220_state::unk5a_w)); // 5220s only?
|
||||
map(0x60, 0x63).rw("sio", FUNC(z80sio_device::ba_cd_r), FUNC(z80sio_device::ba_cd_w));
|
||||
map(0x70, 0x73).rw("ctc", FUNC(z80ctc_device::read), FUNC(z80ctc_device::write));
|
||||
|
@ -126,7 +126,7 @@ u8 dsc_state::read_board_row(u8 row)
|
||||
0x03, 0x83, 0x84, 0x82, 0x91, 0x81, 0x90, 0x80,
|
||||
0xff, 0x93, 0x94, 0x92, 0xff, 0xff, 0xff, 0xff,
|
||||
0x04, 0x53, 0x63, 0x73, 0x43, 0x33, 0x23, 0x13,
|
||||
0xff, 0x54, 0x64, 0x74, 0x44, 0x34, 0x24, 0x14,
|
||||
0xff, 0x54, 0x64, 0x74, 0x44, 0x34, 0x24, 0x14,
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
|
||||
};
|
||||
|
||||
|
@ -1530,7 +1530,7 @@ TILE_GET_INFO_MEMBER(goldnpkr_state::super21p_get_bg_tile_info)
|
||||
|
||||
/*
|
||||
Color codes GFX bank 0 (chars)
|
||||
|
||||
|
||||
00 = Black.
|
||||
10 = Red.
|
||||
20 = Green.
|
||||
@ -1543,7 +1543,7 @@ TILE_GET_INFO_MEMBER(goldnpkr_state::super21p_get_bg_tile_info)
|
||||
In test mode, the DIP switches status are assigned with code 00,
|
||||
so you can't see them since they are black on black background.
|
||||
|
||||
*/
|
||||
*/
|
||||
}
|
||||
|
||||
void goldnpkr_state::video_start()
|
||||
@ -1688,7 +1688,7 @@ void goldnpkr_state::super21p_palette(palette_device &palette) const
|
||||
{
|
||||
/*
|
||||
Each graphics bank has its own palette. The first 3 are tied to
|
||||
bipolar PROMs, and the las one is RGB direct.
|
||||
bipolar PROMs, and the las one is RGB direct.
|
||||
|
||||
GFX bank 0 ---> bipolar PROM 1
|
||||
GFX bank 1 ---> bipolar PROM 2
|
||||
@ -1710,7 +1710,7 @@ void goldnpkr_state::super21p_palette(palette_device &palette) const
|
||||
|
||||
for (int i = 0; i < (palette.entries() * 3) / 4; i++)
|
||||
{
|
||||
// last quarter of palette is RGB direct, for gfx bank 3 (title)
|
||||
// last quarter of palette is RGB direct, for gfx bank 3 (title)
|
||||
// todo: implement bit 3.
|
||||
|
||||
// red component
|
||||
@ -4294,7 +4294,7 @@ static INPUT_PORTS_START( super21p )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("IN0-2")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
|
||||
@ -4315,10 +4315,10 @@ static INPUT_PORTS_START( super21p )
|
||||
|
||||
PORT_START("SW1")
|
||||
PORT_DIPNAME( 0x03, 0x03, "Limit" ) PORT_DIPLOCATION("SW1:8,7")
|
||||
PORT_DIPSETTING( 0x03, "3000" )
|
||||
PORT_DIPSETTING( 0x02, "5000" )
|
||||
PORT_DIPSETTING( 0x01, "10000" )
|
||||
PORT_DIPSETTING( 0x00, "30000" )
|
||||
PORT_DIPSETTING( 0x03, "3000" )
|
||||
PORT_DIPSETTING( 0x02, "5000" )
|
||||
PORT_DIPSETTING( 0x01, "10000" )
|
||||
PORT_DIPSETTING( 0x00, "30000" )
|
||||
PORT_DIPNAME( 0x04, 0x04, "4 Of a Kind" ) PORT_DIPLOCATION("SW1:6")
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Yes ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
@ -4337,7 +4337,7 @@ static INPUT_PORTS_START( super21p )
|
||||
PORT_DIPNAME( 0x80, 0x80, "Game Mode" ) PORT_DIPLOCATION("SW1:1")
|
||||
PORT_DIPSETTING( 0x80, "Play" )
|
||||
PORT_DIPSETTING( 0x00, "Port Check" )
|
||||
|
||||
|
||||
PORT_START("SW2")
|
||||
PORT_DIPNAME( 0x07, 0x07, "Coin1-Coin2-NoteIn" ) PORT_DIPLOCATION("SW2:8,7,6")
|
||||
PORT_DIPSETTING( 0x07, "10-100-50" )
|
||||
@ -11496,10 +11496,10 @@ ROM_START( super21p )
|
||||
ROM_REGION( 0x1800, "gfx4", 0 )
|
||||
ROM_COPY( "gfxpool", 0x1800, 0x1000, 0x0800 ) // src-dest-size
|
||||
ROM_COPY( "gfxpool", 0x3800, 0x0800, 0x0800 ) // src-dest-size
|
||||
ROM_COPY( "gfxpool", 0x5800, 0x0000, 0x0800 ) // src-dest-size
|
||||
ROM_COPY( "gfxpool", 0x5800, 0x0000, 0x0800 ) // src-dest-size
|
||||
|
||||
// ROM_FILL( 0x0000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
|
||||
// ROM_FILL( 0x2000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
|
||||
// ROM_FILL( 0x0000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
|
||||
// ROM_FILL( 0x2000, 0x1000, 0x0000 ) /* filling the R-G bitplanes */
|
||||
|
||||
ROM_REGION( 0x0300, "proms", 0 )
|
||||
ROM_LOAD( "82s129_1.ic31", 0x0000, 0x0100, CRC(c3d777b4) SHA1(5a3c0325dcbddde3f8ae2ffbc1cb56cfccda308d) )
|
||||
|
@ -147,8 +147,8 @@ f
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Gradius 4 837C01 - - 837A09 837A10 - 778A12 837A04 837A05 - - 837A08
|
||||
NBA P/Play 778A01 - - 778A09 778A10 778A11 778A12 778A04 778A05 - - 778A08
|
||||
Teraburst - 715l02 715l03 715A09 715A10 - 778A12 715A04 715A05 - - 715A08
|
||||
S/Scope 830B01 - - 830A09 830A10 - - - - - - 830A08
|
||||
Teraburst - 715l02 715l03 715A09 715A10 - 778A12 715A04 715A05 - - 715A08
|
||||
S/Scope 830B01 - - 830A09 830A10 - - - - - - 830A08
|
||||
S/Scope 2 931D01 - - 931A09 931A10 931A11 - 931A04 - - - 931A08
|
||||
|
||||
|
||||
@ -221,7 +221,7 @@ f
|
||||
Gradius 4 837A13 837A15 837A14 837A16
|
||||
NBA P/Play 778A13 778A15 778A14 778A16
|
||||
Teraburst 715A13 715A15 778A14 715A16
|
||||
S/Scope 830A13 - 830A14 -
|
||||
S/Scope 830A13 - 830A14 -
|
||||
S/Scope 2 - - - - (no ROMs, not used)
|
||||
|
||||
|
||||
@ -271,10 +271,10 @@ f
|
||||
12B CY7C199 Cypress 32kx8 SRAM
|
||||
8B AT93C46 Atmel 1K serial EEPROM, 8 pin SOP
|
||||
16G DS2401 Dallas Silicon Serial Number IC, 6 pin SOP
|
||||
|
||||
|
||||
Note: This PCB does more than just networking. The serial eeprom is used as a means to prevent region change.
|
||||
The timekeeper region has to match the serial eeprom. The two mask roms serve as GFX roms as the game "downloads"
|
||||
the data from those two roms.
|
||||
the data from those two roms.
|
||||
|
||||
|
||||
|
||||
@ -1009,26 +1009,26 @@ static INPUT_PORTS_START(nbapbp) //Need to add inputs for player 3 and 4.
|
||||
PORT_DIPNAME(0x02, 0x02, "Cabinet Type") PORT_DIPLOCATION("SW:7")
|
||||
PORT_DIPSETTING(0x02, "2 Player")
|
||||
PORT_DIPSETTING(0x00, "4 Player")
|
||||
|
||||
/* PORT_START("IN3")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START3 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
|
||||
|
||||
PORT_START("IN4")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START4 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(4) */
|
||||
|
||||
/* PORT_START("IN3")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START3 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3)
|
||||
|
||||
PORT_START("IN4")
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START4 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(4)
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(4) */
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START(terabrst)
|
||||
@ -1255,8 +1255,8 @@ void hornet_state::sscope(machine_config &config)
|
||||
rscreen.set_visarea(0, 512 - 1, 0, 384 - 1);
|
||||
rscreen.set_screen_update(FUNC(hornet_state::screen_update_rscreen));
|
||||
|
||||
/* ADC12138(config, m_adc12138_2, 0);
|
||||
m_adc12138->set_ipt_convert_callback(FUNC(hornet_state::sscope_input_callback)); */
|
||||
/* ADC12138(config, m_adc12138_2, 0);
|
||||
m_adc12138->set_ipt_convert_callback(FUNC(hornet_state::sscope_input_callback)); */
|
||||
|
||||
m_konppc->set_num_boards(2);
|
||||
}
|
||||
@ -1748,4 +1748,4 @@ GAMEL( 1999, sscopea, sscope, sscope, sscope, hornet_state, init_sscope,
|
||||
GAMEL( 2000, sscope2, 0, sscope2, sscope2, hornet_state, init_sscope2, ROT0, "Konami", "Silent Scope 2 : Dark Silhouette (ver UAD)", MACHINE_IMPERFECT_SOUND | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE | MACHINE_NODEVICE_LAN , layout_dualhsxs )
|
||||
//GAMEL( 2000, sscope2e, sscope2, sscope2, sscope2, hornet_state, init_sscope2, ROT0, "Konami", "Silent Scope 2 : Fatal Judgement (ver EAD)", MACHINE_IMPERFECT_SOUND | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE | MACHINE_NODEVICE_LAN , layout_dualhsxs )
|
||||
//GAMEL( 2000, sscope2j, sscope2 sscope2, sscope2, hornet_state, init_sscope2, ROT0, "Konami", "Silent Scope 2 : Innocent Sweeper (ver JAD)", MACHINE_IMPERFECT_SOUND | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE | MACHINE_NODEVICE_LAN , layout_dualhsxs )
|
||||
|
||||
|
||||
|
@ -158,8 +158,8 @@ void legionna_state::legionna_cop_map(address_map &map)
|
||||
map(0x10047c, 0x10047d).w(m_raiden2cop, FUNC(raiden2cop_device::cop_dma_dst_w));
|
||||
map(0x10047e, 0x10047f).rw(m_raiden2cop, FUNC(raiden2cop_device::cop_dma_mode_r), FUNC(raiden2cop_device::cop_dma_mode_w));
|
||||
|
||||
// map(0x100488, 0x100489).nopw(); grainbow $0010
|
||||
// map(0x10048a, 0x10048b).nopw(); grainbow $0000
|
||||
// map(0x100488, 0x100489).nopw(); grainbow $0010
|
||||
// map(0x10048a, 0x10048b).nopw(); grainbow $0000
|
||||
map(0x10048c, 0x10048d).w(m_raiden2cop, FUNC(raiden2cop_device::cop_sprite_dma_abs_y_w)); // 68k
|
||||
map(0x10048e, 0x10048f).w(m_raiden2cop, FUNC(raiden2cop_device::cop_sprite_dma_abs_x_w)); // 68k
|
||||
|
||||
|
@ -223,7 +223,7 @@ u8 mindset_state::sys_p2_r()
|
||||
|
||||
void mindset_state::sys_p1_w(u8 data)
|
||||
{
|
||||
// m_maincpu->int0_w(!((data & 0x40) || m_fdc->get_irq()));
|
||||
// m_maincpu->int0_w(!((data & 0x40) || m_fdc->get_irq()));
|
||||
logerror("SYS: fdc write p1 %02x irq %d\n", data, !!(data & 0x40));
|
||||
}
|
||||
|
||||
@ -233,7 +233,7 @@ void mindset_state::sys_p2_w(u8 data)
|
||||
m_red_led = !BIT(data, 2);
|
||||
m_yellow_led = !BIT(data, 1);
|
||||
m_green_led = !BIT(data, 0);
|
||||
// logerror("power %s\n", data & 0x40 ?
|
||||
// logerror("power %s\n", data & 0x40 ?
|
||||
// logerror("SYS: write p2 %02x\n", data);
|
||||
}
|
||||
|
||||
@ -267,7 +267,7 @@ void mindset_state::snd_p1_w(u8 data)
|
||||
|
||||
void mindset_state::snd_p2_w(u8 data)
|
||||
{
|
||||
// logerror("snd p2 %02x\n", data);
|
||||
// logerror("snd p2 %02x\n", data);
|
||||
}
|
||||
|
||||
u16 mindset_state::keyscan()
|
||||
@ -367,7 +367,7 @@ void mindset_state::dispreg_w(u16 data)
|
||||
m_intaddr = 0;
|
||||
bool bank = m_dispctrl & 0x4000;
|
||||
bool ibm_mode = m_dispctrl & 0x2000;
|
||||
// bool interleave = m_dispctrl & 0x0800;
|
||||
// bool interleave = m_dispctrl & 0x0800;
|
||||
int pixels_per_byte_order = (m_dispctrl & 0x0600) >> 9;
|
||||
bool large_pixels = m_dispctrl & 0x0100;
|
||||
if(ibm_mode)
|
||||
@ -377,7 +377,7 @@ void mindset_state::dispreg_w(u16 data)
|
||||
if(pixels_per_byte_order == 2) stepy = 40;
|
||||
if(pixels_per_byte_order == 1) stepy = 80;
|
||||
if(pixels_per_byte_order == 0) stepy = 160;
|
||||
|
||||
|
||||
m_intaddr = inty * stepy + (intx >> (pixels_per_byte_order - large_pixels + 2));
|
||||
}
|
||||
|
||||
@ -838,7 +838,7 @@ u16 mindset_state::trap_clear_interrupt()
|
||||
|
||||
u16 mindset_state::trap_r(offs_t offset)
|
||||
{
|
||||
// machine().debug_break();
|
||||
// machine().debug_break();
|
||||
logerror("trap_r %04x\n", offset << 1);
|
||||
m_trap_data[m_trap_len++] = (offset << 1) | 0x8000;
|
||||
m_trap_data[m_trap_len++] = 0;
|
||||
@ -849,7 +849,7 @@ u16 mindset_state::trap_r(offs_t offset)
|
||||
|
||||
void mindset_state::trap_w(offs_t offset, u16 data)
|
||||
{
|
||||
// machine().debug_break();
|
||||
// machine().debug_break();
|
||||
logerror("trap_w %04x, %04x\n", offset << 1, data);
|
||||
m_trap_data[m_trap_len++] = offset << 1;
|
||||
m_trap_data[m_trap_len++] = data;
|
||||
|
@ -83,7 +83,7 @@
|
||||
|
||||
Board silkscreened on top:
|
||||
be MVX-001-02 ('be' is a Bonanza Enterprises logo).
|
||||
|
||||
|
||||
+------------------------------------------------------+
|
||||
| *CN-HEX |
|
||||
| 6 SW2 MSM2128-15 HD46505SP JDX 3-92 |
|
||||
@ -126,7 +126,7 @@ VR1-VR6: variable resistor to handle B-G background color/intensity & sound
|
||||
- PRG ROMs: 5x 2764 (8Kb) - 3 for Joker Poker
|
||||
- GFX ROMs: 1x 2764 (8Kb) for text layer.
|
||||
3x 2764 (8Kb) for gfx tiles.
|
||||
|
||||
|
||||
NOTE: 10MHz XTAL verified for Joker Poker, Super Mini-Boy is stated as 12.4725MHz
|
||||
|
||||
*******************************************************************************
|
||||
|
@ -71,7 +71,7 @@
|
||||
| __ | SCC68681C1N40 | |BS62LV1027PCP55 __ |_| |
|
||||
| |A| |__NXP__________| |__BSI_________|SN75176BP F |
|
||||
| |U| _______________ U o -> LED -12
|
||||
| |X| |BS62LV1027PCP55 S o -> LED +12
|
||||
| |X| |BS62LV1027PCP55 S o -> LED +12
|
||||
| |P| __________ |__BSI_________| E o -> LED +24
|
||||
| |O| |MC68340AG16E o -> LED + +34
|
||||
| |R| |L75M | F |
|
||||
|
@ -10838,7 +10838,7 @@ ROM_START( ggisuka )
|
||||
ROM_REGION( 4, "rom_key", 0 )
|
||||
ROM_LOAD( "ax1201f01.bin", 0, 4, CRC(325cf843) SHA1(c51d19a4fce37433f37e7ce23801a7fc4e09013d) )
|
||||
/*
|
||||
Sammy AM3AHT/AWMPSYSTEM
|
||||
Sammy AM3AHT/AWMPSYSTEM
|
||||
4-cabinet splitter device, likely was used in GG Isuka, and maybe in 2-player AW-NET games too.
|
||||
|
||||
Case contains 3x PCB stack:
|
||||
|
@ -98,7 +98,7 @@ but when they get close to top of the screen they go in front of them.
|
||||
To display score, priority of upper part is always lower.
|
||||
So this is the correct behavior of real hardware, not an emulation bug.
|
||||
- hcrash:
|
||||
The "overall ranking" sums up every play score by players, by looking up
|
||||
The "overall ranking" sums up every play score by players, by looking up
|
||||
initials
|
||||
|
||||
***************************************************************************/
|
||||
@ -3031,16 +3031,16 @@ ROM_END
|
||||
void nemesis_state::bubsys_init()
|
||||
{
|
||||
/*
|
||||
The MCU is the master of the system and controls the /RESET and /BS lines of the 68000.
|
||||
At boot the MCU asserts /RESET and /BS of the 68000 and waits for the bubble memory to warm up.
|
||||
During this period, the Audio CPU is running and speaking the "Getting ready... Fifty..."
|
||||
countdown via the vlm5030. Once the bubble memory is ready, the MCU copies the 68000 boot program
|
||||
to shared RAM which takes 30.65 milliseconds then releases /RESET and /BS so the 68000 starts execution.
|
||||
|
||||
As the MCU is not dumped we effectively start the simulation at the point the 68000
|
||||
is released, and manually copy the boot program to 68000 address space.
|
||||
|
||||
TODO: add a 'delay' (configurable) to simulate the bubble memory 'warming up' and only release the 68k after this is done.
|
||||
The MCU is the master of the system and controls the /RESET and /BS lines of the 68000.
|
||||
At boot the MCU asserts /RESET and /BS of the 68000 and waits for the bubble memory to warm up.
|
||||
During this period, the Audio CPU is running and speaking the "Getting ready... Fifty..."
|
||||
countdown via the vlm5030. Once the bubble memory is ready, the MCU copies the 68000 boot program
|
||||
to shared RAM which takes 30.65 milliseconds then releases /RESET and /BS so the 68000 starts execution.
|
||||
|
||||
As the MCU is not dumped we effectively start the simulation at the point the 68000
|
||||
is released, and manually copy the boot program to 68000 address space.
|
||||
|
||||
TODO: add a 'delay' (configurable) to simulate the bubble memory 'warming up' and only release the 68k after this is done.
|
||||
*/
|
||||
|
||||
const uint8_t *src = memregion("maincpu")->base();
|
||||
|
@ -155,7 +155,7 @@ Afega Games
|
||||
Afega stands for "Art-Fiction Electronic Game"
|
||||
|
||||
Reference of music tempo:
|
||||
stagger1 - https://www.youtube.com/watch?v=xWszb2fP07M
|
||||
stagger1 - https://www.youtube.com/watch?v=xWszb2fP07M
|
||||
|
||||
********************************************************************/
|
||||
|
||||
|
@ -20,13 +20,13 @@
|
||||
Currently, a handful of games run, but some die due to odd hardware
|
||||
issues.
|
||||
|
||||
To start a game:
|
||||
- Wait for the set-date screen to appear
|
||||
- Press Down
|
||||
- Set date with directional controls (optional)
|
||||
- Press Button 1, wait, press Button 1, press Right, game starts
|
||||
To start a game:
|
||||
- Wait for the set-date screen to appear
|
||||
- Press Down
|
||||
- Set date with directional controls (optional)
|
||||
- Press Button 1, wait, press Button 1, press Right, game starts
|
||||
|
||||
If you do nothing for about 20 secs, it turns itself off (screen goes white).
|
||||
If you do nothing for about 20 secs, it turns itself off (screen goes white).
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
@ -41,19 +41,19 @@
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
#define LOG_UNKNOWN (1 << 0)
|
||||
#define LOG_FTLB (1 << 1)
|
||||
#define LOG_IRQS (1 << 2)
|
||||
#define LOG_INTC (1 << 3)
|
||||
#define LOG_TIMER (1 << 4)
|
||||
#define LOG_CLOCK (1 << 5)
|
||||
#define LOG_RTC (1 << 6)
|
||||
#define LOG_LCD (1 << 7)
|
||||
#define LOG_AUDIO (1 << 8)
|
||||
#define LOG_ALL (LOG_UNKNOWN | LOG_FTLB | LOG_IRQS | LOG_INTC | LOG_TIMER | LOG_CLOCK | LOG_RTC | LOG_LCD | LOG_AUDIO)
|
||||
#define LOG_DEFAULT LOG_ALL
|
||||
#define LOG_UNKNOWN (1 << 0)
|
||||
#define LOG_FTLB (1 << 1)
|
||||
#define LOG_IRQS (1 << 2)
|
||||
#define LOG_INTC (1 << 3)
|
||||
#define LOG_TIMER (1 << 4)
|
||||
#define LOG_CLOCK (1 << 5)
|
||||
#define LOG_RTC (1 << 6)
|
||||
#define LOG_LCD (1 << 7)
|
||||
#define LOG_AUDIO (1 << 8)
|
||||
#define LOG_ALL (LOG_UNKNOWN | LOG_FTLB | LOG_IRQS | LOG_INTC | LOG_TIMER | LOG_CLOCK | LOG_RTC | LOG_LCD | LOG_AUDIO)
|
||||
#define LOG_DEFAULT LOG_ALL
|
||||
|
||||
#define VERBOSE (0)
|
||||
#define VERBOSE (0)
|
||||
#include "logmacro.h"
|
||||
|
||||
class pockstat_state : public driver_device
|
||||
|
@ -65,7 +65,7 @@ void qvt103_state::mem_map(address_map &map)
|
||||
map.unmap_value_high();
|
||||
map(0x0000, 0x5fff).rom().region("maincpu", 0);
|
||||
map(0x6000, 0x6001).rw("kbdmcu", FUNC(i8741a_device::upi41_master_r), FUNC(i8741a_device::upi41_master_w));
|
||||
// map(0x6000, 0x6001).lr8("test", [this]() -> u8 { return machine().rand(); }); // uncomment to pass kbd test
|
||||
// map(0x6000, 0x6001).lr8("test", [this]() -> u8 { return machine().rand(); }); // uncomment to pass kbd test
|
||||
map(0x8000, 0x87ff).ram().share("nvram");
|
||||
map(0xa000, 0xa03f).rw("vpac", FUNC(crt9007_device::read), FUNC(crt9007_device::write));
|
||||
map(0xc000, 0xdfff).ram(); // not entirely contiguous?
|
||||
|
@ -45,7 +45,7 @@ private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<screen_device> m_screen;
|
||||
required_device<palette_device> m_palette;
|
||||
|
||||
|
||||
//required_shared_ptr<uint32_t> m_vram;
|
||||
std::unique_ptr<uint32_t[]> m_vram;
|
||||
|
||||
@ -644,7 +644,7 @@ TIMER_CALLBACK_MEMBER(riscpc_state::flyback_timer_callback)
|
||||
|
||||
// for convenience lets just implement the video DMA transfer here
|
||||
// the actual transfer probably works per scanline once enabled.
|
||||
if(m_viddma_status & 0x20)
|
||||
if(m_viddma_status & 0x20)
|
||||
viddma_transfer_start();
|
||||
|
||||
m_flyback_timer->adjust(m_screen->time_until_pos(m_vidc20_vert_reg[VDER]));
|
||||
@ -807,7 +807,7 @@ void riscpc_state::a7000_mem(address_map &map)
|
||||
map(0x00000000, 0x003fffff).mirror(0x00800000).rom().region("user1", 0);
|
||||
// AM_RANGE(0x01000000, 0x01ffffff) AM_NOP //expansion ROM
|
||||
// TODO: fatalerrors with pendingUnd in ARM7 core with this enabled
|
||||
// map(0x02000000, 0x02ffffff).rw(FUNC(riscpc_state::vram_r), FUNC(riscpc_state::vram_w));
|
||||
// map(0x02000000, 0x02ffffff).rw(FUNC(riscpc_state::vram_r), FUNC(riscpc_state::vram_w));
|
||||
// I/O 03000000 - 033fffff
|
||||
// AM_RANGE(0x03010000, 0x03011fff) //Super IO
|
||||
// AM_RANGE(0x03012000, 0x03029fff) //FDC
|
||||
|
@ -673,8 +673,8 @@ TIMER_DEVICE_CALLBACK_MEMBER( sapi_state::kansas_r )
|
||||
}
|
||||
|
||||
// check for interrupts (not needed)
|
||||
// if ((m_uart->tbmt_r() && m_iet) || (m_uart->dav_r() && m_ier))
|
||||
// m_maincpu->set_input_line(I8085_INTR_LINE, HOLD_LINE);
|
||||
// if ((m_uart->tbmt_r() && m_iet) || (m_uart->dav_r() && m_ier))
|
||||
// m_maincpu->set_input_line(I8085_INTR_LINE, HOLD_LINE);
|
||||
|
||||
if ((m_cass->get_state() & CASSETTE_MASK_UISTATE) != CASSETTE_PLAY)
|
||||
return;
|
||||
|
@ -1587,8 +1587,8 @@ static INPUT_PORTS_START( sgmast )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("P1 Angle Right")
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 Stance")
|
||||
/* For select the power shot rotate the stick from up-left (max power) to up (minimum power) and relese */
|
||||
PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_CUSTOM )
|
||||
|
||||
PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_CUSTOM )
|
||||
|
||||
PORT_MODIFY("P2")
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
@ -1625,8 +1625,8 @@ static INPUT_PORTS_START( sgmastj )
|
||||
PORT_INCLUDE( sgmast )
|
||||
|
||||
PORT_MODIFY("P1")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("DSW")
|
||||
//"SW2:1" not divert from "sgmast"
|
||||
@ -2050,7 +2050,7 @@ void segas24_state::dcclubj(machine_config &config)
|
||||
dcclub(config);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &segas24_state::dcclubj_cpu1_map);
|
||||
m_subcpu->set_addrmap(AS_PROGRAM, &segas24_state::dcclubj_cpu2_map);
|
||||
|
||||
|
||||
upd4701_device &upd4701(UPD4701A(config, "upd4701"));
|
||||
upd4701.set_portx_tag("DIAL1");
|
||||
upd4701.set_porty_tag("DIAL2");
|
||||
|
@ -598,7 +598,7 @@ ROM_START( dinoki4 )
|
||||
DISK_IMAGE( "mda-c0061", 0, BAD_DUMP SHA1(d9e21aff3d33cc5d3d97decacf963cff23c60ff1) ) // BAD_DUMP note: actual game files is all good and genuine, but image itself was modified and not original.
|
||||
|
||||
ROM_PARAMETER( ":rom_board:id", "5502" )
|
||||
|
||||
|
||||
ROM_REGION( 0x800, "pic_readout", 0 )
|
||||
ROM_LOAD( "317-0408-com.ic15", 0, 0x800, CRC(f77c49dc) SHA1(e10173bbbd5930ed159cec9a7dba308e2a3f3c43) )
|
||||
ROM_END
|
||||
|
@ -31,13 +31,13 @@ Notes:
|
||||
8 MHz (noticeable thru colour cycling effects)
|
||||
- Confirmed OSC is 48MHz and OKI resonator is 1.056MHz.
|
||||
- Hebereke no Popoon has various debug mode switches, the ones found so far:
|
||||
$30878e: bit 0 enable, active low.
|
||||
If enabled correctly all of the non gameplay screens become
|
||||
text stubs;
|
||||
$30878e: bit 0 enable, active low.
|
||||
If enabled correctly all of the non gameplay screens become
|
||||
text stubs;
|
||||
$aff14: a non-zero value enables CPU usage in 2p mode.
|
||||
As a side-effect this also makes winning condition to never
|
||||
satisfy, it goes on indefinitely with the selected characters and
|
||||
input methods.
|
||||
As a side-effect this also makes winning condition to never
|
||||
satisfy, it goes on indefinitely with the selected characters and
|
||||
input methods.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -1004,7 +1004,7 @@ ROM_START(starridr)
|
||||
|
||||
ROM_REGION(0x200, "horz", 0)
|
||||
ROM_LOAD("u74.6349", 0x000, 0x200, CRC(362ec0f9) SHA1(0304a36d038436e9f5e817dfc2c40b6421953cad))
|
||||
|
||||
|
||||
DISK_REGION( "ld_pr8210a" )
|
||||
DISK_IMAGE_READONLY( "starrider", 0, NO_DUMP )
|
||||
ROM_END
|
||||
|
@ -181,24 +181,24 @@ void tasc_state::main_map(address_map &map)
|
||||
|
||||
static INPUT_PORTS_START( tasc )
|
||||
PORT_START("IN.0")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_G) PORT_NAME("PLAY")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("LEFT")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_G) PORT_NAME("PLAY")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_LEFT) PORT_NAME("LEFT")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED)
|
||||
|
||||
PORT_START("IN.1")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("BACK")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("RIGHT")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("BACK")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_RIGHT) PORT_NAME("RIGHT")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNUSED)
|
||||
|
||||
PORT_START("IN.2")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_M) PORT_NAME("MENU")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_UP) PORT_NAME("UP")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_L) PORT_NAME("Left Clock")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_M) PORT_NAME("MENU")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_UP) PORT_NAME("UP")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_L) PORT_NAME("Left Clock")
|
||||
|
||||
PORT_START("IN.3")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("ENTER")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("DOWN")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Right Clock")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_ENTER) PORT_NAME("ENTER")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DOWN) PORT_NAME("DOWN")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Right Clock")
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
The Boat
|
||||
1987(c) Hit Gun Co, LTD.
|
||||
|
||||
|
||||
Gambling/Amusement game
|
||||
Selectable through DIP switches.
|
||||
|
||||
@ -325,7 +325,7 @@ ROM_START(theboat)
|
||||
ROM_LOAD("3.ic8", 0x0000, 0x4000, CRC(74b44e32) SHA1(b36c90a13511c5bf4aef079ac506605096e39067))
|
||||
ROM_LOAD("4.ic11", 0x4000, 0x4000, CRC(4ea36fa3) SHA1(b020a478e8dd72154916c67d71255b5a6a822d6d))
|
||||
ROM_LOAD("5.ic14", 0x8000, 0x4000, CRC(7899a587) SHA1(13cbb7e837e14bc49d8b34dbf876b666cdf48979))
|
||||
// Empty socket for one more ROM (IC16),
|
||||
// Empty socket for one more ROM (IC16),
|
||||
ROM_END
|
||||
|
||||
|
||||
|
@ -689,7 +689,7 @@ static INPUT_PORTS_START( jetwave )
|
||||
|
||||
PORT_START("ANALOG2")
|
||||
PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_NAME("Accelerator") PORT_MINMAX(0x00,0x90) PORT_SENSITIVITY(25) PORT_KEYDELTA(10)
|
||||
|
||||
|
||||
PORT_START("ANALOG3") //actually required else MAME will crash if this port is removed.
|
||||
PORT_BIT( 0xff, 0x00, IPT_UNUSED )
|
||||
INPUT_PORTS_END
|
||||
|
@ -145,7 +145,7 @@ public:
|
||||
|
||||
private:
|
||||
required_ioport_array<2> m_io_in;
|
||||
// DECLARE_WRITE32_MEMBER(sound_w);
|
||||
// DECLARE_WRITE32_MEMBER(sound_w);
|
||||
u32 unk_status_r();
|
||||
|
||||
virtual void video_start() override;
|
||||
|
@ -375,22 +375,22 @@
|
||||
<bezel element="text_right"><bounds x="88.5" y="96" width="4" height="4" /></bezel>
|
||||
<bezel element="text_down"> <bounds x="82.5" y="102" width="4" height="4" /></bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x0200"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x0200"> <!-- ENT -->
|
||||
<bounds x="76" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x0200"> <!-- Up -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x0200"> <!-- Up -->
|
||||
<bounds x="82" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x0200"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x0200"> <!-- CL -->
|
||||
<bounds x="88" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x0100"> <!-- Left -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x0100"> <!-- Left -->
|
||||
<bounds x="76" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x0100"> <!-- Right -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x0100"> <!-- Right -->
|
||||
<bounds x="88" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x0100"> <!-- Down -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x0100"> <!-- Down -->
|
||||
<bounds x="82" y="101.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -375,22 +375,22 @@
|
||||
<bezel element="text_right"><bounds x="88.5" y="96" width="4" height="4" /></bezel>
|
||||
<bezel element="text_down"> <bounds x="82.5" y="102" width="4" height="4" /></bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x8000"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x8000"> <!-- ENT -->
|
||||
<bounds x="76" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x8000"> <!-- Up -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x8000"> <!-- Up -->
|
||||
<bounds x="82" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x8000"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x8000"> <!-- CL -->
|
||||
<bounds x="88" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x4000"> <!-- Left -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x4000"> <!-- Left -->
|
||||
<bounds x="76" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x4000"> <!-- Right -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x4000"> <!-- Right -->
|
||||
<bounds x="88" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x4000"> <!-- Down -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x4000"> <!-- Down -->
|
||||
<bounds x="82" y="101.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -468,54 +468,54 @@
|
||||
<bezel element="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></bezel>
|
||||
|
||||
<!-- Buttons (new_keyboard)-->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x01"> <!-- INFO -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x01"> <!-- INFO -->
|
||||
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x02"> <!-- POS -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x02"> <!-- POS -->
|
||||
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x04"> <!-- LEV -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x04"> <!-- LEV -->
|
||||
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x08"> <!-- MEM -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x08"> <!-- MEM -->
|
||||
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x10"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x10"> <!-- CL -->
|
||||
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x20"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x20"> <!-- ENT -->
|
||||
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x01"> <!-- A1 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x01"> <!-- A1 -->
|
||||
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x02"> <!-- B2 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x02"> <!-- B2 -->
|
||||
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
|
||||
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x08"> <!-- D4 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x08"> <!-- D4 -->
|
||||
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x10"> <!-- E5 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x10"> <!-- E5 -->
|
||||
<bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x20"> <!-- F6 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x20"> <!-- F6 -->
|
||||
<bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
|
||||
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x80"> <!-- H8 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x80"> <!-- H8 -->
|
||||
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x40"> <!-- 9 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x40"> <!-- 9 -->
|
||||
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x80"> <!-- 0 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x80"> <!-- 0 -->
|
||||
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -475,54 +475,54 @@
|
||||
<bezel element="black"><bounds x="90.35" y="104.5" width="1.3" height="1.3" /></bezel>
|
||||
<bezel element="white"><bounds x="95.35" y="104.5" width="1.3" height="1.3" /></bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY1_0" inputmask="0x80"> <!-- 1 -->
|
||||
<bezel element="keys" inputtag="KEY1_0" inputmask="0x80"> <!-- 1 -->
|
||||
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_1" inputmask="0x80"> <!-- 2 -->
|
||||
<bezel element="keys" inputtag="KEY1_1" inputmask="0x80"> <!-- 2 -->
|
||||
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_2" inputmask="0x80"> <!-- 3 -->
|
||||
<bezel element="keys" inputtag="KEY1_2" inputmask="0x80"> <!-- 3 -->
|
||||
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_3" inputmask="0x80"> <!-- 4 -->
|
||||
<bezel element="keys" inputtag="KEY1_3" inputmask="0x80"> <!-- 4 -->
|
||||
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_4" inputmask="0x80"> <!-- 5 -->
|
||||
<bezel element="keys" inputtag="KEY1_4" inputmask="0x80"> <!-- 5 -->
|
||||
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_5" inputmask="0x80"> <!-- 6 -->
|
||||
<bezel element="keys" inputtag="KEY1_5" inputmask="0x80"> <!-- 6 -->
|
||||
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY2_3" inputmask="0x80"> <!-- INFO -->
|
||||
<bezel element="keys" inputtag="KEY2_3" inputmask="0x80"> <!-- INFO -->
|
||||
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_5" inputmask="0x80"> <!-- POS -->
|
||||
<bezel element="keys" inputtag="KEY2_5" inputmask="0x80"> <!-- POS -->
|
||||
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_6" inputmask="0x80"> <!-- LEV -->
|
||||
<bezel element="keys" inputtag="KEY2_6" inputmask="0x80"> <!-- LEV -->
|
||||
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_7" inputmask="0x80"> <!-- MEM -->
|
||||
<bezel element="keys" inputtag="KEY2_7" inputmask="0x80"> <!-- MEM -->
|
||||
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_0" inputmask="0x80"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="KEY2_0" inputmask="0x80"> <!-- CL -->
|
||||
<bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_1" inputmask="0x80"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="KEY2_1" inputmask="0x80"> <!-- ENT -->
|
||||
<bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY2_2" inputmask="0x80"> <!-- BEST -->
|
||||
<bezel element="keys" inputtag="KEY2_2" inputmask="0x80"> <!-- BEST -->
|
||||
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_4" inputmask="0x80"> <!-- MON -->
|
||||
<bezel element="keys" inputtag="KEY2_4" inputmask="0x80"> <!-- MON -->
|
||||
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_7" inputmask="0x80"> <!-- BLACK -->
|
||||
<bezel element="keys" inputtag="KEY1_7" inputmask="0x80"> <!-- BLACK -->
|
||||
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_6" inputmask="0x80"> <!-- WHITE -->
|
||||
<bezel element="keys" inputtag="KEY1_6" inputmask="0x80"> <!-- WHITE -->
|
||||
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -375,22 +375,22 @@
|
||||
<bezel element="text_right"><bounds x="88.5" y="96" width="4" height="4" /></bezel>
|
||||
<bezel element="text_down"> <bounds x="82.5" y="102" width="4" height="4" /></bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x01000000"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x01000000"> <!-- ENT -->
|
||||
<bounds x="76" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x01000000"> <!-- Up -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x01000000"> <!-- Up -->
|
||||
<bounds x="82" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x01000000"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x01000000"> <!-- CL -->
|
||||
<bounds x="88" y="89.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x02000000"> <!-- Left -->
|
||||
<bezel element="keys" inputtag="KEY1" inputmask="0x02000000"> <!-- Left -->
|
||||
<bounds x="76" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x02000000"> <!-- Right -->
|
||||
<bezel element="keys" inputtag="KEY3" inputmask="0x02000000"> <!-- Right -->
|
||||
<bounds x="88" y="95.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x02000000"> <!-- Down -->
|
||||
<bezel element="keys" inputtag="KEY2" inputmask="0x02000000"> <!-- Down -->
|
||||
<bounds x="82" y="101.5" width="5" height="5" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -466,54 +466,54 @@
|
||||
<bezel element="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></bezel>
|
||||
|
||||
<!-- Buttons (old_keyboard)-->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x02"> <!-- INFO -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x02"> <!-- INFO -->
|
||||
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x08"> <!-- POS -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x08"> <!-- POS -->
|
||||
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x20"> <!-- LEV -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x20"> <!-- LEV -->
|
||||
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x80"> <!-- MEM -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x80"> <!-- MEM -->
|
||||
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x02"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x02"> <!-- CL -->
|
||||
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x08"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x08"> <!-- ENT -->
|
||||
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x20"> <!-- A1 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x20"> <!-- A1 -->
|
||||
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x80"> <!-- B2 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x80"> <!-- B2 -->
|
||||
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x04"> <!-- C3 -->
|
||||
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x10"> <!-- D4 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x10"> <!-- D4 -->
|
||||
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x01"> <!-- E5 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x01"> <!-- E5 -->
|
||||
<bounds x="69" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x40"> <!-- F6 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x40"> <!-- F6 -->
|
||||
<bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x40"> <!-- G7 -->
|
||||
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x10"> <!-- H8 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x10"> <!-- H8 -->
|
||||
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x01"> <!-- 9 -->
|
||||
<bezel element="keys" inputtag="LINE0" inputmask="0x01"> <!-- 9 -->
|
||||
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x04"> <!-- 0 -->
|
||||
<bezel element="keys" inputtag="LINE1" inputmask="0x04"> <!-- 0 -->
|
||||
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -484,54 +484,54 @@
|
||||
<bezel element="black"><bounds x="89.5" y="105.1" width="1.3" height="1.3" /></bezel>
|
||||
<bezel element="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY1_0" inputmask="0x80"> <!-- CL -->
|
||||
<bezel element="keys" inputtag="KEY1_0" inputmask="0x80"> <!-- CL -->
|
||||
<bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_1" inputmask="0x80"> <!-- POS -->
|
||||
<bezel element="keys" inputtag="KEY1_1" inputmask="0x80"> <!-- POS -->
|
||||
<bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_2" inputmask="0x80"> <!-- MEM -->
|
||||
<bezel element="keys" inputtag="KEY1_2" inputmask="0x80"> <!-- MEM -->
|
||||
<bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_3" inputmask="0x80"> <!-- INFO -->
|
||||
<bezel element="keys" inputtag="KEY1_3" inputmask="0x80"> <!-- INFO -->
|
||||
<bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_4" inputmask="0x80"> <!-- LEV -->
|
||||
<bezel element="keys" inputtag="KEY1_4" inputmask="0x80"> <!-- LEV -->
|
||||
<bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_5" inputmask="0x80"> <!-- ENT -->
|
||||
<bezel element="keys" inputtag="KEY1_5" inputmask="0x80"> <!-- ENT -->
|
||||
<bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY2_3" inputmask="0x80"> <!-- A1 -->
|
||||
<bezel element="keys" inputtag="KEY2_3" inputmask="0x80"> <!-- A1 -->
|
||||
<bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_5" inputmask="0x80"> <!-- B2 -->
|
||||
<bezel element="keys" inputtag="KEY2_5" inputmask="0x80"> <!-- B2 -->
|
||||
<bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_6" inputmask="0x80"> <!-- C3 -->
|
||||
<bezel element="keys" inputtag="KEY2_6" inputmask="0x80"> <!-- C3 -->
|
||||
<bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_7" inputmask="0x80"> <!-- D4 -->
|
||||
<bezel element="keys" inputtag="KEY2_7" inputmask="0x80"> <!-- D4 -->
|
||||
<bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_0" inputmask="0x80"> <!-- E5 -->
|
||||
<bezel element="keys" inputtag="KEY2_0" inputmask="0x80"> <!-- E5 -->
|
||||
<bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_1" inputmask="0x80"> <!-- F6 -->
|
||||
<bezel element="keys" inputtag="KEY2_1" inputmask="0x80"> <!-- F6 -->
|
||||
<bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
|
||||
<bezel element="keys" inputtag="KEY2_2" inputmask="0x80"> <!-- G7 -->
|
||||
<bezel element="keys" inputtag="KEY2_2" inputmask="0x80"> <!-- G7 -->
|
||||
<bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY2_4" inputmask="0x80"> <!-- H8 -->
|
||||
<bezel element="keys" inputtag="KEY2_4" inputmask="0x80"> <!-- H8 -->
|
||||
<bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_7" inputmask="0x80"> <!-- 9 -->
|
||||
<bezel element="keys" inputtag="KEY1_7" inputmask="0x80"> <!-- 9 -->
|
||||
<bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
<bezel element="keys" inputtag="KEY1_6" inputmask="0x80"> <!-- 0 -->
|
||||
<bezel element="keys" inputtag="KEY1_6" inputmask="0x80"> <!-- 0 -->
|
||||
<bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" />
|
||||
</bezel>
|
||||
</group>
|
||||
|
@ -10,12 +10,12 @@
|
||||
<element name="static_lcd"><rect><color red="0.5412" green="0.57255" blue="0.5804" /></rect></element>
|
||||
|
||||
<element name="ledr" defstate="0">
|
||||
<disk state="0"> <color red="0.15" green="0.05" blue="0.05" /> </disk>
|
||||
<disk state="1"> <color red="1" green="0.01" blue="0.15" /> </disk>
|
||||
<disk state="0"> <color red="0.15" green="0.05" blue="0.05" /> </disk>
|
||||
<disk state="1"> <color red="1" green="0.01" blue="0.15" /> </disk>
|
||||
</element>
|
||||
<element name="ledg" defstate="0">
|
||||
<disk state="0"> <color red="0.05" green="0.15" blue="0.05" /> </disk>
|
||||
<disk state="1"> <color red="0.1" green="1" blue="0.15" /> </disk>
|
||||
<disk state="0"> <color red="0.05" green="0.15" blue="0.05" /> </disk>
|
||||
<disk state="1"> <color red="0.1" green="1" blue="0.15" /> </disk>
|
||||
</element>
|
||||
|
||||
<element name="hlb">
|
||||
|
@ -227,7 +227,7 @@ void pgm_arm_type1_state::pgm_arm_type1(machine_config &config) // ARM7 Shared m
|
||||
ARM7(config, m_prot, 20000000); // 55857E?
|
||||
m_prot->set_addrmap(AS_PROGRAM, &pgm_arm_type1_state::_55857E_arm7_map);
|
||||
|
||||
// subdevice<screen_device>("screen")->set_refresh_hz(59.17); // Correct?
|
||||
// subdevice<screen_device>("screen")->set_refresh_hz(59.17); // Correct?
|
||||
}
|
||||
|
||||
void pgm_arm_type1_state::pgm_arm_type1_sim(machine_config &config) // When simulated
|
||||
@ -242,7 +242,7 @@ void pgm_arm_type1_state::pgm_arm_type1_sim(machine_config &config) // When simu
|
||||
void pgm_arm_type1_state::pgm_arm_type1_cave(machine_config &config)
|
||||
{
|
||||
pgm_arm_type1_sim(config);
|
||||
// pgm_arm_type1(config); // When ARM7 ROM is dumped and hooked up
|
||||
// pgm_arm_type1(config); // When ARM7 ROM is dumped and hooked up
|
||||
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &pgm_arm_type1_state::cavepgm_mem);
|
||||
|
||||
|
@ -381,14 +381,14 @@ void raiden2cop_device::LEGACY_execute_6200(int offset, uint16_t data) // this i
|
||||
void raiden2cop_device::LEGACY_execute_6980(int offset, uint16_t data)
|
||||
{
|
||||
uint8_t offs;
|
||||
// int abs_x, abs_y, rel_xy;
|
||||
// int abs_x, abs_y, rel_xy;
|
||||
int rel_xy;
|
||||
|
||||
offs = (offset & 3) * 4;
|
||||
|
||||
/* TODO: I really suspect that following two are actually taken from the 0xa180 macro command then internally loaded */
|
||||
// abs_x = m_host_space->read_word(cop_regs[0] + 8) - m_cop_sprite_dma_abs_x;
|
||||
// abs_y = m_host_space->read_word(cop_regs[0] + 4) - m_cop_sprite_dma_abs_y;
|
||||
// abs_x = m_host_space->read_word(cop_regs[0] + 8) - m_cop_sprite_dma_abs_x;
|
||||
// abs_y = m_host_space->read_word(cop_regs[0] + 4) - m_cop_sprite_dma_abs_y;
|
||||
rel_xy = m_host_space->read_word(m_cop_sprite_dma_src + 4 + offs);
|
||||
|
||||
//if(rel_xy & 0x0706)
|
||||
@ -396,15 +396,15 @@ void raiden2cop_device::LEGACY_execute_6980(int offset, uint16_t data)
|
||||
|
||||
m_sprite_dma_rel_x = (rel_xy & 0xff);
|
||||
m_sprite_dma_rel_y = ((rel_xy & 0xff00) >> 8);
|
||||
// m_sprite_dma_rel_x = (rel_xy & 0x78) + (abs_x)-((rel_xy & 0x80) ? 0x80 : 0);
|
||||
// m_sprite_dma_rel_y = ((rel_xy & 0x7800) >> 8) + (abs_y)-((rel_xy & 0x8000) ? 0x80 : 0);
|
||||
// m_sprite_dma_rel_x = (rel_xy & 0x78) + (abs_x)-((rel_xy & 0x80) ? 0x80 : 0);
|
||||
// m_sprite_dma_rel_y = ((rel_xy & 0x7800) >> 8) + (abs_y)-((rel_xy & 0x8000) ? 0x80 : 0);
|
||||
|
||||
// if (rel_xy & 1)
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 4, 0xc0 + abs_x - (rel_xy & 0xf8));
|
||||
// else
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 4, (((rel_xy & 0x78) + (abs_x)-((rel_xy & 0x80) ? 0x80 : 0))));
|
||||
// if (rel_xy & 1)
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 4, 0xc0 + abs_x - (rel_xy & 0xf8));
|
||||
// else
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 4, (((rel_xy & 0x78) + (abs_x)-((rel_xy & 0x80) ? 0x80 : 0))));
|
||||
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 6, (((rel_xy & 0x7800) >> 8) + (abs_y)-((rel_xy & 0x8000) ? 0x80 : 0)));
|
||||
// m_host_space->write_word(cop_regs[4] + offs + 6, (((rel_xy & 0x7800) >> 8) + (abs_y)-((rel_xy & 0x8000) ? 0x80 : 0)));
|
||||
}
|
||||
|
||||
/*
|
||||
@ -548,15 +548,15 @@ void raiden2cop_device::LEGACY_execute_c480(int offset, uint16_t data)
|
||||
// TODO: upper bits of DMA params seems to go into sprite priority?
|
||||
sprite_info = m_host_space->read_word(m_cop_sprite_dma_src + offs) + (m_cop_sprite_dma_param & 0x3f);
|
||||
m_host_space->write_word(cop_regs[4] + offs + 0, sprite_info);
|
||||
|
||||
|
||||
abs_x = m_host_space->read_word(cop_regs[0] + 8) - m_cop_sprite_dma_abs_x;
|
||||
abs_y = m_host_space->read_word(cop_regs[0] + 4) - m_cop_sprite_dma_abs_y;
|
||||
|
||||
|
||||
const u8 fx = (sprite_info & 0x4000) >> 14;
|
||||
const u8 fy = (sprite_info & 0x2000) >> 13;
|
||||
const u8 dx = ((sprite_info & 0x1c00) >> 10) + 1;
|
||||
//const u8 dy = ((sprite_info & 0x0380) >> 7) + 1;
|
||||
|
||||
|
||||
if (fx)
|
||||
{
|
||||
sprite_x = (0x100 - (dx*16));
|
||||
@ -573,7 +573,7 @@ void raiden2cop_device::LEGACY_execute_c480(int offset, uint16_t data)
|
||||
sprite_y = (abs_y)+((m_sprite_dma_rel_y & 0x80) ? 0x80 : 0)-(m_sprite_dma_rel_y & 0x78);
|
||||
else
|
||||
sprite_y = (m_sprite_dma_rel_y & 0x78) + (abs_y)-((m_sprite_dma_rel_y & 0x80) ? 0x80 : 0);
|
||||
|
||||
|
||||
//m_host_space->write_word(cop_regs[4] + offs + 2,m_host_space->read_word(m_cop_sprite_dma_src+2 + offs));
|
||||
m_host_space->write_word(cop_regs[4] + offs + 4, sprite_x);
|
||||
m_host_space->write_word(cop_regs[4] + offs + 6, sprite_y);
|
||||
|
@ -225,7 +225,7 @@ uint8_t tasc_sb30_device::spawn_cb(offs_t offset)
|
||||
if (piece_id >= 0)
|
||||
return piece_id + 1;
|
||||
else
|
||||
return 0; // not available
|
||||
return 0; // not available
|
||||
}
|
||||
|
||||
uint8_t tasc_sb30_device::read()
|
||||
|
@ -2494,7 +2494,7 @@ xb42663 // 1988 Apricot Qi 300 (Rev D,E & F Motherboard)
|
||||
xb42664 // 1989 Apricot XEN-S (Venus I Motherboard 386) (Bios:3.10.17i)
|
||||
xb42664a // 1990 Apricot XEN-S (Venus II Motherboard 386) (Bios:1.02.17)
|
||||
lion3500 // 1993 Lion 3500C/T notebook
|
||||
o286foxii // Octek Fox II 286 motherboard
|
||||
o286foxii // Octek Fox II 286 motherboard
|
||||
|
||||
@source:atari_s1.cpp
|
||||
aavenger //
|
||||
|
@ -5,11 +5,11 @@
|
||||
dpb_brushstore.cpp
|
||||
DPB-7000/1 - Brush Store Card
|
||||
|
||||
TODO:
|
||||
- Code is currently a more or less direct translation of the board
|
||||
schematic. It is highly inefficient, but accurate. An equally-
|
||||
accurate, but faster, version can be made once better understanding
|
||||
of the overall DPB-7000 system is had.
|
||||
TODO:
|
||||
- Code is currently a more or less direct translation of the board
|
||||
schematic. It is highly inefficient, but accurate. An equally-
|
||||
accurate, but faster, version can be made once better understanding
|
||||
of the overall DPB-7000 system is had.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
@ -404,4 +404,4 @@ void dpb7000_brush_store_card_device::update_input_latches()
|
||||
m_input_latches[STRIPE_K] = (uint8_t)(m_data >> 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,11 +5,11 @@
|
||||
dpb_framestore.cpp
|
||||
DPB-7000/1 - Framestore Card
|
||||
|
||||
TODO:
|
||||
- Code is currently a more or less direct translation of the board
|
||||
schematic. It is highly inefficient, but accurate. An equally-
|
||||
accurate, but faster, version can be made once better understanding
|
||||
of the overall DPB-7000 system is had.
|
||||
TODO:
|
||||
- Code is currently a more or less direct translation of the board
|
||||
schematic. It is highly inefficient, but accurate. An equally-
|
||||
accurate, but faster, version can be made once better understanding
|
||||
of the overall DPB-7000 system is had.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
@ -91,7 +91,7 @@ uint32_t namcos2_state::screen_update(screen_device &screen, bitmap_ind16 &bitma
|
||||
apply_clip(clip, cliprect);
|
||||
|
||||
/* HACK: enable ROZ layer only if it has priority > 0 */
|
||||
// Phelios contradicts with this so disabled
|
||||
// Phelios contradicts with this so disabled
|
||||
// (level 0 ROZ is actually used by stages 2, 3 and 4 at very least)
|
||||
//bool roz_enable = ((m_gfx_ctrl & 0x7000) ? true : false);
|
||||
|
||||
|
@ -119,7 +119,7 @@ WRITE8_MEMBER(shaolins_state::nmi_w)
|
||||
flip_screen_set(data & 0x01);
|
||||
machine().tilemap().mark_all_dirty();
|
||||
}
|
||||
|
||||
|
||||
machine().bookkeeping().coin_counter_w(0,data & 0x08);
|
||||
machine().bookkeeping().coin_counter_w(1,data & 0x10);
|
||||
}
|
||||
@ -153,7 +153,7 @@ void shaolins_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprec
|
||||
// TODO: understand actual disabling conditions (either by schematics or by probing the real HW)
|
||||
if (m_spriteram[0] == 0)
|
||||
return;
|
||||
|
||||
|
||||
for (int offs = m_spriteram.bytes() - 32; offs >= 0x100; offs -= 32 ) /* max 24 sprites */
|
||||
{
|
||||
if (m_spriteram[offs] && m_spriteram[offs + 6]) /* stop rogue sprites on high score screen */
|
||||
|
@ -2770,8 +2770,8 @@ void taito_f3_state::get_sprite_info(const u16 *spriteram16_ptr)
|
||||
cntrl & 0x0010 = ???
|
||||
cntrl & 0x0020 = ???
|
||||
cntrl & 0x0002 = enabled when Darius Gaiden sprite trail effect should occur (MT #1922)
|
||||
Notice that sprites also completely disappear due of a bug/missing feature in the
|
||||
alpha routines.
|
||||
Notice that sprites also completely disappear due of a bug/missing feature in the
|
||||
alpha routines.
|
||||
*/
|
||||
|
||||
m_sprite_extra_planes = (cntrl & 0x0300) >> 8; // 0 = 4bpp, 1 = 5bpp, 2 = unused?, 3 = 6bpp
|
||||
|
@ -44,7 +44,7 @@ MC6845_UPDATE_ROW(usgames_state::update_row)
|
||||
int attr = m_videoram[tile_index*2+1];
|
||||
uint8_t bg_color = attr & 0xf;
|
||||
uint8_t fg_color = (attr & 0xf0) >> 4;
|
||||
|
||||
|
||||
const uint8_t plane = m_charram[(tile << 3) | ra];
|
||||
for (int n = 7; n >= 0; n--)
|
||||
*pix++ = m_palette->pen(BIT(plane, n) ? fg_color : bg_color);
|
||||
|
Loading…
Reference in New Issue
Block a user