Jump to content

Photo

fbForth Updates

fbForth Forth TI Forth

35 replies to this topic

#26 Lee Stewart OFFLINE  

Lee Stewart

    River Patroller

  • Topic Starter
  • 3,766 posts
  • Location:Silver Run, Maryland

Posted Tue Oct 24, 2017 10:13 AM

I just posted my fbForth 2.0 version of Dark Star, which was ported (with permission) from Mark Wills’ TurbForth version.

 

...lee



#27 Lee Stewart OFFLINE  

Lee Stewart

    River Patroller

  • Topic Starter
  • 3,766 posts
  • Location:Silver Run, Maryland

Posted Fri Nov 10, 2017 1:33 PM

A new FBLOCKS ZIP file has been posted on fbforth.stewkitt.com in “Downloads-->System Files” as well as in post #1 of the fbForth development thread.  It adds a new welcome screen that allows choosing white-on-blue text modes instead of the usual blue-on-white, as well as reports of SAMS capability and low and high memory amounts.  It also offers ports of TurboForth's BLK>FILE and FILE>BLK utilities.

 

...lee



#28 atrax27407 OFFLINE  

atrax27407

    Stargunner

  • 1,067 posts

Posted Sat Nov 11, 2017 12:24 PM

Here is a screen shots of my customized fbFORTH boot screen.

Attached Files



#29 atrax27407 OFFLINE  

atrax27407

    Stargunner

  • 1,067 posts

Posted Sat Nov 11, 2017 12:25 PM

Ana a screen shot of my MENU screen.

Attached Files



#30 Lee Stewart OFFLINE  

Lee Stewart

    River Patroller

  • Topic Starter
  • 3,766 posts
  • Location:Silver Run, Maryland

Posted Sun Nov 12, 2017 1:25 PM

Here is the latest startup, with choosing white on blue for text modes:

 

Attached File  fbforth_startup20171110.gif   257.12KB   1 downloads

 

...lee



#31 Ksarul OFFLINE  

Ksarul

    River Patroller

  • 4,784 posts

Posted Sun Nov 12, 2017 4:50 PM

That looks very nice on the eyes, Lee. . .



#32 Willsy OFFLINE  

Willsy

    River Patroller

  • 3,079 posts
  • Location:Uzbekistan (no, really!)

Posted Wed Nov 15, 2017 3:47 AM

I just posted my fbForth 2.0 version of Dark Star, which was ported (with permission) from Mark Wills TurbForth version.
 
...lee

That's great! Runs lovely in fbForth. Did you find it straightforward to port? I seem to remember I wrote the code in a self-documenting style.

Edited by Willsy, Wed Nov 15, 2017 3:48 AM.


#33 Lee Stewart OFFLINE  

Lee Stewart

    River Patroller

  • Topic Starter
  • 3,766 posts
  • Location:Silver Run, Maryland

Posted Wed Nov 15, 2017 10:06 AM

That's great! Runs lovely in fbForth. Did you find it straightforward to port? I seem to remember I wrote the code in a self-documenting style.

 

Though porting of Dark Star was not really straightforward, the way you wrote the code definitely made the job easier.  Here is some of what I had to change:

  • DATA[ ... ]DATA for <count> DATA ...
  • ' <word> CFA for ' <word>
  • 0= for NOT (fbForth uses 1 for returning TRUE; TurboForth returns -1)
  • <value> VARIABLE <word> for CREATE <word> <value> , ( CREATE works differently in fbForth)
  • convert numbers with leading $
  • Reorder stack arguments for GCHAR HCHAR COLOR
  • ?KEY for KEY?
  • Define U0. using <# # # # # # #> for U. with leading zeros
  • JCRU with player 1 for JOYST with player 0 (fbForth does have JOYST , but it works differently)
  • To keep the logic for BrickRows the same, I had to trick fbForth into believing the end of the screen was 1 character beyond its normal position
  • Changed definition of 'LevelData from using C, to a multi-block DATA[ ... ]DATA (This was not really necessary, but dramatically reduced load time)
  • To retain much of the logic, I defined several TurboForth utility words missing from fbForthVALUE TO +TO 2* CELLS -ROT PICK <> >>

There may have been a couple of other changes, but the above was the bulk of it and, as you can see, not exactly straightforward.

 

...lee



#34 Sinphaltimus OFFLINE  

