flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > How Menuet 64 manages memory?

Author
Thread Post new topic Reply to topic
yyc650102



Joined: 01 Jun 2006
Posts: 11
yyc650102 07 Jun 2006, 03:24
I got some questions about develop program under Menuet 64...

1. How Menuet 64 configure all seg. registers?
2. How to get more system information? ex. available free memory
3. How to allocate memory? (Seems that memory space is defined by header?)

Thanks a lot!
Post 07 Jun 2006, 03:24
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 303
Ville 08 Jun 2006, 12:38
1. Memory management is done with paging, since segment selector bits are mostly ignored in 64 bit mode. You can view the selectors with "Registers" application.
2. Request paging table usage with system calls 26/4 and 9.
3. I'll add an application memory resize similar to Menuet32 to following release.

No problem, I hope that helped Smile
Post 08 Jun 2006, 12:38
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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 vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.