tally 865 src/dps8/dps8_addrmods.c word12 tally = GET_TALLY (indword); tally 926 src/dps8/dps8_addrmods.c tally ++; tally 927 src/dps8/dps8_addrmods.c tally &= 07777; // keep to 12-bits tally 993 src/dps8/dps8_addrmods.c tally --; tally 994 src/dps8/dps8_addrmods.c tally &= 07777; // keep to 12-bits tally 1000 src/dps8/dps8_addrmods.c "update IT tally now %o\n", tally); tally 1016 src/dps8/dps8_addrmods.c putbits36_12 (& indword, 18, tally); tally 1024 src/dps8/dps8_addrmods.c SC_I_TALLY (tally == 0); tally 301 src/dps8/dps8_console.c uint tally; tally 704 src/dps8/dps8_console.c uint tally = csp->tally; tally 733 src/dps8/dps8_console.c if ((!csp->bcd) && csp->noempty && n_chars == 0 && tally) tally 738 src/dps8/dps8_console.c tally --; tally 743 src/dps8/dps8_console.c while (tally && csp->readp < csp->tailp) tally 796 src/dps8/dps8_console.c tally --; tally 1432 src/dps8/dps8_console.c uint tally = p->DDCW_TALLY; tally 1435 src/dps8/dps8_console.c if (tally == 0) { tally 1436 src/dps8/dps8_console.c tally = 4096; tally 1442 src/dps8/dps8_console.c csp->tally = tally; tally 1472 src/dps8/dps8_console.c uint tally = p->DDCW_TALLY; tally 1477 src/dps8/dps8_console.c if (tally == 0) { tally 1478 src/dps8/dps8_console.c tally = 4096; tally 1481 src/dps8/dps8_console.c word36 buf[tally]; tally 1482 src/dps8/dps8_console.c iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, false); tally 1487 src/dps8/dps8_console.c tally 1503 src/dps8/dps8_console.c tally 1516 src/dps8/dps8_console.c char text[tally * 4 + 1]; tally 1528 src/dps8/dps8_console.c while (tally) { tally 1530 src/dps8/dps8_console.c tally --; tally 233 src/dps8/dps8_crdpun.c word12 tally; tally 696 src/dps8/dps8_crdpun.c static void log_card(word12 tally, word36 * buffer) tally 698 src/dps8/dps8_crdpun.c sim_printf ("tally %d\n", tally); tally 700 src/dps8/dps8_crdpun.c for (uint i = 0; i < tally; i ++) tally 706 src/dps8/dps8_crdpun.c if (tally != WORDS_PER_CARD) tally 708 src/dps8/dps8_crdpun.c sim_warn("Unable to log punch card, tally is not 27 (%d)\n", tally); tally 830 src/dps8/dps8_crdpun.c static void save_card_in_cache(pun_state_t * state, word12 tally, word36 * card_buffer) tally 846 src/dps8/dps8_crdpun.c new_entry -> tally = tally; tally 847 src/dps8/dps8_crdpun.c memcpy(&new_entry -> card_data, card_buffer, sizeof(word36) * tally); tally 883 src/dps8/dps8_crdpun.c pun_state_t * state, word12 tally, tally 890 src/dps8/dps8_crdpun.c save_card_in_cache(state, tally, card_buffer); // Save card in cache tally 897 src/dps8/dps8_crdpun.c word12 tally, tally 904 src/dps8/dps8_crdpun.c save_card_in_cache(state, tally, card_buffer); // Save card in cache tally 911 src/dps8/dps8_crdpun.c word12 tally, tally 916 src/dps8/dps8_crdpun.c save_card_in_cache(state, tally, card_buffer); // Save card in cache tally 958 src/dps8/dps8_crdpun.c word12 tally, tally 963 src/dps8/dps8_crdpun.c save_card_in_cache(state, tally, card_buffer); // Save card in cache tally 970 src/dps8/dps8_crdpun.c word12 tally, tally 975 src/dps8/dps8_crdpun.c save_card_in_cache(state, tally, card_buffer); // Save card in cache tally 982 src/dps8/dps8_crdpun.c word12 tally, tally 998 src/dps8/dps8_crdpun.c write_punch_files (state, card_buffer, tally, true); // Write card to spool file tally 1021 src/dps8/dps8_crdpun.c static void parse_card(pun_state_t * state, word12 tally, word36 * card_buffer) tally 1025 src/dps8/dps8_crdpun.c if (tally == WORDS_PER_CARD && memcmp (card_buffer, eodCard, sizeof (eodCard)) == 0) tally 1030 src/dps8/dps8_crdpun.c if (tally == WORDS_PER_CARD && memcmp (card_buffer, bannerCard, sizeof (bannerCard)) == 0) tally 1046 src/dps8/dps8_crdpun.c event = do_state_starting_job(current_event, state, tally, card_buffer); tally 1050 src/dps8/dps8_crdpun.c event = do_state_end_of_header(current_event, state, tally, card_buffer); tally 1054 src/dps8/dps8_crdpun.c event = do_state_end_of_job(current_event, state, tally, card_buffer); tally 1067 src/dps8/dps8_crdpun.c event = do_state_end_of_deck(current_event, state, tally, card_buffer); tally 1071 src/dps8/dps8_crdpun.c event = do_state_end_of_deck(current_event, state, tally, card_buffer); tally 1075 src/dps8/dps8_crdpun.c event = do_state_end_of_deck(current_event, state, tally, card_buffer); tally 1079 src/dps8/dps8_crdpun.c event = do_state_end_of_deck(current_event, state, tally, card_buffer); tally 1083 src/dps8/dps8_crdpun.c event = do_state_end_of_deck(current_event, state, tally, card_buffer); tally 1096 src/dps8/dps8_crdpun.c event = do_state_scan_card_for_glyphs(current_event, state, tally, card_buffer); //-V1037 tally 1100 src/dps8/dps8_crdpun.c event = do_state_scan_card_for_glyphs(current_event, state, tally, card_buffer); tally 1104 src/dps8/dps8_crdpun.c event = do_state_cache_card(current_event, state, tally, card_buffer); //-V1037 tally 1108 src/dps8/dps8_crdpun.c event = do_state_cache_card(current_event, state, tally, card_buffer); tally 1112 src/dps8/dps8_crdpun.c event = do_state_cache_card(current_event, state, tally, card_buffer); tally 711 src/dps8/dps8_crdrdr.c uint tally = (nbits + 35) / 36; tally 713 src/dps8/dps8_crdrdr.c if (tally > 27) { //-V547 tally 714 src/dps8/dps8_crdrdr.c sim_warn ("Impossible rdr tally: %d > 27; truncating.\n", tally); tally 715 src/dps8/dps8_crdrdr.c tally = 27; tally 743 src/dps8/dps8_crdrdr.c uint tally = 27; tally 745 src/dps8/dps8_crdrdr.c iom_indirect_data_service (iomUnitIdx, chan, buffer, & tally, true); tally 748 src/dps8/dps8_crdrdr.c p->tallyResidue = (word12) tally & MASK12; tally 706 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 710 src/dps8/dps8_disk.c if (tally != 1) tally 712 src/dps8/dps8_disk.c sim_printf ("disk seek dazed by tally %d != 1\n", tally); tally 755 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 759 src/dps8/dps8_disk.c if (tally != 1) tally 761 src/dps8/dps8_disk.c sim_printf ("disk seek dazed by tally %d != 1\n", tally); tally 765 src/dps8/dps8_disk.c tally = 1; tally 798 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 802 src/dps8/dps8_disk.c if (tally != 1) tally 804 src/dps8/dps8_disk.c sim_printf ("disk seek dazed by tally %d != 1\n", tally); tally 808 src/dps8/dps8_disk.c tally = 1; tally 866 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 867 src/dps8/dps8_disk.c if (tally == 0) tally 869 src/dps8/dps8_disk.c tally = 4096; tally 892 src/dps8/dps8_disk.c uint tallySectors = (tally + sectorSizeWords - 1) / tally 924 src/dps8/dps8_disk.c word36 buffer[tally]; tally 925 src/dps8/dps8_disk.c for (uint i = 0; i < tally; i ++) tally 962 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 964 src/dps8/dps8_disk.c if (tally == 0) tally 966 src/dps8/dps8_disk.c tally = 4096; tally 985 src/dps8/dps8_disk.c uint tallySectors = (tally + sectorSizeWords - 1) / tally 993 src/dps8/dps8_disk.c word36 buffer[tally]; tally 997 src/dps8/dps8_disk.c for (uint i = 0; i < tally; i ++) tally 1027 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 1029 src/dps8/dps8_disk.c if (tally != 4 && tally != 2) tally 1032 src/dps8/dps8_disk.c __func__, tally); tally 1034 src/dps8/dps8_disk.c if (tally == 0) tally 1036 src/dps8/dps8_disk.c tally = 4096; tally 1045 src/dps8/dps8_disk.c word36 buffer[tally]; tally 1050 src/dps8/dps8_disk.c uint wordsProcessed = tally; tally 1075 src/dps8/dps8_disk.c uint tally = p->DDCW_TALLY; tally 1151 src/dps8/dps8_disk.c word36 buffer[tally]; tally 1172 src/dps8/dps8_disk.c uint wordsProcessed = tally; tally 1076 src/dps8/dps8_fnp2_iomcmd.c static void tun_write (struct t_line * linep, uint16_t * data, uint tally) tally 1079 src/dps8/dps8_fnp2_iomcmd.c tally 1086 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < tally; i ++) tally 1122 src/dps8/dps8_fnp2_iomcmd.c static void fnp_wtx_output (struct decoded_t *decoded_p, uint tally, uint dataAddr) tally 1131 src/dps8/dps8_fnp2_iomcmd.c uint16_t data9 [tally]; tally 1133 src/dps8/dps8_fnp2_iomcmd.c unsigned char data [tally]; tally 1135 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < tally; i ++) tally 1158 src/dps8/dps8_fnp2_iomcmd.c tally 1170 src/dps8/dps8_fnp2_iomcmd.c if (linep->is_tun && tally > 0) tally 1172 src/dps8/dps8_fnp2_iomcmd.c tun_write (linep, data9, tally); tally 1176 src/dps8/dps8_fnp2_iomcmd.c if (tally > 0 && linep->line_client) tally 1184 src/dps8/dps8_fnp2_iomcmd.c (* p->write_cb) (linep->line_client, data, tally); tally 1217 src/dps8/dps8_fnp2_iomcmd.c uint tally = getbits36_9 (dcw, 27); tally 1219 src/dps8/dps8_fnp2_iomcmd.c if (! tally) tally 1221 src/dps8/dps8_fnp2_iomcmd.c fnp_wtx_output (decoded_p, tally, dataAddr); tally 1284 src/dps8/dps8_fnp2_iomcmd.c word12 tally = getbits36_12 (data, 24); tally 1300 src/dps8/dps8_fnp2_iomcmd.c uint n_chars_in_buf = min(n_chars-off, tally); tally 1881 src/dps8/dps8_fnp2_iomcmd.c word12 tally = getbits36_12 (dcw, 24); tally 1886 src/dps8/dps8_fnp2_iomcmd.c word24 image_off = (tally + 64) & 077777700; tally 1762 src/dps8/dps8_iom.c uint tally = getbits36_12 (scw, 24); tally 1776 src/dps8/dps8_iom.c if (tally > 0 || (tally == 0 && lq != 0)) //-V560 tally 1782 src/dps8/dps8_iom.c if (tally != 0) tally 1784 src/dps8/dps8_iom.c tally --; tally 1791 src/dps8/dps8_iom.c if (tally % 8 == 1 /* || tally % 8 == -1 */) tally 1795 src/dps8/dps8_iom.c tally --; tally 1800 src/dps8/dps8_iom.c if (tally % 32 == 1 /* || tally % 32 == -1 */) tally 1804 src/dps8/dps8_iom.c tally --; tally 1809 src/dps8/dps8_iom.c if (tally & ~07777U) tally 1813 src/dps8/dps8_iom.c __func__, tally); tally 1814 src/dps8/dps8_iom.c tally &= 07777; tally 1817 src/dps8/dps8_iom.c putbits36_12 (& scw, 24, (word12) tally); tally 2004 src/dps8/dps8_iom.c uint tally = p->DDCW_TALLY; tally 2006 src/dps8/dps8_iom.c if (tally == 0) { tally 2007 src/dps8/dps8_iom.c tally = 4096; tally 2009 src/dps8/dps8_iom.c p->tallyResidue = (word12) tally; tally 2656 src/dps8/dps8_iom.c uint tally = dcw & MASK12; tally 2657 src/dps8/dps8_iom.c if (tally > 1) tally 3429 src/dps8/dps8_iom.c uint tally = dcw & MASK12; tally 3430 src/dps8/dps8_iom.c if (tally > 1) tally 1060 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; tally 1061 src/dps8/dps8_mt.c if (tally == 0) tally 1066 src/dps8/dps8_mt.c tally = 4096; tally 1070 src/dps8/dps8_mt.c "%s: Tally %d (%o)\n", __func__, tally, tally); tally 1072 src/dps8/dps8_mt.c word36 buffer [tally]; tally 1075 src/dps8/dps8_mt.c for (i = 0; i < tally; i ++) tally 1091 src/dps8/dps8_mt.c tally 1136 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; tally 1137 src/dps8/dps8_mt.c if (tally != 04000) tally 1189 src/dps8/dps8_mt.c word36 buf [tally]; tally 1191 src/dps8/dps8_mt.c memset (buf, 0, sizeof (word36) * tally); tally 1192 src/dps8/dps8_mt.c for (uint i = 0; i < tally; i ++) tally 1197 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, true); tally 1247 src/dps8/dps8_mt.c uint tally = p -> DDCW_TALLY; tally 1248 src/dps8/dps8_mt.c if (tally == 0) tally 1253 src/dps8/dps8_mt.c tally = 4096; tally 1257 src/dps8/dps8_mt.c "%s: Tally %d (%o)\n", __func__, tally, tally); tally 1262 src/dps8/dps8_mt.c word36 buffer [tally]; tally 1269 src/dps8/dps8_mt.c tally 1292 src/dps8/dps8_mt.c for (i = 0; i < tally; i ++) tally 1320 src/dps8/dps8_mt.c p -> tallyResidue = (word12) (tally - i); tally 1834 src/dps8/dps8_mt.c uint tally = p->IDCW_COUNT; tally 1835 src/dps8/dps8_mt.c if (tally == 0) { tally 1837 src/dps8/dps8_mt.c tally = 64; tally 1839 src/dps8/dps8_mt.c sim_debug (DBG_DEBUG, & tape_dev, "%s: Forward skip record %d\n", __func__, tally); tally 1844 src/dps8/dps8_mt.c tally 1848 src/dps8/dps8_mt.c while (skipped < tally) { tally 1858 src/dps8/dps8_mt.c if (skipped != tally) { tally 1859 src/dps8/dps8_mt.c sim_warn ("skipped %d != tally %d\n", skipped, tally); tally 1866 src/dps8/dps8_mt.c p->tallyResidue = (word12) (tally - skipped); tally 1897 src/dps8/dps8_mt.c uint tally = 1; tally 1900 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecf (unitp, tally, & skipped, & recsskipped, false); tally 1906 src/dps8/dps8_mt.c if (skipped != tally) { tally 1907 src/dps8/dps8_mt.c sim_warn ("skipped %d != tally %d\n", skipped, tally); tally 1914 src/dps8/dps8_mt.c p->tallyResidue = (word12) (tally - skipped); tally 1915 src/dps8/dps8_mt.c sim_debug (DBG_NOTIFY, & tape_dev, "%s: Forward space %d files\n", __func__, tally); tally 1947 src/dps8/dps8_mt.c uint tally = p->IDCW_COUNT; tally 1948 src/dps8/dps8_mt.c if (tally == 0) { tally 1950 src/dps8/dps8_mt.c tally = 64; tally 1953 src/dps8/dps8_mt.c sim_debug (DBG_DEBUG, & tape_dev, "%s: Backspace record tally %d\n", __func__, tally); tally 1958 src/dps8/dps8_mt.c tally 1965 src/dps8/dps8_mt.c while (skipped < tally) { tally 1972 src/dps8/dps8_mt.c if (skipped != tally) { tally 1973 src/dps8/dps8_mt.c sim_warn ("skipped %d != tally %d\n", skipped, tally); tally 1979 src/dps8/dps8_mt.c p->tallyResidue = (word12) (tally - skipped); tally 2012 src/dps8/dps8_mt.c uint tally = 1; tally 2014 src/dps8/dps8_mt.c tally 2015 src/dps8/dps8_mt.c tally 2016 src/dps8/dps8_mt.c tally 2019 src/dps8/dps8_mt.c tally 2023 src/dps8/dps8_mt.c tally 2034 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecr (unitp, tally, & skipped, & recsskipped); tally 2039 src/dps8/dps8_mt.c if (skipped != tally) { tally 2040 src/dps8/dps8_mt.c sim_warn ("skipped %d != tally %d\n", skipped, tally); tally 2047 src/dps8/dps8_mt.c p->tallyResidue = (word12) (tally - skipped); tally 2048 src/dps8/dps8_mt.c sim_debug (DBG_NOTIFY, & tape_dev, "%s: Backspace %d records\n", __func__, tally); tally 394 src/dps8/dps8_prt.c static int parseID (word36 * b, uint tally, char * qno, char * name) tally 396 src/dps8/dps8_prt.c if (tally < 3) tally 433 src/dps8/dps8_prt.c static int openPrtFile (int prt_unit_num, word36 * buffer, uint tally) tally 441 src/dps8/dps8_prt.c if (tally == 1 && buffer[0] == 0014013000000llu) //-V536 tally 448 src/dps8/dps8_prt.c int rc = parseID (buffer, tally, qno, name); tally 480 src/dps8/dps8_prt.c static int eoj (word36 * buffer, uint tally) tally 482 src/dps8/dps8_prt.c if (tally < 3) tally 551 src/dps8/dps8_prt.c tally 553 src/dps8/dps8_prt.c tally 557 src/dps8/dps8_prt.c tally 559 src/dps8/dps8_prt.c tally 564 src/dps8/dps8_prt.c tally 571 src/dps8/dps8_prt.c tally 574 src/dps8/dps8_prt.c tally 597 src/dps8/dps8_prt.c tally 602 src/dps8/dps8_prt.c tally 619 src/dps8/dps8_prt.c static int print_buf (int prt_unit_num, bool isBCD, bool is_edited, int slew, word36 * buffer, uint tally) tally 677 src/dps8/dps8_prt.c int rc = openPrtFile (prt_unit_num, buffer, tally); tally 685 src/dps8/dps8_prt.c tally 686 src/dps8/dps8_prt.c tally 738 src/dps8/dps8_prt.c if (tally) tally 742 src/dps8/dps8_prt.c uint nchars = tally * 6; tally 848 src/dps8/dps8_prt.c uint nchars = tally * 4; tally 870 src/dps8/dps8_prt.c for (uint i = 0; i < tally * 4; i ++) tally 950 src/dps8/dps8_prt.c if ((! isBCD) && eoj (buffer, tally)) tally 970 src/dps8/dps8_prt.c uint tally = p -> DDCW_TALLY; tally 972 src/dps8/dps8_prt.c if (tally != 4) tally 974 src/dps8/dps8_prt.c sim_warn ("%s: expected tally of 4, is %d\n", __func__, tally); tally 976 src/dps8/dps8_prt.c if (tally == 0) tally 978 src/dps8/dps8_prt.c tally = 4096; tally 983 src/dps8/dps8_prt.c word36 buffer[tally]; tally 1006 src/dps8/dps8_prt.c uint wordsProcessed = tally; tally 1061 src/dps8/dps8_prt.c uint tally = p -> DDCW_TALLY; tally 1063 src/dps8/dps8_prt.c "%s: Tally %d (%o)\n", __func__, tally, tally); tally 1065 src/dps8/dps8_prt.c if (tally == 0) tally 1066 src/dps8/dps8_prt.c tally = 4096; tally 1069 src/dps8/dps8_prt.c word36 buffer[tally]; tally 1076 src/dps8/dps8_prt.c tally 1083 src/dps8/dps8_prt.c tally 1094 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, isBCD, is_edited, slew, buffer, tally); tally 1107 src/dps8/dps8_prt.c tally 694 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) tally 728 src/dps8/dps8_socket_dev.c static int skt_write8 (uint iom_unit_idx, uint chan, uint unit_idx, word6 dev_code, uint tally, word36 * buffer) tally 738 src/dps8/dps8_socket_dev.c if (tally < 5) tally 777 src/dps8/dps8_socket_dev.c if ((count_words + 5) > tally) tally 801 src/dps8/dps8_socket_dev.c static int get_ddcw (iom_chan_data_t * p, uint iom_unit_idx, uint chan, bool * ptro, uint expected_tally, uint * tally) tally 828 src/dps8/dps8_socket_dev.c * tally = p->DDCW_TALLY; tally 829 src/dps8/dps8_socket_dev.c if (* tally == 0) tally 834 src/dps8/dps8_socket_dev.c * tally = 4096; tally 838 src/dps8/dps8_socket_dev.c "%s: Tally %d (%o)\n", __func__, * tally, * tally); tally 840 src/dps8/dps8_socket_dev.c if (expected_tally && * tally && * tally != expected_tally) tally 842 src/dps8/dps8_socket_dev.c sim_warn ("socket_dev socket call expected tally of %d; got %d\n", expected_tally, * tally); tally 876 src/dps8/dps8_socket_dev.c uint tally; tally 877 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 901 src/dps8/dps8_socket_dev.c uint tally; tally 902 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 934 src/dps8/dps8_socket_dev.c uint tally; tally 935 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 960 src/dps8/dps8_socket_dev.c uint tally; tally 961 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 986 src/dps8/dps8_socket_dev.c uint tally; tally 987 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 1016 src/dps8/dps8_socket_dev.c uint tally; tally 1017 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 1041 src/dps8/dps8_socket_dev.c uint tally; tally 1042 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 1048 src/dps8/dps8_socket_dev.c word36 buffer [tally]; tally 1054 src/dps8/dps8_socket_dev.c rc = skt_read8 (unit_idx, p->IDCW_DEV_CODE, tally, buffer); tally 1070 src/dps8/dps8_socket_dev.c uint tally; tally 1071 src/dps8/dps8_socket_dev.c int rc = get_ddcw (p, iom_unit_idx, chan, & ptro, expected_tally, & tally); tally 1077 src/dps8/dps8_socket_dev.c word36 buffer [tally]; tally 1082 src/dps8/dps8_socket_dev.c rc = skt_write8 (iom_unit_idx, chan, unit_idx, p->IDCW_DEV_CODE, tally, buffer);