Jump to content
IGNORED

[Forth] Playing with PMG's in ES Forth (English Softwware Forth)


Recommended Posts

The manual at Atarimania is a low DPI scan but played around with a few samples showing how to manipulate PMG's etc. Also added a short video showing result. You can also use shapes per PMG to also do animation in a PMG. Here is the code for this sample

 

( PM-Graphics Demo # 2 )
Forth Definitions Decimal
: Task ;
: PDAT 1 2 3 4 5 5 ;
: MDAT 1 2 1 2 1 5 ;
: Demo2 4 0 Do PDAT I PLOAD
     MDAT I MLOAD
     I 120 120 PPLOT I 120 120 MPLOT
     I I 3 * 4 PCOL LOOP
BEGIN 4 0 DO
I 2 I PMOVE
I 2 I 4 + MMOVE LOOP
?TERMINAL UNTIL ;
1 GRAPHICS 1 PM-GRAPHICS

DEMO2

 

Anyone have a better scan of the ES Forth manual or more information - did you ever use it?

ESFORTH.zip

Link to comment
Share on other sites

I have not seen a good copy of the documentation.

 

Sorry this is a bit off topic, but is there any reason you want to use ES forth?

 

Have a look at the forth section on Carsten's Wiki. He has a selection of more "Modern", and better documented, forth version for the 8bit.

 

X-forth and Volks Forth are good options

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...