Back to Projects

TimeMaster

A simple assembly language timer application that simulates a digital clock, displaying hours, minutes, and seconds in real-time. Runs in a DOS environment with basic timer controls.

Project Overview

TimeMaster is a digital timer written in x86 assembly language that displays a real-time clock in HH:MM:SS format. The program demonstrates low-level programming concepts including interrupt handling, time conversion, and user input processing.

Features

  • Real-Time Display: Shows the time in HH:MM:SS format
  • Start Command (S): Start the timer
  • Stop Command (E): Stop/pause the timer
  • Reset Command (R): Reset the timer to 00:00:00
  • Exit (ESC): Press ESC to exit the program safely

How It Works

The program uses basic assembly operations to increment seconds, minutes, and hours, displaying the time dynamically. Custom routines handle:

  • Timer command processing
  • Input handling and validation
  • Time conversion algorithms
  • Display output formatting

Getting Started

Prerequisites

  • An x86 emulator or a DOS environment (e.g., DOSBox)
  • An assembler (e.g., NASM)

Running the Program

  1. Assemble the code:
    nasm -f bin TimeMaster.asm -o TimeMaster.com
  2. Open DOSBox and run:
    TimeMaster.com

Repository Files

  • TimeMaster.asm - Main assembly source code
  • README.md - Project documentation

Technology Stack

x86 Assembly DOS NASM DOSBox

Project Stats

-- Stars -- Watching -- Forks