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

Re: Apple IIe power up issues



Bill Garber wrote:
> "Steve Nickolas" <lyricalnanoha@dosius.ath.cx> wrote in message
> lyricalnanoha-1281307177@macgui.com">news:lyricalnanoha-1281307177@macgui.com...
>> keithclark wrote:
>>> I just had a couple of Apple IIe's given to me.  They are not in the
>>> best
>>> of 
>>> shape, but they are something that I've always wanted but could never
>>> afford 
>>> in their day!
>>> 
>>> One of them boots up with no issues but shows fre(0) at -18436.  I'm not
>>> sure 
>>> how to interpret that number!
>> 
>> Signed 16-bit integer.  "? 65536-18436" (47100).  2049 (beginning of
>> BASIC
>> code space) + 47100 = 49149, which is 3 bytes shy of 48K - which is
>> exactly
>> what it should return if nothing is in RAM.
> 
> To be precise, it's 2 bytes shy of 48K, the end of 48K being $BFFF or
> 49151. 
> 
> Also, the last 2 bytes, $BFFE/BFFF contains some kind of location,
HIMEM???
> 
> 
> Don't forget that the first byte of ram is always $0000, not $0001.  8^) 
> 
> Bill
>

Hm.  CBM BASIC on the 64 says "38911 BASIC BYTES FREE" and FRE(0) = -26627
(i.e., 38909).  On the Plus/4 (which uses a banked BASIC) it says 60669 for
60671 bytes free.  Dunno why I thought the wasted RAM was 3 bytes on all
MSBASIC.  (It's 2 bytes on EHBASIC as well.)

-uso.