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


Groups > comp.sys.apple2.programmer > #1979

Re: RWTS return codes

X-Received by 10.182.68.113 with SMTP id v17mr39907734obt.2.1448552187350; Thu, 26 Nov 2015 07:36:27 -0800 (PST)
X-Received by 10.50.78.134 with SMTP id b6mr61244igx.4.1448552187307; Thu, 26 Nov 2015 07:36:27 -0800 (PST)
Path csiph.com!xmission!news.glorb.com!mv3no4293131igc.0!news-out.google.com!f6ni13947igq.0!nntp.google.com!mv3no4293128igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.sys.apple2.programmer
Date Thu, 26 Nov 2015 07:36:26 -0800 (PST)
In-Reply-To <ea18cb22-dd31-4ef1-a592-751221e7a5e9@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=142.165.85.74; posting-account=U4TNXwoAAABP4nIJHynAJZ69O_f3LY2g
NNTP-Posting-Host 142.165.85.74
References <ea18cb22-dd31-4ef1-a592-751221e7a5e9@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a84fef6a-43fd-423e-945f-784c2d8404c7@googlegroups.com> (permalink)
Subject Re: RWTS return codes
From gids.rs@sasktel.net
Injection-Date Thu, 26 Nov 2015 15:36:27 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.sys.apple2.programmer:1979

Show key headers only | View raw


On Tuesday, November 24, 2015 at 11:59:37 AM UTC-6, Mark Lemmert wrote:
> Is anyone familiar with RWTS return codes? Any suggestions that anyone may have on the issue described below are much appreciated. 
> 
> 
> I am working on developing a routine for writing and reading data to/from floppy disk via an interface to RWTS. 
> 
> So far the routine works great. The only issue is I am noticing that I often get return codes in IOB table byte $0D that I do not recognize: for example, 
> 
> $01.....I often get this code when using a write command code
> $09.....I often get this code when reading track 0, sector 0. 
> $D3..I got this code when trying to read a copy II plus disk.
> 
> In all these cases the read/write appears to have been successful.  
> 
> 
> 
> So far the only information I have found on RWTS return codes is in the book Beneath DOS (section 6-5), which lists the following
> 
> $00 = no erros
> $08 = error during init
> $10 = write protect error
> $20 = volume mismatch error
> $40 = drive error
> $80 = read error (obsolete)
> 
> 
> My theory is that the above are no the only return codes, they are just the return codes that indicate a serious error. 
> 
> I am tempted to design my error handling routine to break if the return code is on the above list, but otherwise ignore the return code and continue.
> 
> Does anyone know if it is "safe" to ignore return codes other than the above list? If not, I am wondering that the other return codes are for?


Beagle Bros has a list of errors for Dos3.3 and Prodos.  They may coincide with the return code of RWTS.

1-Language not available(1)
2 or 3-Range error(1)
3-No Device Connected
4-Write Protected
5-End of Data
6-File(1) or Path(2) Not Found
7-Volume Mismatch(1)
8-I/0 Error
9-Disk Full
$A-File Locked
$B-Syntax Error(1) or Invalid Option(2)
$C-No Buffers Available
$D-File Type Mismatch
$E-Program Too Large
$F-Not Direct Command
$11-Directory Full(2)
$12-File Not Open(2)
$13-Duplicate File Name(2)
$14-File Busy(2)
$15-Files Still Open(2)

(1)-Dos 3.3 only
(2)-Prodos only

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-11-24 09:59 -0800
  Re: RWTS return codes qkumba <peter.ferrie@gmail.com> - 2015-11-24 14:41 -0800
    Re: RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-11-26 08:08 -0800
  Re: RWTS return codes gids.rs@sasktel.net - 2015-11-26 07:36 -0800
    Re: RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-11-26 08:15 -0800
      Re: RWTS return codes qkumba <peter.ferrie@gmail.com> - 2015-11-26 08:53 -0800
      Re: RWTS return codes gids.rs@sasktel.net - 2015-11-26 11:17 -0800
        Re: RWTS return codes Antoine Vignau <antoine.vignau@laposte.net> - 2015-11-26 12:50 -0800
          Re: RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-11-29 07:34 -0800
            Re: RWTS return codes qkumba <peter.ferrie@gmail.com> - 2015-11-29 08:37 -0800
              Re: RWTS return codes qkumba <peter.ferrie@gmail.com> - 2015-11-29 08:41 -0800
              Re: RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-12-02 14:15 -0800
        Re: RWTS return codes Mark Lemmert <mark.lemmert@gmail.com> - 2015-11-29 07:20 -0800

csiph-web