Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: s_dubrovich <spamtrap@xxxxxxxxxx>
- Date: Tue, 26 Feb 2008 09:30:40 -0800 (PST)
On Feb 26, 7:05 am, NoS...@xxxxxxxxxxx (Bob Masta) wrote:
On Mon, 25 Feb 2008 14:19:21 GMT, Frank Kotler <spamt...@xxxxxxxxxx>How is this done: 'you can create a desktop icon that automatically
wrote:
Bob Masta wrote:
On Sun, 24 Feb 2008 22:28:45 GMT, Frank Kotler <spamt...@xxxxxxxxxx>
wrote:
Pop Tart wrote:
Hello,
I've come to a point in my study of MASM where I can't work the examples for
disk I/O unless I have Windows 98 or less.
<snip>
I'm not sure why you'd want Win98. I know it comes with "real dos", but
in a "dos box", the bios interrupts are "fake" (I mean "emulated"). I
think you'd want "real bios interrupts",
I assume the OP said "Win98 or less" because you can get to
real-mode DOS. It's a little more cumbersome than just using the
"DOS box" you get when you click on the MS-DOS option. You
can get to real-mode via "Start - Shutdown - Restart the computer
in MS-DOS mode", or you can create a desktop icon that automatically
goes to real-mode, runs your app, and then restarts Windows. You
can't do either of those in later Windows versions (except WinMe,
with some trickery).
goes to real-mode, runs your app, and then restarts Windows' for real
mode enviornment on WIN98? I would like to know how to do this
properly.
For checking, I used debug:
-f 100 L 2ff 90
-a
mov ax,1687
int 2f
-p =100 3
-in debug to test for support of DPMI v0.9
(RET AH.0 if successful, AH.8Ah if unsuccessful, AH.1687h if no
support.)
For the [Start][Programs] MS-DOS Prompt, it _is_ supported indicating
VM mode and creating a shortcut for sending to the desktop is the
same.
For via "Start - Shutdown - Restart the computer in MS-DOS mode", it
is _not_ supported, rets: AH,1687h.
However, in debug, if
pushf
pop bx
RETS:
BX.7202h indicating IOPL == 3. _for__both_
Real 'Real Mode' returns IOPL == 0, if done from floppy boot sector
code.
Steve
Yeah... I'm not so sure about "restart in dos mode". Type "exit", and
IIRC you wind up back in Windows. Not what I call "real dos", but it
probably is "real" enough for bios interrupts (not "real" enough for
Flat Real Mode, IIRC).
The fact that "exit" gets you back to Windows means nothing...
it does a complete reboot to get back there. My old Daqarta
for DOS is very picky about real mode, and it runs just fine.
It tests the MSW for the PE flag, and won't even start if set.
I haven't tried Flat Real Mode, but I'd be surprised if it didn't
work. I have never found anything, nor read anything, to
indicate that this is anything other than normal Real Mode.
Best regards,
Bob Masta
DAQARTA v3.50
Data AcQuisition And Real-Time Analysis
www.daqarta.com
Scope, Spectrum, Spectrogram, FREE Signal Generator
Science with your sound card!- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- References:
- Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: Pop Tart
- Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: Frank Kotler
- Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: Bob Masta
- Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: Frank Kotler
- Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- From: Bob Masta
- Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- Prev by Date: Re: Real mode int from protected mode and back
- Next by Date: Jumping into middle of instruction
- Previous by thread: Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- Next by thread: Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- Index(es):
Relevant Pages
|
|