OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 1:23 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help please...
PostPosted: Sat Aug 04, 2001 12:20 pm 
Can anyone explane to me how the MS-DOS MCB works? I need some tuts on it or information of how it works. Im sure this is a stupid question and probably simple.
KG.


Top
  
 
 Post subject: Re: Help please...
PostPosted: Sun Aug 05, 2001 11:16 am 
What does MCB stand for??


Top
  
 
 Post subject: Memory Control Block
PostPosted: Sun Aug 05, 2001 1:39 pm 
*


Top
  
 
 Post subject: Re: Help please...
PostPosted: Sun Aug 05, 2001 9:47 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 22, 2004 11:00 pm
Posts: 1076
MCB is dos's very basic idea of memory management.

if you use dos memory funcs (0x48, etc). alloc a piece of memory. 0x1000h say, sub 1 from its result, this points to the mcb. the mcb contains 3 fields (iirc), one saying (M/Z) if its end of chain/not end of chain, size in paragraphs, and 8 bytes or something for name of what alloced it, and a system field saying if it was alloced by the OS...

basically the mcb just points to the next mcb in memory and tells you if that chunk is or is not free.

_________________
-- Stu --


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 178 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group