TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: lyricalnanoha
date: 2008-11-29 22:26:48
subject: Re: Applesoft 1?

On Sat, 29 Nov 2008, John B. Matthews wrote:

> In article ,
> dempson{at}actrix.gen.nz (David Empson) wrote:
>
>> lyricalnanoha  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.
>
> Is it expecting Integer Basic to be doing the loading?
>
> Front:
>
> APPLESOFT IIa
> c1977 MICROSOFT
> P/N A2T0000\4X
>> Load
> 16K
> c1978
> 002-0007-01
> apple computer inc.
>
> Back:
>
> Floating Point BASIC
> Demo (APPLESOFT Loaded)
> P/N A2T0004X
> ]Load
> 16K
> 002-0007-01
> apple computer inc.
>
> --
> John B. Matthews
> trashgod at gmail dot com
> http://home.roadrunner.com/~jbmatthews/
>

I did this analysis from after it was loaded, but before it was 
initialized.  Indeed Integer BASIC does part of the loading (there's a 
couple pokes set before the call), but that was already taken care of as I 
dumped the memory at the MEMORY SIZE? prompt.

-uso.
--- SBBSecho 2.12-Win32
* Origin: Derby City Gateway (1:2320/0)
SEEN-BY: 10/1 3 34/999 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/0 100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.