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, 18.08.2019, 21:21

> In 32-bit protected-mode, when you're pushing a constant value, a 32-bit
> value is pushed! So the code above pushes 5 DWORDS, not 5 WORDS ( as was
> your intention, probably ).
>
> Simplest workround: replace "push CONST" by "mov ax,CONST" & "push ax".

Thank you! Yes, you are right. The only concern I have about it is the feeling that I had it done in this way in the first version of my code before the attempt to maximal simplification.
Well, we will see. I cannot trest it until friday but then I will tell you the result. :-)

---
DOS-u-akbar!

 

Complete thread:

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