LOAD "SOME_PROGRAM",8,1Uhh...will that work on ML programs loaded and run as BASIC? If so, that may be all I need. :)
Swap disks.
SAVE "SOME_PROGRAM",8,1
;-)
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.
Uhh...will that work on ML programs loaded and run as BASIC? If so, that maybe all I need. :)
On Saturday, March 4, 2017 at 2:59:51 PM UTC-5, Harry Potter wrote:may be all I need. :)
Uhh...will that work on ML programs loaded and run as BASIC? If so, that
It worked! Thank you! :D
On Saturday, March 4, 2017 at 3:41:47 PM UTC-5, Harry Potter wrote:forgot about that--and got an Out of Memory error. I need another way to copy this file. :(
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
Thank you! I think the program in question is short enough. :)
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. :(
I just looked at my docs. and found out why your progra didn't work: thekernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.
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?
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! :)
On Monday, March 6, 2017 at 7:16:31 AM UTC-5, Anssi Saari wrote:information.
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
Harry Potter <rose.joseph12@yahoo.com> writes:information.
I presume it uses the memory behind the ROMs and I/O to store the
Well sure but how do you do that?
Well sure but how do you do that?
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.
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=BABE16C933E24BE9A89B8743E4F56D2C
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.
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.
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.
On 05.03.2017 23:08, Harry Potter wrote:kernal SAVE routine is at $FFD8, *not* $FFDE. I'll change it now.
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
Performed the change. It works now! :)
Yeah, wrote it when awfully tired. but glad you got it working :)
LOAD "SOME_PROGRAM",8,1
Swap disks.
SAVE "SOME_PROGRAM",8,1
LOAD "SOME_PROGRAM",8,1
Swap disks.
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.
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?
theI believe I have the 1541 test/demo disk. If I don't, I could always ask
copypeople at 64hdd.com to make one for me. Now, which program is the file
program?
Been years since I've used that disk. Can always do a LOAD "$",8 and LIST to see the files on the disk :)
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.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495941:43:34 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,986 |