Post Reply 
SATURN BASIC for HP-48G/G+/GX, HP-49G and HP-49G+/50G
05-29-2016, 10:36 AM (This post was last modified: 05-05-2022 11:38 AM by HrastProgrammer.)
Post: #29
RE: HRAST-BASIC for HP-48G/G+/GX, HP-49G and HP-49G+/50G
New 48K version 2.2 has been uploaded.

It's all about graphics mode in this version:

(*) DRAW statement
(*) LINE statement
(*) MOVE statement
(*) PLOT statement
(*) PIXEL function
(*) XDIM function
(*) YDIM function
(*) XPOS function
(*) YPOS function

At first I didn't intend to support graphics but it really provides a lot of added value to the interpreter, so I decided to pull the trigger.

Example:

Code:

CLS
INTEGER H=YDIM/2,W=<XDIM
LINE W,H TO 0,H
REAL X=0,S=2*PI/XDIM
FOR I=0 TO W
DRAW I,H*>SIN X REM PLOT I,H*>SIN X
X+S NEXT

Furthermore, some printing bugs have been fixed and two general purpose functions added: TYPE and VARTYPE.

This is probably the last "feature-oriented" HRAST-BASIC version. I don't plan to add any new features to the interpreter anymore because it now has everything I need. Of course, I will release bugfixes when required.

As far as the development is concerned, I will now concentrate more on HRAST-FORTH and the possible integration of FORTH into BASIC environment ...


Attached File(s) Thumbnail(s)
   

https://www.hrastprogrammer.com/hrastwood/
https://hrastprogrammer.bandcamp.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HRAST-BASIC for HP-48G/G+/GX, HP-49G and HP-49G+/50G - HrastProgrammer - 05-29-2016 10:36 AM



User(s) browsing this thread: 1 Guest(s)