File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,30 @@ void z29_state::keyin_w(int state)
74
74
m_keyin = state;
75
75
}
76
76
77
+ /* *
78
+ * Port 1 (based on ROM listing)
79
+ *
80
+ * bit 0 - KB output line
81
+ * bit 1 - KB input line
82
+ * bit 2 - 0 = normal video 1 = suppressed
83
+ * bit 3 - 0 = setup mode locked 1 = normal
84
+ * bit 4 - Data Terminal Ready
85
+ * bit 5 - Ready to Send
86
+ * bit 6 - Expansion socket
87
+ * bit 7 - Clock run for CRT controller
88
+ */
77
89
u8 z29_state::p1_r ()
78
90
{
79
91
return m_keyin ? 0xfd : 0xff ;
80
92
}
81
93
94
+ /* *
95
+ * Port 3 (based on ROM listing)
96
+ *
97
+ * bit 1 - predefined serial port transmit pin
98
+ * bit 4 - 0 = clear memory 1 = DMA CRTC
99
+ * bit 5 - Clear to Send
100
+ */
82
101
void z29_state::p3_w (u8 data)
83
102
{
84
103
m_dmatype = BIT (data, 4 );
You can’t perform that action at this time.
0 commit comments