Does FROGLET by CRL have copy protection?

A place to discuss everything Dragon related that doesn't fall into the other categories.
Post Reply
User avatar
robcfg
Posts: 1533
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Does FROGLET by CRL have copy protection?

Post by robcfg »

Hello everybody!

I was recovering Froglet by CRL and found something interesting.

When the game is dumped via XRoar, it works ok, but, if you take a look at the blocks, there's no end block and the last block has a CRC error. With my own program, I managed to get another data block and the end block, but couldn't fix the faulty block.

The funny thing is that my complete copy doesn't load (?I/O ERROR), but If I remove the end block and the last data block, leaving the faulty block as last block in the .cas file, the game works!

Is this some kind of copy protection?

And, what should I do from the preservation point of view? Keep both copies, as to show how such mechanism was implemented while having a working copy?

You'll find attached an image showing the blocks and crc's for both cas files (left mine, right XRoar), and both cas files.

[EDIT] When converted to .WAV, both files load on a real Dragon... :o

[EDIT 2] Created Froglet page in the wiki.
DragonBlock_Froglet.png
DragonBlock_Froglet.png (52.94 KiB) Viewed 2259 times
Attachments
FROGLET_CAS.zip
(8.79 KiB) Downloaded 138 times
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: Does FROGLET by CRL have copy protection?

Post by zephyr »

Yes, it is a very weak form of copy protection. The game auto-runs by overwriting the stack. The reason that it gives an I/O error is because the original code was saved to tape with an end address higher than the stack. You can easily defeat the auto-run by entering CLEAR10 before loading the game. Once loaded, entering EXEC&H5000 will then run the game as normal.

Attached below is the same game but with a more conventional RAM hook type auto-run routine added.
Attachments
FROGLET_SE.zip
(4.2 KiB) Downloaded 129 times
admin
Site Admin
Posts: 410
Joined: Thu Jul 17, 2008 10:22 pm

Re: Does FROGLET by CRL have copy protection?

Post by admin »

Its also not alone - I came across a few of these whilst converting stuff for this site...

Another one is an EOF block in the middle of the data blocks - the autorun loader ignores it - but anybody looking to hack the program may not and thus end up with missing code.

None of them were that effective...
Simon Hardy
User avatar
robcfg
Posts: 1533
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Does FROGLET by CRL have copy protection?

Post by robcfg »

Zephyr, your version loads beatifully on XRoar, thanks!

The funny thing is that the wav file from my cas file loads ok in XRoar, but not the cas file... The wav file also loads on a real Dragon. So I think my .cas file is ok (including the extra data block and EOF block) for preservation purposes, but then I don't know why XRoar doesn't load the .cas file right away. Could it be some minor tape handling issue?
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: Does FROGLET by CRL have copy protection?

Post by zephyr »

Your .CAS file loads and auto-runs OK on MESS, PC-Dragon and T3.
User avatar
robcfg
Posts: 1533
Joined: Sat Apr 04, 2009 10:16 pm
Location: Stockholm, Sweden
Contact:

Re: Does FROGLET by CRL have copy protection?

Post by robcfg »

Ok, thanks for testing it!

I'll put that file properly named in the uploads section then and contact Sixxie on XRoars's behaviour.

Have a nice day!
Post Reply