Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jan 23, 2018

this is a re-synced version of the previous PR as changes in master meant that no longer compiled. (these are all TV game and similar Epoxy blob system related changes)

--

split radica6502 driver up into multiple files

  • devices now reside in their own files

split vtech geniusiq driver up into multiple files

  • several of the sets in here weren't even 68k based and need to have their CPUs identified properly

added driver for VTech Reader Laptop E

  • we know what CPU die this is, but don't know what it's copied from, if anything.

correct parent/clone status of a number of sets in vii.cpp

  • also marked vii as NOT WORKING as over half the games just give you a black screen and always have.

elevated the Radica TV Games that were in the Megadrive softlist to be proper MAME sets

  • they're standalone consoles, no need to treat them as fake cartridges anmore

and..
new machine marked as NOT WORKING : Radica Golden Tee Golf Home Edition [Sean Riddle]

</part>
</software>

<!-- the Radica titles are handled as standalone sets in MAME, left here for reference -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't leave commented crud - it just rots.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it serves as an example of how you can still add them / load them with the softlist if you want, which I think is useful.

MAME_DIR .. "src/mame/drivers/megadrvb.cpp",
MAME_DIR .. "src/mame/includes/megadrvb.h",
MAME_DIR .. "src/mame/drivers/megadriv_arcade_clones.cpp",
MAME_DIR .. "src/mame/includes/megadriv_arcade_clones.h",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use more terse source file names.

Copy link
Author

@ghost ghost Jan 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the more verbose filenames help in this case, that's why I'm using them

they're based on megadrive hardware, they're for the arcades, and not official sega hardware.

megadriv_ is because that's the standard identifier for megadrive, and arcade_clones because frankly arclone or similar just looks weird.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to put them in a megadriv folder, if that's an option, but that seems to be a non-standard approach.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just name it megadriv_bootleg.cpp. Let's say for example you'd find a home version of a standalone game Megadrive bootleg, it can be placed in this driver too(instead of making megadriv_home_clones just because it doesn't have a coin slot?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much like system/software shortnames, we have to work with source file names. Making them excessively long makes them annoying to type, increases the width of columns in multi-column listings, reduces the number of columns that can be shown in potential completions on the command line, etc. There's value in being terse.


WRITE8_MEMBER(radica6502_sound_device::radicasi_sound_unk_w)
{
logerror("%s: radicasi_sound_unk_w %02x\n", machine().describe_context().c_str(), data);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use unnecessary .c_str() calls - logerror can handle std::string just fine.

@@ -0,0 +1,61 @@
#ifndef MAME_AUDIO_RADICASI_H
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is missing copyright/licence annotation comments.

int m_protcount;
};

#endif // MAME_INCLUDES_MEGADRIV_ARCADE_CLONES_H
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing end-of-line at end of file.

required_region_ptr<uint16_t> m_rom;
};

#endif // MAME_INCLUDES_MEGADRIV_RADICA_H No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also missing end-of-line.


DECLARE_DEVICE_TYPE(RADICA6502_GPIO, radica6502_gpio_device)

#endif // MAME_AUDIO_RADICASI_GPIO_H No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another missing end-of-line.

@ajrhacker ajrhacker merged commit c3709b0 into mamedev:master Jan 25, 2018
@ghost ghost deleted the 230118 branch February 25, 2018 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants