Thanks for the message and sorry for taking 5 months to reply, I somehow lost my login details...but I just found them again!
Your comments make it a lot clearer now, and, for now, I'm thus ignoring DUAL.
Things on my project have moved on, though only slowly.
I have a game called 2048 mostly working, that I ported from Gforth Rosetta Code. It runs fine on the terminal, though it's horrendously slow right now on the vector display. A turn-based game with a terminal user interface doesn't run well on a machine with no screen buffer and a requirement for a 50Hz screen refresh - optimization is needed!
A couple of things that were missing in CamelForth that I needed to tweak; no CASE statement (used IF/ELSE/THEN) and no ?DO, (used ?DUP IF...THEN). Maybe I'll add them nativel later on.
I have also learned a lot about Git and expect to use GitHub for hosting my source code, just as soon as I get something together that's a little presentable.
In the USER area, near the bottom of the below table, I see 128 USER PAD.
This seems like an strange number, is there any reason it is $128 and not, say $140 ?
Thanks, Phil
\ High level: system variables and constants (c) 31mar95 bjr
HEX -80 USER TIB \ -- a-addr Terminal Input Buffer
0 USER U0 \ -- a-addr current user area adrs
2 USER >IN \ -- a-addr holds offset into TIB
4 USER BASE \ -- a-addr holds conversion radix
6 USER STATE \ -- a-addr holds compiler state
8 USER DP \ -- a-addr holds dictionary pointer
0A USER 'SOURCE \ -- a-addr two cells: length, address
0E USER LATEST \ -- a-addr last word in dictionary
10 USER HP \ -- a-addr HOLD pointer
12 USER LP \ -- a-addr leave-stack pointer
100 USER S0 \ -- a-addr end of parameter stack
128 USER PAD \ -- a-addr user PAD buffer/end of hold
180 USER L0 \ -- a-addr bottom of leave stack
200 USER R0 \ -- a-addr end of return stack
"Moving Forth," the series of articles that led to CamelForth, is now available as an Amazon Kindle e-Book. All thanks to Juergen Pintaske and his Forth Bookshelf project!
AmForth for the AVR8 A small, open-source, ANS compatible Forth for AVR8/ATMega microcontrollers.
naken_asm Assembler A multi-CPU assembler for MSP430, ARM, AVR, dsPIC, 65xx, Z80, and others (more on the way). This is the preferred tool for MSP430 CamelForth.
Latest Forum Posts Posted by Phillip Eaton Many thanks for the clarification! 16 May : 22:59
Posted by Brad R Oh, yes. dpANS-6, section 3.3.3.6:"The size of th[more ...] 16 May : 22:56
Posted by Brad R There was some reason I wanted PAD to hold 80 char[more ...] 16 May : 22:52