There is the open source VGA Paint 386 to get something similar: https://www.bttr-software.de/products/vp386/
Runs in DOSBox (i.e. runs everywhere and can be expected to keep working).
And of course also the open sourced A**desk Animator on various platforms (but I run that in DOSBox as well... great for doodling on the phone).
There's also PyDPainter. A reimplementation in python. https://pydpainter.org/