Reply 40 of 61, by analog_programmer
- Rank
- Oldbie
XcomGUI wrote on 2023-09-15, 17:15:Could be. Unless you have changed the memory manager settings to use an internal allocator, it relies on djgpp/dpmi/dos to allocate the memory, and dynamically allocates the RAM with malloc/realloc/free. If you open the process explorer, you can observe the memory usage on the xcom process itself. If you see it crashing after reaching certain treshold, then its indeed due to the memory system. If the crash is not related to memory utilization, then it related to a bug in the code. Currently HDPMI32i.EXE and CWSDPMI.EXE can be used with XCOM. Last time i have checked it, neither of them supported swap files (despite cwsdpmi officially says it supports it - it doesnt) so swapping is not possible for now.
So, I haven't used DOS as main OS for more than two decades, but I correctly remember that there were some problems with its RAM management. And, yes, still there's info that HIMEM in DOS 7.10 has some bug that limits usable memory to 64 MB. I have to try alternatives to HIMEM+EMM386 memory management - maybe JEMMEX or UMBPCI.
Just tried again to reproduce the same crash conditions with no success. Xcom's process explorer shows memory usage of below 10 MB. Maybe it was some momentary instability of my test system.
XcomGUI wrote on 2023-09-15, 17:15:I intentionally did it like this way. I don't like if things randomly pop out as you hover around.
It's not needed on hover to open all the submenus from the menu item pointed with mouse pointer, but just one more level in submenu if there's any. Users can't bother to remember which thing is in which exact (sub)menu 😀 But in the end it's only yours design and decision.
XcomGUI wrote on 2023-09-15, 17:15:This system is designed for unix like systems, but so far only the dos version is available. Shutdown is supposed to turn off the computer by executing the command "halt", or "reboot" in the case you want to reboot the computer. If your system lacks these (and a pure dos lacks them) then it will simply quit from the software. Currently this is disabled under DOS. I am going to notice this proposal, and I am going to modify the code to call halt and reboot even under dos, but you will need to get a halt.exe and a reboot.exe in your DOS directory to get the desired functionality.
Actually reboot from Xcom's Menu works natively with this Win98 DOS version 7.10 on my system with AT-PSU powered board.
Some potential GUI bugs: I test Xcom with 800x600 display resolution and when I choose "Generate walpaper" in "Desktop settings" after quit and restart of Xcom it is always with activated "Mosaic" option in these settings. Also "Manual" checkbox always resets to "Auto" in "Display resolution" even if it was saved.
from СМ630 to Ryzen gen. 3
engineer's five pennies: this world goes south since everything's run by financiers and economists
this isn't voice chat, yet some people, overusing online communications, "talk" and "hear voices"