-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port missing words to new HMSL #79
Comments
I ported FEMIT and LOGTO. LOGTO used to redirect TYPE but now it redirects EMIT. |
I make extensive use of DUMP.SOURCE to save dynamically built shapes and other objects to text files. It is not clear to me what the ported status is of any of the text file I/O functions or of Log functions, which I believe includes DUMP.SOURCE. HMSL finds that word, but executing it from within my code requires a bracketed use of $LOGTO and LOGEND. |
I have most of the Forth code ported. I am now working on the pForth kernel I/O, which needs to use a vectored version of EMIT |
For porting Floating Point code from HMSL/H4th to PHMSL/P4th, is there documentation somewhere for mapping specific words/methods/functions from one platform to the other? I was able to include pforth-xcode/fth/floats.fth but my old HMSL code like this fails: : int_1000 ( -f- -- decimal , convert float value to decimal * 1000 ) (and) base-wt float matches float total-matches float f/ class-wt float f* f+ f>i -> loc (and) cnt float num-cases float f/ 1000 float f* f>i -> weight ( fp has 3 places ) |
HMSL float words defined here: ANSI words defined here: Some of the HMSL float words missing from PForth are: |
Also missing F>TEXT F.R PLACES FNUMBER? |
Add words or files here that need to be ported. From Robert:
Logto
Textfiles, FSEEK, etc
Floating Point
Debugger, debug{
The text was updated successfully, but these errors were encountered: