|
I know that you're trying to show me how to set up some sort of timer but I'm not too clear on to how exactly that is happening. If you could elaborate?
> Its a different story when running in virtual mode. I'm not sure how consistent > the various flavors of Windows are going to be, but you're essentially going to > have to program the 8254 to run at 10 Mhz,
Why? Is that the speed I'm looking for?
set the counter to reset/reload mode > with an appropriate value to trigger an interrupt every millisecond and then use > an interrupt handler to do your animation control.
Never made an interrupt handler. How would I substitute it for the old one and what would it do differently? What's an appropriate value to make it trigger?
The usage should be fairly > obvious if you are doing time-based animation > > I don't recall which vectors are used by the 8254 in the PC. All you need to do > is store your interrupt handler address into the table when the program begins > and restore the old value when the program exits. There is a BIOS handler which > will do this.
I think I saw something like that but where would I store my new interrupt handler? What is it doing to slow down timing and animations?

|