Skip to content

Commit 28147ff

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 453f0db + 588abda commit 28147ff

File tree

17 files changed

+1218
-551
lines changed

17 files changed

+1218
-551
lines changed

hash/apple2gs_flop_misc.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5824,6 +5824,7 @@ Generated by SLIST 0.1
58245824
<description>System Software v1.1</description>
58255825
<year>1986</year>
58265826
<publisher>Apple Computer, Inc.</publisher>
5827+
<info name="alt_title" value="ProDOS 16 v1.1" />
58275828

58285829
<part name="flop1" interface="floppy_3_5">
58295830
<dataarea name="flop" size="819264">
@@ -5836,6 +5837,7 @@ Generated by SLIST 0.1
58365837
<description>System Software v3.1</description>
58375838
<year>1987</year>
58385839
<publisher>Apple Computer, Inc.</publisher>
5840+
<info name="alt_title" value="ProDOS 16 v1.3" />
58395841

58405842
<part name="flop1" interface="floppy_3_5">
58415843
<dataarea name="flop" size="819264">
@@ -5846,8 +5848,9 @@ Generated by SLIST 0.1
58465848

58475849
<software name="sys32">
58485850
<description>System Software v3.2</description>
5849-
<year>1987</year>
5851+
<year>1988</year>
58505852
<publisher>Apple Computer, Inc.</publisher>
5853+
<info name="alt_title" value="ProDOS 16 v1.6" />
58515854

58525855
<part name="flop1" interface="floppy_3_5">
58535856
<dataarea name="flop" size="819264">
@@ -5860,6 +5863,7 @@ Generated by SLIST 0.1
58605863
<description>System Software v4.0</description>
58615864
<year>1988</year>
58625865
<publisher>Apple Computer, Inc.</publisher>
5866+
<info name="alt_title" value="GS/OS v02.00" />
58635867

58645868
<part name="flop1" interface="floppy_3_5">
58655869
<dataarea name="flop" size="819264">
@@ -5875,8 +5879,9 @@ Generated by SLIST 0.1
58755879

58765880
<software name="sys502">
58775881
<description>System Software v5.0.2</description>
5878-
<year>1989</year>
5882+
<year>1990</year>
58795883
<publisher>Apple Computer, Inc.</publisher>
5884+
<info name="alt_title" value="GS/OS v03.03" />
58805885

58815886
<part name="flop1" interface="floppy_3_5">
58825887
<dataarea name="flop" size="819200">
@@ -5894,6 +5899,7 @@ Generated by SLIST 0.1
58945899
<description>System Software v5.0.4</description>
58955900
<year>1990</year>
58965901
<publisher>Apple Computer, Inc.</publisher>
5902+
<info name="alt_title" value="GS/OS v03.03" />
58975903

58985904
<part name="flop1" interface="floppy_3_5">
58995905
<dataarea name="flop" size="819264">
@@ -5911,6 +5917,7 @@ Generated by SLIST 0.1
59115917
<description>System Software v6.0.1</description>
59125918
<year>1993</year>
59135919
<publisher>Apple Computer, Inc.</publisher>
5920+
<info name="alt_title" value="GS/OS v4.02" />
59145921

59155922
<part name="flop1" interface="floppy_3_5">
59165923
<dataarea name="flop" size="819264">

src/devices/bus/adamnet/fdc.cpp

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ void adam_fdc_device::adam_fdc_mem(address_map &map)
9090
map(0x4800, 0x4800).mirror(0x3ff).r(WD2793_TAG, FUNC(wd2793_device::sector_r));
9191
map(0x5800, 0x5800).mirror(0x3ff).w(WD2793_TAG, FUNC(wd2793_device::sector_w));
9292
map(0x6800, 0x6800).mirror(0x3ff).r(WD2793_TAG, FUNC(wd2793_device::data_r));
93-
map(0x6c00, 0x6fff).r(FUNC(adam_fdc_device::data_r));
93+
map(0x6c00, 0x6fff).r(FUNC(adam_fdc_device::read_data_r));
9494
map(0x7800, 0x7800).mirror(0x3ff).w(WD2793_TAG, FUNC(wd2793_device::data_w));
95+
map(0x7c00, 0x7fff).r(FUNC(adam_fdc_device::write_data_r));
9596
map(0x8000, 0x8fff).mirror(0x7000).rom().region(M6801_TAG, 0);
9697
}
9798

@@ -198,14 +199,30 @@ void adam_fdc_device::adamnet_reset_w(int state)
198199

199200

200201
//-------------------------------------------------
201-
// data_r -
202+
// read_data_r -
202203
//-------------------------------------------------
203204

204-
uint8_t adam_fdc_device::data_r(offs_t offset)
205+
uint8_t adam_fdc_device::read_data_r(offs_t offset)
205206
{
206207
uint8_t data = m_fdc->data_r();
207208

208-
m_ram[offset & 0x3ff] = data;
209+
if (!machine().side_effects_disabled())
210+
m_ram[offset & 0x3ff] = data;
211+
212+
return data;
213+
}
214+
215+
216+
//-------------------------------------------------
217+
// write_data_r -
218+
//-------------------------------------------------
219+
220+
uint8_t adam_fdc_device::write_data_r(offs_t offset)
221+
{
222+
uint8_t data = m_ram[offset & 0x3ff];
223+
224+
if (!machine().side_effects_disabled())
225+
m_fdc->data_w(data);
209226

210227
return data;
211228
}

src/devices/bus/adamnet/fdc.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class adam_fdc_device : public device_t,
5353

5454
static void floppy_formats(format_registration &fr);
5555

