mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Added preliminary artwork LEDs for Commodore Amiga (open to suggestions), nw
This commit is contained in:
parent
a27e2d0590
commit
80283db9f3
5 changed files with 42 additions and 1 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -6419,6 +6419,7 @@ src/mess/layout/acrnsys1.lay svneol=native#text/plain
|
|||
src/mess/layout/aim65.lay svneol=native#text/plain
|
||||
src/mess/layout/aim65_40.lay svneol=native#text/plain
|
||||
src/mess/layout/amico2k.lay svneol=native#text/plain
|
||||
src/mess/layout/amiga.lay svneol=native#text/plain
|
||||
src/mess/layout/apollo.lay svneol=native#text/plain
|
||||
src/mess/layout/apollo_15i.lay svneol=native#text/plain
|
||||
src/mess/layout/apollo_dsp.lay svneol=native#text/plain
|
||||
|
|
|
@ -406,6 +406,7 @@ WRITE8_MEMBER( amiga_fdc::ciaaprb_w )
|
|||
floppy->dir_w((data >> 1) & 1);
|
||||
floppy->stp_w(data & 1);
|
||||
floppy->mon_w((data >> 7) & 1);
|
||||
output_set_value("fdc_led",data & 0x80); // LED directly connected to FDC motor
|
||||
}
|
||||
|
||||
if(floppy) {
|
||||
|
|
|
@ -60,6 +60,7 @@ would commence ($C00000).
|
|||
#include "machine/nvram.h"
|
||||
#include "sound/cdda.h"
|
||||
#include "machine/i2cmem.h"
|
||||
#include "amiga.lh"
|
||||
|
||||
/* Devices */
|
||||
#include "imagedev/chd_cd.h"
|
||||
|
@ -390,7 +391,7 @@ WRITE8_MEMBER(a1200_state::ami1200_cia_0_porta_w)
|
|||
device_t *device = machine().device("cia_0");
|
||||
|
||||
/* bit 2 = Power Led on Amiga */
|
||||
set_led_status(machine(), 0, !BIT(data, 1));
|
||||
output_set_value("audio_led", !BIT(data, 1));
|
||||
|
||||
handle_cd32_joystick_cia(this, data, mos6526_r(device, space, 2));
|
||||
}
|
||||
|
@ -636,6 +637,8 @@ static MACHINE_CONFIG_START( ntsc, amiga_state )
|
|||
|
||||
MCFG_MACHINE_RESET_OVERRIDE(amiga_state, amiga )
|
||||
|
||||
MCFG_DEFAULT_LAYOUT(layout_amiga)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
|
||||
MCFG_SCREEN_SIZE(228*4, 262)
|
||||
|
@ -827,6 +830,7 @@ static MACHINE_CONFIG_START( a1200n, a1200_state )
|
|||
|
||||
MCFG_VIDEO_START_OVERRIDE(a1200_state,amiga_aga)
|
||||
|
||||
MCFG_DEFAULT_LAYOUT(layout_amiga)
|
||||
|
||||
MCFG_PALETTE_LENGTH(4096)
|
||||
MCFG_PALETTE_INIT_OVERRIDE(amiga_state, amiga )
|
||||
|
@ -914,6 +918,8 @@ static MACHINE_CONFIG_START( a3000n, amiga_state )
|
|||
|
||||
MCFG_MACHINE_RESET_OVERRIDE(amiga_state, amiga )
|
||||
|
||||
MCFG_DEFAULT_LAYOUT(layout_amiga)
|
||||
|
||||
/* video hardware */
|
||||
MCFG_VIDEO_ATTRIBUTES(VIDEO_UPDATE_BEFORE_VBLANK)
|
||||
MCFG_SCREEN_SIZE(228*4, 262)
|
||||
|
|
32
src/mess/layout/amiga.lay
Normal file
32
src/mess/layout/amiga.lay
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!-- Basic display of drive LEDs for the Amiga Family -->
|
||||
|
||||
<mamelayout version="2">
|
||||
|
||||
<element name="red_led">
|
||||
<rect>
|
||||
<color red="1.0" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<element name="orange_led">
|
||||
<rect>
|
||||
<color red="1.0" green="0.5" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<view name="Simple Artwork">
|
||||
<bounds left="0" right="400" top="0" bottom="330" />
|
||||
<screen index="0">
|
||||
<bounds left="0" right="400" top="0" bottom="300" />
|
||||
</screen>
|
||||
|
||||
<bezel name="fdc_led" element="red_led">
|
||||
<bounds x="372" y="312" width="14" height="4" />
|
||||
</bezel>
|
||||
|
||||
<bezel name="audio_led" element="orange_led">
|
||||
<bounds x="372" y="320" width="14" height="4" />
|
||||
</bezel>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
|
@ -2147,6 +2147,7 @@ $(MESS_DRIVERS)/aim65.o: $(MESS_LAYOUT)/aim65.lh
|
|||
$(MESS_DRIVERS)/aim65_40.o: $(MESS_LAYOUT)/aim65_40.lh
|
||||
$(MESS_DRIVERS)/alesis.o: $(MESS_LAYOUT)/sr16.lh
|
||||
$(MESS_DRIVERS)/amico2k.o: $(MESS_LAYOUT)/amico2k.lh
|
||||
$(MESS_DRIVERS)/amiga.o: $(MESS_LAYOUT)/amiga.lh
|
||||
$(MESS_VIDEO)/apollo.o: $(MESS_LAYOUT)/apollo.lh
|
||||
$(MESS_VIDEO)/apollo.o: $(MESS_LAYOUT)/apollo_15i.lh
|
||||
$(MESS_DRIVERS)/apollo.o: $(MESS_LAYOUT)/apollo_dsp.lh
|
||||
|
|
Loading…
Reference in a new issue