'PirateSlayer'
Author:Displacer (registered user: 14 posts )
Date: Tue, Jun 26th, 2012 @ 21:44 ( . )

Yea that thing is a mass of encryption routines several levels deep. I managed to get it all decrypted and listed out but it was not easy.

Drive code was interesting. It read a block in to the drive buffer at $0300 from the computer side. Later it did a block execute but the beginning of the code only went a few instructions in before returning, not executing the bulk of the rest of the code until I realized what it was doing. The very first instruction checked a memory location in ram for a value and if it was set, it jumped to the main portion of the drive code. Trouble was it was set *after* it was checked so the code as it was would never execute the main routine. What it did was right after that it set up a job with T2 S0, the one with the protection on it, then it used a job code of $E0. This not only set up the track and sector to use, but halted execution of the current routine and restarted it at the beginning. Now when the ram value was checked it was set correctly and it jumped to the main code to do the protection


REPLY: [With No Quote] --- [With Quoted Text]

Replies:
--* PirateSlayer
6/27/2012 @ 21:18--LordCrass
6/27/2012 @ 21:42----Displacer
6/27/2012 @ 21:53------Pete Rittwage
6/27/2012 @ 22:15--------Displacer
6/28/2012 @ 05:32----------hyper active
6/28/2012 @ 08:31------------Pete Rittwage
6/28/2012 @ 08:40--------------Displacer
6/28/2012 @ 11:16----------------Displacer
6/28/2012 @ 15:48------------------LordCrass
6/28/2012 @ 16:05--------------------Displacer
6/28/2012 @ 20:38----------------------LordCrass
6/28/2012 @ 21:49------------------------Displacer
7/01/2012 @ 11:31--------------------------Displacer
7/01/2012 @ 12:51----------------------------Displacer
8/18/2012 @ 06:59------------------------------Fungus
--* encryption routines
10/24/2012 @ 19:58--Alex

--- 0 Users Online --- 0 Recent Unique Posters

Q48=1660598671 - Threads: / 1660598671