MCPcopy Create free account

hub / github.com/FDOS/kernel / functions

Functions745 in github.com/FDOS/kernel

Functiontest_embedded_nul
* Repeated-NUL / embedded-NUL: the function should stop at the FIRST NUL. * We manually construct strings with a NUL in the middle. * Expected CX
tests/int2f-12/t1225.c:245
Functiontest_empty
* Empty string: NUL is the only byte; destination must contain NUL only. */
tests/int2f-12/t1211.c:138
Functiontest_equal_pointers
* Equal pointers: same segment AND same offset. * ZF must be set (1), CF must be clear (0). */
tests/int2f-12/t1214.c:93
Functiontest_full_sweep
* Full sweep of all 256 byte values. * Verifies the complete transformation table in one pass. * Every third value is tested to keep the .ref file
tests/int2f-12/t1213.c:227
Functiontest_high_bytes
* High-byte characters (0x80..0xFF): must be returned unchanged. * These are DOS codepage characters; none are in the a-z ASCII range. * Sweep eve
tests/int2f-12/t1213.c:202
Functiontest_high_bytes
* High-byte characters (0x80..0xFF): AL unchanged, ZF=0. * These are DOS codepage characters; none are path separators. */
tests/int2f-12/t1204.c:199
Functiontest_inactive_drives
* Inactive drives (Y: and Z: are unlikely to be active on a test machine). * The kernel must still succeed (CF=0) and return a CDS with cdsDpb=NULL
tests/int2f-12/t121f.c:286
Functiontest_incrementing
* Incrementing pattern 0x00..0xFF (repeating): known-value test. */
tests/int2f-12/t121c.c:206
Functiontest_incrementing
* Incrementing pattern 0x00..0xFF (repeating). * Sum of 0..255 = 0x7F80; truncated to 8 bits = 0x80. * Sum of 0..255 twice = 0xFF00; truncated = 0
tests/int2f-12/t121d.c:225
Functiontest_inplace
* Source == destination (in-place normalization). * RBIL does not forbid src==dst; FreeDOS reads one byte then writes it, * so in-place is safe.
tests/int2f-12/t1211.c:328
Functiontest_invalid_chars
* Digits, punctuation, control characters, and high bytes -- all invalid. */
tests/int2f-12/t121f.c:203
Functiontest_invalid_drive_chars
* Invalid characters before the colon: non-alpha characters at [0] * with ':' at [1]. Must return AL = FFh. */
tests/int2f-12/t121a.c:223
Functiontest_literal_cases
* Literal corner-case strings that exercise specific DOS path semantics. */
tests/int2f-12/t1212.c:164
Functiontest_literal_cases
* Literal corner-case strings that exercise specific DOS path semantics. */
tests/int2f-12/t1225.c:162
Functiontest_lowercase
* Lowercase letters: must be uppercased. */
tests/int2f-12/t1211.c:164
Functiontest_lowercase_letters
* Lowercase letters a..z: each must be uppercased to A..Z. */
tests/int2f-12/t1213.c:84
Functiontest_no_carry_fold
* Difference from 121Ch: confirm 121Dh does NOT carry-fold. * 0xFF + 0x01 = 0x100 -> 121Dh gives AL=0x00 (carry discarded). * (121Ch would give DX
tests/int2f-12/t121d.c:315
Functiontest_no_drive_letter
* No drive letter: strings that do NOT have ':' at offset 1. * All must return AL = FFh. */
tests/int2f-12/t121a.c:183
Functiontest_non_separators
* Non-separator printable ASCII characters: AL unchanged, ZF=0. */
tests/int2f-12/t1204.c:108
Functiontest_null_pointer
* Null pointer (0000:0000) compared against itself and against non-null. */
tests/int2f-12/t1214.c:216
Functiontest_passthrough
* Characters that must pass through unchanged: * digits, punctuation, high bytes, control chars (except '/' and a-z). */
tests/int2f-12/t1211.c:210
Functiontest_punctuation
* Punctuation and special printable ASCII (not letters or digits): * all must be returned unchanged. */
tests/int2f-12/t1213.c:154
Functiontest_repeated_call
* Repeated call for the same drive must produce identical CDS content. * TempCDS is a single global; two consecutive calls for C: must agree. */
tests/int2f-12/t121f.c:259
Functiontest_required_lengths
* Required lengths from the spec: * 0, 1, 2, 3, 64, 128, 256, 260, 512 */
tests/int2f-12/t1212.c:125
Functiontest_required_lengths
* Required lengths from the spec: * 0, 1, 2, 3, 64, 128, 256, 260, 512 */
tests/int2f-12/t1225.c:123
Functiontest_seed_wraparound
* Seed wrap-around: seeds that cause the initial DX to be near 0xFFFF, * so the very first byte addition triggers a carry. */
tests/int2f-12/t121c.c:246
Functiontest_separators
* Path separator characters: '/', '\', and the default SWITCHAR '/'. * All must return AL='\' (5Ch) and ZF=1. */
tests/int2f-12/t1204.c:90
Functiontest_single_byte
* Single-byte buffers: verifies the per-byte carry-fold logic. */
tests/int2f-12/t121c.c:138
Functiontest_single_byte
* Single-byte buffers: verifies the per-byte truncation. */
tests/int2f-12/t121d.c:129
Functiontest_single_chars
* Single-character strings for every printable ASCII value. * Verifies the per-character transformation table is correct. */
tests/int2f-12/t1211.c:352
Functiontest_slash_conversion
* Forward-slash conversion: '/' must become '\'. */
tests/int2f-12/t1211.c:180
Functiontest_symmetry
* Symmetry: swap ptr1 and ptr2 for a selection of unequal pairs. * The result (ZF=0) must be the same regardless of argument order. */
tests/int2f-12/t1214.c:194
Functiontest_two_byte_overflow
* Two-byte buffers: verifies carry is discarded (8-bit truncation). * 0xFF + 0x01 = 0x100 -> AL = 0x00 (carry discarded). * 0xFF + 0x02 = 0x101 ->
tests/int2f-12/t121d.c:159
Functiontest_unequal_both
* Unequal pointers: both segment and offset differ. * ZF must be clear (0). */
tests/int2f-12/t1214.c:154
Functiontest_unequal_off_only
* Unequal pointers: offset differs, segment same. * ZF must be clear (0). */
tests/int2f-12/t1214.c:140
Functiontest_unequal_seg_only
* Unequal pointers: segment differs, offset same. * ZF must be clear (0). */
tests/int2f-12/t1214.c:126
Functiontest_uppercase_letters
* Uppercase letters A..Z: must be returned unchanged. */
tests/int2f-12/t1213.c:101
Functiontest_uppercase_lowercase_same_drive
* Uppercase and lowercase of the same drive letter produce the same CDS * content except for cdsCurrentPath[0] (the letter itself). * The referenc
tests/int2f-12/t121f.c:272
Functiontest_valid_drives
* Valid drive letters A:..Z: as the leading two characters. * Each must return AL = drive_index (0..25). * Tests both uppercase and lowercase driv
tests/int2f-12/t121a.c:113
Functiontest_valid_drives_with_paths
* Valid drive letters followed by typical path suffixes. * The drive number returned must still be correct regardless of what * follows the colon.
tests/int2f-12/t121a.c:145
Functiontest_valid_lowercase
* All 26 lowercase drive letters a..z. * The kernel stores the letter as-is (no uppercasing), so cdsCurrentPath[0] * will be the lowercase letter.
tests/int2f-12/t121f.c:171
Functiontest_valid_uppercase
* All 26 uppercase drive letters A..Z. * Each must succeed (CF=0), return CX=sizeof(cds), and produce a CDS * whose cdsCurrentPath starts with the
tests/int2f-12/t121f.c:152
Functiontest_zero_length
* Zero-length buffer: CX=0 on entry. * DX must equal the seed (no bytes processed), SI unchanged, CX=0. */
tests/int2f-12/t121c.c:125
Functiontest_zero_length
* Zero-length buffer: CX=0 on entry. * AL must be 0 (no bytes processed), SI unchanged, CX=0. */
tests/int2f-12/t121d.c:120
FunctionwritelabelBPB
kernel/dsk.c:1142
← previous701–745 of 745, ranked by callers