Skip to content

v0.1.0-alpha.6 - Sprint 5 (Phase 5 I/O & Auxiliary Storage)

Pre-release
Pre-release

Choose a tag to compare

@Mr-Kumar-Abhishek Mr-Kumar-Abhishek released this 22 Nov 03:49
· 8 commits to master since this release

Changelog — speedcoding v0.1.0-alpha.6 (Sprint 5)

Release Date: 2026-11-22
Branch / Commit: phase-5/io-storage (9414b3066f276b49533eac6358cc9aaed4adb9fd)
Linux CI Verification: GitHub Actions Rust Sprint CI Run #44981945061 (39s, completed / success)

What's New in Sprint 5 (US-13)

  • 7-Channel Magnetic Tapes (src/io.rs — TapeUnit J..M):
    • 7th-channel odd-parity bit calculation across all 6-bit groups (0..64).
    • Hardware status transition matrix (Read, Neutral, Write), CopyCheck stops, ignored Read + EndFile, and RWTP* rewind reset.
    • Variable-length unit record writes/reads, partial reads advancing to the end-of-record gap, oversized reads triggering CopyCheck, checksum (ChecksumMismatchSkip, 2-instruction skip), parity (TapeCheck), and EOF (EndOfFileSkip, 1-instruction skip).
    • Backward navigation (RBTP*, SFTP*, SBTP*) preserving non-backspace behavior on read-phase errors.
  • Magnetic Drums & Line Printer (src/io.rs — DrumUnit P..Q, LinePrinter):
    • 1,024-word zero-initialized magnetic drums with non-wrapping bounds enforcement (DrumAddressOutOfRange) and one-shot write verification discrepancies (VerifyDiscrepancySkip).
    • LinePrinter formatting up to 5 decimal floats per line with 100 * C + n IDs and strict |E| <= 236 exponent bounds checking.
  • Machine Integration (src/control.rs):
    • Wired tapes: [TapeUnit; 4] and drums: [DrumUnit; 2] into SpeedCoMachine, implemented load_deck (rewinding all 4 tapes before loading instruction/data/control cards), and implemented all I/O OP1 operations (WRTP*, RFTP*, RBTP*, SFTP*, SBTP*, RWTP*, EFTP*, WRDR*, RFDR*, PRINT) with 1- and 2-instruction skip sequencing.
  • Test Alignment Fix (tests/phase_5_io_storage.rs):
    • Corrected two 1-character 80-column card literal typos in card_reader_load_deck_rewinds_tapes_and_offloads_blocks: removed an extra 0 in ctrl_card so unit J aligns to column 29, and inserted the missing column-9 blank space in instr_card.

Test & Compliance Verification

  • cargo clippy --all-targets -- -D warnings: 0 warnings (Linux CI Run #44981945061)
  • Passing Tests (Debug & Release): 60 passing total (55/66 TDD Green + 5/5 benchmarks: 1/1 unit, 5/5 bench, 11/11 Phase 1, 10/10 Phase 2, 10/10 Phase 3, 12/12 Phase 4, 11/11 Phase 5)
  • Unsafe Code: 0 unsafe blocks in src/*.rs and tests/*.rs
  • Historical Manual PDF: 102632810-05-01-acc.pdf excluded from Cargo packaging, release .zip, and GitHub Pages.