Home
last modified time | relevance | path

Searched refs:m_sector_count (Results 1 – 25 of 32) sorted by relevance

12

/dports/emulators/mess/mame-mame0226/src/devices/bus/ata/
H A Didehd.cpp234 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 Datapihle.cpp71 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()
254m_sector_count = 0xff; // Power mode: 0x00 = Standby, 0x80 = Idle mode, 0xff = Active mode or… in process_command()
H A Datahle.cpp50 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 Didehd.cpp234 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 Datapihle.cpp71 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()
254m_sector_count = 0xff; // Power mode: 0x00 = Standby, 0x80 = Idle mode, 0xff = Active mode or… in process_command()
H A Datahle.cpp50 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 Dide.cpp260 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 Dide.h75 int m_sector_count; variable
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/midway/
H A Dide.cpp260 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 Dide.h75 int m_sector_count; variable
/dports/emulators/mess/mame-mame0226/src/lib/formats/
H A Dimd_dsk.cpp445 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 Dimd_dsk.h40 std::vector<uint8_t> m_sector_count; variable
/dports/emulators/mame/mame-mame0226/src/lib/formats/
H A Dimd_dsk.cpp445 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 Dimd_dsk.h40 std::vector<uint8_t> m_sector_count; variable
/dports/emulators/mess/mame-mame0226/src/devices/machine/
H A Dwd1010.cpp62 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 Dwd1000.cpp41 , 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 Dataflash.cpp249 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 Dwd1000.h131 uint8_t m_sector_count; variable
H A Dwd1010.h149 uint8_t m_sector_count; variable
/dports/emulators/mame/mame-mame0226/src/devices/machine/
H A Dwd1010.cpp62 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 Dwd1000.cpp41 , 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 Dataflash.cpp249 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 Dwd1000.h131 uint8_t m_sector_count; variable
/dports/emulators/mess/mame-mame0226/src/devices/bus/isa/
H A Domti8621.cpp88 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 Domti8621.cpp88 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()

12