README.md
Original bytes preserved. This is a browser-readable view.
# CS617 Chapter 14 — Piotr and the Seven Segments A reproducible collection of three CASIO FX-870P/VX-4 and MD-120 diagnostic demonstrations using the SB-5 interface. The collection preserves the machine-code sources, listings, transfer-ready BASIC loaders, photographic/audio evidence, and accompanying technical writing. No ROM image is part of this project. ## The demonstrations | Program | Purpose | Recording | | --- | --- | --- | | P1 | Display C A S I O on the MD-120 seven-segment indicator | `album/ch14p1_CASIO_Display.mp4` | | P2 | Seven-segment light show | `album/ch14p2_Seven_Segment_Light_Show.mp4` | | P3 | Activate the MD-120 buzzer | `album/ch14p3_Buzzer_Sound.wav` | ## Reproduction Read `pdf/ch14_MD120_Reproduction_Notes.pdf` for the actual test setup and transfer parameters. The tested host was a 64 KB VX-4. Programs were transferred from Linux over a TAKK Engineering USB-to-2.5 mm interface, using Minicom at 4800 baud, 8N1, XON/XOFF, no RTS/CTS, and `/usr/bin/ascii-xfr -sv -l 500 -c 10`. The experiments used VX-4 -> SB-5 -> MD-120, **not** the MD-120's 2.5 mm serial connector. `vx-4/ch14p*.bas` are the reviewed BASIC transfer programs. BASIC `RUN` loads and verifies the corresponding native machine code; the separate command `MODE110(0)` executes the native code. The different loaders target overlapping native RAM addresses, so selecting a different BASIC program area alone does not switch the active native code: rerun the corresponding loader before invoking native execution. ## Inspecting the methods - `src/`: HD61700 assembly sources. - `vx-4/`: complete BASIC programs for transfer to the VX-4. - `lst/`: listings from the HD61 assembler. - `pdf/`: final article, buzzer measurements, and concise reproduction notes. - `album/`: P1 and P2 video recordings and the P3 audio recording. - `MANIFEST.md`: release file inventory. The first demonstration reproduces work by Piotr Piatek. The collection and article credit the contributors and distinguish the original diagnostics from later demonstrations. *Praeteritum ad futurum servamus.*