add: PORTBITS defines / mod: small changes

while doing (untraced) preps for OLS format conversion and file
generation (on C compilation for desktop PC)