Re: A85: need interrupt help fast...right now please


[Prev][Next][Index][Thread]

Re: A85: need interrupt help fast...right now please




On Sun, 18 Oct 1998 S43R80@aol.com wrote:

> 
> ok...so an interrupt occurs 200 times a second, right...now how do know what
> the value of the interrupt is at a given pt (w/ usgard)...i know that it
> resets after it reaches 256...but what i want to know is how you load the
> interrupt value into a register?  What is the lable for the interrupt value?
> 
Just think of interupts as routines that are called 200 times a second.
To make a clock you just have an interupt routine that increments an area
of memory.  There is no interupt memory, there are shad registers but you
don't need to worry about those, the z80 uses them when an interupt is
called.

SO, the label can be anything you want, any where you want, just like any
other variable.  The only thing that makes it special is the fact that the
interupt routine updates it 200 times a second.

later,

-Humberto Yeverino Jr.

"I kick ass for the Lord."
-Dead Alive (1992)

***********************************************************
Home Page:                                               
  http://www.engr.csufresno.edu/~humberto/Home.html      

Ti Page:                                                 
  http://www.engr.csufresno.edu/~humberto/tex.html       

z80 Source Page:                                         
  http://www.engr.csufresno.edu/~humberto/z80source.html 

Official Tyrant Home Page:                              
  http://www.engr.csufresno.edu/~humberto/tyrant.html    

E-mail:                                                  
  humberto@engr.csufresno.edu                            
***********************************************************


References: