Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Howto receive 4GB memory as one chunk, DPMI + Watcom C (Developers)

posted by DosWorld(R), 14.02.2019, 22:05

> First of all
> ... Secondly
> Third
> Fourth

Thanks for hightlithing of problems, I have solution for ALL of this problems.

> So, yeah, you'll likely need a custom memory manager for your task.

I am already have.

> Another thing to point out is that you shouldn't be using primitive
> algorithms when working with large text files. You definitely don't want to
> move 1GB of data in memory every time you insert or delete a character

solved.

> Speaking of algorithms, if you can't allocate most of free RAM as one block
> due to fragmentation, you may want to represent your text as
> https://en.wikipedia.org/wiki/Rope_(data_structure).

It is solved - it work into my custom memory manager (something sort of "rope" technique). BUT, for this custom memory manager's sanbox- need memory. One big piece of memory. Only this is my problem.

---
Make DOS great again!

 

Complete thread:

Back to the forum
Board view  Mix view
15951 Postings in 1475 Threads, 271 registered users, 90 users online (1 registered, 89 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum