mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 14:11:48 -06:00
* convert 0x??? hex literals to $??? literals * More label shortening for windows tasm compatibility
12 lines
293 B
C
12 lines
293 B
C
#include "hbios-driver-storage.h"
|
|
|
|
hbios_storage_device_t hbios_usbstore_devs[MAX_NUMBER_OF_DEVICES] = {{NULL}};
|
|
|
|
uint8_t find_storage_dev(void) {
|
|
for (uint8_t i = 0; i < MAX_NUMBER_OF_DEVICES; i++)
|
|
if (hbios_usbstore_devs[i].drive_index == 0)
|
|
return i;
|
|
|
|
return -1;
|
|
}
|