A couple of small x86 assembly programs written for self-education purposes.
- DOSBox
- flat assembler
- CWSDPMI
This one is needed to run fasm in DOSBox as it needs a dpmi server to run in protected mode. - Visual Studio Code
With the x86 and x86-64 Assembly extension.
In the DOSBox config file under ~/.dosbox/dosbox-[version].conf
set the path to the cwsdpmi
and the fasm
executables.
Then start cwsdpmi
with the -p
flag that makes it stay resident not only for a single dpmi process. It can be unloaded using the -u
flag.
PATH=C:\SOFTWARE\dpmi\bin;C:\SOFTWARE\fasm
cwsdpmi -p
Added the following to the workspace settings:
"files.encoding": "cp852",
"files.associations": {
"*.asm" : "asm"
}
fasm prg.asm
Creates a com executable.