Gericom / GBARunner3

205 stars 28 forks source link

[Idea] Replacing game irq handler by kernel mode code #46

Open Gericom opened 10 months ago

Gericom commented 10 months ago

For games that suffer a lot from irq latency, mainly hblank and vcount irqs, it might help to replace the games irq handler completely by kernel mode code to prevent having to handle aborts. This should reduce the irq latency. Almost every game has a slightly different irq handler, and game specific implementations might be needed. For dispatching clz can probably be used.