Previous 15994 Revisions Next

r13283 Wednesday 16th November, 2011 at 18:38:32 UTC by Wilbert Pol
some documentation updates (nw)
[src/mess/drivers]nakajies.c

src/mess/drivers/nakajies.c
r13282r13283
1591590040 - unknown
160160       0xff written during boot sequence
161161
162Sounds related?
163On boot: 50 = 98, 51 = 06, 52 = 7f
164         52 = ff
165         50 - 26, 51 = 01, 52 = 7f
166         52 = ff
167         (mem check)
168         50 = 98, 51 = 06, 52 = 7f
169         52 = ff
170         50 = 74, 51 = 04, 52 = 7f
171         52 = ff
172         50 = 98, 51 = 06, 52 = 7f
173         52 = ff
174         (menu)
175         (type 1 - medium frequency sound )
176         50 = 5d, 51 = 01, 52 = 7f
177         52 = ff
178         52 = ff
179         52 = ff
180         50 = 00, 51 = 01, 52 = 7f
181         52 = ff
182         (type 2 - simple lower sound)
183         50 = ba, 51 = 02, 52 = 7f
184         52 = ff
185         (type 3 - highest frequency sound)
186         50 = 26, 51 = 01, 52 = 7f
187         52 = ff
188         50 = 06, 51 = 01, 52 = 7f
189         52 = ff
190         50 = e9, 51 = 00, 52 = 7f
191         52 = ff
192         50 = dc, 51 = 00, 52 = 7f
193         52 = ff
194         50 = c4, 51 = 00, 52 = 7f
195         52 = ff
1621960050 - counter low?
1631970051 - counter high?
1641980052 - counter enable/disable?
r13282r13283
243277#include "rendlay.h"
244278
245279
280#define LOG      0
281
282
246283class nakajies_state : public driver_device
247284{
248285public:
r13282r13283
371408   UINT8 irq = m_irq_active; // & m_irq_enabled;
372409   UINT8 vector = 0xff;
373410
374   logerror("nakajies_update_irqs: irq_enabled = %02x, irq_active = %02x\n", m_irq_enabled, m_irq_active );
411   if (LOG)
412      logerror("nakajies_update_irqs: irq_enabled = %02x, irq_active = %02x\n", m_irq_enabled, m_irq_active );
375413
376414   /* Assuming irq 0xFF has the highest priority and 0xF8 the lowest */
377415   while( vector >= 0xf8 && ! ( irq & 0x01 ) )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team