mirror of
https://github.com/holub/mame
synced 2025-06-09 14:22:41 +03:00
layout/bfm_sc5_gu96x8.lay: Use loops and save many lines.
Also various cleanup.
This commit is contained in:
parent
6f513cfb74
commit
654dbd8285
@ -82,7 +82,7 @@ void s1c33209_device::device_reset()
|
|||||||
template <offs_t RomBytes>
|
template <offs_t RomBytes>
|
||||||
void s1c33209_device::memory_map(address_map &map)
|
void s1c33209_device::memory_map(address_map &map)
|
||||||
{
|
{
|
||||||
map(0x000'0000, 0x000'1fff).mirror(0x000'2000).ram();
|
map(0x000'0000, 0x000'1fff).mirror(0x000'2000).ram(); // actually 32 bits wide (single cycle word access)
|
||||||
map(0x003'0000, 0x003'ffff).m(*this, FUNC(s1c33209_device::peripheral_map));
|
map(0x003'0000, 0x003'ffff).m(*this, FUNC(s1c33209_device::peripheral_map));
|
||||||
map(0x004'0000, 0x004'ffff).mirror(0x001'0000).m(*this, FUNC(s1c33209_device::peripheral_map));
|
map(0x004'0000, 0x004'ffff).mirror(0x001'0000).m(*this, FUNC(s1c33209_device::peripheral_map));
|
||||||
//map(0x006'0000, 0x007'ffff) area 2 reserved for debug mode
|
//map(0x006'0000, 0x007'ffff) area 2 reserved for debug mode
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
// copyright-holders:David Haywood
|
// copyright-holders:David Haywood
|
||||||
/* Scorpion 4 + 5 driver related includes */
|
/* Scorpion 4 + 5 driver related includes */
|
||||||
/* mainly used for stuff which is currently shared between sc4 / 5 sets to avoid duplication */
|
/* mainly used for stuff which is currently shared between sc4 / 5 sets to avoid duplication */
|
||||||
#ifndef MAME_BFM_BFP_SC4_H
|
#ifndef MAME_BFM_BFM_SC4_H
|
||||||
#define MAME_BFM_BFP_SC4_H
|
#define MAME_BFM_BFM_SC4_H
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "sec.h"
|
#include "sec.h"
|
||||||
#include "machine/steppers.h" // stepper motor
|
#include "machine/steppers.h" // stepper motor
|
||||||
|
|
||||||
#include "bfm_gu96x8m_k657c2.h"
|
|
||||||
#include "bfm_bda.h"
|
#include "bfm_bda.h"
|
||||||
|
#include "bfm_gu96x8m_k657c2.h"
|
||||||
|
|
||||||
#include "sound/ymz280b.h"
|
#include "sound/ymz280b.h"
|
||||||
#include "machine/mc68681.h"
|
#include "machine/mc68681.h"
|
||||||
@ -3378,4 +3378,4 @@ INPUT_PORTS_EXTERN( sc4_raw );
|
|||||||
/* not for either of these games? */ \
|
/* not for either of these games? */ \
|
||||||
ROM_LOAD( "casroysnd.bin", 0x00000, 0x80000, CRC(cf1d4b59) SHA1(1b2bc74c6fcc43197a6f295bc34554da01f7b517) )
|
ROM_LOAD( "casroysnd.bin", 0x00000, 0x80000, CRC(cf1d4b59) SHA1(1b2bc74c6fcc43197a6f295bc34554da01f7b517) )
|
||||||
|
|
||||||
#endif // MAME_BFM_BFP_SC4_H
|
#endif // MAME_BFM_BFM_SC4_H
|
||||||
|
@ -40,7 +40,6 @@ namespace {
|
|||||||
class hh_ht11xx_state : public driver_device
|
class hh_ht11xx_state : public driver_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
virtual DECLARE_INPUT_CHANGED_MEMBER(input_wakeup);
|
virtual DECLARE_INPUT_CHANGED_MEMBER(input_wakeup);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -23,10 +23,11 @@
|
|||||||
.XS nnnn-F87F mmmm-C000 <CR>
|
.XS nnnn-F87F mmmm-C000 <CR>
|
||||||
.G <CR>
|
.G <CR>
|
||||||
|
|
||||||
where nnnn is the previous value of the stack pointer, and mmmm is the previous
|
where nnnn is the previous value of the stack pointer, and mmmm is the
|
||||||
value of the program counter.
|
previous value of the program counter.
|
||||||
|
|
||||||
Basic will request the amount of RAM memory available, 8192 (bytes) must be entered.
|
BASIC will request the amount of RAM memory available, 8192 (bytes) must
|
||||||
|
be entered.
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -123,7 +124,7 @@ void exp85_state::exp85_mem(address_map &map)
|
|||||||
map.unmap_value_high();
|
map.unmap_value_high();
|
||||||
// Extended RAM or mapped monitor ROM (only during interrupt and reset)
|
// Extended RAM or mapped monitor ROM (only during interrupt and reset)
|
||||||
map(0x0000, 0x1fff).view(m_low_memory_view);
|
map(0x0000, 0x1fff).view(m_low_memory_view);
|
||||||
// Microsoft Basic ROM
|
// Microsoft BASIC ROM
|
||||||
map(0xc000, 0xdfff).rom();
|
map(0xc000, 0xdfff).rom();
|
||||||
// Monitor ROM in the 8355 chip
|
// Monitor ROM in the 8355 chip
|
||||||
map(0xf000, 0xf7ff).rom().region(m_rom, 0);
|
map(0xf000, 0xf7ff).rom().region(m_rom, 0);
|
||||||
@ -368,7 +369,7 @@ void exp85_state::exp85(machine_config &config)
|
|||||||
/* ROMs */
|
/* ROMs */
|
||||||
|
|
||||||
ROM_START( exp85 )
|
ROM_START( exp85 )
|
||||||
ROM_REGION( 0x10000, "u100", 0 ) // Microsoft Basic
|
ROM_REGION( 0x10000, "u100", 0 ) // Microsoft BASIC
|
||||||
ROM_DEFAULT_BIOS("eia")
|
ROM_DEFAULT_BIOS("eia")
|
||||||
ROM_LOAD( "c000.bin", 0xc000, 0x0800, CRC(73ce4aad) SHA1(2c69cd0b6c4bdc92f4640bce18467e4e99255bab) )
|
ROM_LOAD( "c000.bin", 0xc000, 0x0800, CRC(73ce4aad) SHA1(2c69cd0b6c4bdc92f4640bce18467e4e99255bab) )
|
||||||
ROM_LOAD( "c800.bin", 0xc800, 0x0800, CRC(eb3fdedc) SHA1(af92d07f7cb7533841b16e1176401363176857e1) )
|
ROM_LOAD( "c800.bin", 0xc800, 0x0800, CRC(eb3fdedc) SHA1(af92d07f7cb7533841b16e1176401363176857e1) )
|
||||||
|
@ -29,7 +29,7 @@ C6 10738 Bus Interface Circuit } These 2 interface the C5 eprom to the CPU
|
|||||||
|
|
||||||
ToDo:
|
ToDo:
|
||||||
- Everything (the code below is mostly a carry-over from gts1 and is incomplete or guesswork).
|
- Everything (the code below is mostly a carry-over from gts1 and is incomplete or guesswork).
|
||||||
- There's lots of manuals, with lots of info, but not what we need. For example, no proper schematics.
|
- There are lots of manuals, with lots of info, but not what we need. For example, no proper schematics.
|
||||||
- No info on the sound (all it says is 4 TTL chips controlled by 6 bits of the IO expander).
|
- No info on the sound (all it says is 4 TTL chips controlled by 6 bits of the IO expander).
|
||||||
- A plug-in printer is used to view and alter settings. We have no info about it.
|
- A plug-in printer is used to view and alter settings. We have no info about it.
|
||||||
- Default layout.
|
- Default layout.
|
||||||
@ -382,10 +382,10 @@ void recel_state::recel(machine_config & config)
|
|||||||
genpin_audio(config);
|
genpin_audio(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The BIOS is the same for all sets, but is labeled different depending on the ROM type:
|
/* The BIOS is the same for all sets, but is labeled differently depending on the ROM type:
|
||||||
-13: For machines with personality PROM 1702.
|
-13: For machines with personality PROM 1702.
|
||||||
-14: For machines with 2716 EPROM.
|
-14: For machines with 2716 EPROM.
|
||||||
On both cases, the second half of each chip is not used, having their A11 ping grounded
|
In both cases, the second half of each chip is not used, with their A11 pins grounded
|
||||||
(these chips have A1 to A11, there's no A0).
|
(these chips have A1 to A11, there's no A0).
|
||||||
*/
|
*/
|
||||||
#define RECEL_BIOS \
|
#define RECEL_BIOS \
|
||||||
|
Loading…
Reference in New Issue
Block a user