flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
vid 22 Jun 2004, 18:23
fasm uses flat real mode, while you are running in protected mode i quess.
|
|||
![]() |
|
keyoke 22 Jun 2004, 18:41
thanks for the reply vid, could you please explain to me exactly what u mean. how can i do it? I just assume that the dos version of fasm would work in dos????
|
|||
![]() |
|
JohnFound 22 Jun 2004, 19:40
Visibly, Bosch BIOS does not have some of the functions of int 15h that FASM uses.
|
|||
![]() |
|
keyoke 22 Jun 2004, 19:48
this is what i thought aswell from the log but i admit i have not test fasm for dos 1.52 with vmware but i did test 1.49 with vmware some while ago and it also crashed the whole virtual machine, spose will have to test with vmware but i dont really like using it
![]() |
|||
![]() |
|
keyoke 22 Jun 2004, 20:29
ok tried 1.52 with vmware 4.0.1 a error occurs.
from the log! Quote:
Am i wrong in thinking that the DOS version of fasm 1.52 should run in pure dos mode......or am i right? if not why oh why???? will try it in vmware 4.5.0 see what happens! |
|||
![]() |
|
vid 22 Jun 2004, 20:36
i still think you won't run it under some DOS emulator. FASM must be run in REAL MODE (mode in which computer is when turned on), but all newer OSes use PROTECTED MODE. Protected mode tries to emulate real mode for programs that use it, but some things are not possible (this "thing" is called "flat real mode"). And this is used by FASM. By the way, with using EMM386 driver under DOS, your computer is switched to protected mode and FASM won't run too.
I heard some programs even emulate flat real mode, but they are very rare. |
|||
![]() |
|
keyoke 22 Jun 2004, 20:47
Hi vid,
If wat u say is true then it should still work, here is a paragraph from article on vmware Quote:
Well i spose this is unfortunate for me then ![]() |
|||
![]() |
|
pelaillo 22 Jun 2004, 21:34
Have you tried with com version of fasm?
|
|||||||||||
![]() |
|
keyoke 22 Jun 2004, 21:49
thnx will try it and see what happens
|
|||
![]() |
|
f0dder 22 Jun 2004, 22:58
Get the Win32 PE console version of fasm, and use stubit.exe from the wdosx extender on it - there's a good chance this will work under bochs and vmware. WDOSX supports a lot of different modes, include raw ring0 pmode, himem.sys mode, emm386 (VCPI) mode, DPMI mode (even under windows), etc...
|
|||
![]() |
|
keyoke 23 Jun 2004, 18:44
Thanks f0dder your solution works perfectly
|
|||
![]() |
|
Tomasz Grysztar 23 Jun 2004, 20:55
The whole problem is because bochs seemingly doesn't emulate 32-bit unREAL mode correctly (this is not the same as flat real mode, and is much more tricky, but works on all Intel and AMD processors, look here for details). You also deal with this problem by disabling use of the unREAL mode in DOS version, so it will always use DPMI if available. But you would still need some DPMI server (I recommend the cwsdpmi) to run it.
|
|||
![]() |
|
f0dder 23 Jun 2004, 22:17
bochs has a lot of bugs (try saying that out loud
![]() ![]() |
|||
![]() |
|
keyoke 24 Jun 2004, 20:09
thanks guys, I was just confused as to why it was not working. am using vmware now instead of bochs
![]() for the moment it is working tho. |
|||
![]() |
|
keyoke 25 Jun 2004, 08:12
Privalov I have downlowded that dpmi server now but how do i disable unreal mode?
|
|||
![]() |
|
keyoke 25 Jun 2004, 08:45
No worries,
i just changed the system.inc line call modes:real32 to call modes:dpmi and recompiled it works but wont compile anything. was this what u were suggesting. thanks for the help |
|||
![]() |
|
fasm9 17 Jul 2004, 10:57
Hi, Have you tried dosemu?
dosemu (stable:1.2.2, devel:1.3.1) supports dpmi, AFAIR. ;) http://dosemu.sf.net |
|||
![]() |
|
f0dder 17 Jul 2004, 14:12
iirc it's possible to run DOOM in dosemu, so it most likely does support DPMI
|
|||
![]() |
|
keyoke 19 Jul 2004, 08:24
Hey guys i Have tried nearly all emulators possible
![]() |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.