mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
clean up #include stuff, make trampoline constructors protected, restore blank lines between paragraphs in seicross.cpp comment
This commit is contained in:
parent
ce67d8e6b0
commit
4bf1ac6aaf
@ -55,6 +55,7 @@ class a2bus_agat7flop_device: public a2bus_floppy_device
|
||||
public:
|
||||
a2bus_agat7flop_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual const tiny_rom_entry *device_rom_region() const override;
|
||||
};
|
||||
|
||||
@ -63,6 +64,7 @@ class a2bus_agat9flop_device: public a2bus_floppy_device
|
||||
public:
|
||||
a2bus_agat9flop_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual const tiny_rom_entry *device_rom_region() const override;
|
||||
};
|
||||
|
||||
|
@ -27,11 +27,10 @@ class diskiing_device:
|
||||
public device_t,
|
||||
public device_a2bus_card_interface
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
// construction/destruction
|
||||
diskiing_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
virtual void device_add_mconfig(machine_config &config) override;
|
||||
|
@ -12,10 +12,12 @@
|
||||
*********************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "formats/ap2_dsk.h"
|
||||
#include "machine/applefdintf.h"
|
||||
#include "a2iwm.h"
|
||||
|
||||
#include "machine/applefdintf.h"
|
||||
#include "formats/ap2_dsk.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// GLOBAL VARIABLES
|
||||
//**************************************************************************
|
||||
|
@ -27,11 +27,10 @@ class a2bus_iwm_device:
|
||||
public device_t,
|
||||
public device_a2bus_card_interface
|
||||
{
|
||||
public:
|
||||
protected:
|
||||
// construction/destruction
|
||||
a2bus_iwm_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
virtual void device_start() override;
|
||||
virtual void device_reset() override;
|
||||
virtual void device_add_mconfig(machine_config &config) override;
|
||||
|
@ -139,6 +139,7 @@ public:
|
||||
// construction/destruction
|
||||
epson_ap2000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||
|
||||
protected:
|
||||
// optional information overrides
|
||||
virtual const tiny_rom_entry *device_rom_region() const override;
|
||||
};
|
||||
|
@ -5,14 +5,14 @@
|
||||
Apple IWM floppy disk controller
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MAME_MACHINE_IWM_H
|
||||
#define MAME_MACHINE_IWM_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "applefdintf.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
//**************************************************************************
|
||||
|
@ -5,14 +5,14 @@
|
||||
Apple SWIM1 floppy disk controller
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MAME_MACHINE_SWIM1_H
|
||||
#define MAME_MACHINE_SWIM1_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "applefdintf.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
//**************************************************************************
|
||||
|
@ -5,14 +5,14 @@
|
||||
Apple SWIM2 floppy disk controller
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MAME_MACHINE_SWIM2_H
|
||||
#define MAME_MACHINE_SWIM2_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "applefdintf.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
//**************************************************************************
|
||||
|
@ -5,14 +5,14 @@
|
||||
Apple SWIM3 floppy disk controller
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef MAME_MACHINE_SWIM3_H
|
||||
#define MAME_MACHINE_SWIM3_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "applefdintf.h"
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
//**************************************************************************
|
||||
|
@ -304,12 +304,12 @@ private:
|
||||
class zzzap_common_audio_device : public device_t
|
||||
{
|
||||
public:
|
||||
zzzap_common_audio_device(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, u32 clock, void (*netlist)(netlist::nlparse_t &));
|
||||
|
||||
void p1_w(u8 data);
|
||||
void p2_w(u8 data);
|
||||
|
||||
protected:
|
||||
zzzap_common_audio_device(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, u32 clock, void (*netlist)(netlist::nlparse_t &));
|
||||
|
||||
virtual void device_add_mconfig(machine_config &config) override;
|
||||
virtual ioport_constructor device_input_ports() const override;
|
||||
virtual void device_start() override;
|
||||
|
@ -24,11 +24,12 @@ this is logical for unSP2.0 based devices as the CS area typically starts at 0x2
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "screen.h"
|
||||
#include "emupal.h"
|
||||
#include "speaker.h"
|
||||
#include "cpu/unsp/unsp.h"
|
||||
|
||||
#include "emupal.h"
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
|
||||
class pcp8718_state : public driver_device
|
||||
{
|
||||
|
@ -1,34 +1,43 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:Nicola Salmoria
|
||||
/***************************************************************************
|
||||
Seicross memory map (preliminary)
|
||||
driver by Nicola Salmoria
|
||||
|
||||
Seicross memory map (preliminary)
|
||||
|
||||
0000-77ff ROM
|
||||
7800-7fff RAM
|
||||
9000-93ff videoram
|
||||
9c00-9fff colorram
|
||||
|
||||
Read:
|
||||
A000 Joystick + Players start button
|
||||
A800 player #2 controls + coin + ?
|
||||
B000 test switches
|
||||
B800 watchdog reset
|
||||
|
||||
Write:
|
||||
8820-887f Sprite ram
|
||||
9800-981f Scroll control
|
||||
9880-989f ? (always 0?)
|
||||
|
||||
I/O ports:
|
||||
0 8910 control
|
||||
1 8910 write
|
||||
4 8910 read
|
||||
|
||||
There is a microcontroller on the board. Nichibutsu custom part marked
|
||||
NSC81050-102 8127 E37 and labeled No. 00363. It's a 40-pin IC at location 4F
|
||||
on the (Seicross-) board. Looks like it is linked to the dips (and those are
|
||||
on a very small daughterboard).
|
||||
|
||||
Differences in new/old version of Frisky Tom
|
||||
- The lady wears bikini in new version
|
||||
- Game config is backed up by 4.5v battery in old version
|
||||
- Old version uses larger board
|
||||
|
||||
This info came from http://www.ne.jp/asahi/cc-sakura/akkun/old/fryski.html
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
|
@ -8,10 +8,11 @@
|
||||
early Macs
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#ifndef MAME_MACHINE_SWIM_H
|
||||
#define MAME_MACHINE_SWIM_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "machine/applefdc.h"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user