Zero Page memory not used by DurexForth #354
Answered
by
jkotlinski
AussieSmitty
asked this question in
Q&A
Replies: 3 comments 6 replies
-
Hi Steve,
I would recommend the locations defined by W, W2 and W3.
Beyond that it’s on your own risk :-)
…On Mon, 28 Jun 2021 at 10:18, Steve Smit ***@***.***> wrote:
I see from the memory map in the DurexForth v3.0.0 Operators Manual that
many zero page locations are used for parameter stack and work areas for
code words. If I want to temporarily use some zero page addresses for some
assembler calls, what is safe to use? From what I can tell, it looks like
$fb to $fe should be fine. Perhaps even $73 to $8a if one is not going to
use any BASIC ROM functions (the same for $ff).
Can someone please advise as I'm keen to avoid having code that cashes,
thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#354>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY34O3H4IJJUHCR6BLAOO3TVAV5VANCNFSM47NOONIA>
.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
jkotlinski
-
I believe that's the long and short of it. It's good to see you're still at it. I'm glad to help. |
Beta Was this translation helpful? Give feedback.
2 replies
-
What also seems to be free (unofficially) is CHRGET: $73 - $8A. The Forth word BYE implies that DurexForth is intended to exit to BASIC cleanly, and using CHRGET memory will disallow this, but it's pretty simple to reinitialize. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see from the memory map in the DurexForth v3.0.0 Operators Manual that many zero page locations are used for parameter stack and work areas for code words. If I want to temporarily use some zero page addresses for some assembler calls, what is safe to use? From what I can tell, it looks like $fb to $fe should be fine. Perhaps even $73 to $8a if one is not going to use any BASIC ROM functions (the same for $ff).
Can someone please advise as I'm keen to avoid having code that cashes, thanks.
Beta Was this translation helpful? Give feedback.
All reactions