BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi compiler

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi IDE
View previous topic :: View next topic  
Author Message
Florent Ouchet
Guest





PostPosted: Mon Sep 22, 2003 10:30 pm    Post subject: Delphi compiler Reply with quote



Hi all,

I want to add new fonctions to the borland delphi compiler, for example :
bit déclaration, 3D Now....
Any help is required!!

Is there a way to do this in Delphi 6 pro ??

Thanks,

Florent



Back to top
Mike Williams (TeamB)
Guest





PostPosted: Mon Sep 22, 2003 10:40 pm    Post subject: Re: Delphi compiler Reply with quote



On 22 Sep 2003, "Florent Ouchet" <ouchet.florent (AT) laposte (DOT) net> wrote:

Quote:
I want to add new fonctions to the borland delphi compiler, for
example : bit d‚claration, 3D Now....
Any help is required!!

Is there a way to do this in Delphi 6 pro ??

You can't actually modify the compiler but you can certainly create your
own components/classes/units that extend the compiler. All of the VCL
is done this way: it's something that is external to the compiler itself
but linked in to almost every Delphi program.

Since the things you mention are all low level you'd probably end up
writing the code in ASM and providing object pascal wrappers.

--
-Mike (TeamB)

Back to top
Florent Ouchet
Guest





PostPosted: Mon Sep 22, 2003 10:41 pm    Post subject: Re: Delphi compiler Reply with quote



Thanks,

but i wannot write an object, i dont need instance, i just need to get the
nth bit of an ordinal value.
I know that asm can do that (i have already experiment this).
I would be simpliest to make it possible in pure pascal.

Florent.

"Mike Williams (TeamB)" <mikew (AT) remove (DOT) aps-soft.com> a écrit dans le message
de news: Xns93FEBDE725E92mikewteamb (AT) 207 (DOT) 105.83.65...
Quote:
On 22 Sep 2003, "Florent Ouchet" <ouchet.florent (AT) laposte (DOT) net> wrote:

I want to add new fonctions to the borland delphi compiler, for
example : bit d,claration, 3D Now....
Any help is required!!

Is there a way to do this in Delphi 6 pro ??

You can't actually modify the compiler but you can certainly create your
own components/classes/units that extend the compiler. All of the VCL
is done this way: it's something that is external to the compiler itself
but linked in to almost every Delphi program.

Since the things you mention are all low level you'd probably end up
writing the code in ASM and providing object pascal wrappers.

--
-Mike (TeamB)




Back to top
Maynard Philbrook
Guest





PostPosted: Tue Sep 23, 2003 5:47 am    Post subject: Re: Delphi compiler Reply with quote

You can.
simple write function that uses inline assembler..
just move the results into AL, AX or EAX at the end.
or move it to the @Result variable at the end of the function


Florent Ouchet wrote:

Quote:
Thanks,

but i wannot write an object, i dont need instance, i just need to get the
nth bit of an ordinal value.
I know that asm can do that (i have already experiment this).
I would be simpliest to make it possible in pure pascal.

Florent.

"Mike Williams (TeamB)" <mikew (AT) remove (DOT) aps-soft.com> a écrit dans le message
de news: Xns93FEBDE725E92mikewteamb (AT) 207 (DOT) 105.83.65...
On 22 Sep 2003, "Florent Ouchet" <ouchet.florent (AT) laposte (DOT) net> wrote:

I want to add new fonctions to the borland delphi compiler, for
example : bit d,claration, 3D Now....
Any help is required!!

Is there a way to do this in Delphi 6 pro ??

You can't actually modify the compiler but you can certainly create your
own components/classes/units that extend the compiler. All of the VCL
is done this way: it's something that is external to the compiler itself
but linked in to almost every Delphi program.

Since the things you mention are all low level you'd probably end up
writing the code in ASM and providing object pascal wrappers.

--
-Mike (TeamB)

--
To See what real programmers do in their spare time visit
http://jamie12.home.mindspring.com
home of PC bit software ..
Please send comments about my work .



Back to top
John Leavey
Guest





PostPosted: Tue Sep 23, 2003 8:43 am    Post subject: Re: Re: Delphi compiler Reply with quote

On Tue, 23 Sep 2003 00:41:20 +0200, "Florent Ouchet" <ouchet.florent (AT) laposte (DOT) net> wrote:

Quote:
Thanks,

but i wannot write an object, i dont need instance, i just need to get the
nth bit of an ordinal value.
I know that asm can do that (i have already experiment this).
I would be simpliest to make it possible in pure pascal.

Take a look at jclLogic.pas ( part of the JEDI code library -
http://sourceforge.net/projects/jcl/ ) which has a whole set of bit manipulation functions


John Leavey


Back to top
Florent Ouchet
Guest





PostPosted: Sun Sep 28, 2003 8:05 pm    Post subject: Re: Re: Delphi compiler Reply with quote

Tx a lot for this response,

I have a lot of problem connecting the newsgroup server...

"John Leavey" <johnl (AT) NO_SPAM (DOT) compufile.co.uk> a écrit dans le message de
news:clvvmvc2mobatkemt783j6m0jfmue18iea (AT) 4ax (DOT) com...
Quote:
On Tue, 23 Sep 2003 00:41:20 +0200, "Florent Ouchet"
[email]ouchet.florent (AT) laposte (DOT) net[/email]> wrote:

Thanks,

but i wannot write an object, i dont need instance, i just need to get
the
nth bit of an ordinal value.
I know that asm can do that (i have already experiment this).
I would be simpliest to make it possible in pure pascal.

Take a look at jclLogic.pas ( part of the JEDI code library -
http://sourceforge.net/projects/jcl/ ) which has a whole set of bit
manipulation functions


John Leavey



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.