Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » C64/1541 copy: have disk, need file!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
C64/1541 copy: have disk, need file! [message #338734] Fri, 03 March 2017 15:42 Go to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
Hi! I finally have a working C64/1541 disk copier but not a file copier. The working disk copier is Online Copy. Any suggestions for file copiers? I have an NTSC C64C and a plain 1541 drive.
Re: C64/1541 copy: have disk, need file! [message #338754 is a reply to message #338734] Sat, 04 March 2017 14:25 Go to previous messageGo to next message
Andreas Kohlbach is currently offline  Andreas Kohlbach
Messages: 1456
Registered: December 2011
Karma: 0
Senior Member
On Fri, 3 Mar 2017 12:42:28 -0800 (PST), Harry Potter wrote:
>
> Hi! I finally have a working C64/1541 disk copier but not a file
> copier. The working disk copier is Online Copy. Any suggestions for
> file copiers? I have an NTSC C64C and a plain 1541 drive.

LOAD "SOME_PROGRAM",8,1

Swap disks.

SAVE "SOME_PROGRAM",8,1

;-)
--
Andreas
You know you are a redneck if
the highlight of your family reunion was your sister's nude dancing debut.
Re: C64/1541 copy: have disk, need file! [message #338755 is a reply to message #338754] Sat, 04 March 2017 14:59 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Saturday, March 4, 2017 at 2:25:19 PM UTC-5, Andreas Kohlbach wrote:
> LOAD "SOME_PROGRAM",8,1
>
> Swap disks.
>
> SAVE "SOME_PROGRAM",8,1
>
> ;-)
Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)
Re: C64/1541 copy: have disk, need file! [message #338757 is a reply to message #338755] Sat, 04 March 2017 15:41 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Saturday, March 4, 2017 at 2:59:51 PM UTC-5, Harry Potter wrote:
> Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)

It worked! Thank you! :D
Re: C64/1541 copy: have disk, need file! [message #338764 is a reply to message #338757] Sat, 04 March 2017 17:53 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Saturday, March 4, 2017 at 3:41:47 PM UTC-5, Harry Potter wrote:
> On Saturday, March 4, 2017 at 2:59:51 PM UTC-5, Harry Potter wrote:
>> Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)
>
> It worked! Thank you! :D

One problem: I just tried to copy a file that's too big to fit in memory--I forgot about that--and got an Out of Memory error. I need another way to copy this file. :(
Re: C64/1541 copy: have disk, need file! [message #338778 is a reply to message #338764] Sun, 05 March 2017 02:54 Go to previous messageGo to next message
Pekka Takala is currently offline  Pekka Takala
Messages: 73
Registered: March 2012
Karma: 0
Member
On 05.03.2017 00:53, Harry Potter wrote:
> On Saturday, March 4, 2017 at 3:41:47 PM UTC-5, Harry Potter wrote:
>> On Saturday, March 4, 2017 at 2:59:51 PM UTC-5, Harry Potter wrote:
>>> Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)
>>
>> It worked! Thank you! :D
>
> One problem: I just tried to copy a file that's too big to fit in memory--I forgot about that--and got an Out of Memory error. I need another way to copy this file. :(
>
Hi!

The reason for this is that the file is over 159 blocks long, so Basic
is not able to save the file because name does not fit into memory.

Easy solution for this is a wery small m/l program. I made one, and its
size is just 40 bytes. Only problem is that the name is always same, but
1541 dos allows you to change the name afterwards.

Create a program like this and place it into 679 onwards (I used 53200
on my c64, but i had another program that was trouble if I used 679).
Also tape buffer is not suitable for your program, because you might
want to copy from tape also.

Assembler code:


*=679

lda #1 ;logical address
tay ;set same as secondary
ldx #8 ;devnum (you can change this, if want)
jsr $ffba ;SETLFS routine, kernal
lda #2 ;name length
ldx #<name ;name low address
ldy #>name ;name high address
jsr $ffbd ;SETNAM routine, kernal
lda #54 ;turn BASIC off
sta $1 ;store to CPU register
;now we can store the area from 2049 to 53247, but of course we save
;only the data that is needed, not more.
lda #$2b ;we save from Basic start
ldx $2d
ldy $2e ;to Basic end, since Basic load
;has set the variables start (this makes the trouble when trying to
;save something over 159 blocks!)
jsr $ffde ;call Kernal save routine
lda #55
sta $1 ;return Basic interpreter
rts ;return to Basic
name !tx "na" ;name for Kernal


Since the Kernal save routine does not need Basic interpreter, you can
safely turn it off. This routine is also Jiffydos or another turbo
compatible.

Now, the usage:

1. Load this tiny program to memory. After loading, give command NEW or
reset the c64. Dont worry, this software survives even hard reset
(sys64738 or reset switch!).
2. Load the program from the media you want to copy (turbo tape, disk,
whatever). Only thing is that you need to use LOAD command or compatible
way to load it.
3. Put the destination disk to your disk drive and type SYS 679. The
disk drive starts its slow process, and after the process READY prompt
comes to screen. If you need more copies, just repeat SYS 679 with
another disk.
4. Type NEW.
5. Load the disk directory and you will see a program named NA on the disk.
6. Rename the program to whatever you want. For example:
open1,8,15,"r0:gianasisters=na":close1

This program can save also shorter programs than 160 blocks, its maximum
being 201 blocks. Only short is that you have to rename the file
afterwards, but it is only tiny price if you need to copy files.

If your file size is over 201 blocks, you need to use special program
for it.
Re: C64/1541 copy: have disk, need file! [message #338781 is a reply to message #338778] Sun, 05 March 2017 06:42 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
Thank you! I think the program in question is short enough. :)
Re: C64/1541 copy: have disk, need file! [message #338782 is a reply to message #338781] Sun, 05 March 2017 06:46 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Sunday, March 5, 2017 at 6:42:29 AM UTC-5, Harry Potter wrote:
> Thank you! I think the program in question is short enough. :)

Uhh...I use cc65's assembler for C64 assembler. Is there another, simpler assembler I can use?
Re: C64/1541 copy: have disk, need file! [message #338784 is a reply to message #338782] Sun, 05 March 2017 07:40 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
I tried your program on BASSEM. For some reason, the program immediately dumps me back to BASIC without saving the file. I tested the program on WinVice 3.0. I used the monitor, and the code is there, so I don't know what's wrong. :(
Re: C64/1541 copy: have disk, need file! [message #338800 is a reply to message #338764] Sun, 05 March 2017 15:41 Go to previous messageGo to next message
Andreas Kohlbach is currently offline  Andreas Kohlbach
Messages: 1456
Registered: December 2011
Karma: 0
Senior Member
On Sat, 4 Mar 2017 14:53:54 -0800 (PST), Harry Potter wrote:
>
> On Saturday, March 4, 2017 at 3:41:47 PM UTC-5, Harry Potter wrote:
>> On Saturday, March 4, 2017 at 2:59:51 PM UTC-5, Harry Potter wrote:
>>> Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)
>>
>> It worked! Thank you! :D
>
> One problem: I just tried to copy a file that's too big to fit in
> memory--I forgot about that--and got an Out of Memory error. I need
> another way to copy this file. :(

Back in the day we had mostly nibbler copy programs. But they didn't copy
file by file. And most other programs only copied a whole disk rather
than asking what file(s) to copy. Cannot remember to have ever ran into
your problem though.
--
Andreas
You know you are a redneck if
momma taught you how to flip a cigarette.
Re: C64/1541 copy: have disk, need file! [message #338801 is a reply to message #338784] Sun, 05 March 2017 15:59 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
I just looked at my docs. and found out why your progra didn't work: the kernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.
Re: C64/1541 copy: have disk, need file! [message #338802 is a reply to message #338801] Sun, 05 March 2017 16:08 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Sunday, March 5, 2017 at 3:59:31 PM UTC-5, Harry Potter wrote:
> I just looked at my docs. and found out why your progra didn't work: the kernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.

Performed the change. It works now! :)
Re: C64/1541 copy: have disk, need file! [message #338811 is a reply to message #338778] Mon, 06 March 2017 07:16 Go to previous messageGo to next message
Anssi Saari is currently offline  Anssi Saari
Messages: 327
Registered: January 2012
Karma: 0
Senior Member
Pekka Takala <pekka.NOtakala@pihSPAMtisoft.fi> writes:

> If your file size is over 201 blocks, you need to use special program
> for it.

How do those special programs work, other than flipping disks multiple
times? I remember early on in the 80s there was this file copy program
called copy57.5K or something like that. Presumably it was able to do
57.5 kB at a time but how?
Re: C64/1541 copy: have disk, need file! [message #338817 is a reply to message #338811] Mon, 06 March 2017 11:05 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Monday, March 6, 2017 at 7:16:31 AM UTC-5, Anssi Saari wrote:
> How do those special programs work, other than flipping disks multiple
> times? I remember early on in the 80s there was this file copy program
> called copy57.5K or something like that. Presumably it was able to do
> 57.5 kB at a time but how?

I presume it uses the memory behind the ROMs and I/O to store the information.
Re: C64/1541 copy: have disk, need file! [message #338822 is a reply to message #338802] Mon, 06 March 2017 12:33 Go to previous messageGo to next message
Pekka Takala is currently offline  Pekka Takala
Messages: 73
Registered: March 2012
Karma: 0
Member
On 05.03.2017 23:08, Harry Potter wrote:
> On Sunday, March 5, 2017 at 3:59:31 PM UTC-5, Harry Potter wrote:
>> I just looked at my docs. and found out why your progra didn't work: the kernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.
>
> Performed the change. It works now! :)
>
Yeah, wrote it when awfully tired. but glad you got it working :)
Re: C64/1541 copy: have disk, need file! [message #338832 is a reply to message #338817] Mon, 06 March 2017 15:22 Go to previous messageGo to next message
Anssi Saari is currently offline  Anssi Saari
Messages: 327
Registered: January 2012
Karma: 0
Senior Member
Harry Potter <rose.joseph12@yahoo.com> writes:

> On Monday, March 6, 2017 at 7:16:31 AM UTC-5, Anssi Saari wrote:
>> How do those special programs work, other than flipping disks multiple
>> times? I remember early on in the 80s there was this file copy program
>> called copy57.5K or something like that. Presumably it was able to do
>> 57.5 kB at a time but how?
>
> I presume it uses the memory behind the ROMs and I/O to store the information.

Well sure but how do you do that?
Re: C64/1541 copy: have disk, need file! [message #338841 is a reply to message #338832] Mon, 06 March 2017 18:41 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Monday, March 6, 2017 at 3:22:31 PM UTC-5, Anssi Saari wrote:
> Harry Potter <rose.joseph12@yahoo.com> writes:
>
>> I presume it uses the memory behind the ROMs and I/O to store the information.
>
> Well sure but how do you do that?

By switching out the memory areas. Look at your docs. at memory location $01. It will give you more information. :)
Re: C64/1541 copy: have disk, need file! [message #338851 is a reply to message #338832] Tue, 07 March 2017 00:03 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: rridge

Anssi Saari <as@sci.fi> wrote:
> Well sure but how do you do that?

The 6510 CPU used by the Commodore 64 has built in 6-bit GPIO port,
which is accessable through device registers at memory locations 0000
and 0001. Address 0000 is the data direction register and determines
whether each GPIO line is a input or output. Address 0001 is the data
port and is where GPIO lines are read from and writen to. Bits 0, 1,
2 are named LORAM, HIRAM and CHAREN respectively and their lines are
connected to circuitry that maps ROM, RAM and I/O space in and out of the
C64's 64K address space. By setting LORAM and HIRAM to 0 (the state of
CHAREN doesn't matter) the entire 64K address space is mapped with RAM.
A notable exception are two device registers at 0000 and 0001 which as
they're built into the CPU can't be mapped out.

So presumably copy57.5K switches to the memory map where everything is
RAM and does the copy using the remaining 6.5K of RAM to store the code
that does the copying.

Ross Ridge

--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] rridge@csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
Re: C64/1541 copy: have disk, need file! [message #338856 is a reply to message #338851] Tue, 07 March 2017 05:17 Go to previous messageGo to next message
Anssi Saari is currently offline  Anssi Saari
Messages: 327
Registered: January 2012
Karma: 0
Senior Member
rridge@csclub.uwaterloo.ca (Ross Ridge) writes:

> So presumably copy57.5K switches to the memory map where everything is
> RAM and does the copy using the remaining 6.5K of RAM to store the code
> that does the copying.

Yes, presumably. But it's just a little bit hard to do I/O if you switch
I/O out of your memory space so that's not the thing to do, exactly. One
could use RAM to RAM copy to fill the RAM under I/O. But I wonder,
Pekka's routine was just 40 bytes using ROM routines so 6.5K (or 5.5K
since the program was actually copy 58.5k) RAM seems excessive. The
whole operating system is just 8K. So maybe the program skipped the I/O
area?

The other question is, what all do you need to take care of if you're
going to get rid of the kernal and still be able to load stuff into RAM
below and also get the kernal back later? But with a quick look it looks
like disabling interrupts is enough.

BTW, I think I found the program, it was COPY 58.5K and it's on a disk
image at
http://www.commodoreserver.com/PublicDiskDetails.asp?DID=BAB E16C933E24BE9A89B8743E4F56D2C

Maybe I'm going to try and figure out exactly how it works. Looks like
it's 11 blocks so 2.75K but it might be compressed.
Re: C64/1541 copy: have disk, need file! [message #338857 is a reply to message #338856] Tue, 07 March 2017 06:37 Go to previous messageGo to next message
Pekka Takala is currently offline  Pekka Takala
Messages: 73
Registered: March 2012
Karma: 0
Member
On 07.03.2017 12:17, Anssi Saari wrote:
> rridge@csclub.uwaterloo.ca (Ross Ridge) writes:
>
>> So presumably copy57.5K switches to the memory map where everything is
>> RAM and does the copy using the remaining 6.5K of RAM to store the code
>> that does the copying.
>
> Yes, presumably. But it's just a little bit hard to do I/O if you switch
> I/O out of your memory space so that's not the thing to do, exactly. One
> could use RAM to RAM copy to fill the RAM under I/O. But I wonder,
> Pekka's routine was just 40 bytes using ROM routines so 6.5K (or 5.5K
> since the program was actually copy 58.5k) RAM seems excessive. The
> whole operating system is just 8K. So maybe the program skipped the I/O
> area?
>
> The other question is, what all do you need to take care of if you're
> going to get rid of the kernal and still be able to load stuff into RAM
> below and also get the kernal back later? But with a quick look it looks
> like disabling interrupts is enough.
>
> BTW, I think I found the program, it was COPY 58.5K and it's on a disk
> image at
> http://www.commodoreserver.com/PublicDiskDetails.asp?DID=BAB E16C933E24BE9A89B8743E4F56D2C
>
> Maybe I'm going to try and figure out exactly how it works. Looks like
> it's 11 blocks so 2.75K but it might be compressed.
>
The load and save routines in stock kernal are not able to switch off
roms. But if you want to use whole memory, then you are able to open the
file as normal sequential file. When you need to get under ROMS, you
switch them off temporarily, read the byte and then switch them back on.
Only thing to remember is that when you switch ROMS off, the interrupt
vectors has to be taken account (especially NMI). On c64, if cpu writes
onto area of ROM, it writes the byte into underneath RAM. So you can
program the RAM memory beforehand using write-through method. When
reading, just turn ROMS off, read byte and then turn them back on. For
example:

; Copy 256 bytes from under Kernal Rom

; we copy the string to 60000, that is under KERNAL ROM.
; We output the string to screen using kernal routines. Same method can
; be used when outputting to disk - just open the file and select it.
; Without a string copied to 60000, this program copies whatever garble
; there is.

ldx #00 ;pointer
..loop sei
ldy #53 ;turn ROMS off
sta $1
lda 60000,x
ldy #55 ;turn ROMS on
sta $1
cli ;enable interrupts
;now we have the read byte from under Kernal in accu
jsr CHROUT ;chrout is label for Kernal chrout routine
inx
bne .loop


My program uses simplest possible method to save memory. It turns off
the BASIC interpreter, so it wont interfere with data in ram of its
area. The program is suitable for almost any pirated game program
copying, since if you load over 53247, you WILL have problems with your
video chip (since it garbles). That is why this tiny program is so
handy- it is small enough to be in memory, and it turns the basic
interpreter off. The basic interpreter is not needed when Kernal
routines are used, so you can safely turn it off. This tiny program
returns the basic interpreter after it has done its duties, so that you
have the shell control of the computer.

If you want to save using sequential file method, here is the pseudocode:

open file,P,W to disk drive
output start address LO,HI (f. ex 01, 08) mode
output data
close file

I have made a datagenerator, that made a basic program to disk. It was
able to load a m/l program, and then create basic for - read- poke- next
loop and data lines for it. It made tokenized code, and calculated all
needed line links and everything. It output the program using sequential
file mode, and the resulted file was normally loadable on c64. The
program itself was written in Basic, and it output basic program :D
Re: C64/1541 copy: have disk, need file! [message #338866 is a reply to message #338856] Tue, 07 March 2017 12:06 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: rridge

Anssi Saari <as@sci.fi> wrote:
> Yes, presumably. But it's just a little bit hard to do I/O if you switch
> I/O out of your memory space so that's not the thing to do, exactly.

You can either swap the I/O space in and out as each byte is read or
keep it mapped and have 4K less RAM to store the program.

> One could use RAM to RAM copy to fill the RAM under I/O. But I wonder,
> Pekka's routine was just 40 bytes using ROM routines so 6.5K (or 5.5K
> since the program was actually copy 58.5k) RAM seems excessive.

I'm assuming it would be using some sort of "fastloader" code to improve
speed so it wouldn't use the kernal ROM.

Ross Ridge

--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] rridge@csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
Re: C64/1541 copy: have disk, need file! [message #339274 is a reply to message #338866] Tue, 14 March 2017 03:39 Go to previous messageGo to next message
Anssi Saari is currently offline  Anssi Saari
Messages: 327
Registered: January 2012
Karma: 0
Senior Member
rridge@csclub.uwaterloo.ca (Ross Ridge) writes:

> Anssi Saari <as@sci.fi> wrote:
>> Yes, presumably. But it's just a little bit hard to do I/O if you switch
>> I/O out of your memory space so that's not the thing to do, exactly.
>
> You can either swap the I/O space in and out as each byte is read or
> keep it mapped and have 4K less RAM to store the program.
>
>> One could use RAM to RAM copy to fill the RAM under I/O. But I wonder,
>> Pekka's routine was just 40 bytes using ROM routines so 6.5K (or 5.5K
>> since the program was actually copy 58.5k) RAM seems excessive.
>
> I'm assuming it would be using some sort of "fastloader" code to improve
> speed so it wouldn't use the kernal ROM.

The program is 1983 vintage and doesn't seem to use a fastloader or
compression. Disk is read and written a byte at a time using kernal's
ACPTR and CIOUT routines. The program is delightfully straightforward:
it starts by setting screen and border colors, then puts a preformatted
message on screen and starts polling for keyboard input.

After going through the disassembly I eventually found the code which
reads a byte from RAM ($0d19) and writes a byte to RAM ($0d08):

0d00: S0d00 sei
0d01: ldy #$34
0d03: sty $01
0d05: ldy #$00
0d07: rts
0d08: S0d08 jsr S0d00
0d0b: sta ($22),y
0d0d: L0d0d inc $22
0d0f: bne L0d13
0d11: inc $23
0d13: L0d13 ldy #$37
0d15: sty $01
0d17: cli
0d18: rts
0d19: S0d19 jsr S0d00
0d1c: lda ($22),y
0d1e: jmp L0d0d

So, in the end that's all there is to it... Disable interrupts, switch
ROMs and I/O out. Display is blanked during disk reading and writing
too. Still not quite clear why the size limit is 58.5K but for copying a
whole disk in three passes it's enough. Limit for number of files seems
to be 32.
Re: C64/1541 copy: have disk, need file! [message #342158 is a reply to message #338822] Fri, 28 April 2017 19:00 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Monday, March 6, 2017 at 12:33:45 PM UTC-5, Pekka Takala wrote:
> On 05.03.2017 23:08, Harry Potter wrote:
>> On Sunday, March 5, 2017 at 3:59:31 PM UTC-5, Harry Potter wrote:
>>> I just looked at my docs. and found out why your progra didn't work: the kernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.
>>
>> Performed the change. It works now! :)
>>
> Yeah, wrote it when awfully tired. but glad you got it working :)

Uhh...does it work for programs stored in other areas of memory, i.e. at $C000 or $8000? Or itself?
Re: C64/1541 copy: have disk, need file! [message #342172 is a reply to message #338755] Sun, 14 May 2017 04:39 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: nospam.Grant.Weasner

HP> > LOAD "SOME_PROGRAM",8,1
HP> >
HP> > Swap disks.
HP> >
HP> > SAVE "SOME_PROGRAM",8,1

Does this work for SEC files? I spent about an hour looking up any info I
could to find a way to copy just a single SEC from a disk. I couldn't get it
to work or even really load it.
Re: C64/1541 copy: have disk, need file! [message #342174 is a reply to message #338734] Sat, 13 May 2017 16:24 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: nospam.Robert.Wolfe

->
-> HP> > LOAD "SOME_PROGRAM",8,1
-> HP> >
-> HP> > Swap disks.
-> HP> >
-> HP> > SAVE "SOME_PROGRAM",8,1
->
->Does this work for SEC files? I spent about an hour looking up any info I
->could to find a way to copy just a single SEC from a disk. I couldn't get it
->to work or even really load it.

This only works for PRG type files, and not SEQ, REL and USR type files.

PRG = Programs.
REL = RELative (aka random access) data files -- often used for databases.
SEQ = SEQuential files. Often PETSCII based text files used for configuration
data, etc.
USR = USeR type files. USe varies depending on application.

However, to copy files between disks, I would use a file copy program that is
usually available on one of the test/demo disks that come with the 1541, 1571
and 1581 drives.



....If at first you don't succeed, put it out for beta test.
---BapStats Module (bsDBASE v6.1 Build 1)
Re: C64/1541 copy: have disk, need file! [message #342176 is a reply to message #342174] Sun, 14 May 2017 11:14 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Sunday, May 14, 2017 at 10:13:38 AM UTC-4, Robert Wolfe wrote:
> However, to copy files between disks, I would use a file copy program that is
> usually available on one of the test/demo disks that come with the 1541, 1571
> and 1581 drives.
>
I believe I have the 1541 test/demo disk. If I don't, I could always ask the people at 64hdd.com to make one for me. Now, which program is the file copy program?
Re: C64/1541 copy: have disk, need file! [message #342177 is a reply to message #338734] Sat, 13 May 2017 21:13 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: nospam.Robert.Wolfe

->I believe I have the 1541 test/demo disk. If I don't, I could always ask the
->people at 64hdd.com to make one for me. Now, which program is the file copy
->program?

Been years since I've used that disk. Can always do a LOAD "$",8 and LIST to
see the files on the disk :)



....I tried switching to gum but I couldn't keep it lit.
---BapStats Module (bsDBASE v6.1 Build 1)
Re: C64/1541 copy: have disk, need file! [message #342181 is a reply to message #342177] Mon, 15 May 2017 08:35 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Sunday, May 14, 2017 at 2:32:05 PM UTC-4, Robert Wolfe wrote:
> ->I believe I have the 1541 test/demo disk. If I don't, I could always ask the
> ->people at 64hdd.com to make one for me. Now, which program is the file copy
> ->program?
>
> Been years since I've used that disk. Can always do a LOAD "$",8 and LIST to
> see the files on the disk :)
>
Okay. I'll look when I get the chance. :)
Re: C64/1541 copy: have d [message #342182 is a reply to message #342181] Mon, 15 May 2017 02:40 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: nospam.Ed.Vance

05-15-17 05:35 Harry Potter wrote to Robert Wolfe about Re: C64/1541 copy: have
d
Howdy! Joseph,

HP> @MSGID: <5919C2A4.2143.cbm@capitolcityonline.net>
HP> On Sunday, May 14, 2017 at 2:32:05 PM UTC-4, Robert Wolfe wrote:
> ->I believe I have the 1541 test/demo disk. If I don't, I could always ask
HP> the
> ->people at 64hdd.com to make one for me. Now, which program is the file
HP> copy
> ->program?
>
> Been years since I've used that disk. Can always do a LOAD "$",8 and LIST
o
> see the files on the disk :)
>
HP> Okay. I'll look when I get the chance. :)

A week or so ago I was looking around zimmers.net pages and I "think"
He has Commodore test/demo disk files for the grabbing.



.... Gotta love tech when it's working! - E.K.
--- MultiMail/MS-DOS v0.49
Re: C64/1541 copy: have d [message #342183 is a reply to message #342182] Tue, 16 May 2017 07:53 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Monday, May 15, 2017 at 11:17:19 PM UTC-4, Ed Vance wrote:
> A week or so ago I was looking around zimmers.net pages and I "think"
> He has Commodore test/demo disk files for the grabbing.
>

Me too, but I just need to know which file it is.
Re: C64/1541 copy: have d [message #342190 is a reply to message #342183] Wed, 17 May 2017 16:29 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: nospam.Ed.Vance

05-16-17 04:53 Harry Potter wrote to Ed Vance about Re: C64/1541 copy: have d
Howdy! Joseph,

HP> @MSGID: <591B1418.2145.cbm@capitolcityonline.net>
HP> On Monday, May 15, 2017 at 11:17:19 PM UTC-4, Ed Vance wrote:
> A week or so ago I was looking around zimmers.net pages and I "think"
> He has Commodore test/demo disk files for the grabbing.
>

HP> Me too, but I just need to know which file it is.

I just looked on Zimmers.net to see if I could find where the TEST/DEMO
disk files were but couldn't locate any.

So I put my TEST/DEMO 1/85 disk in the 1541 to see what files were on
it and found two files:

UNI-COPY and SD.BACKUP.C64

Try one of those.


.... Have you checked your smoke detector batteries & Fire Ext, LATELY?!
--- MultiMail/MS-DOS v0.49
Re: C64/1541 copy: have d [message #342192 is a reply to message #342190] Fri, 19 May 2017 08:57 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
> I just looked on Zimmers.net to see if I could find where the TEST/DEMO
> disk files were but couldn't locate any.
>
> So I put my TEST/DEMO 1/85 disk in the 1541 to see what files were on
> it and found two files:
>
> UNI-COPY and SD.BACKUP.C64
>
> Try one of those.
>
Thanks! :)
Re: C64/1541 copy: have disk, need file! [message #350089 is a reply to message #342174] Sun, 06 August 2017 03:41 Go to previous message
Anonymous
Karma:
Originally posted by: nospam.Grant.Weasner

RW> This only works for PRG type files, and not SEQ, REL and USR type files.
RW>
RW> PRG = Programs.
RW> REL = RELative (aka random access) data files -- often used for
RW> databases. SEQ = SEQuential files. Often PETSCII based text files used
RW> for configuration data, etc.
RW> USR = USeR type files. USe varies depending on application.
RW> However, to copy files between disks, I would use a file copy program
RW> that is usually available on one of the test/demo disks that come with
RW> the 1541, 1571 and 1581 drives.

Thank you Robert.

I've been having some fun with c64 disks.
I think I will figure out how to unhide some files that I can't see. I have
an Infocom game called Spellbreaker and the prg file is 3 blks or 3
something. I know it has to be larger than that because if I copy just the
prg flle to another disk. It doesn't run.

Its a stretch for me basically using DOS from the start. Yeah I had a c64 but
the things I did was play games or write really small programs then save them
to disk.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: BusCard Project is Complete
Next Topic: Another Vic20/DOS emulator?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Apr 16 16:48:36 EDT 2024

Total time taken to generate the page: 0.08967 seconds