v3's whole POST on v4 at 983 of 1010 (the table's own count with its drops), from 850.
What remains is capacity ("Dictionary full", the 100-900-deep stacks): next, as ruled.
Found and fixed under the rulings (docs/v4.0.0/POST-PARITY.md):
- IS and DEFER@ refuse a word DEFER did not make, as v3: error 22, "Not deferred".
v4's IS stored into any word -- POST's `42 IS DUP` broke DUP for every case after it.
DEFER marks its word with flag 128 (dict.f18).
- SMUDGE and HIDDEN are compile-only, as v3's table: at the prompt v4's hid the newest word.
- Q./ by zero gives 0 and no error (ruled: v3's table); error 11 retired. The ROM's,
the test's reference and its hand-assembled copy changed alike.
- FENCE is v3's: it protects what is defined so far. The variable is (FENCE).
- The line's length is (#SRC), no longer SPAN: an EXPECT in a line cut the rest of
the line off, and 0 EXPECT could not leave SPAN 0 (FORTH-83).
- POST gains V4_POST_HEAD: the values left and how the output begins -- the form of a
printout whose values are the run's own (TOP-WORDS, WORD-ENTROPY).
post_all_rules.py: the rest of the whole table where it is not taken as v3 ran it --
v4's units for the cases that wrote through HERE as a byte address (CMOVE>, BLANK,
ERASE, FILL wrote into the system's code), the standard's results (COMPARE, SEARCH,
BASE output, THRU, >BODY with FIND's address), v3's descriptions where v3 printed
otherwise, and the cases dropped with their reasons (SP@/SP! by D-2, DABS/DMIN
underflow, CMOVE>.bounds, THRU.negative_end).
make -C v4 test: all v4 tests passed (both widths, mesh-boot, inference).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
134 lines
3.1 KiB
Plaintext
134 lines
3.1 KiB
Plaintext
\ map-32.f18 -- the memory map the system's source is assembled with, 32-bit cells.
|
|
\ Generated by v4/tools/mkmap.c (mkmap sys) from v4/tests/host_map.h -- do not edit.
|
|
constant N-1 31
|
|
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) 15706
|
|
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 8
|
|
constant MSB -2147483648
|
|
constant MAXHI 2147483647
|
|
constant HIMASK 65535
|
|
constant 2N+15 79
|
|
constant N-18 14
|
|
constant N-17 15
|
|
constant MAX-INT 2147483647
|
|
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
|