hardware: ram/rom fix