AmigaPorts / ACE

Amiga C Engine
Mozilla Public License 2.0
163 stars 26 forks source link

Make interrupts work when OS is on #209

Open tehKaiN opened 1 year ago

tehKaiN commented 1 year ago

Description

Adds wrappers for OS int handlers which call user- and engine-registered interrupt handlers. Makes keyboard work when OS is on, also all other interrupt-related stuff.

Motivation and Context

Fixes #160 and makes the OS-disabling completely optional. Big opportunity for making multiplayer games, especially for cable-/network-linked Amigas.

How Has This Been Tested?

Used in Aminer, no problems so far. Will be merged upon game's release or near it. Still needs a bit of work to allow polling mode of audio interrupts under OS - currently the int server is always set up.

Types of changes

Checklist