6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun May 05, 2024 7:33 pm

All times are UTC


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

Author Message

 Forum: Forth   Topic: compile-time only constants like #define?

Posted: Tue Feb 27, 2024 7:51 pm 

Replies: 6
Views: 1350


1. use some external preprocessor to inline and remove constants in the forth source before compiling This is not an unreasonable thing to do. I believe Druzyek wrote a tool to replace all names (variables, constants, words) with short names (not quite what ...

 Forum: Forth   Topic: taliforth2 minimal image size? linking with ca65 code?

Posted: Tue Feb 27, 2024 2:15 pm 

Replies: 6
Views: 1469


Hi pdragon, Tali Forth 2 is a rather large Forth. While it is possible to fit it in 16K, I don't think it would be a great experience to get it down to 8K. Tali Forth 2 is designed for systems with 32K ROM (or RAM if loading it into ...

 Forum: Forth   Topic: compile-time only constants like #define?

Posted: Tue Feb 27, 2024 12:48 pm 

Replies: 6
Views: 1350


... which I'm using to compile words for my app, but don't need/have space for them at runtime since I need to load a large data segment. I read in gforth docs (below) that there's no standard way to use #define style constants that are inlined and discarded after compilation. So i'm looking for ...

 Forum: Hardware   Topic: Moving beyond 8MHz with standard ICs

Posted: Thu Feb 22, 2024 8:53 pm 

Replies: 40
Views: 6124


... The circuit board has more permanent battery-backed circuit for RAM. To protect the boot section of RAM, a bank can be write protected. Bill A forth (and probably the easiest solution, which I should have thought of at first) is to have code in ROM that just copies itself into RAM and then ...

 Forum: Hardware   Topic: Moving beyond 8MHz with standard ICs

Posted: Thu Feb 22, 2024 6:21 pm 

Replies: 40
Views: 6124


... The circuit board has more permanent battery-backed circuit for RAM. To protect the boot section of RAM, a bank can be write protected. Bill A forth (and probably the easiest solution, which I should have thought of at first) is to have code in ROM that just copies itself into RAM and then ...

 Forum: Forth   Topic: A milliforth for 6502

 Post subject: Re: A milliforth for 6502
Posted: Wed Feb 21, 2024 5:50 pm 

Replies: 21
Views: 11130


I've picked this up again. I didn't get it up beyond showing the prompt, and wasn't interested enough in actually having a pure SectorForth model forth to dig into it. So what I'm doing is abandoning the "pure" SectorForth, using rp@ rp! sp@ sp! and aim to climb up the compiled Sector ...

 Forum: Programming   Topic: PLASMA (Proto Language ASeMbler for All) version 2.0 release

Posted: Thu Feb 15, 2024 10:25 pm 

Replies: 5
Views: 3179


PLASMA 2.1 Released A great number of performance and reliability improvements. The big feature update is PLFORTH, a FORTH language module for PLASMA that makes FORTH a first class citizen to the PLASMA environment. Many on-the-metal programming tools for software development ...

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Thu Feb 15, 2024 8:04 pm 

Replies: 22
Views: 1979


resman wrote:
Very clever. I still think like I'm programming in a HLL; need to make the mental shift.


Yes, you are programming to create the exact HLL that does the job you need done, so it covers the range from low level programming extending the underlying capabilities through to high level programming.

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Thu Feb 15, 2024 4:11 pm 

Replies: 22
Views: 1979


Very clever. I still think like I'm programming in a HLL; need to make the mental shift.

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Tue Feb 13, 2024 10:24 pm 

Replies: 22
Views: 1979


My Fleet Forth's INTERPRET passes the string returned by WORD to a deferred word I/C ( interpret/compile ) which is normally vectored to (I/C) . This allows me to define [IF] [ELSE] and [THEN] like so. :NONAME ( NL1 ADR -- NL2 ...

 Forum: General Discussions   Topic: Whats the most human-friendly instruction set?

Posted: Mon Feb 12, 2024 3:58 am 

Replies: 50
Views: 6565


... be here waxing nostalgic. :) Regarding "human-friendly", I still don't think I have a clear idea what that means, but on comp.lang.forth a few years ago I recalled a personal emotional response to the pdp-11 (really the LSI-11) that got a nice reaction: Howerd Jul 11, 2016, 11:58:04 AM ...

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Mon Feb 12, 2024 1:47 am 

Replies: 22
Views: 1979


... What I don't understand is why they POSTPONED the [ELSE] in the reference implementation of [IF]. Still one of those things I don't quite get. [edit] Ah, I think I get it - [ELSE] is IMMEDIATE. Since mine was DEFERed, it doesn't show up as IMMEDIATE until IS, otherwise it would have been execut...

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Sun Feb 11, 2024 11:09 pm 

Replies: 22
Views: 1979


I just wanted to point out that forth-standard.org has reference implementations (for the Forth 2012 standard) for many words. You might be interested in their [IF]/[ELSE]/[THEN] implementation as they did it a little differently, but also ...

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Sun Feb 11, 2024 9:51 pm 

Replies: 22
Views: 1979


I just wanted to point out that forth-standard.org has reference implementations (for the Forth 2012 standard) for many words. You might be interested in their [IF]/[ELSE]/[THEN] implementation as they did it a little differently, but also ...

 Forum: Forth   Topic: Forth as an interactive BATCH language

Posted: Sun Feb 11, 2024 6:19 pm 

Replies: 22
Views: 1979


Well, darn. Came across an old Forth manual (Apple II Forth 1.7 by John Draper aka Cap'n Crunch) that documented ?EXEC as the word to test if interpreting vs compiling. So [IF][ELSE][THEN] it is. A few quick tests appeared to confirm proper ...
Sort by:  
Page 5 of 404 [ Search found 6059 matches ]


All times are UTC


Jump to: