Pressing Fn + Left Arrow key for Home and Fn + Right Arrow key for End works for me in PSOBB on my MacBook Air, and is built into the OS. I've been looking into ways to "swap" those keys and haven't had much luck with custom keyboard layouts playing nice with PSO. The keys just behave as they would if they hadn't been swapped.