summaryrefslogtreecommitdiffstatshomepage
path: root/src/ldplayer/layout/pr8210.lay
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-09 16:10:11 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-09 16:10:11 +0000
commit9b4e46fad5b2d290ffec5c0d2ee94176a4fdf33c (patch)
tree493e2f720f23bd2d1c39abd22ef7481dc6250812 /src/ldplayer/layout/pr8210.lay
parentbd8c06c155fe4cc1f9584a6fe86d08b96dc5bd77 (diff)
Changed DEVICE_START functions to return an error code. Currently this
is either DEVICE_START_OK or DEVICE_START_MISSING_DEPENDENCY. The latter should be returned by a device if there is another device it depends on which hasn't been started yet. Added new flag in the device interface to indicate whether a device has been started. Changed laserdisc interface to explicitly specify the screen and sound devices it should route to. Drivers no longer have to manually call laserdisc_vsync(). Instead, the laserdisc code connects up to the routed screen device and works based on that screen's VBLANK timing. Removed all existing calls to laserdisc_vsync(). Changed laserdisc behavior so that it completes the previous video read and initiates the next read at the end of VBLANK instead of the beginning. This gives player logic time during VBLANK to alter the slider position prior to fetching the next frame. Added new laserdisc callback for vsync begin and changed the update callback to be called at the end of VBLANK. Also added functions to set the slider speed, advance the slider, and directly control the video/ audio squelch. In addition, there is a new status function to get the slider position in general terms. Added parameter to the VBLANK callbacks supported in emu/video.c. Updated all callers to provide a callback value. Fixed bug that would cause watchpoints to trigger if you had a memory window open to the watchpoint address. Further updates to the PR-8210 ROM simulation. Still not quite there but the system is much better understood now. Added layout to the PR-8210 which displays the state of the front-panel LEDs.
Diffstat (limited to '')
-rw-r--r--src/ldplayer/layout/pr8210.lay121
1 files changed, 121 insertions, 0 deletions
diff --git a/src/ldplayer/layout/pr8210.lay b/src/ldplayer/layout/pr8210.lay
new file mode 100644
index 00000000000..709d1346039
--- /dev/null
+++ b/src/ldplayer/layout/pr8210.lay
@@ -0,0 +1,121 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+ <element name="audio1" defstate="0">
+ <text string="AUDIO1" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="AUDIO1" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="audio2" defstate="0">
+ <text string="AUDIO2" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="AUDIO2" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="clv" defstate="0">
+ <text string="CLV" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="CLV" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="cav" defstate="0">
+ <text string="CAV" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="CAV" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="led1" defstate="0">
+ <text string="LED1" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="LED1" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="led2" defstate="0">
+ <text string="LED2" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="LED2" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="led3" defstate="0">
+ <text string="LED3" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="LED3" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+ <element name="standby" defstate="0">
+ <text string="STANDBY" state="0">
+ <color red="0.1" green="0.1" blue="0.1" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ <text string="STANDBY" state="1">
+ <color red="1.0" green="1.0" blue="1.0" />
+ <bounds x="0" y="0.1" width="1" height="0.8" />
+ </text>
+ </element>
+
+
+ <view name="Lamps">
+ <screen index="0">
+ <bounds left="0" top="0" right="4" bottom="3" />
+ </screen>
+ <bezel name="pr8210_standby" element="standby">
+ <bounds x="0" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_clv" element="clv">
+ <bounds x="0.5" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_cav" element="cav">
+ <bounds x="1.0" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_audio1" element="audio1">
+ <bounds x="1.5" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_audio2" element="audio2">
+ <bounds x="2.0" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_led1" element="led1">
+ <bounds x="2.5" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_led2" element="led2">
+ <bounds x="3.0" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ <bezel name="pr8210_led3" element="led3">
+ <bounds x="3.5" y="3.1" width="0.4" height="0.1" />
+ </bezel>
+ </view>
+</mamelayout>