<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 18 Sep 2003 22:52:40 +0100 (BST)
From   : Steve Fewell <kranser@...>
Subject: DFS Execution address of BASIC program

During my analysis of the BASIC ROM, I found that, on
the BBC Master, when BASIC saves a program it sets the
(DFS) Execution address to &802B - this is the main
start address of the BASIC language.

Does anyone know why it does this, or what purpose it
serves?

I have tried to *PROG and *EXEC PROG (where PROG is a
BASIC program), and neither of these OS commands loads
the file and jumps to address &802B (in the hope that
the program will be executed).

I think that it should, in theory at least, be
possible to cause *EXEC to load the program and then
cause the BASIC language to RUN the program - but this
doesn't happen with DFS. Does anyone know why, or
whether this is different in other filing systems?

So, what does this execution address mean for BASIC
programs?!

Thanks,
Steve.



________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>