Esempio n. 1
0
int machine_drive_resources_init(void)
{
    if (drive_resources_type_init(DRIVE_TYPE_1571) < 0) {
        /* FIXME: 1571CR emulation doesnt seem to work properly */
        /* if (drive_resources_type_init(DRIVE_TYPE_1571CR) < 0) { */
        return -1;
    }
    if (iec_drive_resources_init() < 0) {
        return -1;
    }
    if (iec_c64exp_resources_init() < 0) {
        return -1;
    }
    if (iec128dcr_drive_resources_init() < 0) {
        return -1;
    }
    if (ieee_drive_resources_init() < 0) {
        return -1;
    }
    return 0;
}
Esempio n. 2
0
int machine_drive_resources_init(void)
{
    return drive_resources_type_init(DRIVE_TYPE_1541)
        | iec_drive_resources_init() | iec_c64exp_resources_init()
        | ieee_drive_resources_init();
}