DNETC source code.

Helpdesk & Vraag/Aanbod
Post Reply
BlackTux
Posts: 762
Joined: 13 Sep 2003, 01:14
Location: Zeeuws-Vlaanderen - Belg
Contact:

DNETC source code.

Post by BlackTux »

Ghallo mensen,

Ik heb gisterver source code gedownload van distributed van
de dnetc client. Ik vindt dat altijd leuk om zulke dingen te
onderzoeken, gewoon om kennis te vergaren. Hebben anderen
dit al eens eerder gedaan? Ik heb namelijk wa vragen
en mischien kunnen diegene mij daarbij helpen.
cn=Blacktux,dc=EMS2CREW,dc=NL

** This File Should Not Be World Readable **

The open cow project pwd = "admin"

[url]HTTP://WWW.EMS2CREW.TK[/url]
madman
2nd Admin
Posts: 4958
Joined: 14 Jun 2003, 21:41
Location: Arnhem
Contact:

Post by madman »

Ik heb er ook wel eens naar gekeken ja..
BlackTux
Posts: 762
Joined: 13 Sep 2003, 01:14
Location: Zeeuws-Vlaanderen - Belg
Contact:

Post by BlackTux »

Nou ben ik lekker bezig met vb.net en ik ga eens trachten wat na
te "simuleren" alleen is er echt niemand die toevalig wat van progtaal
borland afweet? Vooral bij deze stukken voor het aansturen van
de cpu's:

Code: Select all

; Copyright distributed.net 1997-2002 - All Rights Reserved
; For use in distributed.net projects only.
; Any other distribution or use of this source violates copyright.
;
; Author: Décio Luiz Gazzoni Filho <acidblood@distributed.net>
; $Id: r72-dg3.asm,v 1.3 2002/10/24 15:37:56 acidblood Exp $

%ifdef __OMF__ ; Borland and Watcom compilers/linkers
[SECTION _TEXT FLAT USE32 align=16 CLASS=CODE]
%else
[SECTION .text]
%endif

[GLOBAL rc5_72_unit_func_dg_3_]
[GLOBAL _rc5_72_unit_func_dg_3]
[GLOBAL rc5_72_unit_func_dg_3]

Code: Select all

%macro KEYSETUP_BLOCK 3
        rol     A1, 3
        rol     A2, 3
        rol     A3, 3

        lea     shiftreg, [A1 + B1]
        add     B1, L1(%3)
        mov     S1(%2), A1

        add     B1, A1
        rol     B1, shiftcount
%ifidn %1,S
        add     A1, S1(%2+1)
%else
        lea     A1, [A1 + B1 + S_not(%2+1)]
%endif

        add     B2, A2
        mov     shiftreg, B2
        add     B2, L2(%3)

        add     B3, A3
        mov     S2(%2), A2
        mov     S3(%2), A3

        rol     B2, shiftcount
%ifidn %1,S
        add     A2, S2(%2+1)
        add     A1, B1
%else
cn=Blacktux,dc=EMS2CREW,dc=NL

** This File Should Not Be World Readable **

The open cow project pwd = "admin"

[url]HTTP://WWW.EMS2CREW.TK[/url]
madman
2nd Admin
Posts: 4958
Joined: 14 Jun 2003, 21:41
Location: Arnhem
Contact:

Post by madman »

Progtaal borland? Borland is een bedrijf dat meerdere programmeer omgevingen produceert o.a. C++ builder, delphi etc...

De bovenste file kan ik niet helemaal plaatsen, maar ziet er uit als een headerfile
De onderste is een assembler file!
BlackTux
Posts: 762
Joined: 13 Sep 2003, 01:14
Location: Zeeuws-Vlaanderen - Belg
Contact:

Post by BlackTux »

Hmm oke, weet ik dat ook weer, en ik snap van c wel de basis
en dan had je het ook gehad. Dus als iemand me eens zou
kunnen vertellen wat the hack er in deze file gebeurt snap
ik het vast wel :*) .
cn=Blacktux,dc=EMS2CREW,dc=NL

** This File Should Not Be World Readable **

The open cow project pwd = "admin"

[url]HTTP://WWW.EMS2CREW.TK[/url]
madman
2nd Admin
Posts: 4958
Joined: 14 Jun 2003, 21:41
Location: Arnhem
Contact:

Post by madman »

Waar jij om vraag is een assembler expert!! Ik ken er wel wat van (wat op een 68K gedaan). En heb hier ook nog wel een boek liggen van de intel ('Assembly languaga for intel-based computers' van Irvine). Als ik een gaatje kan vinden zal ik wel een het boek open slaan en kijken wat het doet..
BlackTux
Posts: 762
Joined: 13 Sep 2003, 01:14
Location: Zeeuws-Vlaanderen - Belg
Contact:

Post by BlackTux »

Ok dan. Source staat op de ftp onder

Code: Select all

 en dan c++.
cn=Blacktux,dc=EMS2CREW,dc=NL

** This File Should Not Be World Readable **

The open cow project pwd = "admin"

[url]HTTP://WWW.EMS2CREW.TK[/url]
Post Reply