layout/bfm_sc5_gu96x8.lay: Use loops and save many lines.

Also various cleanup.
This commit is contained in:
Vas Crabb 2024-01-24 05:27:43 +11:00
parent 6f513cfb74
commit 654dbd8285
11 changed files with 258 additions and 1855 deletions

View File

@ -82,7 +82,7 @@ void s1c33209_device::device_reset()
template <offs_t RomBytes>
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(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

View File

@ -2,16 +2,16 @@
// copyright-holders:David Haywood
/* Scorpion 4 + 5 driver related includes */
/* mainly used for stuff which is currently shared between sc4 / 5 sets to avoid duplication */
#ifndef MAME_BFM_BFP_SC4_H
#define MAME_BFM_BFP_SC4_H
#ifndef MAME_BFM_BFM_SC4_H
#define MAME_BFM_BFM_SC4_H
#pragma once
#include "sec.h"
#include "machine/steppers.h" // stepper motor
#include "bfm_gu96x8m_k657c2.h"
#include "bfm_bda.h"
#include "bfm_gu96x8m_k657c2.h"
#include "sound/ymz280b.h"
#include "machine/mc68681.h"
@ -3378,4 +3378,4 @@ INPUT_PORTS_EXTERN( sc4_raw );
/* not for either of these games? */ \
ROM_LOAD( "casroysnd.bin", 0x00000, 0x80000, CRC(cf1d4b59) SHA1(1b2bc74c6fcc43197a6f295bc34554da01f7b517) )
#endif // MAME_BFM_BFP_SC4_H
#endif // MAME_BFM_BFM_SC4_H

View File

@ -40,7 +40,6 @@ namespace {
class hh_ht11xx_state : public driver_device
{
public:
virtual DECLARE_INPUT_CHANGED_MEMBER(input_wakeup);
protected:

File diff suppressed because it is too large Load Diff

View File

@ -23,10 +23,11 @@
.XS nnnn-F87F mmmm-C000 <CR>
.G <CR>
where nnnn is the previous value of the stack pointer, and mmmm is the previous
value of the program counter.
where nnnn is the previous value of the stack pointer, and mmmm is the
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();
// Extended RAM or mapped monitor ROM (only during interrupt and reset)
map(0x0000, 0x1fff).view(m_low_memory_view);
// Microsoft Basic ROM
// Microsoft BASIC ROM
map(0xc000, 0xdfff).rom();
// Monitor ROM in the 8355 chip
map(0xf000, 0xf7ff).rom().region(m_rom, 0);
@ -368,7 +369,7 @@ void exp85_state::exp85(machine_config &config)
/* ROMs */
ROM_START( exp85 )
ROM_REGION( 0x10000, "u100", 0 ) // Microsoft Basic
ROM_REGION( 0x10000, "u100", 0 ) // Microsoft BASIC
ROM_DEFAULT_BIOS("eia")
ROM_LOAD( "c000.bin", 0xc000, 0x0800, CRC(73ce4aad) SHA1(2c69cd0b6c4bdc92f4640bce18467e4e99255bab) )
ROM_LOAD( "c800.bin", 0xc800, 0x0800, CRC(eb3fdedc) SHA1(af92d07f7cb7533841b16e1176401363176857e1) )

View File

@ -29,7 +29,7 @@ C6 10738 Bus Interface Circuit } These 2 interface the C5 eprom to the CPU
ToDo:
- 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).
- A plug-in printer is used to view and alter settings. We have no info about it.
- Default layout.
@ -382,10 +382,10 @@ void recel_state::recel(machine_config & 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.
-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).
*/
#define RECEL_BIOS \