mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2024-11-17 03:04:42 +00:00
Oops -- I had assert and deassert backwards.
This commit is contained in:
parent
407f6831a9
commit
34438a898e
@ -96,30 +96,30 @@ uint32_t ExternalMem_ReadData(void)
|
||||
|
||||
void ExternalMem_AssertCS(void)
|
||||
{
|
||||
PORTB |= SIMM_CS;
|
||||
PORTB &= ~SIMM_CS;
|
||||
}
|
||||
|
||||
void ExternalMem_DeassertCS(void)
|
||||
{
|
||||
PORTB &= ~SIMM_CS;
|
||||
PORTB |= SIMM_CS;
|
||||
}
|
||||
|
||||
void ExternalMem_AssertWE(void)
|
||||
{
|
||||
PORTB |= SIMM_WE;
|
||||
PORTB &= ~SIMM_WE;
|
||||
}
|
||||
|
||||
void ExternalMem_DeassertWE(void)
|
||||
{
|
||||
PORTB &= ~SIMM_WE;
|
||||
PORTB |= SIMM_WE;
|
||||
}
|
||||
|
||||
void ExternalMem_AssertOE(void)
|
||||
{
|
||||
PORTB |= SIMM_OE;
|
||||
PORTB &= ~SIMM_OE;
|
||||
}
|
||||
|
||||
void ExternalMem_DeassertOE(void)
|
||||
{
|
||||
PORTB &= ~SIMM_OE;
|
||||
PORTB |= SIMM_OE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user