Need help with DPMI function 301h (Developers)
> Hi,
> I don't know FP specific but do you really need to write it in ASM?
> DJGPP has DPMI wrapper C functions like
> __dpmi_simulate_real_mode_procedure_retf()
> http://www.delorie.com/djgpp/doc/libc/libc_275.html
> that should do what you want. Maybe you have to take care about saving and
> restoring some other registers. Here's some info about DPMI 0301h
> http://www.delorie.com/djgpp/doc/dpmi/api/310301.html
No, Freepascal does not have equivalent to this function. For DPMI 300h has, for DPMI 301h not. But even if it would be - other problém is; I don't know how to give the parameters via stack with this DJGPP function. I think it is not possible at all. And this PnP standard uses the communication not via registers but via stack.
In my old other project I use the DPMI 301h function without problems but here is not parameters passing through stack (I use it in my port of Digpak/Midpak sound library).
---
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