DosWorld 06.02.2019, 23:06 |
Howto receive 4GB memory as one chunk, DPMI + Watcom C (Developers) |
Hello! --- |
RayeR CZ, 07.02.2019, 02:03 @ DosWorld |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
With DJGPP/CWSDPMI you should be able to malloc something around 2GB... There's also new API for 64bit long mode, see some older posts here... --- |
DosWorld 14.02.2019, 01:36 @ RayeR |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
> With DJGPP/CWSDPMI you should be able to malloc something around 2GB... --- |
alexfru USA, 07.02.2019, 09:55 @ DosWorld |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
> I had develop software (text editor) and I want open very huge files. My |
DosWorld 14.02.2019, 01:30 @ alexfru |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
> If the problem is in the standard library, you should try allocating memory --- |
alexfru USA, 14.02.2019, 10:32 @ DosWorld |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
> > If the problem is in the standard library, you should try allocating |
Laaca Czech republic, 14.02.2019, 17:40 @ alexfru |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
Yes! For text editor is definitely not needed the allocation of one huge buffer. Much better is to split the file into more buffers. --- |
DosWorld 14.02.2019, 22:05 @ alexfru |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
> First of all --- |
CandyMan 14.02.2019, 18:08 (edited by CandyMan, 14.02.2019, 18:22) @ DosWorld |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
Tomasz Grysztar (author of flat assembler) wrote a text editor using a one-way list. Each line of text consists of blocks of "segments" of fixed length. The first block points to the next one and the next block to the next one. As a result, a continuous memory area is not needed. |
Rugxulo Usono, 26.10.2019, 18:13 @ DosWorld |
Howto receive 4GB memory as one chunk, DPMI + Watcom C |
Sorry I'm late! (FYI, I'm pretty much a noob, so I can only provide vague hints.) |