The only legal options are buying an used copy of AoE Gold or AoE Collector's Edition. You could also buy the big box releases of AoE and RoR, but I don't recommend. Big box PC games are collectible items nowadays and are quite expensive.
AoE Definitive Edition also has a classic mode that you play with original graphics, but it's not the same experience.
Microsoft could be nice enough to release AoE classic on any platform at a discount. Most companies that have done remakes/remasters also re-released the original game on digital distribution. Blizzard was even nice enough to release the original StarCraft for free when they released SC Remastered.
[This message has been edited by Ris1ng (edited 11-21-2018 @ 06:37 AM).]