Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

DOS Text Editor (x86 Assembly)

A simple, lightweight 16-bit text editor written in x86 Assembly language for DOS.

The editor runs in DOSBox (or any 16-bit DOS environment) and supports basic text input, backspacing, and file saving/loading operations.


Features

  • Text Input: Type characters directly to fill a 512-byte memory buffer.
  • Save on Exit: Automatically saves your work to OUTPUT.TXT when you exit the editor by pressing the ESC key.
  • Auto-Load: Automatically loads the contents of OUTPUT.TXT into the buffer on startup if the file exists.
  • Basic Controls:
    • Enter (Carriage Return + Line Feed) to start a new line.
    • Backspace to delete the character behind the cursor.
    • ESC to save the file and exit to DOS.

Project Structure

dos-text-editor-assembly/
├── README.md        
├── .gitignore
├── src/
│   └── editor.asm   # Main Assembly source code
└── docs/
    ├── presentation.pdf # Course project presentation
    └── screenshot.PNG   # Screenshot of the editor in action

Screenshot

DOS Text Editor Screenshot


How to Run (Using emu8086)

To run this editor, you can use emu8086 (an 8086 microprocessor emulator and editor):

  1. Open emu8086.
  2. Click Open and select src/editor.asm.
  3. Click the Compile or Emulate button (this compiles the code and loads it in the emulator).
  4. Click Run in the emulator window to launch the editor.

About

16-bit text editor written in x86 assembly language for DOS | Computer Organization and Assembly Language (COAL) Project

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages