** PROBLEM SOLVED **
However not with a custom IKBD routine but with the system one.
Reading the official STE developer documentation by Atari, I found that they suggested lowering the priority of the IKBD interrupt. Timer B will occur on time then and is rock stable (if you kill Timer C aswell).
The TOS IKBD handler stays intact and the GFA coder can still use INKEY$, INP(2) ets while the rasters are active.
The trick works by revectoring the IKBD IRQ through this small piece of code:
Code: Select all
Simply copy the old contents of $118 to old_ikbd and hook new_ikbd into $118
With this added to my m68k raster control, everything is fine.
PS: Expect a standalone release of the raster code soon
Simon Sunnyboy/Paradize - http://paradize.atari.org/Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee