fdtest
Hi.[snip]
I am getting this:
fdtest
The shell is about to be terminated, though, this is
forbidden (usually by enabling the "/P" option).
You must reboot the system or, if this shell runs in
a multitasking environment, terminate this process/task manually.
when I run this:
C:\devel\pdos\pdpclib>type fdtest.asm
.model small
.stack 1000h
.code
top:
mov ah, 044h
mov al, 01h
mov bx, 0
;mov dx, 081h
mov dx, 0h
int 021h
mov ah, 04ch
int 021h
end top
under Freedos 1.3.
I don't get that problem on a Win 95 command prompt.
Using 1 or 81h (for dx) gives the same result.
The code seems to be conforming to this:
http://www.ctyme.com/intr/rb-2821.htm
http://www.ctyme.com/intr/rb-2820.htm
Note that the original real code does a get device
info first, and has a device information word of 0,
but I may have stuffed that test up.
Is my code correct, and thus, does some component
of Freedos (or some other part of my system) have a bug?
Compilation is as below.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 339 |
Nodes: | 16 (2 / 14) |
Uptime: | 20:26:53 |
Calls: | 7,460 |
Calls today: | 3 |
Files: | 12,691 |
Messages: | 5,626,642 |