From: | Thilo Köhler |
Date: | 22 Jun 2001 at 11:47:09 |
Subject: | Re: cia timing |
Hello Anton
>> I reckon yours works about the same way?
>> I just put up an CIA interrupt with setintvector_.
>
> So, can you use Blitz code with that then?
No. Within an interrupt no Blitzcommands are available.
But I saw some code that did it. But can`t remember where.
The problem is that the registers a4, a5, a6 & d7 are expected
to contain some special data like a pointer to the blitz-variable base.
That is the same reason why you are not allowed to change these
registers when you use inline ASM. So I guess if you write
some ASM code in top of the interrupt handler that restores this
registers, it must be possible to use Blitz commands.
But I prefer ASM within interrupts, because it is faster and
interrupts are time-critical.
Ciao,
Thilo
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie