Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

huge memory model (Announce)

posted by kerravon E-mail, Ligao, Free World North, 22.11.2022, 16:30

When I started writing PDOS/86 I didn't know
what "huge" actually was, and I thought it was
for strange people.

I chose "large" for PDOS/86 and when I went to
use my memory management routines, written in
pure C90, originally for MVS, I found that I
was stuck - I could only manage 64k, even
though I was using large memory model.

Rather than change my seemingly valid C90 code,
I instead put a hack into PDOS/86.

About an hour ago the hack was finally killed
off and the problem was solved simply by
recompiling with the "huge" memory model and
a 32-bit size_t. With pure 8086 instructions
from Watcom C, but using PDPCLIB as the C
library.

Code available at http://pdos.org

BFN. Paul.

 

Complete thread:

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