Home
last modified time | relevance | path

Searched refs:totalsectors (Results 1 – 19 of 19) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/lib/util/
H A Dharddisk.cpp92 …for (uint32_t totalsectors = (corefile.size() - skipoffs) / file->info.sectorbytes; ; totalsectors in hard_disk_open() local
94 if (totalsectors % cursectors == 0) in hard_disk_open()
96 uint32_t totalheads = totalsectors / cursectors; in hard_disk_open()
/dports/emulators/mame/mame-mame0226/src/lib/util/
H A Dharddisk.cpp92 …for (uint32_t totalsectors = (corefile.size() - skipoffs) / file->info.sectorbytes; ; totalsectors in hard_disk_open() local
94 if (totalsectors % cursectors == 0) in hard_disk_open()
96 uint32_t totalheads = totalsectors / cursectors; in hard_disk_open()
/dports/audio/tosha/tosha-0.6/
H A Dtosha.c152 ulong totalsectors = 0; /* number of sectors we're going to read */ variable
682 totalsectors = endsec - startsec; in main()
684 totalsectors = 0; in main()
688 totalsectors += trackstart[i+1] - trackstart[i]; in main()
738 formatspec->writeheader (totalsectors * SECTORSIZE, in main()
776 print_trackinfo (-2, tracklistsize, 0, totalsectors, in main()
787 float Kb = (float)(totalsectors * 147) / 64; in main()
H A Dglobal.h80 extern ulong totalsectors; /* total number of sectors to read */
H A Dtoscsi.c104 totaldone = (readsectors * 100) / totalsectors; in print_progress()
106 totalleft = ((duration * totalsectors) / readsectors in print_progress()
/dports/emulators/ukncbtl/ukncbtl-qt-812cde85/emubase/
H A DHard.cpp383 … uint32_t totalsectors = (uint32_t)m_numcylinders * (uint32_t)m_numheads * (uint32_t)m_numsectors; in IdentifyDrive() local
402 *(uint32_t*)(pwBuffer + 60) = totalsectors; in IdentifyDrive()
403 *(uint32_t*)(pwBuffer + 100) = totalsectors; in IdentifyDrive()
/dports/emulators/mess/mame-mame0226/src/devices/imagedev/
H A Ddiablo.cpp126 const uint32_t totalsectors = cylinders * heads * sectors; in call_create() local
130 …err = m_origchd.create(image_core_file(), (uint64_t)totalsectors * (uint64_t)sectorsize, hunksize,… in call_create()
H A Dharddriv.cpp147 const uint32_t totalsectors = cylinders * heads * sectors; in call_create() local
151 …err = m_origchd.create(image_core_file(), (uint64_t)totalsectors * (uint64_t)sectorsize, hunksize,… in call_create()
/dports/emulators/mame/mame-mame0226/src/devices/imagedev/
H A Ddiablo.cpp126 const uint32_t totalsectors = cylinders * heads * sectors; in call_create() local
130 …err = m_origchd.create(image_core_file(), (uint64_t)totalsectors * (uint64_t)sectorsize, hunksize,… in call_create()
H A Dharddriv.cpp147 const uint32_t totalsectors = cylinders * heads * sectors; in call_create() local
151 …err = m_origchd.create(image_core_file(), (uint64_t)totalsectors * (uint64_t)sectorsize, hunksize,… in call_create()
/dports/emulators/libdsk/libdsk-1.4.2/lib/
H A Dw16defs.h33 WORD totalsectors; member
H A Dw95defs.h60 WORD totalsectors; member
H A Ddrvwin32.c754 drvp.totalsectors = geom->dg_heads * geom->dg_cylinders * geom->dg_sectors; in win32c_checkgeom()
/dports/emulators/mess/mame-mame0226/src/tools/
H A Dchdman.cpp983 for (uint32_t totalsectors = filesize / sectorsize; ; totalsectors++) in guess_chs() local
985 if (totalsectors % cursectors == 0) in guess_chs()
987 uint32_t totalheads = totalsectors / cursectors; in guess_chs()
1862 uint32_t totalsectors = cylinders * heads * sectors; in do_create_hd() local
1883 …printf("Logical size: %s\n", big_int_string(uint64_t(totalsectors) * uint64_t(sector_size)).c_str(… in do_create_hd()
1894 …err = chd->create(output_chd_str->c_str(), uint64_t(totalsectors) * uint64_t(sector_size), hunk_si… in do_create_hd()
1896 …err = chd->create(output_chd_str->c_str(), uint64_t(totalsectors) * uint64_t(sector_size), hunk_si… in do_create_hd()
1965 uint32_t totalsectors = 0; in do_create_cd() local
1972 totalsectors += trackinfo.frames + trackinfo.extraframes; in do_create_cd()
1983 printf("Logical size: %s\n", big_int_string(uint64_t(totalsectors) * CD_FRAME_SIZE).c_str()); in do_create_cd()
[all …]
/dports/emulators/mame/mame-mame0226/src/tools/
H A Dchdman.cpp983 for (uint32_t totalsectors = filesize / sectorsize; ; totalsectors++) in guess_chs() local
985 if (totalsectors % cursectors == 0) in guess_chs()
987 uint32_t totalheads = totalsectors / cursectors; in guess_chs()
1862 uint32_t totalsectors = cylinders * heads * sectors; in do_create_hd() local
1883 …printf("Logical size: %s\n", big_int_string(uint64_t(totalsectors) * uint64_t(sector_size)).c_str(… in do_create_hd()
1894 …err = chd->create(output_chd_str->c_str(), uint64_t(totalsectors) * uint64_t(sector_size), hunk_si… in do_create_hd()
1896 …err = chd->create(output_chd_str->c_str(), uint64_t(totalsectors) * uint64_t(sector_size), hunk_si… in do_create_hd()
1965 uint32_t totalsectors = 0; in do_create_cd() local
1972 totalsectors += trackinfo.frames + trackinfo.extraframes; in do_create_cd()
1983 printf("Logical size: %s\n", big_int_string(uint64_t(totalsectors) * CD_FRAME_SIZE).c_str()); in do_create_cd()
[all …]
/dports/sysutils/syslinux/syslinux-6.03/extlinux/
H A Dmain.c236 uint64_t totalbytes, totalsectors; in patch_file_and_bootblock() local
297 totalsectors = totalbytes >> SECTOR_SHIFT; in patch_file_and_bootblock()
298 if (totalsectors >= 65536) { in patch_file_and_bootblock()
301 set_16(&sbs->bsSectors, totalsectors); in patch_file_and_bootblock()
303 set_32(&sbs->bsHugeSectors, totalsectors); in patch_file_and_bootblock()
/dports/emulators/cpmtools2/cpmtools-2.22/
H A Ddevice_win32.c78 WORD totalsectors; member
408 drvp.totalsectors = sectrk * tracks; in Device_setGeometry()
/dports/emulators/atari800/atari800-3.1.0/src/
H A Dsio.c338 int trackoffset, totalsectors; in SIO_Mount() local
370 totalsectors = 0; in SIO_Mount()
384 totalsectors += VAPI_16(trackheader.sectorcnt); in SIO_Mount()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/windows-0.24.0/src/Windows/Win32/Storage/Imapi/
H A Dmod.rs419 …STR>>(&self, object: Param0, currentfile: Param1, copiedsectors: i32, totalsectors: i32) -> ::wind… in Update()
420 …into_param().abi(), ::std::mem::transmute(copiedsectors), ::std::mem::transmute(totalsectors)).ok() in Update()
485 …em::ManuallyDrop<super::super::Foundation::BSTR>, copiedsectors: i32, totalsectors: i32) -> ::wind…