bios_emulator: how LOG_inpb() is supposed to work on non-x86 systems?