flat assembler
Message board for the users of flat assembler.
Index
> DOS > How do I run FASM in Dosbox? |
Author |
|
Tomasz Grysztar 11 May 2008, 10:20
DOSBox doesn't emulate the 32-bit unreal mode correctly, thus the only way to run fasm under DOSBox is to install some DPMI service (like HDPMI32 or CWSDPMI).
BTW, even though this thing doesn't work right, I really love the latest DOSBox - it runs the most of my old DOS stuff perfectly. In fact I fell just like I had my old DOS computer right here, windowed under 64-bit XP. Great thing. |
|||
11 May 2008, 10:20 |
|
Picnic 11 May 2008, 10:35
|
|||
11 May 2008, 10:35 |
|
revolution 11 May 2008, 12:40
Tomasz Grysztar wrote: DOSBox doesn't emulate the 32-bit unreal mode correctly, thus the only way to run fasm under DOSBox is to install some DPMI service (like HDPMI32 or CWSDPMI). |
|||
11 May 2008, 12:40 |
|
rCX 11 May 2008, 16:26
Thanks! It works but there is still one problem . I configured dosdox to run "CWSDPMI.exe -p" every time it starts. The first time I use fasm it works but when I use it a 2nd time dosbox freezes. Does anyone know how to fix this?
|
|||
11 May 2008, 16:26 |
|
rCX 11 May 2008, 19:54
I fixed it . Thanks for your help!
|
|||
11 May 2008, 19:54 |
|
rugxulo 24 May 2008, 22:03
Just FYI, I like DOSBox a lot too (and use it frequently), but it's quite slow (and I think they say you really need > 1 Ghz just to get 486 speed, meh). DOSEMU is supposedly faster, but I have yet to find a Linux liveCD that has it preinstalled. (At least DOSBox 0.72 is in antiX-M7.2.iso, but it didn't run well at all on their suggested target of P2/128 MB RAM).
|
|||
24 May 2008, 22:03 |
|
Jack 25 May 2008, 00:13
rCX wrote: I fixed it . Thanks for your help! would you care to elaborate? it could help others. |
|||
25 May 2008, 00:13 |
|
rCX 27 May 2008, 01:26
Basically what you have to do is run "cwsdpmi.exe -p" before you run FASM. The overly detailed explanation now follows ....
1. Download csdpmi5b.zip from by clicking on the "Binary Distribution Link" here. 2. In the zipped folder under "BIN" you will find "cwsdpmi.exe". Copy "cwsdpmi.exe" to your fasm folder (or wherever you like if you are familiar with DOSBox). 3. Start DOSBox and enter "mount Z C:\blah1\blah2\FASM\" (or something like this). 4. Then enter "cwsdpmi.exe -p" (This starts DPMI. The "-p" cwsdpmi.exe tells the program to stay resident meaning that you only need to use this line once. 5. Then enter "fasm file.asm file.exe" So basically like this: Code: Z:\mount Z C:\blah1\blah2\FASM\ Z:\cwsdpmi.exe -p Z:\fasm file.asm file.exe If you want to, you can have cwsdpmi run automatically when you start DOSBox... 1. Open "dosbox.conf" It can be found in e.g. "C\blah\dosbox\dosbox.conf" 2. At the end of the file under: Code: [autoexec] # Lines in this section will be run at startup. 3. Write Code: Z:\mount Z C:\blah1\blah2\FASM\ Z:\cwsdpmi.exe -p 4. Save dosbox.conf 5. Run dosbox and use fasm as much as you want. |
|||
27 May 2008, 01:26 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.