Home
last modified time | relevance | path

Searched refs:drive_idx (Results 1 – 25 of 34) sorted by relevance

12

/dports/emulators/mednafen/mednafen/src/drivers/
H A Drmdui.cpp31 uint32 drive_idx; member
234 …MDFNI_SetMedia(Drives[d].DiskEjectOption.drive_idx, Drives[d].DiskEjectOption.state_idx, Drives[d]… in RMDUI_Init()
238 MDFNI_SetMedia(dta->drive_idx, dta->state_idx, dta->media_idx, dta->orientation_idx); in RMDUI_Init()
249 void Mednafen::MDFND_MediaSetNotification(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uin… in MDFND_MediaSetNotification() argument
252 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in MDFND_MediaSetNotification()
254 auto& dri = Drives[drive_idx]; in MDFND_MediaSetNotification()
257 if(drive_idx == dri.DiskEjectOption.drive_idx && state_idx == dri.DiskEjectOption.state_idx) in MDFND_MediaSetNotification()
266 if(drive_idx != dri.DiskSelectOptions[i].drive_idx) in MDFND_MediaSetNotification()
316 MDFNI_SetMedia(dta->drive_idx, dta->state_idx, dta->media_idx, dta->orientation_idx); in RMDUI_Toggle_InsertEject()
342 const RMD_State* rs = &CurGame->RMD->Drives[dta->drive_idx].PossibleStates[dta->state_idx]; in RMDUI_SelectDisk()
/dports/emulators/mednafen/mednafen/src/
H A Dmednafen.cpp800 for(uint32 drive_idx = 0; drive_idx < MDFNGameInfo->RMD->Drives.size(); drive_idx++) in LoadCommonPost() local
2037 for(uint32 drive_idx = 0; drive_idx < DMSNoMedia.size(); drive_idx++) in MDFN_StateAction() local
2038 MDFNGameInfo->SetMedia(drive_idx, DMSNoMedia[drive_idx], 0, 0); in MDFN_StateAction()
2041 for(uint32 drive_idx = 0; drive_idx < DMStatusSaveStateTemp.size(); drive_idx++) in MDFN_StateAction() local
2048 DMStatus[drive_idx] = dmssste; in MDFN_StateAction()
2251 for(uint32 drive_idx = 0; drive_idx < dms.size(); drive_idx++) in ValidateDMS() local
2305 if(check_drive_idx == drive_idx) in ValidateDMS()
2357 assert(drive_idx < DMStatus.size()); in MDFN_UntrustedSetMedia()
2360 DriveMediaStatus& dmse = new_dms[drive_idx]; in MDFN_UntrustedSetMedia()
2371 DMStatus[drive_idx] = dmse; in MDFN_UntrustedSetMedia()
[all …]
H A Dmednafen.h55 bool MDFN_UntrustedSetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientatio…
56 void MDFN_MediaSetNotification(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orienta…
H A Dmednafen-driver.h123 bool MDFNI_SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx = …
124 void MDFND_MediaSetNotification(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orient…
H A Dgit.h645 void (*SetMedia)(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx);
/dports/science/qiskit-aer/qiskit-aer-0.5.2/qiskit/providers/aer/pulse/
H A Dpulse_system_model.py138 drive_idx = None
139 while drive_idx is None:
149 drive_idx = int(h_term_str[x_idx + 1])
151 if drive_idx is not None:
163 control_channel_labels[u_idx] = {'driven_q': drive_idx, 'freq': u_string}
/dports/emulators/mednafen/mednafen/src/nes/
H A Dfds.h7 void FDS_SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx) MDF…
H A Dfds.cpp83 void FDS_SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx) in FDS_SetMedia() argument
86 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in FDS_SetMedia()
/dports/emulators/qemu-utils/qemu-4.2.1/tests/
H A Dhd-geo-test.c620 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
628 drive_idx, bus, unit, c, h, s); in add_ide_disk()
650 int drive_idx, int bus, in add_scsi_disk() argument
662 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
670 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
680 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu5/qemu-5.2.0/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu42/qemu-4.2.1/tests/
H A Dhd-geo-test.c620 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
628 drive_idx, bus, unit, c, h, s); in add_ide_disk()
650 int drive_idx, int bus, in add_scsi_disk() argument
662 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
670 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
680 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu/qemu-6.2.0/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/qemu60/qemu-6.0.0/tests/qtest/
H A Dhd-geo-test.c625 int drive_idx, int bus, int unit, int c, int h, int s) in add_ide_disk() argument
633 drive_idx, bus, unit, c, h, s); in add_ide_disk()
655 int drive_idx, int bus, in add_scsi_disk() argument
667 args->n_scsi_disks, drive_idx, bus, channel, scsi_id, lun, in add_scsi_disk()
675 int drive_idx, const char *bus, int addr, in add_virtio_disk() argument
685 args->n_virtio_disks, drive_idx, bus, addr, c, h, s); in add_virtio_disk()
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/shell/
H A Dshell_cmds.cpp680 const auto drive_idx = drive_index(drive_letter); in CMD_DIR() local
681 const bool print_label = (drive_letter >= 'A') && Drives[drive_idx]; in CMD_DIR()
686 const auto label = To_Label(Drives[drive_idx]->GetLabel()); in CMD_DIR()
1507 const auto drive_idx = drive_index(temp_str[0]); in CMD_SUBST() local
1509 if (!Drives[drive_idx]) in CMD_SUBST()
1516 if (Drives[drive_idx]) in CMD_SUBST()
H A Dshell_misc.cpp452 const auto drive_idx = drive_index(name[0]); in Execute() local
453 if (!DOS_SetDrive(drive_idx)) { in Execute()
/dports/emulators/mess/mame-mame0226/src/devices/bus/multibus/
H A Disbc202.h142 unsigned drive_idx(floppy_image_device *drive);
H A Disbc202.cpp911 unsigned isbc202_device::drive_idx(floppy_image_device *drive) in drive_idx() function in isbc202_device
924 unsigned idx = drive_idx(floppy); in floppy_ready_cb()
/dports/emulators/mame/mame-mame0226/src/devices/bus/multibus/
H A Disbc202.h142 unsigned drive_idx(floppy_image_device *drive);
/dports/emulators/mednafen/mednafen/src/pce_fast/
H A Dpce.cpp658 static MDFN_COLD void SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orienta… in SetMedia() argument
661 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in SetMedia()
/dports/emulators/mednafen/mednafen/src/apple2/
H A Dapple2.cpp1821 static MDFN_COLD void SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orienta… in SetMedia() argument
1824 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in SetMedia()
1830 Disk2::SetDisk(drive_idx, &Disks[media_idx]); in SetMedia()
1832 Disk2::SetDisk(drive_idx, nullptr); in SetMedia()
/dports/emulators/mednafen/mednafen/src/pce/
H A Dpce.cpp1057 static void SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx) in SetMedia() argument
1060 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in SetMedia()
/dports/emulators/mednafen/mednafen/src/pcfx/
H A Dpcfx.cpp929 static void SetMedia(uint32 drive_idx, uint32 state_idx, uint32 media_idx, uint32 orientation_idx) in SetMedia() argument
932 const RMD_Drive* rd = &rmd->Drives[drive_idx]; in SetMedia()

12