Up ] Docs Home ]

Format of DESQview mapping context record

Back ] Next ]

Offset Size Description

00h

WORD

lowest segment in process's memory (often start of system memory chain)

02h

WORD

size of process's memory in paragraphs

04h

BYTE

flag:
00h - if process swapped out
01h - otherwise

05h

BYTE

flag:
00h - if allocated in conventional memory
01h - if EMS

06h

2 BYTEs

???

08h

WORD

EMS handle if in EMS, else 0

0Ah

2 BYTEs

??? (nonzero if system memory resides in shared mem???)

0Ch

WORD

segment of system memory block that contains process record, referenced from segment of start of system memory chain

0Eh

BYTE

???

0Fh

WORD

size of system memory block that contains process record and DOS memory in paragraphs

11h

BYTE

bit flags:
bit 0 : Swapped out???
bit 1 : ???
bit 2 : Swapped out???

12h

BYTE

???

13h

BYTE

reference count

---v2.31

14h

10 BYTEs

???

1Eh

WORD

segment of process record

20h

2 BYTEs

???

22h

WORD

segment of ??? (in first free system memory block???)

24h

WORD

segment of end of system memory chain

24h

WORD

segment of start of system memory chain

28h

8 BYTEs

???

2Ah

DWORD

pointer to ??? (process record???)

2Dh

10 BYTEs

???

37h

BYTE

lowest interrupt vector to save on context switch

38h

BYTE

highest interrupt vector to save on context switch

39h

WORD

offset in common memory of main task with this context

3Ah

12 BYTEs

???

46h

BYTE

internal mapping context number

47h

12 BYTEs

???

---v2.5x-2.60

14h

6 BYTEs

???

1Ah

WORD

segment of process record

1Ch

2 BYTEs

???

1Eh

WORD

segment of first free system memory block

20h

WORD

segment of start of system memory chain

22h

WORD

segment of end of system memory chain

24h

8 BYTEs

???

2Ch

DWORD

pointer to ??? (1 segment into process record???)

30h

3 BYTEs

???

33h

WORD

Offset in common memory of main task with this context

35h

7 BYTEs

???

3Ch

BYTE

internal mapping context number

3Dh

14 BYTEs

???

4Bh

WORD

first DOS memory segment (first MCB segment+1)

4Dh

BYTE

??? (flag???)

---v2.53 (2.5x???)

4Eh

12 BYTEs

???

---v2.60

4Eh

WORD

segment of script buffer (see #00421)

50h

6 BYTEs

???