Re: A couple of PET drive problems...

From: Spiro Trikaliotis (ml-cbmhackers_at_trikaliotis.net)
Date: 2007-03-21 09:58:42

Hello,

* On Wed, Mar 21, 2007 at 09:25:13AM +0200 Marko Mäkelä wrote:
> On Wed, Mar 21, 2007 at 05:23:17AM +0000, William Levak wrote:
> > On Tue, 20 Mar 2007, Bryan Pope wrote:
> > 10 open 15,8,15
> > 20 print st
[...]
 
> Unless I'm mistaken, line 10 won't send anything to the bus and thus
> can't fail.  If a file name (disk command) were supplied to the OPEN
> statement, then an attempt would be made to send it.

This is correct. An OPEN no,drive,sec without a file name is an
operation completely inside of the Commodore computer. It only sets some
table, so the computer knows that number "no" is associated with drive
"drive" and the secondary address "sec".

This is true for serial IEC and parallel IEEE devices.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.