Howto receive 4GB memory as one chunk, DPMI + Watcom C (Developers)
Yes! For text editor is definitely not needed the allocation of one huge buffer. Much better is to split the file into more buffers.
For example in my editor Blocek is every line on own buffer and these buffers are connected via structure called linked-list (in my implementation is it encapsulated double linked list).
Other possible solution is to connect lines by dynamic array (has some advantages and disadvantages over linked lists).
I didn't want to enter this discussion earlier because I considered it more as a theoretical discussion about allocating giant memory blocks.
---
DOS-u-akbar!
Complete thread:
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - DosWorld, 06.02.2019, 23:06 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - RayeR, 07.02.2019, 02:03
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - DosWorld, 14.02.2019, 01:36
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - alexfru, 07.02.2019, 09:55
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - DosWorld, 14.02.2019, 01:30
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - alexfru, 14.02.2019, 10:32
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - Laaca, 14.02.2019, 17:40
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - DosWorld, 14.02.2019, 22:05
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - alexfru, 14.02.2019, 10:32
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - DosWorld, 14.02.2019, 01:30
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - CandyMan, 14.02.2019, 18:08
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - Rugxulo, 26.10.2019, 18:13
- Howto receive 4GB memory as one chunk, DPMI + Watcom C - RayeR, 07.02.2019, 02:03
Mix view