[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applesoft 1?





On Sun, 30 Nov 2008, David Empson wrote:

lyricalnanoha <lyricalnanoha@usotsuki.hoshinet.org> wrote:

I've managed to find Applesoft 1, the original buggy version, and I'm
trying to reverse-engineer it to port since the "7-in-1 MS 6502 BASIC"
produces broken output - but I've got a big question...

...what memory space does it load into? (Stupid obfuscated BASIC loaders.)
I can't seem to figure out the info I'd need to be able to save it or to
export it so I can extract the binary and feed it to IDA or something...

I wasn't using the Apple II that far back but it seems reasonable to
assume the original version of Applesoft would have been loaded from
tape into main memory, either near $0800 or at the top of main memory.

Putting it at the bottom would have been easier because it wouldn't need
to relocate depending on the amount of RAM installed.

It predated the language card, so that area is out of the question. DOS
may not have been in the picture either, but it may have gone to some
trouble to respect Integer BASIC's LOMEM and/or HIMEM.

--
David Empson
dempson@actrix.gen.nz


I've heard it loads at $800, it does seem to have code around there but the entry point's not down there. Hm.

With the graphics stuff disabled we're dealing with a VERY generic BASIC interpreter, almost identical to the PET's - but stripped down to the core to the point it might be easy to get the thing running on damn near anything. Which is my goal. (As I indicated, I have an interactive disassembler that understands the 6502, plus I've got the disassembly from Pagetable.com but can't really make heads or tails of it and it's overly complex from having support to compile about 7 different versions of BASIC, and its "Applesoft 1" profile don't seem to run for me. :/)

-uso.