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

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore Emulation » How: Transfering tape's files to disk.
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
How: Transfering tape's files to disk. [message #141694] Sun, 13 November 2005 19:06 Go to next message
Anonymous
Karma:
Originally posted by: JSievers

I am collector of old computers and so I got a PET 2001 including 8050
double disk drive back to running state.

Now I have a question about transfering tape's files to disk.

Plain basic files are not the problem but those who has only one sys
<address> basic statement and a lot of machine language stuff appended
which is not visible by the list and save commands.


Is there anybody who know what I could do to copy my tape files to
disk?
I have no capabilities to transfer something between the PET and other
devices except the tape, disk and keyboard.


thanks
j.
Re: How: Transfering tape's files to disk. [message #141705 is a reply to message #141694] Thu, 17 November 2005 14:48 Go to previous messageGo to next message
A. Fachat is currently offline  A. Fachat
Messages: 79
Registered: April 2005
Karma: 0
Member
My best guess would be to write a small machine language program
(probably running in the screen area :-) to load the stuff from tape
and then save it to the drive.
IIRC Tape format for programs is different than for sequential files,
so you will have to call the LOAD routine and cannot read it
with GET#

André

JSievers@t-online.de wrote:
> I am collector of old computers and so I got a PET 2001 including 8050
> double disk drive back to running state.
>
> Now I have a question about transfering tape's files to disk.
>
> Plain basic files are not the problem but those who has only one sys
> <address> basic statement and a lot of machine language stuff appended
> which is not visible by the list and save commands.
>
>
> Is there anybody who know what I could do to copy my tape files to
> disk?
> I have no capabilities to transfer something between the PET and other
> devices except the tape, disk and keyboard.
>
>
> thanks
> j.
>
Re: How: Transfering tape's files to disk. [message #141712 is a reply to message #141705] Sat, 19 November 2005 08:42 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: JSievers

A. Fachat schrieb:

> My best guess would be to write a small machine language program
> (probably running in the screen area :-) to load the stuff from tape
> and then save it to the drive.
> IIRC Tape format for programs is different than for sequential files,
> so you will have to call the LOAD routine and cannot read it
> with GET#
>

Yes I agree totally.

I saw such small program (see listing below)on the net but it was
written for C64. I have not enough knowledge to write such program. I
know 6502 assembler, that is not the problem. I have no knowledge
about the information I could find somewhere on the RAM after loading
from tape and what I have to do for save it back to disk.

By the way. I have an c2n232 adaptor to read files from and save them
on my PC by using c2nload. But the problem still exist, I can not bring
it from existing tapes to 8050 disk drive.

mfg
j.


RAM:0000 ;
RAM:0000 ;
+----------------------------------------------------------- --------------+
RAM:0000 ; ¦ This file is generated by The Interactive
Disassembler (IDA) ¦
RAM:0000 ; ¦ Copyright (c) 2005 by DataRescue sa/nv,
<ida@datarescue.com> ¦
RAM:0000 ; ¦ Licensed to: Juergen Sievers, N.A.D.I.N.E. - Software, 1
user, std, upg, 10/2005 ¦
RAM:0000 ;
+----------------------------------------------------------- --------------+
RAM:0000 ;
RAM:0000 ; File Name : D:\Projects\pet\tcopy.bin
RAM:0000 ; Format : Binary file
RAM:0000 ; Base Address: 0000h Range: CFBDh - D000h Loaded length:
0043h
RAM:0000
RAM:0000 ; ; Processor: M65C02
RAM:0000 ; ; Target assembler: SVENSON ELECTRONICS 6502/65C02 ASSEMBLER
- V.1.0 - MAY, 1988
RAM:0000
RAM:0000 ;
------------------------------------------------------------ ---------------
RAM:0000
RAM:0000 ; Segment type: Regular
RAM:0000 ;.segment RAM

RAM:CFBD Loop: ; CODE XREF:
RAM:CFFDj
RAM:CFBD LDA #1
RAM:CFBF LDX #1
RAM:CFC1 LDY #1
RAM:CFC3 JSR SetFParam ; set file parameters
RAM:CFC6 LDA #0
RAM:CFC8 LDX #$41
RAM:CFCA LDY #3
RAM:CFCC JSR SetFnParams ; set filename
parameters
RAM:CFCF LDA #0
RAM:CFD1 JSR DEV2RAM ; load ram from device
RAM:CFD4 LDA #8
RAM:CFD6 LDX #8
RAM:CFD8 LDY #$FF
RAM:CFDA JSR SetFParam ; set file parameters
RAM:CFDD LDA #$14
RAM:CFDF LDX #$41
RAM:CFE1 LDY #3
RAM:CFE3 JSR SetFnParams ; set filename
parameters
RAM:CFE6 LDA word_33D
RAM:CFE9 STA FREEKZB
RAM:CFEC LDA word_33D+1
RAM:CFEF STA FREEKZB+1
RAM:CFF2 LDA #$FB ; '¹'
RAM:CFF4 LDX word_33F
RAM:CFF7 LDY word_33F+1
RAM:CFFA JSR RAM2DEV ; save ram to device
RAM:CFFD JMP Loop
RAM:CFFD ;
------------------------------------------------------------ ---------------
RAM:D000 ; 0 .BYTE uninited & unexplored
Re: How: Transfering tape's files to disk. [message #141713 is a reply to message #141694] Sat, 19 November 2005 11:08 Go to previous messageGo to next message
Patryk 'Silver Dream  is currently offline  Patryk 'Silver Dream
Messages: 737
Registered: July 2003
Karma: 0
Senior Member
JSievers@t-online.de wrote:

> Plain basic files are not the problem but those who has only one sys
> <address> basic statement and a lot of machine language stuff appended
> which is not visible by the list and save commands.
>
>
> Is there anybody who know what I could do to copy my tape files to
> disk?

Don't they just SAVE properly? I would have to check how the PET handles
that but on a 64 short to medium long prgs with one basic "sys" line do
save without problems in most cases. The longer one start to be more
problematic as they are stored in the RAM areas unavailable for BASIC
(and therefore SAVE command). Not sure if that would work on a PET but
have you tried LOAD followed by SAVE to the disk?
Re: How: Transfering tape's files to disk. [message #141714 is a reply to message #141694] Mon, 21 November 2005 06:36 Go to previous messageGo to next message
Ruud.Baltissen is currently offline  Ruud.Baltissen
Messages: 64
Registered: July 2003
Karma: 0
Member
> Is there anybody who know what I could do to copy my tape files to
> disk?

http://www.zimmers.net/cbmpics/cbm/PETx/petfaq.html

mvg, Ruud
Re: How: Transfering tape's files to disk. [message #141716 is a reply to message #141714] Mon, 21 November 2005 15:21 Go to previous message
Anonymous
Karma:
Originally posted by: JSievers

Ruud.Baltissen@abp.nl schrieb:

>> Is there anybody who know what I could do to copy my tape files to
>> disk?
>
> http://www.zimmers.net/cbmpics/cbm/PETx/petfaq.html
>
> mvg, Ruud

Hi Ruud.

yes, that is the page from which I have taken the listing. I
disassembled the result also and did send it here. It does not work on
PETs because it uses direct memory access for C64.

j.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PET Keyboard emulator for VICE.
Next Topic: Commodore Book Now Available In Europe/UK
Goto Forum:
  

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

Current Time: Thu Apr 18 20:23:49 EDT 2024

Total time taken to generate the page: 0.05513 seconds