capac 405 src/dps8/dps8_disk.c dsk_unit[diskUnitIdx].capac = (t_addr) diskTypes[i].capac; capac 735 src/dps8/dps8_disk.c if (seekData >= diskTypes[typeIdx].capac) capac 777 src/dps8/dps8_disk.c if (seekData >= diskTypes[typeIdx].capac) capac 64 src/dps8/dps8_disk.h uint capac; capac 967 src/dps8/dps8_mt.c mt_unit [i] . capac = 40000000; capac 4251 src/simh/scp.c if ((uptr->capac > 0) && (uptr->flags & UNIT_FIX)) { capac 4266 src/simh/scp.c t_offset psize = (t_offset)uptr->capac; capac 5226 src/simh/scp.c max = uptr->capac - 1; capac 5503 src/simh/scp.c uint32 cap = ((uint32) uptr->capac) / dptr->aincr; /* effective size */ capac 6141 src/simh/scp.c (((sim_dfunit->capac == 0) || (flag == EX_E))? 0: capac 6142 src/simh/scp.c sim_dfunit->capac - sim_dfdev->aincr), 0); capac 6555 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) { capac 6646 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) capac 420 src/simh/sim_defs.h t_addr capac; /* capacity */ capac 165 src/simh/sim_disk.c uptr->capac = (t_addr)((cap * ((t_offset) 1000000))/((dptr->flags & DEV_SECTORS) ? 512 : 1)); capac 175 src/simh/sim_disk.c t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1); capac 179 src/simh/sim_disk.c if (capac) { capac 180 src/simh/sim_disk.c if (capac >= (t_offset) 1000000) capac 181 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); capac 182 src/simh/sim_disk.c else if (uptr->capac >= (t_addr) 1000) capac 183 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); capac 184 src/simh/sim_disk.c else fprintf (st, "capacity=%lu%s", (unsigned long) capac, cap_units); capac 270 src/simh/sim_disk.c (lba >= (uptr->capac*ctx->capac_factor)/(ctx->sector_size/((ctx->dptr->flags & DEV_SECTORS) ? 512 : 1)))) {/* beyond the end of the disk */ capac 371 src/simh/sim_disk.c t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(ctx->sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 666 src/simh/sim_disk.c saved_capac = uptr->capac; capac 668 src/simh/sim_disk.c uptr->capac = (t_addr)(temp_capac/(capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 732 src/simh/sim_disk.c uptr->capac = saved_capac; capac 747 src/simh/sim_disk.c t_offset capac, filesystem_capac; capac 841 src/simh/sim_disk.c uptr->fileref = create_function (cptr, ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1));/* create new file */ capac 865 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - ctx->sector_size)/ctx->sector_size), secbuf, NULL, 1); /* Write Last Sector */ capac 879 src/simh/sim_disk.c t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 917 src/simh/sim_disk.c t_lba total_sectors = (t_lba)((uptr->capac*capac_factor)/(sector_size/((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 964 src/simh/sim_disk.c capac = size_function (uptr->fileref); capac 965 src/simh/sim_disk.c if (capac && (capac != (t_offset)-1)) { capac 967 src/simh/sim_disk.c t_addr saved_capac = uptr->capac; capac 970 src/simh/sim_disk.c (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) { capac 972 src/simh/sim_disk.c uptr->capac = (t_addr)(filesystem_capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 974 src/simh/sim_disk.c uptr->capac = saved_capac; capac 980 src/simh/sim_disk.c if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && (DKUF_F_STD != DK_GET_FMT (uptr))) { capac 982 src/simh/sim_disk.c uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 984 src/simh/sim_disk.c uptr->capac = saved_capac; capac 993 src/simh/sim_disk.c (filesystem_capac > capac)) capac 994 src/simh/sim_disk.c capac = filesystem_capac; capac 995 src/simh/sim_disk.c if ((capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) || capac 997 src/simh/sim_disk.c uptr->capac = (t_addr)(capac/(ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))); capac 1810 src/simh/sim_tape.c return (uptr->capac && (uptr->pos >= uptr->capac))? TRUE: FALSE; capac 2023 src/simh/sim_tape.c uptr->capac = cap * ((t_addr) 1000000); capac 2031 src/simh/sim_tape.c if (uptr->capac) { capac 2032 src/simh/sim_tape.c if (uptr->capac >= (t_addr) 1000000) capac 2033 src/simh/sim_tape.c fprintf (st, "capacity : %luMB", (unsigned long)(uptr->capac / ((t_addr) 1000000))); capac 2035 src/simh/sim_tape.c if (uptr->capac >= (t_addr) 1000) capac 2036 src/simh/sim_tape.c fprintf (st, "capacity : %luKB", (unsigned long)(uptr->capac / ((t_addr) 1000))); capac 2038 src/simh/sim_tape.c fprintf (st, "capacity : %luB", (unsigned long)uptr->capac);