WIP more rom loader refactoring
[skip ci]