more strict handling of dos addresses relative to mem_base
macroize mousedrv.c