Skip to content
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

Add priority aliaslist.fs feature for EEALIAS to genalias.awk #265

Closed
TG9541 opened this issue Aug 12, 2019 · 2 comments
Closed

Add priority aliaslist.fs feature for EEALIAS to genalias.awk #265

TG9541 opened this issue Aug 12, 2019 · 2 comments
Assignees

Comments

@TG9541
Copy link
Owner

TG9541 commented Aug 12, 2019

A priority feature is required for selecting Forth words that are to be added to a dictionary in the EEPROM using EEALIAS.

@TG9541 TG9541 self-assigned this Aug 12, 2019
TG9541 added a commit that referenced this issue Aug 16, 2019
TG9541 added a commit that referenced this issue Aug 16, 2019
@TG9541
Copy link
Owner Author

TG9541 commented Aug 16, 2019

The MINIDICT option now marks half of the dictionary for use with EEALIAS. This enables a full dictionay in 4K Flash and 608 Bytes EEPROM:

words
  RESET RAM NVM LOCK ULOCK WORDS .S DUMP IMMEDIATE CONSTANT ] : ; OVERT ." 
REPEAT WHILE THEN IF BEGIN DO LITERAL C, , ' CR [ \ ( ? . U. +! 0= NOT 1+ 1- 2+ 
2- 2* 2/ */ */MOD * / /MOD M/MOD UM/MOD < U< = BG TIM -1 1 0 BASE - 0< OR + I 
OVER SWAP DUP DROP >R R@ R> C! C@ ! @ 2@ 2! COLD 'BOOT COUNT HEX MAX M* #> <# 
AFT TYPE ?RX ?KEY ABS ADC@ SIGN FOR EXECUTE XOR UM+ UM* U.R AGAIN ALLOT KEY 
?DUP EMIT SPACE +LOOP ADC! NEXT DNEGATE DECIMAL ELSE UNTIL CALL, ROT DEPTH NIP 
LOOP CREATE # 2DUP TX! MOD [COMPILE] ABORT 2DROP COMPILE LEAVE #S FILL MIN CMOVE 
PICK DOES> HOLD NEGATE IRET SAVEC AND HERE  ok

The following "eForth+" features are included:

  • case-insensitive dictionary
  • binary and decimal number prefixes
  • background task BG and TIM
  • STM8 ADC with ADC! and ADC@
  • DO ... LEAVE ... +LOOP
  • CREATE ... DOES>

@TG9541
Copy link
Owner Author

TG9541 commented Oct 24, 2019

The method for design of the default priority list (and changing the list) still needs some work, but it's now in the development release.

@TG9541 TG9541 closed this as completed Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant