Home
last modified time | relevance | path

Searched refs:num_cylinders (Results 1 – 2 of 2) sorted by relevance

/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Didectrl.c139 UINT16 num_cylinders; member
284 ide->num_cylinders = hdinfo->cylinders; in ide_controller_init_custom()
291 …log_cb(RETRO_LOG_DEBUG, LOGPRE "CHS: %d %d %d\n", ide->num_cylinders, ide->num_heads, ide->num_sec… in ide_controller_init_custom()
337 state_save_register_UINT16("ide", which, "num_cylinders", &ide->num_cylinders, 1); in ide_controller_init_custom()
539 int total_sectors = ide->num_cylinders * ide->num_heads * ide->num_sectors; in ide_build_features()
547 ide->features[ 1*2+0] = ide->num_cylinders & 0xff; /* 1: logical cylinders */ in ide_build_features()
548 ide->features[ 1*2+1] = ide->num_cylinders >> 8; in ide_build_features()
591 ide->features[54*2+0] = ide->num_cylinders & 0xff; /* 54: number of current logical cylinders */ in ide_build_features()
592 ide->features[54*2+1] = ide->num_cylinders >> 8; in ide_build_features()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/
H A Didectrl.c146 UINT16 num_cylinders; member
291 ide->num_cylinders = hdinfo->cylinders; in ide_controller_init_custom()
298 printf("CHS: %d %d %d\n", ide->num_cylinders, ide->num_heads, ide->num_sectors); in ide_controller_init_custom()
344 state_save_register_UINT16("ide", which, "num_cylinders", &ide->num_cylinders, 1); in ide_controller_init_custom()
546 int total_sectors = ide->num_cylinders * ide->num_heads * ide->num_sectors; in ide_build_features()
554 ide->features[ 1*2+0] = ide->num_cylinders & 0xff; /* 1: logical cylinders */ in ide_build_features()
555 ide->features[ 1*2+1] = ide->num_cylinders >> 8; in ide_build_features()
598 ide->features[54*2+0] = ide->num_cylinders & 0xff; /* 54: number of current logical cylinders */ in ide_build_features()
599 ide->features[54*2+1] = ide->num_cylinders >> 8; in ide_build_features()