English
Assembler Forum

Opportunities, etc...

 

Claus
Santa
XPIA: No External DLL!
here yet small Veränderungs-hints... otherwise is XPIA well.
Assembly directly codieren and not uber DLL, because CALL function is SCHNELLER!

1. benefit:
ReverseEnginiering with DLLs is dead easy, what badly is for Datenverschlüsselung. ;(

2. benefit:
Direktes integrate in sourcecode, How:

if getfocus( hb_MakeSomting& )
whileloop 10
print your cpu said: +AMSMcall MeineASMproc, MyText, ... )
endwhile

3. benefit:
Return of 0-Terminated Strings is possible [!]. then went indeed the:

print AssemblyFunk() retruns: > +string( AssemblyFunk#, 0 ) +<

4. benefit:
One Another benefit is then too externe Module handling (How: PLUGIN-MODULES) -> MORE IMPLIMENTATIONS. ;)

blockread( #1, ExternalModule#, 0, getfilesize( #1 ) )
...
call( ExternalModule# ) -> call_addr = addr( ExternalModule# )

5. benefit:
Objekt Orientiertes Assembling - important for MS Foundation Classes!

ASMcode$ contains suff of MemoryAddress#
class A = ASMcode$[ SIZE ], ....

AObject# is a Objekt the class A (in this Besipiel)
call( AObject#, ... )

Syntax-suggestion:

Please not over Parameters, there badly/verwirrend for all ANFÄNGER! it should integrally PROFAN (simply?) stay!

--- ROOT SOURCE ---
ASMproc WhatEverItMakes( params )
return ?
ASMendproc

ASMcall( WhatEverItMakes, [params..] )

--- PATCHED SOURCE ---
on app init
dim WhatEverItMakes#, (SizeOfObj)
byte WhatEverItMakes#, 0 = ...code source...

somewhere in your app
call( WhatEverItMakes# )

on uninit
dispose WhatEverItMakes#

--- appendix ---
I Have a Page in german with OpCodes same enclosed - BESSER ALS MEIN DEUTSCH!. ;/

Genereller BinaryCode:
offsetdescription
+1 byteoperation code
+?operands
->byte = +1
->single word = +1
->double word = +1
->quard word = +1

The structure ought to then so looks for a ASM-function (e.g. WhatEverItMakes#):

[ on call ]
offsetvalue/datacontentasm code
+1$E9buffer skip jumpjmp
+4?? ?? ?? ??WhatEverItMakes# + RetrunSize(WhatEverItMakes# + RetrunSize)
+(RetSz-Offs)$90reserved data buffernop
+??...your stuff hier......

[ on return ]
offsetvalue/datacontentasm code
+RetSz?WhatEverItMakes# + RetrunSize
[return data]
( have fleisig in the Deutschprachigen Chats geübt. hope its readable... [thx2sabine*] )

200 kB
Kurzbeschreibung: OpCode (Intel x86+)
Hochgeladen:10/30/05
Downloadcounter139
Download
 
Snoozel,
[[StA/oXr]] // life is just'n bugfree, cos coding is life
10/30/05  
 




Frank
Abbing
Hi,

> XPIA: No External DLL!
> here yet small Veränderungs-hints... otherwise is XPIA well.
> Assembly directly codieren and not uber DLL, because CALL function is SCHNELLER!

likes his, only has the ziemliche detriments. I zähl time some on, The me spontan to occur:

- APIs functions so only very costly.
- No Hight-Level-Syntax
- No Library-Support
- complicated Parameter- and Variablenübergabe
- No macro-Support
- No Debugging-Support
- No MASM32 extensions (MASM32.lib)

> 3. benefit:
> Return of 0-Terminated Strings is possible [!]. then went indeed the:
>
> print AssemblyFunk() retruns: > +string( AssemblyFunk#, 0 ) +<

Dll-functions transfer with STDCALL fundamentally only Long-values. therefore can you but whom Zeiger one Strings transfer, where is the trouble?

> 5. benefit:
> Objekt Orientiertes Assembling - important for MS Foundation Classes!
>
> ASMcode$ contains suff of MemoryAddress#
> class A = ASMcode$[ SIZE ], ....
>
> AObject# is a Objekt the class A (in this Besipiel)
> call( AObject#, ... )
>

i'm bekennender OOP opponent. OOP and Assembler, the beisst itself eh at the outset.

> Syntax-suggestion:
>
> Please not over Parameters, there badly/verwirrend for all ANFÄNGER! it should integrally PROFAN (simply?) stay!
>
>
> --- ROOT SOURCE ---
> ASMproc WhatEverItMakes( params )
> return ?
> ASMendproc
>
> ASMcall( WhatEverItMakes, [params..] )
>
>
> --- PATCHED SOURCE ---
> on app init
> dim WhatEverItMakes#, (SizeOfObj)
> byte WhatEverItMakes#, 0 = ...code source...
>
> somewhere in your app
> call( WhatEverItMakes# )
>
> on uninit
> dispose WhatEverItMakes#
>
>
> --- appendix ---
> I Have a Page in german with OpCodes same enclosed - BESSER ALS MEIN DEUTSCH!. ;/
>
> Genereller BinaryCode:
> offset description
> +1 byte operation code
> +? operands
> ->byte = +1
> ->single word = +1
> ->double word = +1
> ->quard word = +1
>
>
> The structure ought to then so looks for a ASM-function (e.g. WhatEverItMakes#):
>
> [ on call ]
> offset value/data content asm code
> +1 $E9 buffer skip jump jmp
> +4 ?? ?? ?? ?? WhatEverItMakes# + RetrunSize (WhatEverItMakes# + RetrunSize)
> +(RetSz-Offs) $90 reserved data buffer nop
> +? ? ...your stuff hier... ...
>
> [ on return ]
> offset value/data content asm code
> +RetSz ? WhatEverItMakes# + RetrunSize
> [return data]
time sincere! you have erwähnt, Profan be a Anfängersprache and everything ought to slight his. Hälst You your supra led code for slight verständlich?
So I not. there find I mean Procedures-artige Syntax for vastly Beginner-geeigneter...
The (optionale) Vereinfachung the Parameterangabe inside the Assembleraufrufs ziehe I but gladly in consideration.
 
10/31/05  
 




Claus
Santa
Hmm...

Fieleicht have You right...
there remaining only a SourceConverter To write.

...and the wants something Heisen - i'm one wirklicher LazyDog!
Schade, but nevertheless thanks!
 
Snoozel,
[[StA/oXr]] // life is just'n bugfree, cos coding is life
11/03/05  
 




Frank
Abbing
Hi,

Source-Converter, Yes? The Idea shining moreover common To his, as You Perhaps ahnst...

i'm Neuerungen but durchweg not negative inclined and greet such Proposals, The You here brought have. as they me meaningfully attend and as they practicable are, then building I tappt im dunkeln too one. Lass you means not deter.

Cooles Cape!
 
11/03/05  
 




Claus
Santa

see so did i so. But if only as amendment - XProfan should XProfan stay, okey?

P.s.: DEBIAN CAP nimby rulers (=für selberfummler)
 
Snoozel,
[[StA/oXr]] // life is just'n bugfree, cos coding is life
11/05/05  
 




Melanie
Brayer
...(M)a objektive opinion...

( )`·.¸¸.-> safety:
unfortunately must I Frank right give, there the API-Handling (particularly with XP) Real badly is - Windos-like even.
you have of course right with your Safe-Is-Safe-Einstellug, but vergiss not the users The software using and not Hardliner How You! --> hardware is HARD and software even SOFT!
Why using You not your PMC, the works too under windows!

( )`·.¸¸.-> In-Runtime:
In-Runtime-DLLs blähen The Runtime unnecessary on and the In-Source-DLL can't changed go.
as example serves a PLUG-IN-function, namens RenderScene. we want our Runtime but flexibly make and DirectX and OpenGL rendern. moreover should each PLUG-IN The function RenderScene own, what with In-Runtime-code not goes...
this trouble can but with Externen .PRC-Files solve!
One appeal could then z.B. so from see:
Drehfux32.exe opengl.prc RenderScene -mem $0000.

does me really sorrow Sani, but where Frank right has, ...

PS:
your deutch is 1000x rather as to one 3/4 year.
 
mele (¯`·.¸¸.{ WinXP Pro, XProfan9, XPIA }.¸¸.·´¯)

<Bugs zählen ist besser als Schafe zählen, da der Computer nur so schlau ist wie der der Mensch der ihn bedient.>
11/08/05  
 




Frank
Abbing
Hi,

In-Runtime-Dlls with XPIA must one Yes not bring into action. XPIA created Yes The Dll too self-contained and the Source moreover.
 
11/08/05  
 




Frank
Abbing
Claus, I Have a your suggestions time aufgegriffen. The next XPIA-Version becomes, additional to conventional shape, too a abbreviation the Parameter- and Rückgabevariablen kennen. here an example:
CompileMarkSeparation
 {$cliq}
Declare x&,y&,z&
x&=111
y&=222

AsmStart Funktionsname (x&,y&)

    mov eax,para1
    add eax,para2

AsmEnd (z&)

Cls
Print z&
nput

P.s.: iFs Syntaxbuilder comes with the code (yet) not clear. there must it well yet nachbessern...
 
11/11/05  
 



so the community recognize your syntaktische expansion now and reacted properly.
 
11/12/05  
 




Frank
Abbing
super, thanks.
 
11/13/05  
 




Claus
Santa
( Damn good! )
have many Thanks!!
 
Snoozel,
[[StA/oXr]] // life is just'n bugfree, cos coding is life
11/18/05  
 




Michael
Dell
Hello Frank,

the new Parameter Passing comes Real well! there stay hardly yet Wünche open, a Have I but yet. sometimes go Special functions only to internen application needed and should means not export go.

is it possible a switch incorporate the XPIA says the a function not The export- scheduler heard? Bislang mach I the Yes by hand but it would beautiful ifs too automatically went about in the manner:

AsmStart Test (p1&,p2&) I

I standing here naturally for Intern.
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
11/22/05  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

14.837 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie