Previous 199869 Revisions Next

r41723 Saturday 14th November, 2015 at 14:20:55 UTC by MetalliC
naomi notes (nw)
[src/mame/machine]naomim2.cpp

trunk/src/mame/machine/naomim2.cpp
r250234r250235
1111
1212NAOMI_ROM_OFFSET bit29: ROM size/mapping selection, 0 - 4MB ROM mode, 1 - 8MB ROM mode
1313
14bit28: Bank selection.
15   in the case of flash-based 171-7885A ROM boards two of them can be stacked at once
16   onto main board. each must be configured as Bank 0 or 1 via some (currently unknown) jumper.
17   this bit selects which one ROM board will be accessed.
18
1419note: if ROM is not mounted its area readed as 0xFF
1520
16218MB ROM mode:
r250234r250235
166171void naomi_m2_board::board_write(offs_t offset, UINT16 data)
167172{
168173   if(offset & 0x40000000) {
169      if((offset & 0x0f000000) == 0x02000000) {
174      if(offset & 0x00020000) {
170175         offset &= RAM_SIZE-1;
171176         ram[offset] = data;
172177         ram[offset+1] = data >> 8;
173178         return;
174179      }
175      switch(offset & 0x1fffffff) {
180      switch(offset & 0x1ffff) {
176181      case 0x1fff8: m_cryptdevice->set_addr_low(data); return;
177182      case 0x1fffa: m_cryptdevice->set_addr_high(data);  return;
178183      case 0x1fffc: m_cryptdevice->set_subkey(data); return;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team