a7800 minor comments/cleanups. nw.

This commit is contained in:
Fabio Priuli 2014-09-02 05:37:07 +00:00
parent 991bcbd1e5
commit e1db142336
3 changed files with 12 additions and 9 deletions

View File

@ -118,6 +118,7 @@ a78_cart_slot_device::a78_cart_slot_device(const machine_config &mconfig, const
device_image_interface(mconfig, *this),
device_slot_interface(mconfig, *this)
{
m_type = A78_NOCART;
}
@ -182,6 +183,7 @@ static const a78_slot slot_list[] =
{ A78_BANKRAM, "a78_bankram" },
{ A78_XB_BOARD, "a78_xboard" },
{ A78_XM_BOARD, "a78_xm" },
{ A78_NOCART, "empty" },
};
static int a78_get_pcb_id(const char *slot)
@ -335,8 +337,8 @@ bool a78_cart_slot_device::call_softlist_load(software_list_device &swlist, cons
}
/*-------------------------------------------------
identify_cart_type - code to detect cart type from
fullpath
verify_header - check the image (from fullpath)
has an admissible header
-------------------------------------------------*/
int a78_cart_slot_device::verify_header(char *header)

View File

@ -22,7 +22,8 @@ enum
A78_BANKRAM, // SuperGame + 32K RAM banked (untested)
A78_XB_BOARD, // A7800 Expansion Board (it shall more or less apply to the Expansion Module too, but this is not officially released yet)
A78_XM_BOARD, // A7800 XM Expansion Module (theoretical specs only, since this is not officially released yet)
A78_TYPEB // Cart exploiting the XB board, but possibly also compatible with non-expanded A7800
A78_TYPEB, // Cart exploiting the XB board, but possibly also compatible with non-expanded A7800
A78_NOCART
};

View File

@ -179,7 +179,7 @@ MACHINE_CONFIG_END
Carts with no bankswitch (8K to 48K)
GAMES:
GAMES: Asteroids, Centipede, Dig Dug and many more
-------------------------------------------------*/
@ -197,7 +197,7 @@ READ8_MEMBER(a78_rom_device::read_40xx)
The Pokey chips is accessed at 0x0450-0x045f or
by writing at 0x4000-0x7fff in some games.
GAMES:
GAMES: Ballblazer, Beef Drop (homebrew)
-------------------------------------------------*/
@ -240,7 +240,7 @@ machine_config_constructor a78_rom_pokey_device::device_mconfig_additions() cons
Note that the code is written so that also
homebrew games with larger ROMs work!
GAMES:
GAMES: Crack'd, Fatal Run, Ikari Warriors...
-------------------------------------------------*/
@ -266,7 +266,7 @@ WRITE8_MEMBER(a78_rom_sg_device::write_40xx)
Carts with SuperGame bankswitch + POKEY chip
As above, the Pokey chips is accessed at
GAMES:
GAMES: Commando
-------------------------------------------------*/
@ -305,7 +305,7 @@ machine_config_constructor a78_rom_sg_pokey_device::device_mconfig_additions() c
for the moment we treat all as 16K of RAM even if
from softlist we shall differentiate between them.
GAMES:
GAMES: Impossible Mission, Jinks and some protos
-------------------------------------------------*/
@ -366,7 +366,7 @@ WRITE8_MEMBER(a78_rom_bankram_device::write_40xx)
9 x 16K banks mappable in 0x8000-0xbfff
bank 7 is always mapped in 0xc000-0xffff
GAMES:
GAMES: Alien Brigade & Crossbow
-------------------------------------------------*/