flat assembler
Message board for the users of flat assembler.
Index
> DOS > fasm.exe in dosemu does not run |
Author |
|
Tomasz Grysztar 01 Jun 2014, 12:42
fasmd always uses DPMI, while regular fasm tries to use the 32-bit real mode and switches to DPMI when that fails. Probably dosemu has a problem with emulating this mode and crashes when fasm checks whether it works?
|
|||
01 Jun 2014, 12:42 |
|
percy_vere_uk 02 Jun 2014, 12:09
Tomasz
Thanks for that I will have to look to see If I can setup DPMI in dosemu.conf |
|||
02 Jun 2014, 12:09 |
|
Tomasz Grysztar 02 Jun 2014, 13:51
You probably already have DPMI support, since you are able to run fasmd (which can run only with DPMI). But the problem is that fasm first checks whether the processor supports the 32-bit real mode, and only when this fails, it uses DPMI instead. Since the emulator probably crashes on that check, the only way to get around it would be to make fasm skip this check entirely - for example by running it in V86 mode (when processor is not in real mode, fasm goes straight to DPMI variant). You can usually force DOS to run in V86 mode by installing some EMS driver.
|
|||
02 Jun 2014, 13:51 |
|
percy_vere_uk 06 Jun 2014, 13:10
I am running dosemu in a linux gentoo 64bit system.
Code: .dosemu/boot.log gives {WARN: vm86plus service not available in your kernel} So it appears that vm86 needs to be enabled in the kernel. After further research and According to 'http://forums.gentoo.org/viewtopic-t-705463-view-previous.html?sid=b0dc20f9f1b52235c46ef46bce449c24' it is only available in a 32bit or 16 bit system So it looks as though I cannot get fasm to run in a 64bit system. Unless anyone knows differently that is! percy |
|||
06 Jun 2014, 13:10 |
|
revolution 06 Jun 2014, 13:14
percy_vere_uk wrote: So it looks as though I cannot get fasm to run in a 64bit system. |
|||
06 Jun 2014, 13:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.