Add defines for ROM functions