Sinphaltimus

    River Patroller

  • 2,514 posts
  • Distracted at the Keyboard
  • Location:Poconos, PA

Posted Thu Jan 18, 2018 6:52 PM

Hi Lee,

 

Quick noobs question.

I downloaded the classic99 files. When Unzipped (except the 8k bins of course) in the FBLocks folder there are 6 files plus 3 DSK files.

I'm looking to create whatever disk images I need to use on my real iron. That means using the GoTek and creating HFE files instead of DSK files.

Do I just copy all 9 files into a single floppy hfe image and I'm done? I'll have whatever disk fbforth wants? I ask because all of the files together (according to windows) equates to 984KB. That sounds like too much for a single hfe disk. Or are those three DSK files separate floppy disk images? I tried looking at the contents but they contain more DSK files named after the parent so something strange, almost like a weird inception if you keep drilling down. So I' a bit out of sorts on this one.

 


Edited by Sinphaltimus, Thu Jan 18, 2018 6:53 PM.


#35 Lee Stewart OFFLINE  

Lee Stewart

    River Patroller

  • Topic Starter
  • 3,766 posts
  • Location:Silver Run, Maryland

Posted Thu Jan 18, 2018 8:51 PM

Hi Lee,

 

Quick noobs question.

I downloaded the classic99 files. When Unzipped (except the 8k bins of course) in the FBLocks folder there are 6 files plus 3 DSK files.

I'm looking to create whatever disk images I need to use on my real iron. That means using the GoTek and creating HFE files instead of DSK files.

Do I just copy all 9 files into a single floppy hfe image and I'm done? I'll have whatever disk fbforth wants? I ask because all of the files together (according to windows) equates to 984KB. That sounds like too much for a single hfe disk. Or are those three DSK files separate floppy disk images? I tried looking at the contents but they contain more DSK files named after the parent so something strange, almost like a weird inception if you keep drilling down. So I' a bit out of sorts on this one.

 

I presume you mean the current ZIP file, fbForth200_20171019.zip.  That ZIP file contains the cartridge binary (fbForth200_9.bin) and 2 other ZIP files (fbForthBinPack_20171019.zip  FBLOCKS_20171019.zip).

 

FBLOCKS_20171019.zip has all of the blocks files (FBLOCKS  JESU  TESTBLKS) and font files (FBFONT  CHARA1FBF  CHAR@1FBF) in the TI format I created them in in Classic99, as well as the three disk images you saw (FB4TH200A.DSK  FB4TH200B.DSK  FB FBFORTH200.DSK).

 

Those disk images are different sizes (90 KiB, 360 KiB and 400 KiB) and each contain some or all of the blocks and font files listed above.  They will not all fit on the 90-KiB image.  All of those files plus one more (HILO) are on each of the other two images.  The 400-KiB disk image is for a nanoPEB or CF7+.

 

The only files you need copied to the HFE image are FBLOCKS and FBFONT.  The other 5 are extra blocks and font files you might have fun with.  For instance, the HILO blocks file contains the number guessing game I presented in Evanston in October.

 

Also, I am guessing you looked at the contents of the DSK disk image files with TI99dir when you saw the image name repeated in the left column for every file in the image.  That is just the PC name and, yes, seeing it repeated seems awkward—it trips me up once in a while, too.  The important names are the TI names and the listing is information for each of the files in the image, one per line.

 

Sorry if this explanation is overkill.  I will try to be briefer next time <just kidding>.

 

...lee



#36 Sinphaltimus OFFLINE  

Sinphaltimus

    River Patroller

  • 2,514 posts
  • Distracted at the Keyboard
  • Location:Poconos, PA

Posted Fri Jan 19, 2018 9:26 AM

Thanks Lee. I'll probably put all the files in one HFE and convert the 400kb dsk to an hfe and call it a day. I'm not ready to start playing with fbForth yet, I still do not have that initial understanding of the underlying structure and AL stuff. I just thought it was time to pick up the book and start reading and getting the disks ready that I may need for when the day comes. I keep your book and cart out next to my PEB console so I never forget about it. And working on my system yesterday I decided to at least get started with it. :)


Edited by Sinphaltimus, Fri Jan 19, 2018 9:27 AM.






Also tagged with one or more of these keywords: fbForth, Forth, TI Forth

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users