Versionv2021.01
Revision242
Size0.3 MB
LicenseGPL-2.0
Confinementstrict
Basecore20

emu2 - A simple text-mode x86 + DOS emulator

Screenshot

This is a simple DOS emulator for the Linux text console, supporting basic
DOS system calls and console I/O.

EMU2 - Simple x86 + DOS Emulator, version 2021.01


Usage: emu2 [options] <prog.exe> [args...] [-- environment vars]


Options (processed before program name):
  -h            Show this help.
  -b <addr>     Load header-less binary at address.
  -r <seg>:<ip> Specify a run address to start execution.
                (only for binary loaded data).


Environment variables:
  EMU2DEBUGNAME     Base name of a file to write the debug log, defaults to the exe name if not given.
  EMU2DEBUG          List of debug options to activate, from the following: 'cpu', 'int', 'port', 'dos', 'video'.
  EMU2PROGNAME       DOS program name, if not given use the unix name.
  EMU2DEFAULTDRIVE  DOS default (current) drive letter, if not given use 'C:'
  EMU2CWD            DOS current working directory, use 'C:\' if not given.
  EMU2DRIVEn        Set unix path as root of drive 'n', by default all drives point to the unix working directory.
  EMU2CODEPAGE       Set DOS code-page. Set to '?' to show lost of code-pages.
  EMU2_LOWMEM         Limit DOS memory to 512KB, fixes some old buggy programs.


Source: https://github.com/dmsc/emu2
Build config: https://github.com/popey/emu2-snap

Update History

v2021.01 (242)
13 Dec 2025, 09:47 UTC

Published16 Aug 2018, 19:45 UTC

Last updated14 Mar 2024, 14:11 UTC

First seen13 Dec 2025, 09:47 UTC