Need help with DPMI function 301h (Developers)
> 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.
YES!
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.
---
DOS-u-akbar!
Complete thread:
- Need help with DPMI function 301h - Laaca, 12.08.2019, 22:19
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Need help with DPMI function 301h - RayeR, 15.08.2019, 03:35
- Need help with DPMI function 301h - Laaca, 16.08.2019, 08:09
- Need help with DPMI function 301h - Laaca, 16.08.2019, 08:11
- Need help with DPMI function 301h - Laaca, 16.08.2019, 08:09
- Need help with DPMI function 301h - marcov, 17.08.2019, 23:34
- Need help with DPMI function 301h - Japheth, 18.08.2019, 09:56
- Need help with DPMI function 301h - Laaca, 18.08.2019, 21:21
- Need help with DPMI function 301h - Japheth, 20.08.2019, 12:34
- Need help with DPMI function 301h - Laaca, 22.08.2019, 17:42
- Need help with DPMI function 301h - Japheth, 23.08.2019, 09:09
- Need help with DPMI function 301h - marcov, 24.08.2019, 15:53
- Need help with DPMI function 301h - Japheth, 24.08.2019, 17:52
- Need help with DPMI function 301h - marcov, 24.08.2019, 18:18
- Need help with DPMI function 301h - Rugxulo, 30.08.2019, 02:43
- Need help with DPMI function 301h - Japheth, 24.08.2019, 17:52
- Need help with DPMI function 301h - marcov, 24.08.2019, 15:53
- Need help with DPMI function 301h - Japheth, 23.08.2019, 09:09
- Need help with DPMI function 301h - Laaca, 22.08.2019, 17:42
- Need help with DPMI function 301h - Japheth, 20.08.2019, 12:34
- Need help with DPMI function 301h - Laaca, 18.08.2019, 21:21
- Need help with DPMI function 301h - RayeR, 15.08.2019, 03:35
Mix view