cwsdpmi version? Possible fix for Borland tools. (Announce)
I did some more tests:
CWSDPMI 1 to 6 - same as with 7
MAX=32M doesn't make TD working with SXMS but I didn't need this option without using SXMS, it ran fine. Loading hdpmi16 -r makes TD run also wit SXMS (same as hdpmi32 -r helps DJGPP programs)
MAXS EXT=0 (no S.e.x, drugs & rocknroll!) option works same as using jemmexl, as expected...
Then I play with XMStools\xmsalloc and xmsfree to simulate the condition after DN start&exit. I can simulate it by e.g.
xmsalloc 512
xmsalloc 1
xmsfree [handle of 512k block]
then I got such XMS handles list:
no handle region size(kB) locks flags
------------------------------------------------------------
1 8b8 0041f6400- 0df78ffff 3593831 0 1 free
2 8c2 100000000- 11effffff 507904 0 1 free
3 8cc 000111000- 00014dfff 244 1 2 used
4 8d6 00014e000- 004175fff 65696 2 2 used
5 8e0 004176000- 0041f5fff 512 0 1 free <- allocated and freed by me
6 8ea 0041f6000- 0041f63ff 1 0 2 used <- allocated by me
------------------------------------------------------------
4168188 (3660284 kB below 4G)
free handles: 58
no free UMBs available
This is enough to make DJGPP programs run. I guess that CWSDPMI is trying to reuse freed handle 8e0 instead of handles 8c2 or 8b8 and it makes it happy. When I free handle 8ea it also removes handle 8e0 and I got crash. When I allocate only a few kB for 8e0 then it also crashes. Allocating only one block doesn't help, BTW in case of hdpmi32 -r I can see this list:
no handle region size(kB) locks flags
------------------------------------------------------------
1 8b8 00784e000- 0df78ffff 3538184 0 1 free
2 8c2 100000000- 11effffff 507904 0 1 free
3 8cc 000111000- 00014dfff 244 1 2 used
4 8d6 00014e000- 004175fff 65696 2 2 used
5 8e0 004176000- 00784dfff 56160 1 2 used
------------------------------------------------------------
4168188 (3660284 kB below 4G)
free handles: 59
no free UMBs available
Do you have some debug tool that could trap XMS calls and log them? It could help to see what CWSDPMI is doing with it...
---
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