mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
New working software list additions
----------------------------------- apexc_cyl: Hello World 1, Hello World 2, Hello World 3 [Robbbert]
This commit is contained in:
parent
7fe01c8ff0
commit
23f41acb32
5 changed files with 60 additions and 6 deletions
48
hash/apexc_cyl.xml
Normal file
48
hash/apexc_cyl.xml
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
|
||||
<!--
|
||||
license:CC0
|
||||
|
||||
These Hello World tests are the only known software. It is thought
|
||||
that they were written by Raphael Nabet while developing the driver.
|
||||
|
||||
-->
|
||||
<softwarelist name="apexc_cyl" description="APEXC Cylinder images">
|
||||
|
||||
<software name="hello1">
|
||||
<description>Hello World 1</description>
|
||||
<year>2001</year>
|
||||
<publisher>Raphael Nabet</publisher>
|
||||
<info name="usage" value="Hit Enter" />
|
||||
<part name="cyl" interface="apexc_cyl">
|
||||
<dataarea name="cyl" size="0x01c0">
|
||||
<rom name="helloworld1.apc" size="0x01c0" crc="6ae5de89" sha1="80ae963a5a4018e8f726a2bdbfdaf7d7252980da"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="hello2">
|
||||
<description>Hello World 2</description>
|
||||
<year>2001</year>
|
||||
<publisher>Raphael Nabet</publisher>
|
||||
<info name="usage" value="Hit Enter" />
|
||||
<part name="cyl" interface="apexc_cyl">
|
||||
<dataarea name="cyl" size="0x01c0">
|
||||
<rom name="helloworld2.apc" size="0x01c0" crc="3cea42e3" sha1="60d40af565d21a0c7b1a3557e99efa2b6f5b4e8e"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
<software name="hello3">
|
||||
<description>Hello World 3</description>
|
||||
<year>2001</year>
|
||||
<publisher>Raphael Nabet</publisher>
|
||||
<info name="usage" value="Hit Enter" />
|
||||
<part name="cyl" interface="apexc_cyl">
|
||||
<dataarea name="cyl" size="0x1000">
|
||||
<rom name="helloworld3.apc" size="0x1000" crc="389ad9d6" sha1="fb5eac01dfb0e372d3dced082f68a318bf14a6e5"/>
|
||||
</dataarea>
|
||||
</part>
|
||||
</software>
|
||||
|
||||
</softwarelist>
|
|
@ -1,11 +1,11 @@
|
|||
// license:GPL-2.0+
|
||||
// copyright-holders:Raphael Nabet, Robbbert
|
||||
/*
|
||||
drivers/apexc.c : APEXC driver
|
||||
drivers/apexc.cpp : APEXC driver
|
||||
|
||||
By Raphael Nabet
|
||||
|
||||
see cpu/apexc.c for background and tech info
|
||||
see cpu/apexc.cpp for background and tech info
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
|
@ -384,6 +384,8 @@ void apexc_state::apexc(machine_config &config)
|
|||
APEXC_CYLINDER(config, m_cylinder);
|
||||
APEXC_TAPE_PUNCHER(config, m_tape_puncher);
|
||||
APEXC_TAPE_READER(config, m_tape_reader);
|
||||
|
||||
SOFTWARE_LIST(config, "cyl_list").set_original("apexc_cyl");
|
||||
}
|
||||
|
||||
ROM_START(apexc)
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "cpu/apexc/apexc.h"
|
||||
#include "machine/apexc.h"
|
||||
#include "softlist_dev.h"
|
||||
#include "emupal.h"
|
||||
#include "screen.h"
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// license:GPL-2.0+
|
||||
// copyright-holders:Raphael Nabet, Robbbert
|
||||
/*
|
||||
machine/apexc.c : APEXC machine
|
||||
machine/apexc.cpp : APEXC machine
|
||||
|
||||
By Raphael Nabet
|
||||
|
||||
see cpu/apexc.c for background and tech info
|
||||
see cpu/apexc.cpp for background and tech info
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
// license:GPL-2.0+
|
||||
// copyright-holders:Raphael Nabet, Robbbert
|
||||
/*
|
||||
machine/apexc.c : APEXC machine
|
||||
machine/apexc.h : APEXC machine
|
||||
|
||||
By Raphael Nabet
|
||||
|
||||
see cpu/apexc.c for background and tech info
|
||||
see cpu/apexc.cpp for background and tech info
|
||||
*/
|
||||
|
||||
#ifndef MAME_MACHINE_APEXC
|
||||
#define MAME_MACHINE_APEXC
|
||||
|
||||
#pragma once
|
||||
#include "softlist_dev.h"
|
||||
|
||||
|
||||
/*
|
||||
|
@ -43,6 +44,8 @@ public:
|
|||
|
||||
virtual image_init_result call_load() override;
|
||||
virtual void call_unload() override;
|
||||
virtual const char *image_interface() const noexcept override { return "apexc_cyl"; }
|
||||
virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); }
|
||||
|
||||
private:
|
||||
virtual void device_start() override { }
|
||||
|
|
Loading…
Reference in a new issue