Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

CM16 (Developers)

posted by kerravon E-mail, Sydney, Free World South, 27.04.2025, 20:15

There are other things I need now too.

Like an extended MSDOS API function to call to allocate memory where I can specify two things:

1. I'm willing to receive a block of memory that isn't aligned on a segment (ie I will be given an offset too), so long as the block of memory is completely addressable by the segment/selector that I was given. Large and compact apps could request this.

2. As above, but one step further - happy for the memory to span a segment/selector boundary. Huge memory model could request this.

This would give the OS more flexibility in providing memory to apps.

If the C runtime library gets a CF/whatever to say that the extended API doesn't exist, then it falls back to the standard memory allocation routines (ie provided even in MSDOS 2.0) and will get an implied offset of 0.

 

Complete thread:

Back to the forum
Board view  Mix view
22477 Postings in 2087 Threads, 400 registered users, 121 users online (0 registered, 121 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum