Reply 17060 of 19648, by TechieDude
Don't know if it counts, but I compiled Adlib Tracker II SDL on FreeBSD 12.2 32-bit from source. I had recently installed FreeBSD side-by-side with Devuan on my netbook, and gotten it to a full XFCE desktop.
I'm starting to suspect that the real reason it was this sluggish was AHCI mode instead of Compatibility mode. This must be the first time AHCI mode actually made hardware slower. It's also running surprisingly snappy now. Go figure
DISCLAIMER: I'm not a programmer, nor do I really know what I'm doing when modifying source code, let alone what any of it does. In fact, I still have a lot to learn even when it comes to just using Unix-like Operating Systems. Anyway, compiling AT2 on FreeBSD has the same dependencies as on Linux, except it always halted at
StrUtils
I tried to find that 'file' both in the master branch and the linuxport branch, and still nothing. Of course I couldn't find it, because it's actually a function, which I have no idea what it's supposed to do. So, what do I do? Just out of curiosity, I decided to just remove every mention of it from the adt*ext*.pas files, and see what happens. To my surprise, it actually compiled with no errors, so I decided to run it to see what goes wrong. Cue second surprise, it actually ran fine with no errors, or anything looking/sounding wrong. And a third surprise, it actually had better performance on FreeBSD than on Devuan, even though both OSes run on the same crappy hardware, with the same somewhat lightweight DE and otherwise perform about the same!













