6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 23, 2024 9:28 am

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: using TO
PostPosted: Tue Mar 02, 2021 8:22 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8545
Location: Southern California
Jim, you're right of course, and I do do that in the assembler running in my Forth system itself. The only explanation I can think of for my nonsense post is that it looks like I got interrupted and my focus migrated, mid-stream, to a situation that would be somewhat off-topic here. My apologies for wasting everyone's time and for any misleading. I need to be more careful to review my post and the context before clicking "Submit."

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
 Post subject: Re: using TO
PostPosted: Sat Mar 06, 2021 12:53 am 
Offline

Joined: Fri May 05, 2017 9:27 pm
Posts: 895

Where you thinking of a VALUE ?
In Fleet Forth, which is RAM based, there are constants that can be changed by the system but shouldn't be changed by the user. I call them "system values".
Code:
   ' MRU >BODY    LDA  N    STA
   ' MRU >BODY 1+ LDA  N 1+ STA

or
Code:
   LDA_ABS  ' MRU >BODY ,     STA_ZP N C,
   LDA_ABS  ' MRU >BODY 1+ ,  STA_ZP N 1+ C,

I'm guessing at some of your assembler words. I hope I got it right.
I don't think your example was misleading, just the wrong data type for the example.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: