Ported dos-base and dependencies