Skip to content

This repository holds an Intel x8086 assembly code destinated to get assembled by NASM, but can be modified for any other assemblers. It's meant to be executed on DOSBox

Notifications You must be signed in to change notification settings

Ximaz/intel_x8086_clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Intel x8086 (NASM) DosBox Clock Reader

The program held in program.asm displays the time of the DosBox's clock with the following format : HH:MM:SS.

Usage

Install DOSBox emulator

Go to this website : https://www.dosbox.com and grab the DOSBox' version which fits your requirements.

Compile the program

Install the https://www.nasm.us/ assembler and compile the program.asm file via the command : nasm -fbin program.asm -o program.com

DOSBox syscall documentation

Run DOSBox

  • Run the DOSBox emulator
  • Mount the folder which contains the program.com that you compiled earlier : Z:> mount C: C:\Users\user\Desktop\intel_x8086_clock
  • Go to the mounter folder : Z:> C:
  • Run the program.com program : C:\> PROGRAM.COM

And then, you can run your DosBox to execute the program as following :

assets/dosbox.png

About

This repository holds an Intel x8086 assembly code destinated to get assembled by NASM, but can be modified for any other assemblers. It's meant to be executed on DOSBox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published