https://github.com/ximaz/intel_x8086_clock
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
https://github.com/ximaz/intel_x8086_clock
asm asmx86 clock dosbox dosbox-emulator dosbox-staging dosbox-x nasm nasm-assembler nasm-assembly time x8086
Last synced: 4 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/ximaz/intel_x8086_clock
- Owner: Ximaz
- Created: 2023-05-21T17:08:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-19T11:15:07.000Z (over 1 year ago)
- Last Synced: 2025-02-05T22:20:04.555Z (11 months ago)
- Topics: asm, asmx86, clock, dosbox, dosbox-emulator, dosbox-staging, dosbox-x, nasm, nasm-assembler, nasm-assembly, time, x8086
- Language: Assembly
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.dosbox.com/) and grab the DOSBox' version which fits your requirements.
### Compile the program
Install the [https://www.nasm.us/](https://www.nasm.us/) assembler and compile the `program.asm` file via the command : `nasm -fbin program.asm -o program.com`
[DOSBox syscall documentation](https://www.pcjs.org/documents/books/mspl13/msdos/encyclopedia/section5/)
### 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 :
