Possible fix for cwsdpmi trouble (Announce)
I just digged a bit about cwsdpmi and VCPI / XMS and it seems neither is optimal. Also for some old programs I wanna have VCPI by default in my DOS config.
CWSDPMI & RM-XMS
+ more memory available, 4MB pages
- CWSDPMI get all available XMS and when you nested-execute other DJGPP program from your caller DJGPP or XMS-using program it will not left enough memory for it.
CWSDPMI & VCPI
+ no problem with nested calling
- VCPI mem. limitations (mostly by old EMM386 to 32MB or even worse some older only 256kB)
- no 4MB pages
- interesting problem reported here: https://groups.google.com/forum/#!topic/comp.os.msdos.djgpp/4UkalDo_tO8 EMM386 from Win98 under MSDOS 7.1 ambiguously rported VCPI is installed even with NOVCPI, NOEMS at command line that drives CWSDPMI crazy to silent exit.
I also read that CWSDPMI is able to switch to use XMM when available VCPI memory is exhausted. I looked in source valloc.c at line 192 there's a check:
if (vcpi_capacity()) {
use_vcpi = 1;
SHOW_MEM_INFO("VCPI memory: %ld Kb", (vcpi_capacity() * 4L));
} else if(use_xms) {
use_vcpi = 0; /* Just in case multiple pass with all allocated */
xms_alloc_init(); /* Use XMS memory with VCPI mode switch */
}
So it would be easy to modify code to always pass to XMM (but it doesn't solve XMS exhaust).
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- HimemSX, another HimemX variant - Japheth, 21.10.2020, 13:54 (Announce)
- HimemSX, another HimemX variant - tkchia, 21.10.2020, 17:51
- HimemSX, another HimemX variant - RayeR, 22.10.2020, 00:48
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 26.10.2020, 19:32
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 27.10.2020, 06:54
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 27.10.2020, 07:49
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 27.10.2020, 13:11
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 28.10.2020, 05:47
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 28.10.2020, 07:06
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 28.10.2020, 23:26
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 29.10.2020, 03:16
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 29.10.2020, 03:31
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 31.10.2020, 02:20
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 02.11.2020, 00:31
- cwsdpmi version? Possible fix for Borland tools. - Japheth, 02.11.2020, 07:12
- cwsdpmi version? Possible fix for Borland tools. - Laaca, 02.11.2020, 19:21
- cwsdpmi version? Possible fix for Borland tools. - RayeR, 03.11.2020, 08:00
- cwsdpmi version? Possible fix for Borland tools. - Japheth, 03.11.2020, 15:11
- cwsdpmi version? Possible fix for Borland tools. - RayeR, 04.11.2020, 05:43
- Possible fix for cwsdpmi trouble - Japheth, 05.11.2020, 07:53
- Possible fix for cwsdpmi trouble - RayeR, 06.11.2020, 13:49
- Possible fix for cwsdpmi trouble - Japheth, 06.11.2020, 14:39
- Possible fix for cwsdpmi trouble - Laaca, 06.11.2020, 19:50
- Possible fix for cwsdpmi trouble - Japheth, 07.11.2020, 01:37
- Possible fix for cwsdpmi trouble - RayeR, 06.11.2020, 20:31
- Possible fix for cwsdpmi trouble - RayeR, 07.11.2020, 06:17
- Possible fix for cwsdpmi trouble - Japheth, 08.11.2020, 11:51
- Possible fix for cwsdpmi trouble - RayeR, 08.11.2020, 17:39
- CWSDPMI r7 NOVCPI test - RayeR, 10.11.2020, 03:16
- CWSDPMI r7 NOVCPI test - Japheth, 10.11.2020, 06:17
- CWSDPMI r7 NOVCPI test - rr, 10.11.2020, 11:47
- CWSDPMI r7 NOVCPI test - Japheth, 10.11.2020, 18:49
- CWSDPMI r7 NOVCPI test - Rugxulo, 10.11.2020, 21:16
- CWSDPMI r7 NOVCPI test - RayeR, 11.11.2020, 02:28
- CWSDPMI r7 NOVCPI test - Japheth, 11.11.2020, 07:56
- CWSDPMI r7 NOVCPI test - RayeR, 14.11.2020, 02:04
- CWSDPMI r7 NOVCPI test - awik, 18.11.2020, 17:59
- CWSDPMI r7 NOVCPI test - roytam, 17.05.2024, 19:00
- CWSDPMI r7 NOVCPI test - Japheth, 11.11.2020, 07:56
- CWSDPMI r7 NOVCPI test - Japheth, 10.11.2020, 06:17
- CWSDPMI r7 NOVCPI test - RayeR, 10.11.2020, 03:16
- Possible fix for cwsdpmi trouble - RayeR, 08.11.2020, 17:39
- Possible fix for cwsdpmi trouble - Laaca, 06.11.2020, 19:50
- Possible fix for cwsdpmi trouble - Japheth, 06.11.2020, 14:39
- Possible fix for cwsdpmi trouble - RayeR, 06.11.2020, 13:49
- cwsdpmi version? Possible fix for Borland tools. - Japheth, 03.11.2020, 15:11
- cwsdpmi version? Possible fix for Borland tools. - Japheth, 02.11.2020, 07:12
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 02.11.2020, 00:31
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 31.10.2020, 02:20
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 29.10.2020, 03:31
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 29.10.2020, 03:16
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 28.10.2020, 23:26
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 28.10.2020, 07:06
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 28.10.2020, 05:47
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 27.10.2020, 13:11
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 27.10.2020, 07:49
- V86 compatibility? Yes, Jemm386 v5.8 - Zyzzle, 27.10.2020, 15:14
- V86 compatibility? Yes, Jemm386 v5.8 - RayeR, 27.10.2020, 06:54
- V86 compatibility? Yes, Jemm386 v5.8 - Japheth, 26.10.2020, 19:32
- HimemSX, another HimemX variant - RayeR, 22.10.2020, 00:48
- HimemSX, another HimemX variant - Zyzzle, 22.10.2020, 03:38
- HimemSX, another HimemX variant - Japheth, 22.10.2020, 06:39
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 04:54
- HimemSX, another HimemX variant - Japheth, 23.10.2020, 06:47
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 14:00
- HimemSX, another HimemX variant - Japheth, 23.10.2020, 17:32
- HimemSX, another HimemX variant - Laaca, 23.10.2020, 19:14
- HimemSX, another HimemX variant - RayeR, 23.10.2020, 23:06
- HimemSX, another HimemX variant - Zyzzle, 24.10.2020, 01:52
- HimemSX, another HimemX variant - Japheth, 24.10.2020, 05:45
- HimemSX, another HimemX variant - Zyzzle, 24.10.2020, 10:50
- HimemSX, another HimemX variant - RayeR, 24.10.2020, 23:10
- HimemSX, another HimemX variant - Japheth, 03.11.2020, 04:53
- HimemSX, another HimemX variant - RayeR, 03.11.2020, 06:50
- HimemSX, another HimemX variant - CandyMan, 05.11.2020, 19:14
- HimemSX, another HimemX variant - Japheth, 06.11.2020, 08:33
- HimemSX, another HimemX variant - RayeR, 06.11.2020, 13:37
- HimemSX, another HimemX variant - Japheth, 03.11.2020, 04:53
- HimemSX, another HimemX variant - RayeR, 24.10.2020, 23:10
- HimemSX, another HimemX variant - Zyzzle, 24.10.2020, 10:50
- HimemSX, another HimemX variant - Japheth, 24.10.2020, 05:45
- HimemSX, another HimemX variant - Laaca, 23.10.2020, 19:14
- HimemSX, another HimemX variant - Japheth, 23.10.2020, 17:32
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 14:00
- HimemSX, another HimemX variant - Japheth, 23.10.2020, 06:47
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 04:54
- HimemSX, another HimemX variant - Rugxulo, 22.10.2020, 20:31
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 04:37
- HimemSX, another HimemX variant - RayeR, 23.10.2020, 23:13
- HimemSX, another HimemX variant - marcov, 24.10.2020, 01:07
- HimemSX, another HimemX variant - Zyzzle, 23.10.2020, 04:37
- HimemSX, another HimemX variant - Japheth, 22.10.2020, 06:39
- HimemSX Issues - Khusraw, 22.10.2020, 21:52
- HimemSX Issues - Japheth, 23.10.2020, 05:04
- HimemSX, another HimemX variant - tkchia, 21.10.2020, 17:51