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..." |
No edit summary |
||
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) |
Revision as of 18:57, 17 October 2016
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)