real time clock
Download
Skip this Video
Download Presentation
Real-Time Clock

Loading in 2 Seconds...

play fullscreen
1 / 16

Real-Time Clock - PowerPoint PPT Presentation


  • 98 Views
  • Uploaded on

Real-Time Clock. Module M19.4 Section 14.1 (p.415). Real-time Clock. Time of Day options using INT 1AH. 32-bit counter at address 0040:006C - 0040:006F Counter increments 18.2 times per second. Each increment is called a tick. Interrupt Vector Table. INT 1CH Timer Tick Offset: $070.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Real-Time Clock' - gallagher-haren


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
real time clock

Real-Time Clock

Module M19.4

Section 14.1 (p.415)

real time clock1
Real-time Clock

Time of Day options using INT 1AH

32-bit counter at address 0040:006C - 0040:006F

Counter increments 18.2 times per second.

Each increment is called a tick.

slide3

Interrupt

Vector

Table

INT 1CH

Timer Tick

Offset: $070

slide4

The Timer Tick hardware interrupt increments the

32-bit counter and then calls INT 1CH.

The software interrupt routine just returns using

the IRET instruction.

Therefore, INT 1CH is called 18.2 times per second.

slide5

Interrupt

Vector

Table

INT 1CH

Timer Tick

Offset: $070

You can replace the

IP and CS values at

0000:0070 with the

address of your routine.

setting the interrupt vector using an int 21h dos call
Setting the interrupt vectorusing an INT 21H DOS call

push ds

push cs

pop ds

mov dx,offset intser

mov al,1Ch

mov ah,25h

int 21h

pop ds

ad