Commit Graph

  • 7170ad4813 mechanics: what the mechanical address register costs, tape by tape master dsh 2026-11-20 17:20:15 +08:00
  • 9590cfd35b mechanics: a VCR drum works as a spindle, and the numbers say only the delay line is fast enough to be a daily machine dsh 2026-11-20 16:54:32 +08:00
  • a5dfd70499 docs: what a mechanical dp can actually mean when the memory is electronic dsh 2026-11-20 16:43:57 +08:00
  • 1e7acc018e hardware: the 74LS machine gets a period bill of materials, and a mechanics plan dsh 2026-11-20 16:35:02 +08:00
  • 9b31a51fec hardware: M0 -- the packer, the RTL, and a simulator that agrees byte for byte dsh 2026-11-20 16:25:54 +08:00
  • 0c7d0c8754 hardware: the point is Harvard, not "no RAM" -- two ways to hold the program dsh 2026-11-20 16:04:02 +08:00
  • 96ef30304a hardware: execute in place -- the machine does not get a program RAM or a loader dsh 2026-11-20 16:01:51 +08:00
  • e5a63d0196 hardware: the medium only has to fit in a hand -- rank the candidates by size dsh 2026-11-20 16:00:19 +08:00
  • 9d9d64a1d9 hardware: LOAD then RUN -- which makes a floppy a perfectly good tape dsh 2026-11-20 15:58:39 +08:00
  • 4f7fa63048 hardware: the medium needs +-1 iteration, not random access -- but our loops are long dsh 2026-11-20 15:56:08 +08:00
  • 6185f39f34 hardware: spell out what the program medium has to satisfy dsh 2026-11-20 15:49:27 +08:00
  • 0c75772cbb geometry: the ring size becomes a build option, and the machine takes 64 cells dsh 2026-11-20 15:34:03 +08:00
  • d1939a687c hardware: the machine is 8 bits, and that fixes the budget too dsh 2026-11-20 15:18:55 +08:00
  • 12a2254078 docs: a design note for building the machine out of silicon dsh 2026-11-20 15:14:42 +08:00
  • 1513111689 synth: measure whether the address-aware metric can shrink a real program dsh 2026-11-19 14:33:25 +08:00
  • 5c414292d2 calc: a terminal front end -- echo, backspace editing and a prompt dsh 2026-11-19 14:27:30 +08:00
  • d0fd127048 build: the 32 bit toolchain builds, and 8/16 bit byte tests really pass dsh 2026-11-19 13:41:59 +08:00
  • d2da61a255 build: include <cstring> in asm_test.cc dsh 2026-11-19 12:27:51 +08:00
  • c417304140 term: a line-editing terminal -- buffer, backspace and command dispatch dsh 2026-11-18 21:58:29 +08:00
  • 4eec72953a docs: README -- the calculator is done, the terminal tape is next dsh 2026-11-18 21:46:36 +08:00
  • 0c218abf32 calc: a 3 cell RPN stack -- nesting now works dsh 2026-11-18 21:45:00 +08:00
  • 10f164b480 docs: the signed wrappers in SPEC, AGENTS, README and TODO dsh 2026-11-18 21:14:07 +08:00
  • a30a19690b calc: signed display, signed division and a unary minus dsh 2026-11-18 21:14:00 +08:00
  • 1f3f453e88 signed: the two two's complement wrappers, with exhaustive sweeps dsh 2026-11-18 21:13:52 +08:00
  • 723b8285dd docs: record the signed number plan in AGENTS, SPEC and TODO dsh 2026-11-18 20:20:55 +08:00
  • 3ac4ede73d AGENTS: the machine semantics are frozen except for INP/OUT dsh 2026-11-18 18:57:09 +08:00
  • c0e98eb2f4 AGENTS: a stale rot8_test.exe looks like a broken tape dsh 2026-11-18 18:44:35 +08:00
  • 3543003a78 digits: reorder the scratch block -- 22% fewer steps, 15% less tape dsh 2026-11-18 17:27:05 +08:00
  • 01aa13d0f0 tape_run --profile: the walking share is measured, not estimated dsh 2026-11-18 15:19:57 +08:00
  • a56a12f132 r8forge --opt: the peephole pass is part of the assembler now dsh 2026-11-18 10:34:30 +08:00
  • ca72e19b0b tape_opt: the peephole pass -- 10% off the flagship tape with identical output dsh 2026-11-18 10:29:53 +08:00
  • 55ab5dfebd examples: the terminal tape -- prompt, echo, newline, backspace, EOF dsh 2026-11-17 20:31:36 +08:00
  • 67a2b16721 docs: 53 macros, and they live in 23 files now (puts_dyn.r8asm is new) dsh 2026-11-17 20:11:11 +08:00
  • a1f88e3d25 asm: raw_puts_dyn -- print a buffer whose length is only known at run time dsh 2026-11-17 20:11:01 +08:00
  • 37d1dca0c7 docs: the macro count is 52 (48 + load + clb_puts + test.r8asm's local load twice over) dsh 2026-11-17 19:55:47 +08:00
  • f7ac81b06f asm: clb_puts and load -- printing a sentence, and the constant helper dsh 2026-11-17 19:55:32 +08:00
  • 1200880d4d TODO: drop the finished items, add what the last rounds turned up dsh 2026-11-17 16:14:42 +08:00
  • ba5a8a465d tests/widths.ps1: assert the calculator at every width, not just print it dsh 2026-11-15 18:47:21 +08:00
  • a69260522b geometry: kDefaultCellSize now really reads R8FORGE_CELL_SIZE dsh 2026-11-15 17:32:55 +08:00
  • e137b09958 tests/widths.ps1: do not pipe native stderr into the output stream dsh 2026-11-15 16:25:56 +08:00
  • b7de3cad23 calc: the digit window follows _CELL_SIZE dsh 2026-11-15 16:22:50 +08:00
  • b497bf0637 examples: the desk calculator -- 12 34 + . -> > 0046 dsh 2026-11-15 16:03:45 +08:00
  • f9821f8989 calc: stage 4 verified -- four operations, one shared scratch block dsh 2026-11-11 11:18:41 +08:00
  • b2ba20b885 vms: raise the step cap from 5M to 20M dsh 2026-11-11 11:04:14 +08:00
  • b83f3b1b06 calc_disp: correct the header's tape and step count dsh 2026-11-11 11:00:53 +08:00
  • bb1a434586 calc: stage 3 verified -- prompt, four digits, newline dsh 2026-11-11 10:59:12 +08:00
  • b873d71082 calc: stage 2 verified -- the digit window and clb_undigits dsh 2026-11-11 10:22:58 +08:00
  • cc75ed7ea4 drop the CI pipeline, keep the local ctest dsh 2026-11-11 10:07:44 +08:00
  • a48adc85c6 ci: install the toolchain again, from a domestic mirror dsh 2026-11-10 19:56:14 +08:00
  • 5bc26f7762 ci: the image carries the toolchain, not the job dsh 2026-11-10 19:52:35 +08:00
  • 9b1a8fc0de ci: install cmake and g++ before configuring dsh 2026-11-10 19:51:08 +08:00
  • fa12494e43 calc: stage 1 verified -- the character dispatch of the desk calculator dsh 2026-11-10 19:47:23 +08:00
  • 3c427bb8a5 ci: cancel the previous run of the same ref when a new push arrives dsh 2026-11-10 19:44:36 +08:00
  • a891538c9d ci: push runs only the baseline; matrix on PR/manual; timeouts dsh 2026-11-10 19:42:13 +08:00
  • 692995af59 docs: the desk calculator's design and the order to build it in dsh 2026-11-10 19:35:24 +08:00
  • c53d2c38f1 ci: no cron -- the wide sweep and the cache audit are manual only dsh 2026-11-10 19:10:56 +08:00
  • c0144a2fcf ci: wire CTest and give the runner a pipeline dsh 2026-11-10 19:09:03 +08:00
  • 90feedb37b 32 bit cells: widen the VMs to uint32_t, fix the mask at 32, make width a build option dsh 2026-11-10 18:23:26 +08:00
  • 0d08fdc838 docs: collect every leftover TODO into one file dsh 2026-11-09 17:22:25 +08:00
  • d9689f81ba asm: drop the design-story comments, leave the contract (and a pointer) dsh 2026-11-09 17:20:44 +08:00
  • ae268b9442 Interactive I/O: teach the VMs INP, and let examples declare their input dsh 2026-11-09 17:14:12 +08:00
  • ebc7b7c72e docs: split the machine-local half of AGENTS.md into an ignored AGENTS.local.md dsh 2026-11-09 16:37:54 +08:00
  • a82d95658e docs: one home per fact -- README as the front door, SPEC as the contract, AGENTS as the manual dsh 2026-11-09 16:34:15 +08:00
  • ad45823768 AGENTS/SPEC: cross-checks with ROT-8-viz now need -n dsh 2026-11-09 16:25:28 +08:00
  • c4048132cc asm/undigits: the inverse of clb_digits (ASCII decimal -> integer) dsh 2026-11-09 16:17:39 +08:00
  • eacf6c01da r8forge: add -q / --quiet for a tape-only stdout dsh 2026-11-08 00:24:51 +08:00
  • 2e6d9cee86 asm/test.r8asm: call every macro, exercise every language feature dsh 2026-11-08 00:15:39 +08:00
  • b666799950 %synth: make the tape search thread count a run option (-j N) dsh 2026-11-07 23:56:37 +08:00
  • b4ea79ba91 %synth: the cost model is a run option, not a per block metric line dsh 2026-11-07 23:44:01 +08:00
  • 66ed7bc263 SPEC/AGENTS: why the bit level wrappers must keep their set_0 dsh 2026-11-07 23:31:23 +08:00
  • 3f4149c9d0 examples: one runnable routine per macro group dsh 2026-11-07 22:34:15 +08:00
  • c2cd0e827f clb_divmod: shift-and-restore division instead of repeated subtraction dsh 2026-11-07 22:22:03 +08:00
  • 677878779a AGENTS: hand off the divider rewrite at the top of the file dsh 2026-11-07 20:31:15 +08:00
  • a2154ee9ac SPEC 14: the shift-and-restore divider, worked out before it is built dsh 2026-11-07 20:29:51 +08:00
  • 9a9ca48d9a raw_sub: a subtraction that keeps its operands dsh 2026-11-07 20:24:55 +08:00
  • 91e3fed537 r8asm %for: repetition with a loop variable dsh 2026-11-07 18:05:44 +08:00
  • b962c345c8 clb_digits: derive the digit count from _CELL_SIZE dsh 2026-11-07 17:55:39 +08:00
  • a515e823d1 clb_digits: integers become a four digit ASCII string dsh 2026-11-07 17:18:02 +08:00
  • 4a5bd836a8 clb_divmod: nine parameters down to four dsh 2026-11-07 16:53:27 +08:00
  • 0b96b76104 clb_divmod: division and modulo, so digits have something to stand on dsh 2026-11-07 16:51:25 +08:00
  • b89fcb0588 SPEC 5.1: do not replace an assembly time counter with clb_ones dsh 2026-11-07 16:37:15 +08:00
  • 3cfdad4313 loop/endloop: the other half of clb_ones, runtime loop counts dsh 2026-11-07 16:33:31 +08:00
  • bfad4b5d34 clb_ones: unary expansion, a count becomes that many ones dsh 2026-11-07 16:29:17 +08:00
  • 54ddf9b0e7 SPEC.md: the %synth grammar and every standard library macro's contract dsh 2026-11-07 12:44:40 +08:00
  • ac5810580d kDefaultCellBits -> kDefaultCellSize: the width is cell_size, not cell bits dsh 2026-11-07 12:33:56 +08:00
  • 94868be24f Name the two geometry numbers the same way everywhere: cell_size, cell_argc dsh 2026-11-07 12:23:42 +08:00
  • 6e67eb4678 The multiplier: shift and add, one bit at a time, 3977 characters dsh 2026-11-07 12:06:57 +08:00
  • 9b326f3b4b AGENTS.md: read the docs before touching anything dsh 2026-11-07 11:49:00 +08:00
  • 2eb26b58d6 Say which operand the multiplier loops on, and what swapping costs dsh 2026-11-07 11:42:02 +08:00
  • 24bea4a2b5 test.r8asm: a rolling hash, (h + c) * 141 mod 2048 over R8F dsh 2026-11-07 11:35:23 +08:00
  • 330710aed4 test.r8asm: 32x32 and 64x32, the edge of an 11 bit cell dsh 2026-11-07 11:27:50 +08:00
  • 3c3e2b4779 AGENTS.md: commit ROT-8-viz with -c, its local config keeps vanishing dsh 2026-11-07 11:13:14 +08:00
  • b80b626c66 AGENTS.md: an old tape on a new cell width can loop forever dsh 2026-11-07 11:12:25 +08:00
  • 62c6f8979f Cell width and tape length: 11 bits, 259 cells, by default dsh 2026-11-07 10:56:28 +08:00
  • cfe56e164a AGENTS.md: commit as dsh, not as the repo owner dsh 2026-11-07 10:40:25 +08:00
  • 6e8e33e455 test.r8asm now multiplies as well as adds dsh 2026-11-07 10:15:58 +08:00
  • 185b4bf24a The multiplier, 3729 characters, by repeated addition dsh 2026-11-07 09:56:03 +08:00
  • a6560b72cf In place add, by looping instead of writing a carry chain dsh 2026-11-07 09:49:51 +08:00
  • 2f79898e3d In place increment in two cells, 74 characters, by counting rotations in the scratch cell's bits dsh 2026-11-07 09:40:05 +08:00
  • 349b6d2748 tape_run --trace, and the dp rule that killed the two cell increment dsh 2026-11-07 09:30:46 +08:00