Jump to content
IGNORED

Atari 800 memory query


Recommended Posts

I have acquired a few Atari 8-bit computers lately (I have a retro thirst that needs satisfying).

 

Now, I know there is a way to detect the amount of memory using basic command PRINT FRE(0), and the amount returned is 37902.

 

I have tried this on a 400 with 48k, and two 800's both with 48k.

 

I have one 800 however which is showing 37890 bytes free rather than 37902.

 

What would cause this, faulty? or a newer/older OS ROM which takes up slightly more memory?

post-43230-0-58364900-1438696703_thumb.jpg

post-43230-0-32482800-1438696711_thumb.jpg

Link to comment
Share on other sites

a difference in size between

NTSC - OS-A,

NTSC -OS-B,

NTSC -OS-B (ver 2) and

PAL- OS-A ?

 

here's the roms (from another thread on Atariage)

OS Rev A (1979) (Atari) (PAL) (400-800).rom

OS Rev B (1981) (Atari) (NTSC) (400-800) V1.rom

OS Rev B (1981) (Atari) (NTSC) (400-800) V2.rom

OS Rev A (1979) (Atari) (NTSC) (400-800).rom

Edited by Guest
Link to comment
Share on other sites

Is this not related to the Rev. B BASIC bug which increases the size of the tokenised program between every SAVE (thus decreasing the amount of free RAM)? Although that would make no sense if you're using the same BASIC cart in all machines. :o

 

 

Nope. A 48K Atari running standard OS-B and any version of Atari BASIC should always return 37,902 bytes of free memory from ? FRE(0)

Link to comment
Share on other sites

I like puzzles. :) fre(0) is calculated from memtop (02e5/02e6) minus topstk (0090/0091). To start tracking down the culprit, you should PEEK at these memory locations and see which is different on the machine in question. Then we can start tracing back to the source of the difference. On the machines that show 37902 free, you should get these results

memtop

peek(741) = 31

peek(742) = 156

topstk

peek(144) = 17

peek(145)=8

 

(156*256+31) - (8*256+17) = 37902

 

What do you get on the machine that shows 37890 free?

  • Like 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...