using old DOS games/programs in XP

couldn’t you just boot a freedos cdrom, then run real dos to play your game.