|
I don't know if this will help but if you
write.
PRINT PEEK 23181
PRINT DPEEK 23182
this will print the page and the address of the
last byte used by basic.
----- Original Message -----
Sent: Saturday, August 12, 2006 12:07
PM
Subject: Re: problem with Basic
thanks for tips... it is a REALLY big headf*ck when it happens,
and yes, it`s something that will usually happen if you code anything above
a certain size so it is a very well known bug. I like the idea of moving it
but I don`t know which bit of the program is at a page boundary (and also it`s
3 or 4 different programs).
Also, with a few of them I can be jumping
around a lot in the code, perhaps i guess as much as 20-30 K away
constantly. perhaps that could also be an issue ?
When your
programs used to show problems with the bug, did they just freeze the
entire machine up, or crash it/reset it entirely?
Andy Chandler
<[EMAIL PROTECTED]> wrote:
I
used to tear my hair out at times with the same problem. I found, that if
it was not running correctly or I was having problems editing a line, I
would put as the first line in the entire program a
REM statement.
I found that sometimes by adding a few random
characters, or taking some away on that line seemed to move the code
around in memory enough to enable it to spring back in to life again! Not
100% why, put the paging issue sounds highly
likely.
Andy
Saturday, August 12, 2006, 11:14:06
AM, you wrote:
Calvin> I was wondering if anyone could help me out
with some Calvin> problems I`m having with the SAM. I`ve virtually
quit three big Calvin> projects already because of memory corruption
in Basic Calvin> and having just started on project four I`m finding
I Calvin> don`t want to put too many months in if it`s gonna happen
again :(
Calvin> The problem rears it`s head once Basic code
reaches a certain Calvin> size, usually I think about 55 - 65K, I know
it must be a paging problem Calvin> but there must be something that
can be done (?)
Calvin> It appears that it`s much more likely to
happen if there is any Calvin> graphics etc within the code, stored in
string$... I know that Calvin> you can write bigger programs than
this, and the manual and Calvin> ads back in the day proudly boasted
of 400K + Calvin> programs, which would be amazing
:)
Calvin> anyhow, I`d appreciate it if any of you Machine
Code guys could help Calvin> me out on this.
Calvin>
Cal
Calvin> All New Yahoo! Mail Tired of [EMAIL PROTECTED]@!
come-ons? Calvin> Let our SpamGuard protect you.
Inbox
full of spam? Get leading spam protection and 1GB storage with All New
Yahoo! Mail.
|