Home
last modified time | relevance | path

Searched refs:HPI_SECTORS (Results 1 – 4 of 4) sorted by relevance

/dports/emulators/mess/mame-mame0226/src/lib/formats/
H A Dhpi_dsk.cpp105 if ((sectors % HPI_SECTORS) != 0) { in geometry_from_size()
109 unsigned tot_tracks = sectors / HPI_SECTORS; in geometry_from_size()
169 if (il < 1 || il >= HPI_SECTORS) { in load()
181 for (unsigned sector = 0; sector < HPI_SECTORS; sector++) { in load()
209 if (track_no == cyl && head_no == head && sector_no < HPI_SECTORS) { in save()
243 unsigned idx = HPI_SECTORS - il_factor; in interleaved_sectors()
244 for (unsigned sect = 0; sect < HPI_SECTORS; sect++) { in interleaved_sectors()
245 idx = (idx + il_factor) % HPI_SECTORS; in interleaved_sectors()
247 idx = (idx + 1) % HPI_SECTORS; in interleaved_sectors()
367 return sector + (head + cylinder * heads) * HPI_SECTORS; in chs_to_lba()
[all …]
H A Dhpi_dsk.h23 constexpr unsigned HPI_SECTORS = 30; variable
40 typedef std::array<uint8_t , HPI_SECTORS> sector_list_t;
53 static const uint8_t m_track_skew[ HPI_SECTORS - 1 ][ HPI_HEADS ];
/dports/emulators/mame/mame-mame0226/src/lib/formats/
H A Dhpi_dsk.cpp105 if ((sectors % HPI_SECTORS) != 0) { in geometry_from_size()
109 unsigned tot_tracks = sectors / HPI_SECTORS; in geometry_from_size()
169 if (il < 1 || il >= HPI_SECTORS) { in load()
181 for (unsigned sector = 0; sector < HPI_SECTORS; sector++) { in load()
209 if (track_no == cyl && head_no == head && sector_no < HPI_SECTORS) { in save()
243 unsigned idx = HPI_SECTORS - il_factor; in interleaved_sectors()
244 for (unsigned sect = 0; sect < HPI_SECTORS; sect++) { in interleaved_sectors()
245 idx = (idx + il_factor) % HPI_SECTORS; in interleaved_sectors()
247 idx = (idx + 1) % HPI_SECTORS; in interleaved_sectors()
367 return sector + (head + cylinder * heads) * HPI_SECTORS; in chs_to_lba()
[all …]
H A Dhpi_dsk.h23 constexpr unsigned HPI_SECTORS = 30; variable
40 typedef std::array<uint8_t , HPI_SECTORS> sector_list_t;
53 static const uint8_t m_track_skew[ HPI_SECTORS - 1 ][ HPI_HEADS ];