Dev-Pascal for window (I need really help, please) - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dev-Pascal for window (I need really help, please)

werner02werner02 Posts: 5Member
Hi All

Might someone out of there who can help me.
I'm using a Dev-Pas Compiler (Pascal) Version 1.9 (latest).
Always, if I try to compile asm-codes, the compiler gives an error messages
(Unknown identfier AX, unknown identifier BX...) and so on.

I have downloaded a DOS-Extender Pro32 in order to compile those asm codes.

How can use the DOS Extender together with Dev-Pascal?

In TurboPascal everythig works fine, but I'm unable to implement a resourcecode. Therefore I choosed to use Dev-Pascal.

Maybe somebody with good knowledge can help me.

Thanks for all

WERNER

Comments

  • zibadianzibadian Posts: 6,349Member
    : Hi All
    :
    : Might someone out of there who can help me.
    : I'm using a Dev-Pas Compiler (Pascal) Version 1.9 (latest).
    : Always, if I try to compile asm-codes, the compiler gives an error messages
    : (Unknown identfier AX, unknown identifier BX...) and so on.
    :
    : I have downloaded a DOS-Extender Pro32 in order to compile those asm codes.
    :
    : How can use the DOS Extender together with Dev-Pascal?
    :
    : In TurboPascal everythig works fine, but I'm unable to implement a resourcecode. Therefore I choosed to use Dev-Pascal.
    :
    : Maybe somebody with good knowledge can help me.
    :
    : Thanks for all
    :
    : WERNER
    :
    Perhaps they are called EAX, after the 32-bit registers instead of the 16-bit registers.
  • ManningManning Posts: 1,621Member
    : : Hi All
    : :
    : : Might someone out of there who can help me.
    : : I'm using a Dev-Pas Compiler (Pascal) Version 1.9 (latest).
    : : Always, if I try to compile asm-codes, the compiler gives an error messages
    : : (Unknown identfier AX, unknown identifier BX...) and so on.
    : :
    : : I have downloaded a DOS-Extender Pro32 in order to compile those asm codes.
    : :
    : : How can use the DOS Extender together with Dev-Pascal?
    : :
    : : In TurboPascal everythig works fine, but I'm unable to implement a resourcecode. Therefore I choosed to use Dev-Pascal.
    : :
    : : Maybe somebody with good knowledge can help me.
    : :
    : : Thanks for all
    : :
    : : WERNER
    : :
    : Perhaps they are called EAX, after the 32-bit registers instead of the 16-bit registers.


    Most likely they are, since Dev-Pascal comes with either the Win32 version of FreePascal or GNU Pascal.

    It's possible (and probable) the ASM he is trying to use won't even work in Dev-Pascal because of the difference in the DOS and Win32 platforms.
  • bpajkbpajk Posts: 156Member
    To compile use a directive at the top of the program: {$ASMMODE INTEL} But be cearful, you have 32bit registers and memory locations in Dev-Pascal. Some code will not work in Dev-Pascal, despite working in Turbo Pascal.
Sign In or Register to comment.