Atari ST Diagnostic Disk (Heavily Protected)

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

rcamp48
Atari User
Atari User
Posts: 34
Joined: Wed Feb 21, 2018 8:03 am

Atari ST Diagnostic Disk (Heavily Protected)

Postby rcamp48 » Sun Sep 02, 2018 4:21 am

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
Last edited by rcamp48 on Mon Sep 03, 2018 1:23 am, edited 1 time in total.

User avatar
shoggoth
Nature
Nature
Posts: 942
Joined: Tue Aug 01, 2006 9:21 am
Location: Halmstad, Sweden
Contact:

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby shoggoth » Sun Sep 02, 2018 7:55 am

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?
Ain't no space like PeP-space.

User avatar
catmando
Atari Super Hero
Atari Super Hero
Posts: 963
Joined: Tue Jan 24, 2006 9:56 pm
Location: London, UK

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby catmando » Sun Sep 02, 2018 8:14 am

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:
Atari Falcon Tos 4.04 | 14mb | IDE CF 2GB
Atari STE Tos 1.62 | 4mb | HxC Slim SD 8GB
Atari STE Tos 1.62/2.06 | 4mb | Floppy A-B Mod | IDE SD 4GB
Atari STFM
Android Devices (Running Hataroid and SToid)

Atari Forum Wiki - Use it before asking

Zippy
Captain Atari
Captain Atari
Posts: 154
Joined: Sun Feb 01, 2004 1:58 am

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby Zippy » Sun Sep 02, 2018 10:31 am

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.

User avatar
mfro
Atari Super Hero
Atari Super Hero
Posts: 762
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby mfro » Sun Sep 02, 2018 10:36 am

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...

Zippy
Captain Atari
Captain Atari
Posts: 154
Joined: Sun Feb 01, 2004 1:58 am

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby Zippy » Sun Sep 02, 2018 10:40 am

^^ Ah, yes it does look like that. :)

User avatar
Gaiyan
Hardware Guru
Hardware Guru
Posts: 337
Joined: Tue Jun 29, 2004 3:39 pm
Contact:

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby Gaiyan » Sun Sep 02, 2018 11:44 am

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?
Image

User avatar
viking272
Captain Atari
Captain Atari
Posts: 353
Joined: Mon Oct 13, 2008 12:50 pm
Location: west of London, UK

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby viking272 » Sun Sep 02, 2018 11:57 am

I scrolled 20 mins on my mobile to get here!

User avatar
FujiMan
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 120
Joined: Wed May 03, 2006 3:34 pm
Location: Elburn, IL 60119 USA
Contact:

Re: Atari ST Diagnostic Disk (Heavily Protected)

Postby FujiMan » Mon Oct 15, 2018 7:00 pm

Mod,

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

LOL
FujiMan


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: No registered users and 5 guests