change portalEnableInterrupts to take value parameter.  when in bluesim, call it from init_portal_internal()