/dports/emulators/mess/mame-mame0226/src/devices/bus/ata/ |
H A D | idehd.cpp | 234 m_sector_count = 1; in signature() 412 if (m_sector_count > 0) in fill_buffer() 413 m_sector_count--; in fill_buffer() 415 if (m_sector_count > 0) in fill_buffer() 424 if (m_sector_count > 0) in fill_buffer() 425 m_sector_count--; in fill_buffer() 427 if (m_sector_count > 0) in fill_buffer() 454 if (m_sector_count != 1) in finished_read() 599 if (m_sector_count > 0) in finished_write() 600 m_sector_count--; in finished_write() [all …]
|
H A D | atapihle.cpp | 71 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in process_buffer() 119 m_sector_count = ATAPI_INTERRUPT_REASON_IO; in fill_buffer() 132 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in fill_buffer() 141 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in fill_buffer() 164 m_sector_count = 0; in wait_buffer() 177 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in wait_buffer() 185 m_sector_count = 1; in signature() 216 m_sector_count = ATAPI_INTERRUPT_REASON_CD; in process_command() 240 m_sector_count = ATAPI_INTERRUPT_REASON_IO; in process_command() 254 …m_sector_count = 0xff; // Power mode: 0x00 = Standby, 0x80 = Idle mode, 0xff = Active mode or… in process_command()
|
H A D | atahle.cpp | 50 m_sector_count(0), in ata_hle_device() 88 save_item(NAME(m_sector_count)); in device_start() 233 …LOGPRINT(("IDE Set features failed (%02X %02X %02X %02X %02X)\n", m_feature, m_sector_count & 0xff… in finished_command() 253 if ((m_identify_buffer[word] >> (m_sector_count & 7)) & 1) in set_dma_mode() 259 m_identify_buffer[word] |= 0x100 << (m_sector_count & 7); in set_dma_mode() 275 switch (m_sector_count & IDE_TRANSFER_TYPE_MASK) in set_features() 278 switch (m_sector_count & 7) in set_features() 287 switch (m_sector_count & 7) in set_features() 295 if ((m_identify_buffer[64] >> ((m_sector_count & 7) - 3)) & 1) in set_features() 653 result = m_sector_count; in read_cs0() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/ata/ |
H A D | idehd.cpp | 234 m_sector_count = 1; in signature() 412 if (m_sector_count > 0) in fill_buffer() 413 m_sector_count--; in fill_buffer() 415 if (m_sector_count > 0) in fill_buffer() 424 if (m_sector_count > 0) in fill_buffer() 425 m_sector_count--; in fill_buffer() 427 if (m_sector_count > 0) in fill_buffer() 454 if (m_sector_count != 1) in finished_read() 599 if (m_sector_count > 0) in finished_write() 600 m_sector_count--; in finished_write() [all …]
|
H A D | atapihle.cpp | 71 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in process_buffer() 119 m_sector_count = ATAPI_INTERRUPT_REASON_IO; in fill_buffer() 132 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in fill_buffer() 141 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in fill_buffer() 164 m_sector_count = 0; in wait_buffer() 177 m_sector_count = ATAPI_INTERRUPT_REASON_IO | ATAPI_INTERRUPT_REASON_CD; in wait_buffer() 185 m_sector_count = 1; in signature() 216 m_sector_count = ATAPI_INTERRUPT_REASON_CD; in process_command() 240 m_sector_count = ATAPI_INTERRUPT_REASON_IO; in process_command() 254 …m_sector_count = 0xff; // Power mode: 0x00 = Standby, 0x80 = Idle mode, 0xff = Active mode or… in process_command()
|
H A D | atahle.cpp | 50 m_sector_count(0), in ata_hle_device() 88 save_item(NAME(m_sector_count)); in device_start() 233 …LOGPRINT(("IDE Set features failed (%02X %02X %02X %02X %02X)\n", m_feature, m_sector_count & 0xff… in finished_command() 253 if ((m_identify_buffer[word] >> (m_sector_count & 7)) & 1) in set_dma_mode() 259 m_identify_buffer[word] |= 0x100 << (m_sector_count & 7); in set_dma_mode() 275 switch (m_sector_count & IDE_TRANSFER_TYPE_MASK) in set_features() 278 switch (m_sector_count & 7) in set_features() 287 switch (m_sector_count & 7) in set_features() 295 if ((m_identify_buffer[64] >> ((m_sector_count & 7) - 3)) & 1) in set_features() 653 result = m_sector_count; in read_cs0() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/midway/ |
H A D | ide.cpp | 260 m_sector_count = value; in write() 316 return m_sector_count; in read() 391 if (m_sector_count == 0) in setup_transfer() 392 m_sector_count = 256; in setup_transfer() 395 m_sector_count = 1; in setup_transfer() 407 if (m_sector_count < 0) { in update_transfer() 436 m_sector_count--; in update_transfer() 463 m_num_sectors = m_sector_count; in cmd_init_drive_params() 489 m_sector_number, m_sector_count, in cmd_read_sector() 499 m_sector_number, m_sector_count, in cmd_read_sector_wor() [all …]
|
H A D | ide.h | 75 int m_sector_count; variable
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/midway/ |
H A D | ide.cpp | 260 m_sector_count = value; in write() 316 return m_sector_count; in read() 391 if (m_sector_count == 0) in setup_transfer() 392 m_sector_count = 256; in setup_transfer() 395 m_sector_count = 1; in setup_transfer() 407 if (m_sector_count < 0) { in update_transfer() 436 m_sector_count--; in update_transfer() 463 m_num_sectors = m_sector_count; in cmd_init_drive_params() 489 m_sector_number, m_sector_count, in cmd_read_sector() 499 m_sector_number, m_sector_count, in cmd_read_sector_wor() [all …]
|
H A D | ide.h | 75 int m_sector_count; variable
|
/dports/emulators/mess/mame-mame0226/src/lib/formats/ |
H A D | imd_dsk.cpp | 445 m_sector_count.clear(); in load() 452 m_sector_count.push_back(img[pos++]); in load() 484 pos += m_sector_count.back(); in load() 491 pos += m_sector_count.back(); in load() 503 pos += m_sector_count.back(); in load() 516 for(int i=0; i<m_sector_count.back(); i++) { in load() 540 if(m_sector_count.back()) { in load() 548 for(int i=0; i< m_sector_count.back(); i++) in load() 579 pos += m_sector_count[i]; in save() 584 pos += m_sector_count[i]; in save() [all …]
|
H A D | imd_dsk.h | 40 std::vector<uint8_t> m_sector_count; variable
|
/dports/emulators/mame/mame-mame0226/src/lib/formats/ |
H A D | imd_dsk.cpp | 445 m_sector_count.clear(); in load() 452 m_sector_count.push_back(img[pos++]); in load() 484 pos += m_sector_count.back(); in load() 491 pos += m_sector_count.back(); in load() 503 pos += m_sector_count.back(); in load() 516 for(int i=0; i<m_sector_count.back(); i++) { in load() 540 if(m_sector_count.back()) { in load() 548 for(int i=0; i< m_sector_count.back(); i++) in load() 579 pos += m_sector_count[i]; in save() 584 pos += m_sector_count[i]; in save() [all …]
|
H A D | imd_dsk.h | 40 std::vector<uint8_t> m_sector_count; variable
|
/dports/emulators/mess/mame-mame0226/src/devices/machine/ |
H A D | wd1010.cpp | 62 m_sector_count(0x00), in wd1010_device() 110 save_item(NAME(m_sector_count)); in device_start() 366 return m_sector_count; in read() 413 m_sector_count = data; in write() 514 if (m_sector_count == 0) in cmd_read_sector() 560 m_sector_count--; in cmd_read_sector() 564 m_sector_count = 0; in cmd_read_sector() 567 if (m_sector_count == 0) in cmd_read_sector() 627 if (BIT(m_command, 2) && m_sector_count > 0) in cmd_write_sector() 630 m_sector_count--; in cmd_write_sector() [all …]
|
H A D | wd1000.cpp | 41 , m_sector_count(0x00) in wd1000_device() 90 save_item(NAME(m_sector_count)); in device_start() 354 return m_sector_count; in read() 460 m_sector_count = data; in write() 619 for (int i = 0; i < m_sector_count; i++) in cmd_format_sector() 625 m_sector_count = 0; in cmd_format_sector()
|
H A D | ataflash.cpp | 249 m_sector_count = 1; in process_command() 347 …if (m_feature != m_key[0] || m_sector_count != m_key[1] || m_sector_number != m_key[2] || m_cylind… in process_command()
|
H A D | wd1000.h | 131 uint8_t m_sector_count; variable
|
H A D | wd1010.h | 149 uint8_t m_sector_count; variable
|
/dports/emulators/mame/mame-mame0226/src/devices/machine/ |
H A D | wd1010.cpp | 62 m_sector_count(0x00), in wd1010_device() 110 save_item(NAME(m_sector_count)); in device_start() 366 return m_sector_count; in read() 413 m_sector_count = data; in write() 514 if (m_sector_count == 0) in cmd_read_sector() 560 m_sector_count--; in cmd_read_sector() 564 m_sector_count = 0; in cmd_read_sector() 567 if (m_sector_count == 0) in cmd_read_sector() 627 if (BIT(m_command, 2) && m_sector_count > 0) in cmd_write_sector() 630 m_sector_count--; in cmd_write_sector() [all …]
|
H A D | wd1000.cpp | 41 , m_sector_count(0x00) in wd1000_device() 90 save_item(NAME(m_sector_count)); in device_start() 354 return m_sector_count; in read() 460 m_sector_count = data; in write() 619 for (int i = 0; i < m_sector_count; i++) in cmd_format_sector() 625 m_sector_count = 0; in cmd_format_sector()
|
H A D | ataflash.cpp | 249 m_sector_count = 1; in process_command() 347 …if (m_feature != m_key[0] || m_sector_count != m_key[1] || m_sector_number != m_key[2] || m_cylind… in process_command()
|
H A D | wd1000.h | 131 uint8_t m_sector_count; variable
|
/dports/emulators/mess/mame-mame0226/src/devices/bus/isa/ |
H A D | omti8621.cpp | 88 uint32_t m_sector_count; member in omti_disk_image_device 1387 …, m_type(0), m_cylinders(0), m_heads(0), m_sectors(0), m_sectorbytes(0), m_sector_count(0), m_imag… in omti_disk_image_device() 1418 m_sector_count = m_cylinders * m_heads * m_sectors; in omti_disk_config() 1477 logerror("device_create_omti_disk: creating OMTI Disk with %d blocks\n", m_sector_count); in call_create() 1484 for (x = 0; x < m_sector_count; x++) in call_create()
|
/dports/emulators/mame/mame-mame0226/src/devices/bus/isa/ |
H A D | omti8621.cpp | 88 uint32_t m_sector_count; member in omti_disk_image_device 1387 …, m_type(0), m_cylinders(0), m_heads(0), m_sectors(0), m_sectorbytes(0), m_sector_count(0), m_imag… in omti_disk_image_device() 1418 m_sector_count = m_cylinders * m_heads * m_sectors; in omti_disk_config() 1477 logerror("device_create_omti_disk: creating OMTI Disk with %d blocks\n", m_sector_count); in call_create() 1484 for (x = 0; x < m_sector_count; x++) in call_create()
|