flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > [bug ?] FASM memory management, FASM vs FASMD, future develo

Author
Thread Post new topic Reply to topic
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
I found a strange effect (bug ?) of FASM DOS version:

- If no DPMI, works fine
- install HDPMI32 -> "350 KB RAM, out of memory !!!" Confused
- Run FASMD -> works
- Now FASM works also, but reports only 1/2 of available memory

Seems NOT to occur with CWSDPMI, however ... Confused

Why does this effect occur ? A bug ?

FASMD seems to have the unreal mode dropped - any reasons why FASMD
uses a different approach from FASM ? Are there plans to unify the
memory management in future ?

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 31 Dec 2006, 04:11
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
There are no different approaches, it always tries to allocate all of the available of extended memory and if this failed for some reason, it reduces the request twice and tries again. With FASMD the only difference is that it uses a plenty of fixed-size blocks for editor use.
If there are any problems with this schemma, the -m switch may help.
Post 31 Dec 2006, 09:01
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
Quote:
There are no different approaches, it always tries to allocate all of the available of extended memory and if this failed for some reason, it reduces the request twice and tries again.


OK, this probably explains the 1/2 ...

Quote:
With FASMD the only difference is that it uses a plenty of fixed-size blocks for editor use.


But can FASMD use the unreal mode ??? For me it cries about no DPMI ...

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 31 Dec 2006, 18:23
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 cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.