Jump to content
IGNORED

"Footprint" of DOS.SYS?


Larry

Recommended Posts

MEMLO (dec. 743, 744) contains the lowest free RAM address pointer.

 

So, once DOS loads, either use a monitor to view those locations - or you can just ?PEEK from BASIC.

 

The end point of the load won't necessarily be the start of free RAM since DOS needs extra memory for workspace, buffers etc.

Link to comment
Share on other sites

Thanks, Rybags!

 

That is most helpful.

 

MEMLO (dec. 743, 744) contains the lowest free RAM address pointer.

 

So, once DOS loads, either use a monitor to view those locations - or you can just ?PEEK from BASIC.

 

The end point of the load won't necessarily be the start of free RAM since DOS needs extra memory for workspace, buffers etc.

Link to comment
Share on other sites

MEMLO (dec. 743, 744) contains the lowest free RAM address pointer.

 

So, once DOS loads, either use a monitor to view those locations - or you can just ?PEEK from BASIC.

 

The end point of the load won't necessarily be the start of free RAM since DOS needs extra memory for workspace, buffers etc.

Is this Atari DOS 2.5? :?

Link to comment
Share on other sites

Any DOS.

 

BASIC, or whatever language/app is used will use MEMLO as it's starting point to store programs/data.

 

Here are some MEMLO values for several Dos versions I have looked at thus far:

 

Dos 2.0s $1CFC

Dos 2.5 $1E1C

MyDos 4.50 $1EE9

MyDos 3.07 $1BE9

OSS Dos from Basic XL toolkit $1B00 (this Dos can't load a DUP.SYS)

Sparta Dos 3.2G $17A2

Sparta Dos X 4.22 $10FF (!!!)

 

-Larry

Link to comment
Share on other sites

DOS 1.0 always loaded DUP as well (from memory - I don't think I ever had the "pleasure")

 

FRE(0) is just APPMHI - MEMLO

 

APPMHI (14,15 dec) tells the OS the highest location that the application is using (ie BASIC or whatever language should set it as the program/variable storage grows)

 

A neat trick on OSA and OSB (400/800) was to set APPMHI to something like $9D00 - the OS then would not be able to open a screen after System Reset, so it in a way was a means to protect software from funny business.

 

The bug was fixed in the XL OS.

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...