Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectAlright I gotta have you be a little more descriptive here Reply to this message
Posted bySnowball 2
Posted on11/29/03 01:39 PM



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?










-
Entire Thread
Subject  Posted byPosted On
*Just a matter of time...Assembly fun cont'd  Snowball 211/29/03 02:46 AM
.*Re: Just a matter of time...Assembly fun cont'd  Riff11/29/03 03:15 AM
..*Some background  Snowball 211/29/03 03:40 AM
...*Re: Some background  Riff11/29/03 04:01 AM
.....Alright I gotta have you be a little more descriptive here  Snowball 211/29/03 01:39 PM
.....*Re: Alright I gotta have you be a little more descriptive here  Bart T.11/29/03 03:05 PM
......*Re: Alright I gotta have you be a little more descriptive here  finaldave12/02/03 06:36 AM
.......*Re: Alright I gotta have you be a little more descriptive here  Bart T.12/02/03 11:34 AM
........*Re: Alright I gotta have you be a little more descriptive here  finaldave12/03/03 08:04 AM
.........*Re: Alright I gotta have you be a little more descriptive here  Bart T.12/03/03 11:14 AM
..........*Re: Alright I gotta have you be a little more descriptive here  smf12/04/03 06:02 AM
....*Re: Some background  abcdef11/29/03 07:27 AM