Dumb, not yet tested interrupt number allocation.