@LiveForIt
It's not DOSBox.
But indeed, this is originally a Text Mode application, but it uses a fully native subsystem on M*rphOS, to render the display contents. For now, for the ease of the port (and for speed) it uses a VGA bitmap font, to render the window contents. That's why it looks like DOSBox. But it's not hard to modify the code to render with whatever font, and even to support Unicode & co. And the window is freely resizeable, supports mouse events, and has clipboard support, so it's quite well integrated with the OS, even if it doesn't look like it.
And i don't think Pascal is confusing after you learn other languages, recent Pascal compilers can do almost all the pointer-magic of C, it has quite good OOP, and its good runtime support (for string management for example) helps you keep your code clean and bugfree.
And there are other advantages... I know about half a dozen other languages, not counting the various flavours of assembly, use and had to use them for work, but still Pascal is my favourite language. Well, you can call that being confused tho', if you're a C lover, but hey...
About OS-specific stuff, since Free Pascal (and related toolchain) is developed in itself, to be able to compile the IDE, i had to support every fundamental libraries and some of the devices of the OS, starting with dos, intuition and graphics.library, timer and clipboard.device, and more. There are bindings for
OpenGL and SDL too. Also, basic MUI stuff is available, so like AHI, and more. Just too many to list here. Just browse the screenshots on my site, to see more.
However, most of this only for M*rphOS at this time. (And OS3 has its own bindings from previous FPC version, but since 2.x compiler doesn't exist for 68k, the support is theroetical at this time.) But i have somewhat advanced versions of fd2pragma, and other tools, so it shouldn't be that hard to get all this running on OS4, since the headers could be easily converted from the C SDK. It just takes some time, and needs someone to do it... But the possibility is there.