Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread Alain Mouette
It's not that I want to stop, but just be nice to others. If they >> don't exist, I assume it'll get back to me fast. > Not halting will unnecessarily spin through CPU cycles and energy while > the program is idle. Halting instead is less costly. On a VirtualMachine or Dosemu, it will eat needless

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread Aitor Santamaría
Hi, 2011/9/24 Christian Masloch : >> It's not that I want to stop, but just be nice to others. If they >> don't exist, I assume it'll get back to me fast. > > Not halting will unnecessarily spin through CPU cycles and energy while > the program is idle. Halting instead is less costly. I know. But

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread Christian Masloch
> It's not that I want to stop, but just be nice to others. If they > don't exist, I assume it'll get back to me fast. Not halting will unnecessarily spin through CPU cycles and energy while the program is idle. Halting instead is less costly. Regards, -

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread Aitor Santamaría
Hi, 2011/9/23 C. Masloch : >> (2) HLT could be another option, but it is not what I am looking for, >> as I would like to let others (TSRs in the same machine, i.e. 28H) or >> the VM that exists outside me (2Fh 1680h) to spend a bit of time doing >> their things, but I don't want to halt. > > What

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread C. Masloch
> (1) I'm talking about pure realmode, so 2Fh 1680h is what I need. Yes, as I mentioned, if you're in real or V86 mode (not protected mode) then attempting 2F.1680 via 31.0300 is of course impossible and not necessary. > (2) HLT could be another option, but it is not what I am looking for, >

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread Aitor Santamaría
Thanks! I have read it, and my conclusions: (1) I'm talking about pure realmode, so 2Fh 1680h is what I need. (2) HLT could be another option, but it is not what I am looking for, as I would like to let others (TSRs in the same machine, i.e. 28H) or the VM that exists outside me (2Fh 1680h) to s

Re: [Freedos-devel] Calling interrupts when iddle

2011-09-23 Thread C. Masloch
Refer to a forum posting I made regarding this: http://www.bttr-software.de/forum/forum_entry.php?id=10397 It discusses idling via Int28, Int2F.1680, and by issuing hlt instructions. As explained I only use the latter two. Regards, -