phat code He who laughs last probably made a back-up.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Plasma Wed Jun 19 2024 at 1:59 am
hey
 
 
This forum is only mostly abandoned :P

DEF SEG only affects PEEK/POKE. In the early days of IBM BASIC, there was no VARSEG keyword because all variables were in a single 64K data segment. So if you had previously used DEF SEG to access video memory or something, you needed the "plain" DEF SEG to get back to the BASIC data segment to access variables with VARPTR.

Are you trying to use the segment/offset of local variables after the function has ended? Those are created on the stack, and are no longer valid after the function exits.

I seem to recall something about BRUN45 being faster, but I don't remember the root cause. Does FFIX make any difference?
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.