Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

When we write programs that "learn", it turns out we do and they don't.


devel / comp.os.msdos.programmer / set device info

SubjectAuthor
* set device infomuta...@gmail.com
`- set device infoJJ

1
set device info

<6b5604bb-53db-4917-9843-a9c9c9f265ccn@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=348&group=comp.os.msdos.programmer#348

  copy link   Newsgroups: comp.os.msdos.programmer
X-Received: by 2002:ad4:4f51:0:b0:63c:f602:f1d9 with SMTP id eu17-20020ad44f51000000b0063cf602f1d9mr24175qvb.8.1690700137938;
Sat, 29 Jul 2023 23:55:37 -0700 (PDT)
X-Received: by 2002:a05:6870:7730:b0:1b0:60ff:b746 with SMTP id
dw48-20020a056870773000b001b060ffb746mr8269350oab.4.1690700137609; Sat, 29
Jul 2023 23:55:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.msdos.programmer
Date: Sat, 29 Jul 2023 23:55:37 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=136.158.103.92; posting-account=CeHKkQoAAAAowY1GfiJYG55VVc0s1zaG
NNTP-Posting-Host: 136.158.103.92
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6b5604bb-53db-4917-9843-a9c9c9f265ccn@googlegroups.com>
Subject: set device info
From: mutazilah@gmail.com (muta...@gmail.com)
Injection-Date: Sun, 30 Jul 2023 06:55:37 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2915
 by: muta...@gmail.com - Sun, 30 Jul 2023 06:55 UTC

Hi.

I am getting this:

C:\>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.

Thanks. Paul.

C:\devel\pdos\pdpclib>wasm fdtest.asm
Open Watcom Assembler Version 1.6
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
fdtest.asm: 20 lines, 0 warnings, 0 errors

C:\devel\pdos\pdpclib>wcl fdtest.obj
Open Watcom C/C++16 Compile and Link Utility Version 1.6
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
wlink @__wcl__.lnk
Open Watcom Linker Version 1.6
Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
loading object files
creating a DOS executable

Re: set device info

<1ok29a3vn39c0$.1ltuqstemra30.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=349&group=comp.os.msdos.programmer#349

  copy link   Newsgroups: comp.os.msdos.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: comp.os.msdos.programmer
Subject: Re: set device info
Date: Mon, 31 Jul 2023 13:45:16 +0700
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <1ok29a3vn39c0$.1ltuqstemra30.dlg@40tude.net>
References: <6b5604bb-53db-4917-9843-a9c9c9f265ccn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="5a7786d4ceab961ff76d204a61939488";
logging-data="3384420"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/evaR+N1PTEL9A25UOzSXDYZ8gXB+gu0w="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:Zo736/IFirIgyQlvCTDKUIBCOa4=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Mon, 31 Jul 2023 06:45 UTC

On Sat, 29 Jul 2023 23:55:37 -0700 (PDT), muta...@gmail.com wrote:
> Hi.
>
> I am getting this:
>
> C:\>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.
[snip]

With the same code, the only difference is the OS. So obviously the cause is
in the OS, and not the code. Either the command interpreter, or the OS
kernel itself.

FYI, no other DOS OS is trully compatible with MS-DOS - including it's
quirks. PC-DOS is excluded, since it's just a rebranded MS-DOS.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor