Talk:DosGetCp: Difference between revisions
Appearance
Created page with "~~~~ 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..." |
m Ak120 moved page Talk:DosGetCp (Legacy) to Talk:DosGetCp |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[User:Martini|Martini]] ([[User talk:Martini|talk]]) 18:55, 17 October 2016 (CEST) | [[User:Martini|Martini]] ([[User talk:Martini|talk]]) 18:55, 17 October 2016 (CEST) | ||
you should know - there is two type of API functions | * you should know - there is two type of API functions | ||
old type - call convention Far16 Pascal | * old type - call convention Far16 Pascal | ||
new type - call convention Near32 C | * new type - call convention Near32 C | ||
so DosGetCp is Far16 Pascal | * so DosGetCp is Far16 Pascal | ||
DosQueryCp is Near32 C | * DosQueryCp is Near32 C | ||
they do almost the same | * they do almost the same | ||
for your reference DosGetCp is ordinal 130 and DosQueryCp is ordinal 291 | * 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) |
Latest revision as of 14:00, 14 August 2017
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)