Page 1 of 1

Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 4:21 am
by rcamp48
I have an Original of my Atari ST Diagnostics Disk, I have used a disassembly program in e public domain to produce source code for it, my original went bad months ago, it was made by PCA Progressive Computer Applications, I have an old backup that will not run but has the complete program on it. The program I used was DISASM_2.PRG has anyone heard of it, come with the ST Protection Techniques disc, The Protector, as a public domain file. Here is a sample of the code produced:

********

* This is a disassembly of file

* DISASM_2.PRG

* which is comprised of

*

* TEXT Hex bytes DATA Hex bytes BSS Hex bytes

* 2BA4 126C E18

*

* in continuous format.

*

* Total PROGRAM bytes: 4C28 H Total FILE bytes: 657F H

*

********


.text

movea.l a7,a5

movea.l #grafix,a7

movea.l $4(a5),a5

move.l $C(a5),d0

add.l $14(a5),d0

add.l $1C(a5),d0

add.l #$100,d0

move.l d0,-(a7)

move.l a5,-(a7)

bsr mshrink

bsr dgetdrv

add.b #$41,d0

move.b d0,directry

jsr window

lea flstats,a1

move.w fil_mem,d0

bmi int_abt

move.b s_head,H

cmpi.w #$2,d0

beq dodafile

subq.w #3,fil_mem

bsr ssp_on

move.l m_stop,d3

move.l m_start,d2

move.l d3,d0

sub.l d2,d0

move.l d0,$2(a1)

move.l d0,$58(a1)

st prgtype

move.l d0,$34(a1)

bsr setbuf

move.l d0,$44(a1)

move.l a0,$38(a1)

move.l m_start,d2

move.l d2,address

move.l d2,prior

move.l d2,d0

jsr displc

bsr headsin

lea holdbuf,a0

movea.l a1,a2

adda.l #$28,a2

move.l holdcnt,d0

subq.l #2,d0

addq.l #1,a0

mem_name:

HCA:

move.b (a0)+,(a2)+

dbeq d0,mem_name

move.b #$2E,(a2)+

lea dis,a0

m_disit:

HDA:

move.b (a0)+,(a2)+

bne m_disit

clr.l holdcnt

bra on6

dodafile:

HE8:

clr.l m_start

lea directry,a0

lea filenm,a2

moveq #$25,d1

fill_dir:

HFC:

move.b $0(a0,d1.l),d0

dbne d1,fill_dir

subq.l #1,d1

bmi bad_dir

cmpi.b #$5C,d0

bne fill_dir

addq.l #2,d1

adda.l d1,a0

dir_dun:

H112:

move.b (a2)+,d0

move.b d0,(a0)+

bne dir_dun

clr.w -(a7)

pea directry

bsr fopen

move.w d0,handle

pea flstats

addi.l #$A,(a7)

move.w #$1A,-(a7)

trap #$1

addq.l #6,a7

move.w #$37,-(a7)

pea directry

move.w #$4E,-(a7)

trap #$1

addq.l #8,a7

tst.l d0

beq found

bad_dir:

H154:

move.l #unfound,_addr_in

bra peel_out

found:

H162:

lea dis,a6

movea.l a1,a0

adda.l #$28,a0



What programming language on the ST is this : and what will load it ????

Especially the compiler: Russ

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 7:55 am
by shoggoth
rcamp48 wrote:I have an Original of my Atari ST Diagnostics Disk, I have used a disassembly program in e public domain to produce source code for it, my original went bad months ago, it was made by PCA Progressive Computer Applications, I have an old backup that will not run but has the complete program on it. The program I used was DISASM_2.PRG has anyone heard of it, come with the ST Protection Techniques disc, The Protector, as a public domain file. Here is a sample of the code produced:


Especially the compiler: Russ
Next time, consider attaching the file instead?

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 8:14 am
by catmando
rcamp48 wrote:I have an Original of my Atari ST Diagnostics Disk, I have used a disassembly program in e public domain to produce source code for it, my original went bad months ago, it was made by PCA Progressive Computer Applications, I have an old backup that will not run but has the complete program on it. The program I used was DISASM_2.PRG has anyone heard of it, come with the ST Protection Techniques disc, The Protector, as a public domain file. Here is a sample of the code produced:


Especially the compiler: Russ
Most ridiculous post ever :shrug:

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 10:31 am
by Zippy
It's 68000 assembly language, or "assembler". It's not compiled it's assembled, by an assembler such as GenST.

Seemingly the file was assembled with the symbols hence it looks quite readable due to all the labels.

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 10:36 am
by mfro
Zippy wrote:It's 68000 assembly language, or "assembler". It's not compiled it's assembled, by an assembler such as GenST.

Seemingly the file was assembled with the symbols hence it looks quite readable due to all the labels.
From the file header comments, I would strongly assume he disassembled the disassembler. Might not be exactly what he wanted to do...

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 10:40 am
by Zippy
^^ Ah, yes it does look like that. :)

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 11:44 am
by Gaiyan
catmando wrote:
rcamp48 wrote:I have an Original of my Atari ST Diagnostics Disk, I have used a disassembly program in e public domain to produce source code for it, my original went bad months ago, it was made by PCA Progressive Computer Applications, I have an old backup that will not run but has the complete program on it. The program I used was DISASM_2.PRG has anyone heard of it, come with the ST Protection Techniques disc, The Protector, as a public domain file. Here is a sample of the code produced:

********


Especially the compiler: Russ
Most ridiculous post ever :shrug:
What do you mean?

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Sep 02, 2018 11:57 am
by viking272
I scrolled 20 mins on my mobile to get here!

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Mon Oct 15, 2018 7:00 pm
by FujiMan
Mod,

May I suggest slapping a heavy fine on those who posted source code and make them fix this thread...

LOL
FujiMan

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Nov 04, 2018 6:51 pm
by tjlazer
So what is this program? Ran across a disk image that does not work and Google brought me here. The disk image is 356k in size and when you run it, it says to use the Master disk. I guess it was heavily protected. What a shame.

Re: Atari ST Diagnostic Disk (Heavily Protected)

Posted: Sun Nov 04, 2018 7:22 pm
by Zippy
Some details on the protection and a cracked version over in this thread :

http://atari-forum.com/viewtopic.php?f=104&t=34517