mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
Allow serial receive without ES enabled. [Couriersud]
This commit is contained in:
parent
124e16952f
commit
8bfb17d971
@ -1243,7 +1243,7 @@ INLINE void serial_receive(mcs51_state_t *mcs51_state)
|
|||||||
{
|
{
|
||||||
int mode = (GET_SM0<<1) | GET_SM1;
|
int mode = (GET_SM0<<1) | GET_SM1;
|
||||||
|
|
||||||
if(GET_ES && GET_REN) {
|
if (GET_REN) {
|
||||||
switch(mode) {
|
switch(mode) {
|
||||||
//8 bit shifter ( + start,stop bit ) - baud set by clock freq / 12
|
//8 bit shifter ( + start,stop bit ) - baud set by clock freq / 12
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user