Login
Search for:


Previous | Next

From: indi (all posts)
Date: 2001-08-01
Subject: Re: Castle Master once again
On Tue, 31 Jul 2001 11:50:37 +0200, you wrote:

>Hello there!
>
>On 26 Jul 2001, at 10:42, Mike Dailly wrote:
>
>> I checked this game on my emulator... and it works fine... Digisound
>> and all... So, I can tell you that the bits IRQ are ONLY set until a
>> CLI, then once the CLI happens "IF" the irq is flagged to generate an
>> interrupt, one will happen directly after the CLI.
>
> You were right Mike, it is working for now in my emulator too. BTW
>the problem was: I checked for interrupts only at the end of every
>raster line. So it means this code was not working:

Of course you MUST check for interupts every cycle for timers etc...
And since its only 1 IRQ mack, you end up checking them all anyway...

DIGI stuff, and some protectors depend on this...

Good to know its working now though!

> CLI
> NOP
> SEI
>
>if the irq is waiting for completion before the CLI command. I added
>an extra check at the CLI command execution.
>
> I just wrote this thing to the emulator writers, maybe somebody
>would learn from it.
>
>Bye:
>
> Almos Rajnai
>
>+------------------------=%%&############&%%=-------------------------------+
>| Rachy of Bi0Hazard | PowerAmiga owner | http://amigos.amiga.hu/rachy/ |
>|e-mail: racs@fs2.bdtf.hu| No Risc No Fun! | ATO Hungarian member |
>+---ICQ:-16342960--------=%%&############&%%=-----Phone:+36 20 9891489------+
>--this message went through the plus4@c64.rulez.org emailing list---

Copyright © Plus/4 World Team, 2001-2024