Lines Matching defs:scode
303 uint8_t get_boot_drive(uint8_t scode)
311 scode -= 2;
313 if (scode < hd_count)
314 return scode;
324 uint8_t scode;
363 scode = wait(16 / WAIT_MS, 0);
364 if (scode == F12_SCAN_CODE)
377 scode = wait(logo_time / WAIT_MS, 1);
378 if (scode == F12_SCAN_CODE)
388 scode = wait(16 / WAIT_MS, 0);
389 if (scode == F12_SCAN_CODE)
418 scode = wait(F12_WAIT_TIME, 1);
419 if (scode == F12_SCAN_CODE)
444 scode = wait(WAIT_HZ, 1);
445 } while (scode == 0);
447 if (scode == 0x30)
454 if ((scode >= 0x02) && (scode <= 0x09))
456 boot_drive = get_boot_drive(scode);
471 switch (scode)