You can try Turbo Pascal (and a few other old coding environment) online here: https://aryx.github.io/ocaml-elm-playground/apps/#programmin...
https://github.com/skx/cpmulator
There's also a repository of curated/vintage programs, including Turbo Pascal here:
https://github.com/skx/cpm-dist
I still tinker with it, now and again. Though I admit I get distracted and mostly run stuff under BBC BASIC (with it's integrated assembly support), and then switch to replaying Zork!