The program held in program.asm displays the time of the DosBox's clock with the following format : HH:MM:SS.
Go to this website : https://www.dosbox.com and grab the DOSBox' version which fits your requirements.
Install the https://www.nasm.us/ assembler and compile the program.asm file via the command : nasm -fbin program.asm -o program.com
- Run the DOSBox emulator
- Mount the folder which contains the
program.comthat you compiled earlier :Z:> mount C: C:\Users\user\Desktop\intel_x8086_clock - Go to the mounter folder :
Z:> C: - Run the
program.comprogram :C:\> PROGRAM.COM
And then, you can run your DosBox to execute the program as following :
