Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Need help with DPMI function 301h (Developers)

posted by Laaca(R) Homepage, Czech republic, 22.08.2019, 17:42

> If it doesn't work, try to change the "mov ebx,r" line. I don't know the
> assembler used by FreePascal, so I'm not absolutely sure, but usually you
> have to use LEA instead of MOV to address a stack variable.

You have got it! The problem in my original code was the "mov ebx,r". When I changed it to "lea ebx,r" everything works perfectly.



Complete thread:

Back to the forum
Board view  Mix view
16031 Postings in 1485 Threads, 271 registered users, 6 users online (1 registered, 5 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum