Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #903

Re: DOS error code question

From Bogus@Embarq.com (Steve)
Newsgroups comp.os.msdos.programmer
Subject Re: DOS error code question
Date 2013-04-19 12:04 +0000
Organization Aioe.org NNTP Server
Message-ID <c1.2b8.3ZsbTL$04t@NOVOSAD3.EMBARQ.COM> (permalink)
References <kkr9mm$mkj$1@speranza.aioe.org>

Show all headers | View raw


Hi Ed,

"Ed" <invalid@nospam.com> writes:
>According to the MS-DOS docs, the following error codes
>are generated when INT21 functions CREATE WRITE fail:
>
>Int 21 3C CREAT - errors 3, 4, 5
>Int 21 40 WRITE - errors 5, 6
>
>So what happens when:
>- there is no more directory space (CREAT)

   You get error 5, ACCESS_DENIED (MS-DOS 5.0 Programmer's
Reference).

>- there are no more disk blocks (WRITE)
>

   You check register AX to find out how many bytes were actually
written (ibid).
   
>None of the codes above seem to cover this (?)  Does
>DOS simply terminate the program?

   No.  See above.

HTH,

Steve N.

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

DOS error code question "Ed" <invalid@nospam.com> - 2013-04-19 21:28 +1000
  Re: DOS error code question Bogus@Embarq.com (Steve) - 2013-04-19 12:04 +0000
    Re: DOS error code question "Ed" <invalid@nospam.com> - 2013-04-19 22:54 +1000

csiph-web