56-
uint8_t data_r(offs_t offset);
56+
uint8_t read_data_r(offs_t offset);
57+
uint8_t write_data_r(offs_t offset);
5758
uint8_t p1_r();
5859
void p1_w(uint8_t data);
5960
uint8_t p2_r();

src/devices/bus/isa/svga_paradise.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ class isa16_wd90c11_lr_device :
139139
virtual void remap(int space_id, offs_t start, offs_t end) override;
140140
void io_isa_map(address_map &map) ATTR_COLD;
141141

142-
private:
143142
required_device<wd90c11a_vga_device> m_vga;
144143
};
145144

src/devices/bus/nes/namcot.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
#include "emu.h"
2525
#include "namcot.h"
26-
#include "ui/uimain.h"
2726

2827
#include "speaker.h"
2928

@@ -567,7 +566,7 @@ void nes_namcot163_device::chr_w(offs_t offset, uint8_t data)
567566
if (!(m_latch & 0x40) && m_chr_bank >= 0xe0)
568567
{
569568
// CIRAM!!!
570-
machine().ui().popup_time(10, "CIRAM mapped to VRAM. Please contact MAMEDevs.");
569+
logerror("CIRAM mapped to VRAM!\n");
571570

572571
if (!m_nt_writable[bank & 0x03])
573572
return;
@@ -582,7 +581,7 @@ uint8_t nes_namcot163_device::chr_r(offs_t offset)
582581
if (!(m_latch & 0x40) && m_chr_bank >= 0xe0)
583582
{
584583
// CIRAM!!!
585-
machine().ui().popup_time(10, "CIRAM mapped to VRAM. Please contact MAMEDevs.");
584+
logerror("CIRAM mapped to VRAM!\n");
586585
return m_nt_access[bank & 0x03][offset & 0x3ff];
587586
}
588587
// or ROM, accessed as usual

src/devices/video/pc_vga_paradise.cpp

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ wd90c00_vga_device::wd90c00_vga_device(const machine_config &mconfig, device_typ
306306
, m_cnf13_read_cb(*this, 1)
307307
, m_cnf12_read_cb(*this, 1)
308308
, m_cnf_write_ddr_cb(*this, 0xff)
309+
, m_vclk2(0)
309310
{
310311
m_crtc_space_config = address_space_config("crtc_regs", ENDIANNESS_LITTLE, 8, 8, 0, address_map_constructor(FUNC(wd90c00_vga_device::crtc_map), this));
311312
}
@@ -315,6 +316,16 @@ wd90c00_vga_device::wd90c00_vga_device(const machine_config &mconfig, const char
315316
{
316317
}
317318

319+
void wd90c00_vga_device::device_start()
320+
{
321+
pvga1a_vga_device::device_start();
322+
if (m_vclk2 == 0)
323+
{
324+
m_vclk2 = 42'000'000;
325+
logerror("VCLK2 unset, using fallback to 42 MHz");
326+
}
327+
}
328+
318329
void wd90c00_vga_device::device_reset()
319330
{
320331
pvga1a_vga_device::device_reset();
@@ -412,8 +423,9 @@ void wd90c00_vga_device::recompute_params()
412423
case 2:
413424
// TODO: wd90c30 selects this for 1024x768 interlace mode
414425
// (~40 Hz, should be 43 according to defined video clocks in WD9710 driver .inf)
426+
// NOTE: it's also reused by teradrive Video mode
415427
default:
416-
xtal = XTAL(42'000'000).value();
428+
xtal = XTAL(m_vclk2).value();
417429
break;
418430
}
419431

src/devices/video/pc_vga_paradise.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,14 @@ class wd90c00_vga_device : public pvga1a_vga_device
6767
ioport_value egasw3_r();
6868
ioport_value egasw2_r();
6969
ioport_value egasw1_r();
70+
71+
void set_vclk2(u32 freq) { m_vclk2 = freq; }
72+
void set_vclk2(const XTAL &freq) { m_vclk2 = freq.value(); }
73+
7074
protected:
7175
wd90c00_vga_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
7276

77+
virtual void device_start() override ATTR_COLD;
7378
virtual void device_reset() override ATTR_COLD;
7479

7580
virtual void crtc_map(address_map &map) override ATTR_COLD;
@@ -108,6 +113,8 @@ class wd90c00_vga_device : public pvga1a_vga_device
108113
devcb_read_line m_cnf13_read_cb;
109114
devcb_read_line m_cnf12_read_cb;
110115
devcb_read8 m_cnf_write_ddr_cb;
116+
117+
u32 m_vclk2;
111118
};
112119

113120
class wd90c11a_vga_device : public wd90c00_vga_device

src/devices/video/ym7101.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,7 @@ TIMER_CALLBACK_MEMBER(ym7101_device::dma_callback)
11931193
// TODO: rough estimation, should also take FIFO in consideration
11941194
// - galahad explicitly stops 68k by running DMAs during active scan
11951195
// - sailormn will hang during intro by side effect of checking sound busy without bus
1196+
// - zoom stage intros are timed against DMA (currently a bit too fast)
11961197
const bool in_active_display = !screen().vblank() && !in_hblank();
11971198

11981199
m_dma_timer->adjust(attotime::from_ticks(4 << (in_active_display + (code_dest == AS_VDP_VRAM)), clock()));

src/frontend/mame/ui/uicmd14.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# **uicmd14.png Icon sheet** #
2+
3+
license:BSD-3-Clause\
4+
copyright-holders:Maurizio Petrarota

0 commit comments

Comments
 (0)