Skip to content

lacerto/dos-asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

x86 assembly repo

Description

A couple of small x86 assembly programs written for self-education purposes.

Tools used

Setup

DOSBox

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

Visual Studio Code

Added the following to the workspace settings:

"files.encoding": "cp852",
"files.associations": {
    "*.asm" : "asm"
}

Compile

fasm prg.asm

Creates a com executable.