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

Improved output of DUMP #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion forth16/extend80.4th
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ VARIABLE SOURCE-LINK
16 0 DO
DUP I + C@ 0 <# # # #> TYPE
LOOP
SPACE
16 0 DO
DUP I + C@ DUP 32 < OVER 127 = OR IF DROP ." ." ELSE EMIT THEN
LOOP
Expand All @@ -271,7 +272,7 @@ VARIABLE SOURCE-LINK
\G Show a hex/ascii dump of the memory block of len bytes at addr
7 + 4 RSHIFT 0 DO
DL ?TERMINAL IF LEAVE THEN
LOOP DROP ;
LOOP DROP CR ;

: H. ( u ----)
BASE @ >R HEX U. R> BASE ! ;
Expand Down
3 changes: 2 additions & 1 deletion forth24/extend24.4th
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ CONSTANT ROOT-WORDLIST ( --- wid )
16 0 DO
DUP I + C@ 0 <# # # #> TYPE
LOOP
SPACE
16 0 DO
DUP I + C@ DUP 32 < OVER 127 = OR IF DROP ." ." ELSE EMIT THEN
LOOP
Expand All @@ -238,7 +239,7 @@ CONSTANT ROOT-WORDLIST ( --- wid )
\G Show a hex/ascii dump of the memory block of len bytes at addr
7 + 4 RSHIFT 0 DO
DL ?TERMINAL IF LEAVE THEN
LOOP DROP ;
LOOP DROP CR ;

: H. ( u ----)
BASE @ >R HEX U. R> BASE ! ;
Expand Down