OK a bug in dcs's CALCnet interupt routine. The on key power save feature thing is broken. It corrupts registers. after some searching the conclusion was made that a stretch of code simalar to what is in this post is being used and its causing a im 1 interrupt to be triggered corrupting the values in the shadow registers which at the time of the im 1 interupt being called is the user registers.
you said you had tried to tackle this a few times. my thoughts were just to do code like this
Code:
alternatively couldn't you just mask out the calcnet sections of the interrupt, power down the screen, and then halt waiting for a on interrupt to trigger. We do have that option iirc
you said you had tried to tackle this a few times. my thoughts were just to do code like this
Code:
; assuming you have already exx \ ex af,af' 'D
push af
push hl
push bc
push de
push ix
exx
ex af,af'
di
im 1
</ some power down magic here>
ei
halt
</ un do all that register juggling>
ret
alternatively couldn't you just mask out the calcnet sections of the interrupt, power down the screen, and then halt waiting for a on interrupt to trigger. We do have that option iirc