@@ -12,9 +12,8 @@ Serial Interface: uPD71051
12
12
SCSI controller: MB86604L
13
13
Sound: 2 * "TGL96" MB87F1710-PFV-S (proprietary)
14
14
15
- This driver runs the embedded firmware up until it needs to
16
- relocate and run the main application. The screen remains
17
- blank for all this time.
15
+ This driver runs the embedded firmware with skeleton devices
16
+ until the boot splash screen is shown.
18
17
*/
19
18
20
19
@@ -66,6 +65,8 @@ class korgtriton_state : public driver_device
66
65
67
66
u16 m_tgl[0x1000 ];
68
67
68
+ int m_moss_hack_idx;
69
+
69
70
void map (address_map &map) ATTR_COLD;
70
71
71
72
u32 screen_update (screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
@@ -87,6 +88,9 @@ class korgtriton_state : public driver_device
87
88
88
89
u8 tgl_r (offs_t offs);
89
90
void tgl_w (offs_t offs, u8 data);
91
+
92
+ u8 moss_r (offs_t offs);
93
+ void moss_w (offs_t offs, u8 data);
90
94
};
91
95
92
96
static INPUT_PORTS_START (korgtriton)
@@ -121,7 +125,8 @@ void korgtriton_state::map(address_map &map)
121
125
map (0x900000 , 0x9fffff ).ram ().share (m_lcdcm);
122
126
map (0xa00000 , 0xafffff ).rw (FUNC (korgtriton_state::lcdcio_r), FUNC (korgtriton_state::lcdcio_w));
123
127
map (0xb00000 , 0xbfffff ).rw (FUNC (korgtriton_state::tgl_r), FUNC (korgtriton_state::tgl_w));
124
- // map(0xd00000, 0xdfffff).ram(); // MOSS
128
+ map (0xd00000 , 0xdfffff ).rw (FUNC (korgtriton_state::moss_r), FUNC (korgtriton_state::moss_w));
129
+
125
130
// map(0xe00000, 0xefffff).ram(); // FDC
126
131
127
132
// TODO: figure out why clocking the SCU device from port E is not working
@@ -268,6 +273,18 @@ void korgtriton_state::tgl_w(offs_t offs, u8 data) {
268
273
m_tgl[offs] = data;
269
274
}
270
275
276
+ u8 korgtriton_state::moss_r (offs_t offs)
277
+ {
278
+ if (!machine ().side_effects_disabled ())
279
+ m_moss_hack_idx++;
280
+
281
+ return m_moss_hack_idx;
282
+ }
283
+
284
+ void korgtriton_state::moss_w (offs_t offs, u8 data)
285
+ {
286
+ }
287
+
271
288
// the following rom images are taken from the Triton OS 2.0.0 floppy disks
272
289
// the romfiles are missing the first two bytes (checksum) present in the
273
290
// files obtainable from floppy disks online.
0 commit comments