capsules/v4/sys: the nucleus's fourteen sources as .f18 blobs (made once by v4/tools/v4tof18.py: header becomes the ROM's directives, every other token and line kept), the memory map as map-<width>.f18 (mkmap sys, from one table in host_map.h that host_load reads too), and end.f18, the switch-on state mkimage.c set in C, the image record, and start (IDLE). test_host_rom_nucleus.c: the ROM, fed those blobs through the console, builds RAM identical word for word to mkimage.c's, outside its own state and the image record, and starts at (IDLE), at both widths. The cost: 60.7 million instructions, 1.5 s on the C model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
119 lines
2.8 KiB
Plaintext
119 lines
2.8 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) 14708
|
|
constant (F) 16279
|
|
constant (S) 15812
|
|
constant (W) 16285
|
|
constant (X) 15792
|
|
constant (BOOT) 15750
|
|
constant (LOG-LEVEL) 14707
|
|
constant (ACL-HOOK) 14706
|
|
constant SCR 15742
|
|
constant BLK 15743
|
|
constant (SRC) 15744
|
|
constant (SRC-HOOK) 15745
|
|
constant (LINE-STATUS) 14703
|
|
constant (PORT) 14572
|
|
constant (ME) 14699
|
|
constant (CONSOLE) 14696
|
|
constant (ROUTE#) 14695
|
|
constant (ROUTE-DEFAULT) 14694
|
|
constant (LOST) 14693
|
|
constant (PRINT-TO) 14692
|
|
constant (PRINT-PORT) 14679
|
|
constant (DONE-PORT) 14678
|
|
constant (ROUTES) 14616
|
|
constant -PORTS -8
|
|
constant (NEAR) 14648
|
|
constant (AWAIT-FROM) 14673
|
|
constant (WIRE) 14584
|
|
constant (WIRE-A) 14585
|
|
constant (WIRE-B) 14586
|
|
constant (WIRE-DO) 14587
|
|
constant (WIRE-HOW) 14588
|
|
constant (WIRE-HAVE) 14589
|
|
constant (S-HAVE) 14677
|
|
constant (S-MASK) 14676
|
|
constant (S-WIRE) 14675
|
|
constant (S-ON) 14674
|
|
constant (KEEP) 14672
|
|
constant (DEFER) 14671
|
|
constant (D-MASK) 14704
|
|
constant (IN) 14656
|
|
constant (ONE) 14663
|
|
constant (OUT-HDR) 14600
|
|
constant (W-NEED) 14607
|
|
constant (W-PORT) 14608
|
|
constant (P-WAY) 14609
|
|
constant (P-NEED) 14612
|
|
constant (H-PORT) 14613
|
|
constant (H-NEED) 14614
|
|
constant (H-MASK) 14615
|
|
constant (A-SELF) 14610
|
|
constant (SEND^) 14611
|
|
constant (OUT-TEXT) 14248
|
|
constant (SEND-TEXT) 13912
|
|
constant (QUIET) 14702
|
|
constant (REFUSED) 14705
|
|
constant (OUT^) 14698
|
|
constant (REPLY) 14697
|
|
constant (MSG) 14664
|
|
constant (OUT) 14312
|
|
constant (WORD-DEFINED) 14701
|
|
constant (WORD-FORGOTTEN) 14700
|
|
constant BLOCK# -1
|
|
constant BUFFER# -2
|
|
constant UPDATE# -3
|
|
constant SAVE-BUFFERS# -4
|
|
constant EMPTY-BUFFERS# -5
|
|
constant (Q/) 15752
|
|
constant (QE) 15757
|
|
constant (QR) 15765
|
|
constant (QL) 15770
|
|
constant (QT) 15777
|
|
constant (QP) 15783
|
|
constant (DP) 15787
|
|
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 CFBASE 16288
|
|
constant CFEND 16320
|
|
constant DICT-W 8192
|
|
constant (IMG) 14593
|