Import the routines described in [this document](http://blockos.org/releases/pcengine/documentation/mb128.txt)