Captain Bob, 2026-11-14: "v3" ... "we can always change it late". v3 counts an execution per token its (C) interpreter takes and per word its definitions run. Measured on 8 lines, counting every call on v4 gave ~700 to v3's one for typed lines (the F18 interpreter's own calls) but 1:1 in compiled code, so no single HEARTBEAT_CHECK_FREQUENCY could match v3. Now INTERPRET counts its tokens in (TOKENS) -- one F18 store, the map gains the cell -- and the kernel adds them at each call; a call counts, and gets physics, only from dictionary space or as INTERPRET's or EXECUTE's dispatch (the image gains their addresses). The knob stays at v3's 256. test_inference.c out of the per-width tests (its own rule). Tests first: test_mesh_boot.c 90, 99 on, 87 without opcode physics; v4 test all pass. amd64 PASS, 181 s, dict_hash 0x5c53b2e18343a9b6. Not pushed (held to the end of Phase 7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
133 lines
3.1 KiB
Plaintext
133 lines
3.1 KiB
Plaintext
\ map-64.f18 -- the memory map the system's source is assembled with, 64-bit cells.
|
|
\ Generated by v4/tools/mkmap.c (mkmap sys) from v4/tests/host_map.h -- do not edit.
|
|
constant N-1 63
|
|
constant NODE-ERROR 16382
|
|
constant CONSOLE-TX 16380
|
|
constant CONSOLE-RX 16378
|
|
constant CONSOLE-STATUS 16377
|
|
constant BASE 16376
|
|
constant TIB 63776
|
|
constant >IN 16375
|
|
constant SPAN 16374
|
|
constant WBUF 64856
|
|
constant (P) 16360
|
|
constant DP 16373
|
|
constant (LATEST) 16372
|
|
constant DBASE 32768
|
|
constant DLIMIT 55296
|
|
constant PAD 63656
|
|
constant (D) 16352
|
|
constant (CG) 16336
|
|
constant CG-BSLOTS 3
|
|
constant STATE 16371
|
|
constant (C) 16322
|
|
constant (CFP) 16370
|
|
constant (Q) 14673
|
|
constant (F) 16279
|
|
constant (S) 15812
|
|
constant (W) 16285
|
|
constant (X) 15792
|
|
constant (HOT) 15757
|
|
constant (BOOT) 15715
|
|
constant (NEXT-ID) 15711
|
|
constant (TOKENS) 15713
|
|
constant (BOOT-ID) 15712
|
|
constant (LOG-LEVEL) 14672
|
|
constant (ACL-HOOK) 14671
|
|
constant SCR 15707
|
|
constant BLK 15708
|
|
constant (SRC) 15709
|
|
constant (SRC-HOOK) 15710
|
|
constant (LINE-STATUS) 14668
|
|
constant (PORT) 14537
|
|
constant (ME) 14664
|
|
constant (CONSOLE) 14661
|
|
constant (ROUTE#) 14660
|
|
constant (ROUTE-DEFAULT) 14659
|
|
constant (LOST) 14658
|
|
constant (PRINT-TO) 14657
|
|
constant (PRINT-PORT) 14644
|
|
constant (DONE-PORT) 14643
|
|
constant (ROUTES) 14581
|
|
constant -PORTS -8
|
|
constant (NEAR) 14613
|
|
constant (AWAIT-FROM) 14638
|
|
constant (WIRE) 14549
|
|
constant (WIRE-A) 14550
|
|
constant (WIRE-B) 14551
|
|
constant (WIRE-DO) 14552
|
|
constant (WIRE-HOW) 14553
|
|
constant (WIRE-HAVE) 14554
|
|
constant (S-HAVE) 14642
|
|
constant (S-MASK) 14641
|
|
constant (S-WIRE) 14640
|
|
constant (S-ON) 14639
|
|
constant (KEEP) 14637
|
|
constant (DEFER) 14636
|
|
constant (D-MASK) 14669
|
|
constant (IN) 14621
|
|
constant (ONE) 14628
|
|
constant (OUT-HDR) 14565
|
|
constant (W-NEED) 14572
|
|
constant (W-PORT) 14573
|
|
constant (P-WAY) 14574
|
|
constant (P-NEED) 14577
|
|
constant (H-PORT) 14578
|
|
constant (H-NEED) 14579
|
|
constant (H-MASK) 14580
|
|
constant (A-SELF) 14575
|
|
constant (SEND^) 14576
|
|
constant (OUT-TEXT) 14213
|
|
constant (SEND-TEXT) 13877
|
|
constant (QUIET) 14667
|
|
constant (REFUSED) 14670
|
|
constant (OUT^) 14663
|
|
constant (REPLY) 14662
|
|
constant (MSG) 14629
|
|
constant (OUT) 14277
|
|
constant (WORD-DEFINED) 14666
|
|
constant (WORD-FORGOTTEN) 14665
|
|
constant BLOCK# -1
|
|
constant BUFFER# -2
|
|
constant UPDATE# -3
|
|
constant SAVE-BUFFERS# -4
|
|
constant EMPTY-BUFFERS# -5
|
|
constant (Q/) 15717
|
|
constant (QE) 15722
|
|
constant (QR) 15730
|
|
constant (QL) 15735
|
|
constant (QT) 15742
|
|
constant (QP) 15748
|
|
constant (DP) 15752
|
|
constant ADDR-DIGITS 16
|
|
constant MSB -9223372036854775808
|
|
constant MAXHI 9223372036854775807
|
|
constant HIMASK 281474976710655
|
|
constant 2N+15 143
|
|
constant N-18 46
|
|
constant N-17 47
|
|
constant MAX-INT 9223372036854775807
|
|
constant HLD 16359
|
|
constant FENCE 16358
|
|
constant CONTEXT 16320
|
|
constant CURRENT 16321
|
|
constant VOC-LINK 16334
|
|
constant HEND 63248
|
|
constant -HFLOOR -63186
|
|
constant DSTACK-DEPTH 16369
|
|
constant RSTACK-DEPTH 16368
|
|
constant HEAT-OP 13824
|
|
constant (EXEC) 14655
|
|
constant (RUNX) 14562
|
|
constant ANTICLOCK 13856
|
|
constant CFBASE 16288
|
|
constant CFEND 16320
|
|
constant ROM-UM* 16384
|
|
constant ROM-UM/MOD 16385
|
|
constant ROM-D+ 16386
|
|
constant ROM-DNEGATE 16387
|
|
constant ROM-Q.* 16388
|
|
constant ROM-Q./ 16389
|
|
constant DICT-W 8192
|
|
constant (IMG) 14558
|