Hi again, Just FYI, if anyone cares, just to be more informed about such things ....
On Tue, Nov 10, 2020 at 2:54 PM Rugxulo <rugx...@gmail.com> wrote: > > On Sun, Nov 8, 2020 at 7:31 AM Rugxulo <rugx...@gmail.com> wrote: > > > > Regina was (IIRC) compiled with Watt-32 due to external stack queue or > > whatever (rxqueue). You can almost certainly rebuild without it (I've > > done it) I need to go back and cleanly try to make a proper patch, but it does build successfully (Regina 3.9.3 from Oct. 2019) with DJGPP 2.05 (GCC 10.2) and works (no obvious slowdowns or regressions, e.g. rexxcps). That's without needing Watt-32, so it's only supporting the internal REXX "stack". It's about 220 kb UPX'd, which is far less than the 490 kb one we include already. (Honestly, I'd probably build both with and without Watt-32, just for completeness. DJGPP does have its own "port" of Watt-32 in /current/v2tk/ from last year, so it's probably best to prefer that.) I did also find my public copy (on iBiblio) of older Regina 3.5 built for EMX (GCC 2.8.1), which works fine with RSX + DPMI (since EMS has some obvious environmental bugs and caveats). I don't have GCC/EMX set up nowadays, so I'd have to check my backups, but it shouldn't be hard to get working again. Then again, I don't know of any obvious reason to prefer that over DJGPP. I also found Compact Rexx (CRX) archived on Mike's website (again), and while it worked for very simple programs, it didn't quite work for some of my tests (system resources exhausted). I have no idea if it's really that paltry on RAM, buggy / incomplete, or somehow getting confused (too much free??). It's originally from the late '90s, and the author was testing on a 300 Mhz laptop "for nostalgia". He sounded very competent, so it's probably still useful somehow. But there's a lot of auto-generated sources and other complications. It's probably not impossible to get rebuilt, but you need MASM 6.x (JWasm??) and Nmake (ugh). It's only 40 kb. (Remember that my TC++ build of MAWK [GPL] is only 60 kb UPX'd. Both languages are "standards". It wouldn't be a bad idea for FreeDOS to include AWK by default.) > But Regina is also slower to run [external procedures], moreso than just > typical > slowdown from simple path searches. I have no idea if that's DJGPP's > fault or not (probably not entirely, some is definitely my naive > code). Splitting out three of my procedures in one script slows Regina down > (on a 2010 laptop atop RAM disk) nine times: from half a second to four and a > half seconds! Being more idiomatic, removing the need for two trivial external functions (files) in lieu of better use of built-in functions (BIFs) saved some time, plus some "don't call unless needed" for the one big external procedure remaining helped a lot. So it's only 1.3 seconds now, roughly only 3x slowdown (instead of 9x) when separated out. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel