Well, if its DEVICE 8 ... then simply type DIRECTORY.
If its not device 8, do this : LOAD"$",(device#) and when its done type
LIST
Thats how my setup works anyways ... PET 4032 - tested it with 8050 disk
drive, 2040 disk drive, 2031 disk drive and SFD 1001 disk drive
RaYzor
>Thanks. I tried that, I think my drives are broken. It's a double
>drive, the second drive is device 9 isn't it?
Aren't the drives in a PET dual drive unit 0 and 1? So to save to the second
drive it would be SAVE "1:filename",8.
::::: Dave Ross / Dr. Watson "Yesterday's technology
:: === wat...@enteract.com today...for a better
:: === tomorrow!"
::::: http://www.enteract.com/~watson
As for a guess on the two switches, one may be going to the diagnostic sense
line and the other to reset. This can allow you to do a "soft reset" on a
Pet.
On to the drive problems:
*** Foggy Memory Mode ON ***
Your drive will have a device number, probably 8. The individual drives
within it are refered to as drive 0 (right-hand) and drive 1 (left-hand).
To get a directory on a Basic 2 computer:
LOAD "0:$",8 or LOAD "1:$",8
If that doesn't work, try other device numbers from 9 to 15.
To send a command to the drive (initialize used as example):
OPEN 15,8,15
PRINT#15,"I0"
CLOSE 15
The characters in quotes are "I" as in "I wish this drive worked", and 0 as
in my bank account balance....
Other commands are:
N -- "New" which is Commodore lingo for format
V -- Validate (get rid of problem directory entries)
C -- Copy
R -- Rename
I won't go into detail other than to say that you need to specifiy which
drive (0 or 1) you are referring to.
To load a file:
LOAD "0:MYFILE",8
To save a file:
SAVE "0:MYFILE",8
LOAD and save will default to PRG type.
Finally, to get the status of a drive:
A$="":OPEN 15,8,15 : GET#15,A$ :PRINT A$ : IF A$<>CHR$(13)THEN NEXT
(I have no idea if that last statement will work. It's been a LOOOONG time.)
If you have Basic 4.0 in your Pet, it is much easier. You should be able to
get a directory with:
DIRECTORY D0
or
CATALOG D0
Disk status should be available with:
? DS$
at least I think it is DS$....
*** Foggy Memory Mode OFF ***
Steve
gree...@BOLLOCKSyahoo.co.uk wrote in message
<381fe593...@news.freeuk.net>...
>On Sun, 24 Oct 1999 19:13:28 -0400, "RaYzor" <ray...@northnet.org>
>sprachen:
>
>>Well, if its DEVICE 8 ... then simply type DIRECTORY.
>>If its not device 8, do this : LOAD"$",(device#) and when its done type
>>LIST
>
>Thanks. I tried that, I think my drives are broken. It's a double
>drive, the second drive is device 9 isn't it?
>
>Anyway I tried to save (I guessed the syntax, what actually do I
>type?) and nothing happened.
>
>When I turn the PET on, the red middle light flashes on, then the 2
>green drive lights, then the red light again. So it knows when it's
>going on and off. I tried the IEEE488 cable upside-down and that
>didn't work at all, it's writing side up so I think that part's right.
>
>The PET has been heavily modified, the motherboard has a load of
>switches on it, which just seem to do wierd things. One EPROM that's
>god knows what. And a few wires strung about. There's one going to one
>of the on-board IDC headers (what are they anyway?), a socket that's
>wired up in parallel to the IEEE488 port, and 2 push-switches on the
>left-hand side.
>
>Are any of these common modifications or anything?
>
>Is there anything I can do to diagnose why it isn't working? BASIC is
>fine but of the disks, nothing. When I change a disk, the drive scans
>it and the light goes on. Then, nothing, no load or save, "file not
>found" for any loading, and whatever I type in the PET, the drive
>lights don't go on.
>
>The drive worked with my previous PET (8096) before I blew the PET up.
>So I've no idea what can be wrong. Where are the PET experts?
>
>------------------------------------------------------------------------
>
>Why pamper life's complexity,
>when the leather runs smooth on the passenger seee-eee-aaat?
>
> - - - - - - - - gree...@yahoo.co.uk
___ SNIP ____
> The drive worked with my previous PET (8096) before I blew the PET up.
> So I've no idea what can be wrong. Where are the PET experts?
Well ... if it worked with an 8096 it should work with any PET.
I had an problematic 2040 drive at one point ... it was turning on and
checking the drives, then the lights would flash (all of them) like 6 times,
stop, then do it all over again. I am not sure what chip it was, but I
replaced the 6502 and I think the 6522 chips and all was fine. Like I said,
I replaced both chips (pretty much pilaged one of my 10 commodore 1541
drives for them) .. so I don't know which was actually problematic.
Anyways, see if you can't get to a old 1541 or something you don't use, but
know works correctly. Swap out the 6502 at the very least .. more chips if
they match.
RaYzor
Actually, LOAD "$0",8 for drive 0, LOAD "$1",8 for drive 1 and LOAD "$",8
for both drives. Your syntax is correct for loading programs, though.
Jim
>
>
Howdy,
Is there any way of and/or any advantage to....using an
8050 drive with a 64 or a Plus 4?
TIA,
Sol
Ummm...
I personally don't know of any adapters to use an 8050 with a Plus/4 ... and
there would be little point anyways.
There was an adapter or two made for the C64 .. but I forget its name and I
know that they were a bit hard to find. I think that you plugged an adapter
into the cartridge port and a cable came out to attach the disk drive to.
RaYzor
Solomon> Is there any way of and/or any advantage to....using an 8050
Solomon> drive with a 64 or a Plus 4?
With an IEEE-488 interface it's possible, but Commodore's IEEE cart-
ridge disables the serial bus in order to enable the IEEE bus. I
believe André Fachat has a fixed ROM though that lets you use both.
IEEE drives are quite a bit faster than stock serial drives, and the
8050 can put 0.5MB on each disk.
--
___ . . . . . + . . o
_|___|_ + . + . + . . Per Olofsson, konstnär
o-o . . . o + Mage...@cling.gu.se
- + + . http://www.cling.gu.se/~cl3polof/
>> Is there any way of and/or any advantage to....using an
>> 8050 drive with a 64 or a Plus 4?
>
>I personally don't know of any adapters to use an 8050 with a Plus/4 ... and
>there would be little point anyways.
The Interpod-1 does that.. IEC -> IEEE-488 (but it's agonizingly slow)
--
Universal CBM, PEZ, and TI-calc nut, Scout, Glider pilot, "Student"
Email: vjo...@sci.fi, URL: http://www.sci.fi/~vjouppi/
GSM: +358-40-5679999, IRCNet: Jope
"I see", said the blind man as he picked up his hammer and saw.
Jim MacKenzie wrote in message <38187...@204.83.142.253>...
Ville,
What's Interpod-1? I saw on Hendrik Lipka's site that he had an
interface for a 2031 and was going to put up the schematic
someday, but I this seems like just a lick and a promise for the
time being.
Thanks,
DJ
The PET has two EPROM slots available, one at $9000 and the other at
$A000. You probably can't tell which is which at a glance. Try
SYS 36864
or
SYS 40960
and see if you get anything. Possibilities that I know about that
your eprom might be-- 1) the micromon assembler 2) a "dongle" for
WordPro (word processing program by Steve Punter that is very
similar to PaperClip 64) 3) the "Command-O" BASIC programming
extension kit. 4) A "medium-res" graphics package (forget the
name)
You could get extender boards for the motherboard so that you could
have two eproms plugged into the same socket. If you have those,
they will be wired to a switch. If you attempt to switch on the
fly (without powering down) you will most likely hang the machine.
As another poster said, the two buttons are probably reset
switches. One will probably do an NMI reset (similar to
RUN/STOP-RESTORE on a 64) and the other will do a hard reset
back to the power-up screen.
--
petli...@bigfoot.com
http://members.tripod.com/~petlibrary/
http://www.icpug.org.uk/
Commodore forever!
> There was an adapter or two made for the C64 .. but I forget its name and I
> know that they were a bit hard to find. I think that you plugged an adapter
> into the cartridge port and a cable came out to attach the disk drive to.
You find a description on funet (see the link under the IEEE pages
on http://www.6502.org/users/andre)
And it is quite fast. I decided to use this adaptor instead of some
proprietary fastloader (I have a VC1541 with IEEE488 interface and
one without)
Andre
> RaYzor
--
Email address may be invalid. Use "fachat AT physik DOT tu-chemnitz DOT de"
------Fight SPAM - join CAUCE http://www.cauce.org------Thanks, spammers...
Andre Fachat, Institute of physics, Technische Universität Chemnitz, FRG
http://www.tu-chemnitz.de/~fachat
>Ville Jouppi wrote:
>>
>> On Sat, 30 Oct 1999 07:41:54 -0400, "RaYzor" <ray...@northnet.org>
>> wrote:
>>
>> >> Is there any way of and/or any advantage to....using an
>> >> 8050 drive with a 64 or a Plus 4?
>> >
>> >I personally don't know of any adapters to use an 8050 with a Plus/4 ... and
>> >there would be little point anyways.
>>
>> The Interpod-1 does that.. IEC -> IEEE-488 (but it's agonizingly slow)
>
>What's Interpod-1? I saw on Hendrik Lipka's site that he had an
>interface for a 2031 and was going to put up the schematic
>someday, but I this seems like just a lick and a promise for the
>time being.
http://www.sci.fi/~vjouppi/cbm/interpod.jpg
That's my interpod.. ;-) It's a bit battered as it was used in a
vocational school before I got it.
There's two IEC ports and one IEEE-488 port. I think it also has a
female d25, but I don't know what that's for.. (maybe parallel
printer?)
It works very solidly, but is extremely slow.
It's a RS232 port, you can send data there via device number 4. Don't
know it's default settings, maybe 300 baud. I couldn't figure out how to
receive data from that port, maybe it's not possible. Maybe I should
scan/type in the little doc sheet that came with the device?
My Interpod looks like new, maybe because it has never been opened and
used until I got it some months ago ;-) It had a broken IEEE port
though, I found that one trace on the PCB was open. The seller told me
that this is normal for UK manufactured hardware, and we both were happy
what an easy fix it was.
> It works very solidly, but is extremely slow.
Yes, damn serial bus.
Nicolas
>Ville Jouppi wrote:
>[interpod]
>> There's two IEC ports and one IEEE-488 port. I think it also has a
>> female d25, but I don't know what that's for.. (maybe parallel
>> printer?)
>
>It's a RS232 port, you can send data there via device number 4. Don't
>know it's default settings, maybe 300 baud. I couldn't figure out how to
>receive data from that port, maybe it's not possible.
Ok, then I presumed right. Is it really a female port? My interpod is
100km away.
>Maybe I should
>scan/type in the little doc sheet that came with the device?
Please do!
>My Interpod looks like new, maybe because it has never been opened and
>used until I got it some months ago ;-) It had a broken IEEE port
>though, I found that one trace on the PCB was open. The seller told me
>that this is normal for UK manufactured hardware, and we both were happy
>what an easy fix it was.
Hmm... :-)
>> It works very solidly, but is extremely slow.
>
>Yes, damn serial bus.
No fastloaders either. :-(
Pity my parallel IEEE-adapter sucks. Made by Handic Software (it's the
SuperBox IIRC). Very fast indeed.
It transfers fine for a while but then it starts giving errors. Maybe
a grounding problem? (does anyone have docs for that beast?)
Mine was only 2m away ;-) It's a male DB25 port, the pinout is
1 GND
2 TXD
4 RTS
5 CTS
8 DCD
20 DTR
22 RI
> >Maybe I should
> >scan/type in the little doc sheet that came with the device?
>
> Please do!
May take a while, but I won't forget it!
BTW, the RS232 port's standard settings are to send data for IEC #4 with
parameters 1200,8,N,1 without ASCII conversion. There's also the
interpod command channel on this device number, but at SA 31. You can
send commands there for changing the RS232 and command channel to
another device number and set RS232 parameters.
Nicolas
>Ville Jouppi wrote:
>> >[interpod]
>> Ok, then I presumed right. Is it really a female port? My interpod is
>> 100km away.
>
>Mine was only 2m away ;-) It's a male DB25 port, the pinout is
>1 GND
>2 TXD
>4 RTS
>5 CTS
>8 DCD
>20 DTR
>22 RI
Hmm, I'll have to try that, then.
>> >Maybe I should
>> >scan/type in the little doc sheet that came with the device?
>>
>> Please do!
>
>May take a while, but I won't forget it!
Ok, I assume you'll notify us here in the group. :-)
>BTW, the RS232 port's standard settings are to send data for IEC #4 with
>parameters 1200,8,N,1 without ASCII conversion. There's also the
>interpod command channel on this device number, but at SA 31. You can
>send commands there for changing the RS232 and command channel to
>another device number and set RS232 parameters.
Hmm, was this the case with CBM's IEC printers too or did they use 15?
Roman Kowalczuk, SYSOP, The New Stelex Sector BBS, Toronto
http://webhome.idirect.com/~stelex
--