Jump to content

Photo

Cassette copier question


12 replies to this topic

#1 lbaeza OFFLINE  

lbaeza

    Dragonstomper

  • 503 posts
  • Former NRXA8-staff
  • Location:Chile con Carne

Posted Sat Feb 26, 2005 3:26 PM

Hi

Last night I was converting from cassette to disk format some of my old programs for the Atari.
Amongst these programs I found this one, a cassete program copier:

http://img.photobuck...i/casscopy1.bmp

This programs does it's thing very well, but the thing that has intrigued me for years is that it's a BASIC program (you have to CLOAD it), but the listing is encrypted! Check it out:

http://img.photobuck...i/casscopy2.bmp

How can this be acomplished? It's really odd!

Regards

#2 pps OFFLINE  

pps

    Dragonstomper

  • 829 posts
  • Location:Berlin, Germany

Posted Sat Feb 26, 2005 4:49 PM

If I remember right, this protection is a one way protection, so you canīt decrypt it. This cryption was done with a poke before saving the programme. It was described in the German book "Peeks und Pokes" by Data Becker.

Here some info about the book in German language: ABBUC Infothek

If youīre interested in the article about this protection, I coulīd scan it and send it to you.

#3 miker ONLINE  

miker

    Stargunner

  • 1,901 posts
  • Stay Atari!
  • Location:Warsaw, Poland

Posted Sat Feb 26, 2005 4:52 PM

I think that in the program file there is entered some junk instead of real variable names. I also remember there was some program (or maybe pack of programs) that allowed you to rebuild those variables, but i just don't remember its name at the moment...

#4 devwebcl OFFLINE  

devwebcl

    Stargunner

  • 1,254 posts
  • Location:Chile

Posted Mon Feb 28, 2005 1:59 PM

Yes, I remember this "protection" and we made a small program to undecrypt it. I'll search in my old cassettes, but I doubt it's going to be an easy task.

stay tuned for new info :D

devwebcl

#5 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 3,103 posts

Posted Tue Mar 1, 2005 9:59 AM

Well,
would "The Repair Station" help here ?!? It can unprotect list-protected Basic programs and also replace variables... -andreas.

#6 lbaeza OFFLINE  

lbaeza

    Dragonstomper

  • Topic Starter
  • 503 posts
  • Former NRXA8-staff
  • Location:Chile con Carne

Posted Thu Mar 3, 2005 1:12 PM

Well, would "The Repair Station" help here ?!?


Hi

Did a quick search with xlsearch and found this:

ftp://ftp.atari.art.pl/stuff/mirror/ftp.n...0Greenberg).zip

But this links looks broken to me.
Anybody with an ATR copy of the Repair Station?

Regards

#7 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 3,103 posts

Posted Mon Mar 7, 2005 10:00 AM

Well,
simply e-mail me and I will return a zipped ATR image with the Repair Station, as well as other Basic listing deprotectors...

Besides, I have found some other kind of Basic listing protection: Normally a Basic screen has space for 38-40 chars. Some of my Basic programs appear to have only 20 chars (or less) per line. You can list them without any problem (though some of the lines are empty and there are more than 3 lines quite often). BUT, you cannot edit these programs in any way, meaning you cannot change them. I tried a Poke 82,x and Poke 83,x but this did not help, the program still listed with 20 (or less) chars per line. whenever I tried to edit (change) a certain line an Error occured. So, whats that kind of protection ?!? How can one remove it ?!?

None of the Basic listing deprotectors I have could remove or alterr this kind of protection... -Andreas.

#8 suppawer OFFLINE  

suppawer

    Space Invader

  • 45 posts

Posted Mon Feb 22, 2016 9:52 AM

Altirra rules!:

1-Load the bas file

2-F8

3-Dump BASIC program line:

.basic_dumpline -c 0

4-Rebuild BASIC variable name table:

.basic_rebuildvnt

5-Save BASIC program:

.basic_save c:\file.bas

Attached Files



#9 Level42 OFFLINE  

Level42

    River Patroller

  • 2,602 posts
  • Location:Ridderkerk, The Netherlands

Posted Wed Feb 24, 2016 4:28 PM

