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

Re: How to detect EOFs in SEQ-files using M/C?



"Matthew Montchalin" <mmontcha@OregonVOS.net> wrote in message
Pine.LNX.4.44.0209091330581.1833-100000@lab.oregonvos.net">news:Pine.LNX.4.44.0209091330581.1833-100000@lab.oregonvos.net...
> Charlie wrote:
> |Applesoft BASIC came with the Apple II+, IIe, IIc, IIc+ and IIgs in ROM.
>
> Can you suggest a site where I can review a disassembly of Apple II+
> Applesoft BASIC?  A commented disassembly would be even better.

Well, Bill Gates wasn't any more open to allowing his source code to be public
then than he is now, but there is a commented disassembly somewhere on the net.
Unfortunately, I don't remember where.  Maybe someone else here can point you
to it.

>
> |It was written by Microsoft and it used tokens (128 to 234).
>
> Aha!
>
> |There is no 'pi' token.
> |The earlier Apple II model came with Integer BASIC in ROM.
>
> Strange, I remember my neighbor always booting up one kind of BASIC
> as opposed to another, off disk.
>
> |It was written by Steve Wozniak, I believe.  When Applesoft first came
> |out, a RAM version was included with the system software.
>
> Ah, okay.  That explains my question above!
>

To expand on this, any Apple II that has at least 64K of RAM has the upper 16K
mapped to the same place as the ROM.  You can switch between the RAM and ROM.
Either Integer BASIC or Applesoft could be loaded into this area.  There are
also third party BASICs as well as other programming languages.
Also Microsoft sold a compiler for Applesoft called TASC (The AppleSoft
Compiler).

By the way the Apple II ROM also has a disassembler built in and on most of the
models there is a mini-assembler built in.

> |With ProDOS Apple included BASIC.SYSTEM (there were several versions)
> |which I believe interfaces Applesoft to the disk operating system and
> |also fixed a couple of bugs.
>
> I still intend to get an Apple IIGS for Christmas (hoping), what is
> the BASIC like for the Apple IIGS?  I assume that it is in ROM as
> well?
>

It's pretty much the same Applesoft in ROM on a IIGS.  The Apple IIGS is
backward compatible with all the previous Apple IIs.  Nearly all the old Apple
II software will run on a IIGS.  The IIGS has a lot of ROM (128K I think).
Much of this ROM is a "ToolBox" of routines used for its GUI operating system,
GSOS.  These routines along with ones that are loaded in by GSOS are callable
by RAM based languages (BASIC, Pascal and C) written for the IIGS.

Charlie