IO_SERIAL
if (ioctrl & IO_SERIAL && sio_ischar())
if (ioctrl & IO_SERIAL)
ioctrl = IO_SERIAL;
if (ioctrl & IO_SERIAL)
ioctrl = IO_SERIAL | IO_KEYBOARD;
ioctrl = IO_SERIAL;
if (ioctrl & IO_SERIAL) {
ioctrl &= ~IO_SERIAL;
if (ioctrl & IO_SERIAL)
ioctrl = OPT_CHECK(RBX_DUAL) ? (IO_SERIAL|IO_KEYBOARD) :
OPT_CHECK(RBX_SERIAL) ? IO_SERIAL : IO_KEYBOARD;
if (ioctrl & IO_SERIAL) {
ioctrl &= ~IO_SERIAL;