One of the very first programs I wrote for the A8 was a basic program to copy boot tapes.
It simply opened the cassette port for reading, then read as many bytes that would fit in RAM with Basic on into a string. Saving it was the reverse process. It was so simple, I didn't expect it to work but it did, as long as the boot tape programs were shorter than the available memory. The most time into the program went into figuring out the very maximum size of the string, by trial and error :):)

It had one disadvantage: it added extra End of program blocks at the end of the tape but that didn't hurt the function of the program :)

#10 Atari_Force OFFLINE  

Atari_Force

    Space Invader

  • 34 posts

Posted Mon Feb 29, 2016 12:35 PM

Finally, I can see the list. Thank you!

Any idea about modifying this copier for use it with bigger games? Ex: Zybex

copye.png

Attached Files



#11 russg OFFLINE  

russg

    Stargunner

  • 1,648 posts
  • Location:Cleveland, Ohio

Posted Mon Feb 29, 2016 12:49 PM

I think that in the program file there is entered some junk instead of real variable names. I also remember there was some program (or maybe pack of programs) that allowed you to rebuild those variables, but i just don't remember its name at the moment...

I wrote a SALVAGE program to restore BASIC variable names.  It doesn't restore the original name, just restores to

a usable name, so the program can be Listed.  Jindroush also wrote one, I can't remember its' name right now.

My program uses a SAVEd BASIC file and converts it to a LIST file.  My programs are Atari BASIC programs,

Jindroush's program is a MSDOS file.

 

edit:  His name is Jindrich Kubec, his DOS program is chkbas.exe.  He also has a DUMP .ATR for Atari

Attached Files


Edited by russg, Mon Feb 29, 2016 1:26 PM.


#12 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 3,103 posts

Posted Mon Feb 29, 2016 5:05 PM

Finally, I can see the list. Thank you!

Any idea about modifying this copier for use it with bigger games? Ex: Zybex

copye.png

 

 

Yes, I was thinking (hoping) about more memory also. The program can convert single and multi-stage tape programs to disk easily. In some ways (or circumstances) its better than Howfen Tape to Disk or Transdisk or other Cass.-Simulator programs. Alas, it is so damned limited to approx. 36kbytes... (and a max. of 8 files/stages, which is not a big problem with most tapes, since only a few tapes have more than 8 stages).

 

If I remember correctly I have several versions of this program in my collection, with small differences each (not only text differences). It would be great if someone could patch+enhance the program to support the 64k XRAM of a 128k machine, so that we end up with 36k + 64k = 100k total. (Think it is the tape copier-program that is limited to approx. 36kbytes, not sure if the bootcode or boot-program it writes to the diskette [together with the copied tape-data] is also limited to load programs with a max. length of 36k.)

 

I used this program successfully to copy games from tape to disk on a number of programs that failed with Howfen tape to disk (meaning they could be copied from tape to disk with the Howfen program but did not work afterwards, while they could be copied from tape to disk with this program and worked fine afterwards). The program can also transfer boottapes to disk that are normally booted with the Start key only (since they require Basic enabled) and these programs work fine from disk (which they do not with the Howfen program)...

 

Since Howfen Tape to Disk fails with most (all?) compiled Basic programs, like e.g. some programs by Microprose and SSI, maybe this program would convert and load them successfully - if there were more memory available (and not only 36k)...?!?

 

Attached is one of the versions I have, maybe you can also upload your version...

Attached Files



#13 suppawer OFFLINE  

suppawer

    Space Invader

  • 45 posts

Posted Sat Jun 18, 2016 8:32 AM

 

Any idea about modifying this copier for use it with bigger games? Ex: Zybex

copye.png

 

Some time ago, vitoco and dogdark developed something very interesting: DOGCOPY.
It allows copies from any source to any destination. (16k-208k!!)
 

...evolucionó para soportar más de 4 bancos de 16K, permitiendo grabar desde 1 hasta 17 bancos dependiendo del tipo de expansión de memoria reconocido entre 130XE, 800XL con Buchholz, Rambo/XL, Rambo320K, Newell, Newell modificado e incluso ninguna. Esto es, desde 16K hasta 208K!!!
sitvit.png


I think we can use this to make the improvements...

Attached Files


Edited by suppawer, Sat Jun 18, 2016 8:34 AM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users