Jump to content

Talk:DosGetCp

From EDM2
Revision as of 14:00, 14 August 2017 by Ak120 (talk | contribs) (Ak120 moved page Talk:DosGetCp (Legacy) to Talk:DosGetCp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Martini (talk) 18:55, 17 October 2016 (CEST)

  • you should know - there is two type of API functions
  • old type - call convention Far16 Pascal
  • new type - call convention Near32 C
  • so DosGetCp is Far16 Pascal
  • DosQueryCp is Near32 C
  • they do almost the same
  • for your reference DosGetCp is ordinal 130 and DosQueryCp is ordinal 291
  • very often C function is implemented as wrapper to Pascal - that is why we have an issue with hi mem addresses (Pascal function can use firs 512M only)