Page 1 of 1

am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 10:18 am
by stefano
Hi,
I'm using this two files to implement fetching in HTMLv, but in the two are defined am3__ and bm3__.
What I have to do?

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 11:38 am
by SoUrcerer
Are you sure? If so, change am3__ and bm3__ in one of them to anything else. It's just tricky way to reserve memory.

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 12:10 pm
by Asper

Code: Select all

$DD 2 dup(0)

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 3:26 pm
by Leency

Code: Select all

dword iconv_open     = #aIconv_open;
dword iconv          = #aIconv;

dword  am5__ = 0x0;
dword  bm5__ = 0x0;
There are am1__, am2__ and so on. You can find them in every file in svn://kolibrios.org/programs/cmm/lib/lib.obj/ directory. This definitions needs for loading libraries. Analogical code in FASM:

Code: Select all

Rotate_import:
rotate_Start		dd aRotate_Start
rotate_Version		dd aRotate_Version
        dd      0
        dd      0
aRotate_Start		db 'START',0
aRotate_Version		db 'version',0

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 7:39 pm
by stefano
Thank you.
I have renamed am3__ and bm3__ in truetype.h to am6__ and bm6__. HTMLv was compiled without errors.
By now I don't understand the use of them. :(

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 7:49 pm
by SoUrcerer
It's the magic. :) The magic numbers.

Re: am3__ and bm3__ are defined in truetype.h and network.h

Posted: Wed Mar 27, 2013 7:59 pm
by stefano
Ok. :lol: