6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Apr 25, 2024 9:15 pm

All times are UTC


Search found 6049 matches
Search term used: forth Search these results:

Author Message

 Forum: Forth   Topic: A Pair of Forth's for the L-Star, Replica1, and Apple 1

Posted: Thu Apr 25, 2024 4:17 pm 

Replies: 4
Views: 2410


TaliForth 1.0 is a dead Forth as TaliForth 2.0 is a complete redesign. So I stopped using it a while back and removing the C02 dependencies isn't worth it.

Does VolksForth need a C02 as well?

Probably the best strategy is getting FigForth running which is also in my report as well.

 Forum: Programming   Topic: No love for FORTRAN?

 Post subject: Re: No love for FORTRAN?
Posted: Wed Apr 24, 2024 6:19 am 

Replies: 42
Views: 6528


... macros to become a crutch. I still have to learn how to have arithmetic expressions in assembly that look like in a higher language (not RPN or FORTH). Well, good luck on that.  There is no concept of algebraic precedence in assembly language.  If anything, it’s more like RPN, in that you copy ...

 Forum: Programming   Topic: No love for FORTRAN?

 Post subject: Re: No love for FORTRAN?
Posted: Wed Apr 24, 2024 12:02 am 

Replies: 42
Views: 6528


... without using labels. I still have to learn how to have arithmetic expressions in assembly that look like in a higher language (not RPN or FORTH). And I have some clue how to pass parameters without a stack and maybe how to have local variables without stack. I need to learn more about ...

 Forum: Forth   Topic: Fleet Forth design considerations

Posted: Tue Apr 23, 2024 10:37 pm 

Replies: 334
Views: 589266


Fleet Forth is not a multi user Forth system. It was designed for one person to use at a time on a Commodore 64. Fleet Forth supports multitasking with background tasks. With this in mind the Fleet Forth system has only ten ...

 Forum: Forth   Topic: A Pair of Forth's for the L-Star, Replica1, and Apple 1

Posted: Tue Apr 23, 2024 1:14 am 

Replies: 4
Views: 2410


Looks like this is built for the 65C02, so it won't run on a true emulation of an Apple-1 (or real Apple-1), which uses the original 6502. Any chance you could produce a build for regular 6502?

(I realize this reply is about a decade late.)

 Forum: Forth   Topic: A Finite State Machine Engine in Forth

Posted: Fri Apr 19, 2024 12:09 am 

Replies: 12
Views: 9238


... this is not a problem with the Isomax or Isopod microcontrollers because the background chain of state machines is run by an interrupt. With my Forth running on the Commodore 64, a -LOOPVAR doesn't work as well as a DOWN-COUNTER . Here is the source for a finite state machine demo using a DOWN-COUNTER ...

 Forum: Forth   Topic: Fleet Forth design considerations

Posted: Thu Apr 18, 2024 11:49 pm 

Replies: 334
Views: 589266


Here is DOWN-COUNTER for Fleet Forth. : DOWN-COUNTER 2VARIABLE ( -- ) DOES> ( -- ADR ) JIFFY@ DROP OVER 2+ @ OVER - 0 MIN 2PICK +! OVER 2+ ! ; That ' 0 MIN ' is to handle the case when the jiffy timer resets to zero when it reaches twenty ...

 Forum: Forth   Topic: Hangman game written in Tali Forth 2

Posted: Thu Apr 18, 2024 9:48 pm 

Replies: 0
Views: 32


Hi folks, I've written a Hangman game in Forth for my Planck 65C02 system. It's written in Tali Forth 2 and also works in Tali running on py65mon and also in gforth. I think it's a fine example of beginner coding. :D Any feedback or suggestions ...

 Forum: Forth   Topic: A Finite State Machine Engine in Forth

Posted: Sun Apr 14, 2024 9:33 pm 

Replies: 12
Views: 9238


Note: I edited the previous post to show the correct stack diagrams for -LOOPVAR . With the parsing version of THEN-STATE it is possible to factor out of SET-STATE the act of setting the state of a state machine. : >STATE ( SADR -- ) DUP CELL+ @ ! ; \ SET PARENT MACHINE TO RUN THIS STATE. : SET-STA...

 Forum: Forth   Topic: Interesting old book on stack machines

Posted: Wed Apr 10, 2024 5:41 pm 

Replies: 12
Views: 1355


Another stack computer https://users.ece.cmu.edu/~koopman/stac ... ec5_2.html

This one is supposed to be targeted to Forth.

 Forum: Emulation and Simulation   Topic: Py65 Help

 Post subject: Re: Py65 Help
Posted: Wed Apr 10, 2024 3:02 pm 

Replies: 11
Views: 629


... so I don't expect you to encounter any breakage anywhere else from this change. The I/O in py65mon is tricky because it switches back and forth between echoed and non-echoed mode so it can handle both commands (with history and cursor motion) as well as raw I/O for the 6502 application. ...

 Forum: Forth   Topic: A Finite State Machine Engine in Forth

Posted: Sat Apr 06, 2024 12:38 pm 

Replies: 12
Views: 9238


One thing I don't think I mentioned is the virtually parallel machine architecture supported by IsoMax. When a state machine is run, it runs its current machine state and EXIT s. The state machine needs executed again to either run the same machine state, if there was no transition to another, or t...

 Forum: Programming   Topic: All roads lead to Rome: a little coding challenge

Posted: Fri Apr 05, 2024 9:06 pm 

Replies: 18
Views: 6863


... help? This one has instructions to load 0 through 10 and minus 1, and add 1 through 5. (as well as a few subtracts. 1 through 4) although it's not Forth. -Gordon

 Forum: Programming   Topic: All roads lead to Rome: a little coding challenge

Posted: Thu Apr 04, 2024 2:09 am 

Replies: 18
Views: 6863


The Forth I use has a CLIT which is very easy to implement. The routine fills in the hi-byte with a zero for you. And the compiled code is JSR CLIT followed by one byte instead of 2. Aother idea is create math routines that ...

 Forum: Forth   Topic: A Finite State Machine Engine in Forth

Posted: Wed Apr 03, 2024 5:33 pm 

Replies: 12
Views: 9238


... written in blocks of screens. I started with a (Linux) text file and started trying out some ideas. The source still has not been transferred to Forth block screens. I used the ability of VICE to paste source into the simulation. As I mentioned previously, Fleet Forth behaves as though the text ...
Sort by:  
Page 1 of 404 [ Search found 6049 matches ]


All times are UTC


Jump to: