Download DB006 - GreenArrays
Transcript
DB006 G144A12 polyFORTH Supplement 4.6 Source Code Management Various tools assist in management of source code. To assist in seeing the "big picture" of source code organizaation and navigation, the following are provided: QX ( n) displays the 60 block index page that contains block n without changing the Editor's focus. NX displays a QX of the index page following that most recently displayed. BX displays a QX of the index page preceding that most recently displayed. SX toggles between the QX most recently displayed and shadows for same. AX displays a QX of the index page containing the block on which the Editor is focused. LOCATE (_) If the word following LOCATE is currently defined in the dictionary, displays the source block that defined it, if possible. The EDITOR cursor position is not included in the LOCATE field on this system since its cost is too great in 16-bit environments. 4.6.1 Source Code Organization The code is grossly organized in "index pages" of sixty blocks, hence the relevance of the above display functions. Assignments are as follow: Origin Content 30 0 Binary nucleus image in [0..8]. entitlements follow, along with utilities. 9 is the HI load block. Basic DISKING and nucleus maintenance 60 Nucleus source for target compilation, including the Editor. 120 Additional entitlements and options. This page and the one at 180 may be re-used for application code if SPI flash is being used as main mass storage in the configuration with 480 blocks of backup. 180 Math routines. 240 Benchmarks and test code, will eventually move to 480. 300 --- 360 --- 420 Reserved for F18 development and testing tools. 480 Test code 540 Networking Package: Mechanism, configuration, Ethernet driver 600 ARP, IPv4, ICMP, UDP, clients 660 TCP, Service mechanism 720 Higher level protocols 780 Net printing 840 to 2400 --- Copyright© 2010-2011 GreenArrays, Inc. 9/23/12