For Rayer - shared resources between DOS and WinXP (Announce)
> Yes, addresses in GDT/LDT are linear addresses. Physical addresses are
> "used" by CR3, page dirs and page tables.
Well, in fact I don't need true physical address but address which will have same meaning inside DJGPP program and outside in win32 app. So when I will create descriptor with same linear base in win32 app and will reach the same data as DJGPP prog. But as I saw NTVDM has assigned same linear address for multiple instances it will not work. If I use this linear address for descriptor inside win32 app it will point probably to somewhere else. Maybe it would work under w9x.
Anyway I need to exchange some pointer to data which will work for both djgpp prog and win 32 app. As I understand calling VDD allows me to exchange data in registers (so maybe pointers) but how to get pointer usable for both sides? Or does NT kernel have some special functions to read memory inside NTVDM DPMI space? I would imagine somethinkg like ntvdm_movedata(UINT32 ntvdm_linear_address, UINT8 *buffer, UINT32 size);
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- For Rayer - shared resources between DOS and WinXP - Laaca, 05.07.2008, 10:08 (Announce)
- For Rayer - shared resources between DOS and WinXP - Japheth, 05.07.2008, 11:27
- For Rayer - shared resources between DOS and WinXP - RayeR, 06.07.2008, 13:26
- For Rayer - shared resources between DOS and WinXP - Japheth, 07.07.2008, 09:19
- For Rayer - shared resources between DOS and WinXP - RayeR, 08.07.2008, 14:02
- For Rayer - shared resources between DOS and WinXP - Japheth, 08.07.2008, 17:08
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 02:53
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 09:30
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 11:18
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 11:38
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 14:12
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 20:39
- For Rayer - shared resources between DOS and WinXP - RayeR, 16.07.2008, 15:51
- For Rayer - shared resources between DOS and WinXP - Japheth, 17.07.2008, 08:20
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 12:25
- For Rayer - shared resources between DOS and WinXP - Japheth, 17.07.2008, 13:38
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 14:05
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 17.07.2008, 14:35
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 18:55
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 18.07.2008, 13:50
- For Rayer - shared resources between DOS and WinXP - RayeR, 22.07.2008, 10:24
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 23.07.2008, 00:51
- For Rayer - shared resources between DOS and WinXP - RayeR, 23.07.2008, 16:56
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 24.07.2008, 07:06
- For Rayer - shared resources between DOS and WinXP - RayeR, 23.07.2008, 16:56
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 23.07.2008, 00:51
- For Rayer - shared resources between DOS and WinXP - RayeR, 22.07.2008, 10:24
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 18.07.2008, 13:50
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 18:55
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 17.07.2008, 14:35
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 14:05
- For Rayer - shared resources between DOS and WinXP - Japheth, 17.07.2008, 13:38
- For Rayer - shared resources between DOS and WinXP - RayeR, 17.07.2008, 12:25
- For Rayer - shared resources between DOS and WinXP - Japheth, 17.07.2008, 08:20
- For Rayer - shared resources between DOS and WinXP - RayeR, 16.07.2008, 15:51
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 20:39
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 14:12
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 11:38
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 11:18
- For Rayer - shared resources between DOS and WinXP - Japheth, 11.07.2008, 09:30
- For Rayer - shared resources between DOS and WinXP - Rugxulo, 23.07.2008, 01:00
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 02:53
- For Rayer - shared resources between DOS and WinXP - Japheth, 08.07.2008, 17:08
- For Rayer - shared resources between DOS and WinXP - RayeR, 08.07.2008, 14:02
- For Rayer - shared resources between DOS and WinXP - Japheth, 07.07.2008, 09:19
- For Rayer - shared resources between DOS and WinXP - RayeR, 06.07.2008, 13:26
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 23:04
- For Rayer - shared resources between DOS and WinXP - RayeR, 11.07.2008, 23:19
- For Rayer - shared resources between DOS and WinXP - ho1459, 13.07.2008, 08:40
- For Rayer - shared resources between DOS and WinXP - Japheth, 05.07.2008, 11:27