mirror of
https://github.com/holub/mame
synced 2025-06-06 04:43:45 +03:00
st2xxx: Misc. notes (nw)
This commit is contained in:
parent
994fc674d6
commit
36bfba32f7
@ -24,6 +24,10 @@
|
|||||||
* 512K ROM (may be disabled)
|
* 512K ROM (may be disabled)
|
||||||
* 32K SRAM
|
* 32K SRAM
|
||||||
|
|
||||||
|
One important difference between the ST2205U and almost every
|
||||||
|
other ST2XXX MCU is that PRR[0] and IRR[0] are *not* inverted
|
||||||
|
relative to A14.
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
|
@ -124,6 +124,7 @@ u8 st2xxx_device::pdata_r(offs_t offset)
|
|||||||
|
|
||||||
void st2xxx_device::pdata_w(offs_t offset, u8 data)
|
void st2xxx_device::pdata_w(offs_t offset, u8 data)
|
||||||
{
|
{
|
||||||
|
// Set output state (CMOS or open drain) or activate/deactive pullups for input pins
|
||||||
if (data != m_pdata[offset])
|
if (data != m_pdata[offset])
|
||||||
{
|
{
|
||||||
m_pdata[offset] = data;
|
m_pdata[offset] = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user