Howdy, Stranger!

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

Categories

Mouse routine

Basya LantiBasya Lanti Member Posts: 50
Hi all,

I had coded a small mouse (sub) routine (16 bit).
Now I wanted to modified it for 32 bit in protected mode.
But while trying to make it work, I get this assembling error:
"16 bit segments not supported in module" (= source code).

As far as I'm concerned, I already upgrated the entire routine from 16 bit up to 32 bit but still have I forgotten something.
Does someone by any chance know what the hell I'm doing wrong??

:-) Basya Lanti :-)


Comments

  • AsmGuru62AsmGuru62 Member Posts: 6,519
    Probably, you should use 32-bit modifiers for your segments:

    Data Segment Use32 Dword Public 'DATA'
    Assume ds:Data
    ...your vars here...
    Data Ends

    ...try this...
    If it does not help, then I dunno...



  • Basya LantiBasya Lanti Member Posts: 50
    : Probably, you should use 32-bit modifiers for your segments:
    :
    : Data Segment Use32 Dword Public 'DATA'
    : Assume ds:Data
    : ...your vars here...
    : Data Ends
    :
    : ...try this...
    : If it does not help, then I dunno...
    :
    :
    :

    Basya Lanti: Thanx! I'll try it.

    :-) Basya Lanti :-)

Sign In or Register to comment.