Re: Alternat BLOCK-xxxx formats

From: William Levak (wlevak_at_cyberspace.org)
Date: 2000-09-05 06:53:06

On Mon, 4 Sep 100 g.j.p.a.a.baltissen@kader.hobby.nl wrote:

> Hallo allemaal,
> 
> I was analyzing several BLOCK commands and run into the following trouble. 
> The first command I gave was PRINT#15,"U1";2;0;18;1 and this ended alright. 
> The altrnatives are 
> PRINT#15,"U1:"2;0;18;1
> PRINT#15,"UA:"2;0;18;1  and
> PRINT#15,"U1:2;0;18;1"

Either  "U1:2 0 18 1"   or  "U1:"2;0;18;1  will work.  These commands are
formatted by the print statement just as they would be if they were sent
to a printer or to the screen.  What the disk drive wants to see is

U1:2 0 18 1

It wants the user command followed by 4 numbers separated by spaces.  You can
use any Basic commands that results in the above being sent.

> The last one is the one causing trouble saying 70,NO CHANNEL,0,0. I think 
> the trouble is that the number "2" is interpreted a character, not as 
> number. 
> The original text (Diskdrive 1570/71 Users's Guide P/N 325 135/02) page 68 
> says PRINT#15,"U1:channel#;drive#;track#;sector#". 
> How am I supposed to use this command NOT using extra double quotes (")?
> 
> (I need this info for my disk emulator PC-Disk)
> 
> Thanks!
> 
> Groetjes, Ruud
> 
> -
> This message was sent through the cbm-hackers mailing list.
> To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.
> 

-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.