Board index » delphi » Need help in Turbo Pascal 5.5

Need help in Turbo Pascal 5.5

Does Pascal 5.5 allows the use of assembly code?
I wrote my code on TP7 and now it doesn't work on TP55.
If assembly is not supported in 5.5, is there any other way I can have
mouse support in my program?
It's urgent, please help. I need to hand in this work in 2 days.
Thanks a lot.
 

Re:Need help in Turbo Pascal 5.5


I have just carefully checked through the help in TP55.
Seems like it's called "external" instead of "asm", but with my little
knowledge, I still don't know how to use it.
I'm only able to use the asm keyword to add a few lines of assembly
code to a procedure or function. My assembly knowledge is very
limited.
I still need your help. Thanks a lot.

On Tue, 21 Dec 1999 07:43:14 GMT,{*word*150}<jackdaw...@operamail.com>
wrote:

Quote
>Does Pascal 5.5 allows the use of assembly code?
>I wrote my code on TP7 and now it doesn't work on TP55.
>If assembly is not supported in 5.5, is there any other way I can have
>mouse support in my program?
>It's urgent, please help. I need to hand in this work in 2 days.
>Thanks a lot.

Re:Need help in Turbo Pascal 5.5


In article <25cu5ss66urvnanggm5qipvu7ac9442...@4ax.com>,

Quote
gor  <jackdaw...@operamail.com> wrote:
>Does Pascal 5.5 allows the use of assembly code?
>I wrote my code on TP7 and now it doesn't work on TP55.
>If assembly is not supported in 5.5, is there any other way I can have
>mouse support in my program?

What do you mean? Calling interrupt 33h? You can use Intr() function in
DOS unit.

Osmo

Re:Need help in Turbo Pascal 5.5


Hi,
As far as I' know, there is no support for inline assembler in TP5.5, but
you can link in .obj-files generated by assemblers such as TASM. Therefore
the use of the reserved word "external".
The translation of code, is not too much of work though.

-ThomasN

gor <jackdaw...@operamail.com> skrev i
meldingsnyheter:05du5sktcsg2km7a2u935d2tcv6ni12...@4ax.com...

Quote
> I have just carefully checked through the help in TP55.
> Seems like it's called "external" instead of "asm", but with my little
> knowledge, I still don't know how to use it.
> I'm only able to use the asm keyword to add a few lines of assembly
> code to a procedure or function. My assembly knowledge is very
> limited.
> I still need your help. Thanks a lot.

> On Tue, 21 Dec 1999 07:43:14 GMT,{*word*150}<jackdaw...@operamail.com>
> wrote:

> >Does Pascal 5.5 allows the use of assembly code?
> >I wrote my code on TP7 and now it doesn't work on TP55.
> >If assembly is not supported in 5.5, is there any other way I can have
> >mouse support in my program?
> >It's urgent, please help. I need to hand in this work in 2 days.
> >Thanks a lot.

Re:Need help in Turbo Pascal 5.5


In article <25cu5ss66urvnanggm5qipvu7ac9442...@4ax.com>,
 {*word*150}<jackdaw...@operamail.com> wrote:

Quote
> Does Pascal 5.5 allows the use of assembly code?
> I wrote my code on TP7 and now it doesn't work on TP55.
> If assembly is not supported in 5.5, is there any other way I can have
> mouse support in my program?
> It's urgent, please help. I need to hand in this work in 2 days.
> Thanks a lot.

IIRC only through inline()

Do a search for "inlin219.zip", it may (or not...) ne useful.

Robert
--
Robert AH Prins
prin...@willis.com

Sent via Deja.com http://www.deja.com/
Before you buy.

Re:Need help in Turbo Pascal 5.5


That helps!
Thanks a lot!

On 21 Dec 1999 11:00:44 +0200, ronka...@cc.helsinki.fi (Osmo Ronkanen)
wrote:

Quote
>In article <25cu5ss66urvnanggm5qipvu7ac9442...@4ax.com>,
>gor  <jackdaw...@operamail.com> wrote:
>>Does Pascal 5.5 allows the use of assembly code?
>>I wrote my code on TP7 and now it doesn't work on TP55.
>>If assembly is not supported in 5.5, is there any other way I can have
>>mouse support in my program?

>What do you mean? Calling interrupt 33h? You can use Intr() function in
>DOS unit.

>Osmo

Other Threads