| Laaca Czech republic, 29.08.2011, 14:11 |
INT 15.87 in protected mode (Developers) |
Hi! --- |
| Rugxulo Usono, 29.08.2011, 23:28 (edited by Rugxulo, 31.08.2011, 01:21) @ Laaca |
INT 15.87 in protected mode |
> But I tried to use this interrupt in 32.bit DPMI via call INT 31h/AX=300h |
| Japheth Germany (South), 30.08.2011, 05:27 @ Rugxulo |
INT 15.87 in protected mode |
> Presumably this was never meant to work when already in pmode ... --- |
| Rugxulo Usono, 30.08.2011, 05:37 @ Japheth |
INT 15.87 in protected mode |
> All these guesses are wrong. |
| Laaca Czech republic, 30.08.2011, 07:22 @ Japheth |
INT 15.87 in protected mode |
> Calling int 15h via DPMI int 31h, ax=0300 "should" always work if it's done --- |
| Japheth Germany (South), 30.08.2011, 08:47 @ Laaca |
INT 15.87 in protected mode |
> Hm, I tried it with cwsdpmi. Most probably with last version - r7. --- |
| Rugxulo Usono, 31.08.2011, 01:30 @ Japheth |
INT 15.87 in protected mode |
> > Hm, I tried it with cwsdpmi. Most probably with last version - r7. |
| Laaca Czech republic, 31.08.2011, 07:33 @ Rugxulo |
INT 15.87 in protected mode |
Today in car I maybe found where could be the problem. When I came home I try to fix it. I am affraid I din't set r.AH:=$87 but r.AX:=$87. I can't check it now because I am at work and will return home only tomorrow afternoon. --- |
| Rugxulo Usono, 31.08.2011, 21:27 @ Laaca |
INT 15.87 in protected mode |
> I learned how to use int 15h/ax=87h in real mode. |
| Laaca Czech republic, 02.09.2011, 07:10 @ Rugxulo |
INT 15.87 in protected mode |
> "AH = 87h" (RBIL) --- |
| marcov 02.09.2011, 09:58 @ Laaca |
INT 15.87 in protected mode |
> > "AH = 87h" (RBIL) |
| Rugxulo Usono, 03.09.2011, 21:49 (edited by Rugxulo, 03.09.2011, 22:16) @ marcov |
INT 15.87 in protected mode |
> This reminds me of something else, is there something like STRACE for Dos |
| DOS386 04.09.2011, 12:43 @ Rugxulo |
INT 15.87 in protected mode |
Laaca wrote: --- |
| Japheth Germany (South), 31.08.2011, 10:11 @ Rugxulo |
INT 15.87 in protected mode |
> Okay, it's just confusing, esp. as (obviously) I have little to no --- |
| Rugxulo Usono, 31.08.2011, 21:25 @ Japheth |
INT 15.87 in protected mode |
> > Okay, it's just confusing, esp. as (obviously) I have little to no |
| ecm Düsseldorf, Germany, 01.09.2011, 02:17 @ Rugxulo |
INT 15.87 in protected mode |
> > If the DPMI host runs as VCPI client, it will switch "back" to v86-mode --- |
| Rugxulo Usono, 01.09.2011, 04:31 @ ecm |
INT 15.87 in protected mode |
> No, that's not possible. As Japheth pointed out, a DPMI host running as |
| Rugxulo Usono, 01.09.2011, 05:00 @ Rugxulo |
INT 15.87 in protected mode |
> Right, which I meant CWSDPMI does not do (for whatever reason). I don't |
| RayeR CZ, 07.09.2011, 10:28 @ Laaca |
INT 15.87 in protected mode |
> Hi! --- |
| Laaca Czech republic, 07.09.2011, 12:28 @ RayeR |
INT 15.87 in protected mode |
I don't want to use it for LFB of course. But it is OK for ACPI handling. I want to share as much code as possible between realmode and protected mode versions of my programs/libraries. --- |
| RayeR CZ, 07.09.2011, 21:05 @ Laaca |
INT 15.87 in protected mode |
> I don't want to use it for LFB of course. But it is OK for ACPI handling. I --- |
| Laaca Czech republic, 08.09.2011, 07:33 @ RayeR |
INT 15.87 in protected mode |
> OK, and what do you plan with ACPI? :) I can read root tables and will look --- |
| bretjohn Rio Rancho, NM, 08.09.2011, 18:19 @ Laaca |
INT 15.87 in protected mode |
> For start I plan to write a small utility which turns my notebook off. |
| Laaca Czech republic, 08.09.2011, 22:39 @ bretjohn |
INT 15.87 in protected mode |
Could you, Bret, provide a patch for FDAPM for this ability? --- |
| Rugxulo Usono, 08.09.2011, 22:50 @ Laaca |
INT 15.87 in protected mode |
> Could you, Bret, provide a patch for FDAPM for this ability? |
| RayeR CZ, 08.09.2011, 22:27 @ Laaca |
INT 15.87 in protected mode |
> For start I plan to write a small utility which turns my notebook off. --- |
| bretjohn Rio Rancho, NM, 09.09.2011, 00:31 @ RayeR |
INT 15.87 in protected mode |
> Good luck. I guess it may not be easy task - would be required |
| RayeR CZ, 09.09.2011, 01:51 (edited by RayeR, 09.09.2011, 02:17) @ bretjohn |
INT 15.87 in protected mode |
> There are two "parts" to ACPI. Part of it is stored in fixed-format --- |
| bretjohn Rio Rancho, NM, 09.09.2011, 20:09 @ RayeR |
INT 15.87 in protected mode |
> Well, could you tell me e.g. what can I read from fixed tables about |
| bretjohn Rio Rancho, NM, 09.09.2011, 23:17 @ RayeR |
INT 15.87 in protected mode |
I was just going through some of my documentation, and I think maybe SMBIOS might be an easier & more informative way to determine the number of CPU's & Cores than ACPI. I've never messed with SMBIOS directly, but the interface is similar in some respects to ACPI. SMBIOS is definitely MUCH more straightforward than ACPI. |
Thread view
Latter sees only INT $21.