Author Topic: REAL 'oldies' might remember "Forth" !!  (Read 4263 times)

0 Members and 1 Guest are viewing this topic.

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: REAL 'oldies' might remember "Forth" !!
« Reply #25 on: December 31, 2017, 02:59:27 am »
The Sun boot monitor is written in forth, It allowed the devices to initialize themselves.  Hence the "OK  prompt.  You could really do a lot if you understood the design model.
 

Offline GlennSpriggTopic starter

  • Super Contributor
  • ***
  • Posts: 1259
  • Country: au
  • Medically retired Tech. Old School / re-learning !
Re: REAL 'oldies' might remember "Forth" !!
« Reply #26 on: January 02, 2018, 12:45:16 pm »
To 'Maxlor'...... My mind must be slow today. It took me ages to realize
what you meant, in re-quoting my word as "unFORTHunately"  :)
Diagonal of 1x1 square = Root-2. Ok.
Diagonal of 1x1x1 cube = Root-3 !!!  Beautiful !!
 

Offline NivagSwerdna

  • Super Contributor
  • ***
  • Posts: 2495
  • Country: gb
Re: REAL 'oldies' might remember "Forth" !!
« Reply #27 on: January 02, 2018, 01:24:15 pm »
I ported FIG FORTH to the Schools Commodore PET as my lower sixth (equiv Junior at High School in US) project.    :)

https://www.amazon.co.uk/Threaded-Interpretive-Languages-R-G-Loeliger/dp/007038360X was the starting point for my interest

I have GForth on my Android phone.  :D

Happy New Year!

 
 

Offline borjam

  • Supporter
  • ****
  • Posts: 908
  • Country: es
  • EA2EKH
Re: REAL 'oldies' might remember "Forth" !!
« Reply #28 on: January 02, 2018, 01:51:11 pm »
I was member of the Forth Interest Group even.

At the time it was an amazing tool for embedded systems. I remember that around 1990 I wrote a multitasking kernel that included "language extensions" to define a special kind of word, a TASK.

A task would have an initialization section and a runtime section. The initialization section would be run once when the process was created in RAM (everything was stored in EPROM) and the runtime was the general code of the task.

It was defined somewhat like this:

TASK THIS_IS_A_TASK
INIT>
     do this, initialize this device, blah blah
;INIT
RUNTIME>
     the task code, most often a loop of some kind.
;RUNTIME

So, TASK, INIT> and RUNTIME> were actually words that controlled the compiler creating the task description blocks to be stored in EPROM and arranged all the data structures. As part of the system boot one just had to invoke "START-KERNEL" (or something like that, I don't remember the name) and it went through the linked list of tasks to initialize, creating their data structures in RAM, invoking the INIT sections and, finally starting the multitasking kernel itself.

And Forth still has more users than many would suspect. Although I admit that it doesn't fare well with the current level of software complexity.
 
The following users thanked this post: NivagSwerdna, GlennSprigg

Offline Stray Electron

  • Super Contributor
  • ***
  • Posts: 2048
Re: REAL 'oldies' might remember "Forth" !!
« Reply #29 on: January 07, 2018, 09:07:23 pm »
  I still have my package of Poly Forth (for the IBM PC) from Charles Moore sitting on my bookshelf.  I also still have two Forth ROM packages for the HP-71.  No, not for sale!
 

Offline xygor

  • Regular Contributor
  • *
  • Posts: 227
  • Country: us
Re: REAL 'oldies' might remember "Forth" !!
« Reply #30 on: January 07, 2018, 10:44:41 pm »
The thread's gotten this far and no one has mentioned GreenArrays ?!
 

Offline GlennSpriggTopic starter

  • Super Contributor
  • ***
  • Posts: 1259
  • Country: au
  • Medically retired Tech. Old School / re-learning !
Re: REAL 'oldies' might remember "Forth" !!
« Reply #31 on: January 08, 2018, 12:39:03 pm »
To 'xygor' ,... (and too many others to thank!)....
I'm an old-bastard !! but I had never heard of "GreenArrays" until I just looked it up.....
   http://www.greenarraychips.com
Diagonal of 1x1 square = Root-2. Ok.
Diagonal of 1x1x1 cube = Root-3 !!!  Beautiful !!
 

Offline rhb

  • Super Contributor
  • ***
  • Posts: 3481
  • Country: us
Re: REAL 'oldies' might remember "Forth" !!
« Reply #32 on: January 09, 2018, 08:11:40 pm »
Sigh....

I hope the GreenArrays or *really* expensive so I don't buy a couple.  It looks very interesting.
 

Offline kultakala

  • Regular Contributor
  • *
  • Posts: 111
  • Country: de
Re: REAL 'oldies' might remember "Forth" !!
« Reply #33 on: January 17, 2018, 11:14:58 am »
I am not into programming, but can remember the time when it was common...

May the Forth be with you! ;)
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: REAL 'oldies' might remember "Forth" !!
« Reply #34 on: January 18, 2018, 06:46:51 pm »
I remember playing with Forth on my Sun workstations, haven't fired one of those up in ages now, I should see if they still work.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf