Previous 15994 Revisions Next

r14645 Sunday 26th February, 2012 at 22:26:34 UTC by Michael Zapf
ti99: Forgot to complete a change in interface which caused compile
issues (nw)
[src/mess/machine/ti99]grom.c grom.h

src/mess/machine/ti99/grom.c
r14644r14645
176176         // wraps at 8K boundaries.
177177         UINT16 addr = m_address-(m_ident<<13);
178178
179         if (!m_extended && ((m_address&0x1fff)>=0x1800))
179         if (m_size == 0x1800 && ((m_address&0x1fff)>=0x1800))
180180            m_buffer = m_memptr[addr-0x1000] | m_memptr[addr-0x0800];
181181         else
182182            m_buffer = m_memptr[addr];
r14644r14645
241241            write_addr = (m_address - 1) & 0xFFFF;
242242
243243         // UINT16 addr = m_address-(m_ident<<13);
244         if (m_extended || ((m_address&0x1fff)<0x1800))
244         if (m_size > 0x1800 || ((m_address&0x1fff)<0x1800))
245245            m_memptr[write_addr-(m_ident<<13)] = data;
246246      }
247247      m_raddr_LSB = m_waddr_LSB = false;
src/mess/machine/ti99/grom.h
r14644r14645
2222   // If the GROM has only 6 KiB, the remaining 2 KiB are filled with a
2323   // specific byte pattern which is created by a logical OR of lower
2424   // regions
25   bool            m_extended;
25   int               m_size;
2626   bool            m_rollover;   // some GRAM simulations do not implement rollover
2727   devcb_write_line   m_ready;
2828} ti99grom_config;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team