From: | Anton Reinauer |
Date: | 24 Jun 2001 at 03:21:41 |
Subject: | Re: cia timing |
On 24-Jun-01, Thilo Köhler wrote:
>> - And tried printing test out in the main loop- but it stays at `0'
>> :/ I think I've tried this before, and it didn't work.
> No no ! You missunderstood me !
>
> 1. You have to save and rescue any register you change during the
> interrupt. Registers you don`t change can be left untouched.
>
> 2. To make Blitz commands & variables work, you have to fill the
> registers a4, a5, a6 & d7 with blitz-specific data as the blitz
> commands expect these register to have ceriandata in it. (e.g. pointer
> to the variables) That means you have to save their contents anywhere
> in RAM and when the interrupt is called you have to write this data
> back to the registers before you use any blitz stuff.
Ahh, I see what you mean- yeah, that should solve the problem! :)
http://homepages.paradise.net.nz/ants
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie