[fpc-pascal] MS DOS 8086 compiler?

2013-04-27 Thread Reinier Olislagers
Noticed that an 8086 branch was merged to fpc trunk. Is it time to get
out some 5.25" diskettes[1]?

[1] Shame I dumped all the accompanying hardware long ago ;) Perhaps
break out DOSBOX ;)
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread Sven Barth

On 26.04.2013 21:38, silvioprog wrote:

Select in socket of Delphi 2007 (a friend sent it to me:
http://www.sendspace.com/file/06ev02):


Gaahhh!!! Don't simply send Delphi code to this list! Did you ever heard 
of stuff like clean room reverse engineeering?!


Regards,
Sven

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MS DOS 8086 compiler?

2013-04-27 Thread Bart
On 4/27/13, Reinier Olislagers  wrote:
> Noticed that an 8086 branch was merged to fpc trunk. Is it time to get
> out some 5.25" diskettes[1]?
>
> [1] Shame I dumped all the accompanying hardware long ago ;) Perhaps
> break out DOSBOX ;)

I still have a portable (ahum, > 5 kg) IBM XT with 5.25" floppy disk.
HD is appr. 10 MB (decaying...)
Problem of course wil be to get the compiler on the floppy disks, and
then hope my HD is large enough.

(It cost about 10,000 Dfl (appr 4,500 € / $ 5000) at the time of purgase.)

Bart
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MS DOS 8086 compiler?

2013-04-27 Thread Jonas Maebe

On 27 Apr 2013, at 14:11, Bart wrote:

> On 4/27/13, Reinier Olislagers  wrote:
>> Noticed that an 8086 branch was merged to fpc trunk. Is it time to get
>> out some 5.25" diskettes[1]?
>> 
>> [1] Shame I dumped all the accompanying hardware long ago ;) Perhaps
>> break out DOSBOX ;)
> 
> I still have a portable (ahum, > 5 kg) IBM XT with 5.25" floppy disk.
> HD is appr. 10 MB (decaying...)
> Problem of course wil be to get the compiler on the floppy disks, and
> then hope my HD is large enough.

The compiler itself doesn't run on the Dos real mode target, and probably never 
will due to memory limitations.


Jonas___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MS DOS 8086 compiler?

2013-04-27 Thread Zaher Dirkey
On Sat, Apr 27, 2013 at 3:11 PM, Bart  wrote:

> I still have a portable (ahum, > 5 kg) IBM XT with 5.25" floppy disk.
> HD is appr. 10 MB (decaying...)
>

Yay​

Zaher Dirkey
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] PopCount

2013-04-27 Thread reyno
Unfortunately, for POPCNT assembler, SSE 4.2 is required. For older 
CPUs, after some tests, I'd finally recommend


function CShift(ANum : QWord) : Cardinal;
var
  n1, n2 : QWord;
begin
  n1 := ANum - (ANum shr 1 and $);
  n2 := (n1 and $) + (n1 shr 2 and $);
  Result :=
(((n2 + (n2 shr 4)) and $0f0f0f0f0f0f0f0f) * $0101010101010101) shr 56;
end;

What do you do, when it comes to fast pop. counts on vintage CPUs?

The "official" alternative, provided with FPC 2.7.1, seems ca. 10 x 
slower. Did I grab the wrong version?


Is there a even better solution?

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread silvioprog
2013/4/27 Sven Barth 

> On 26.04.2013 21:38, silvioprog wrote:
>
>> Select in socket of Delphi 2007 (a friend sent it to me:
>> http://www.sendspace.com/file/**06ev02
>> ):
>>
>
> Gaahhh!!! Don't simply send Delphi code to this list! Did you ever heard
> of stuff like clean room reverse engineeering?!
>
> Regards,
> Sven


Oopppss, sorry. I'll delete it. :X

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread waldo kitty

On 4/27/2013 11:06, silvioprog wrote:

2013/4/27 Sven Barth mailto:pascaldra...@googlemail.com>>

On 26.04.2013 21:38, silvioprog wrote:

Select in socket of Delphi 2007 (a friend sent it to me:
http://www.sendspace.com/file/__06ev02:

Gaahhh!!! Don't simply send Delphi code to this list! Did you ever heard of
stuff like clean room reverse engineeering?!

Oopppss, sorry. I'll delete it. :X


you can't delete it from everywhere...

eg: systems that download this _mailing_list_ as separate emails into whatever 
mail reading tool is used...


--
NOTE: No off-list assistance is given without prior approval.
  Please keep mailing list traffic on the list unless
  private contact is specifically requested and granted.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread silvioprog
2013/4/27 waldo kitty 

> On 4/27/2013 11:06, silvioprog wrote:
>
>> 2013/4/27 Sven Barth > >
>>
>>
>> On 26.04.2013 21:38, silvioprog wrote:
>>
>> Select in socket of Delphi 2007 (a friend sent it to me:
>> 
>> http://www.sendspace.com/file/**__06ev02
>> :
>>
>>
>> Gaahhh!!! Don't simply send Delphi code to this list! Did you ever
>> heard of
>> stuff like clean room reverse engineeering?!
>>
>> Oopppss, sorry. I'll delete it. :X
>>
>
> you can't delete it from everywhere...
>
> eg: systems that download this _mailing_list_ as separate emails into
> whatever mail reading tool is used...
>
> --
> NOTE: No off-list assistance is given without prior approval.
>   Please keep mailing list traffic on the list unless
>   private contact is specifically requested and granted.


>From the SendSpace yes. Try to download it now. ;)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread waldo kitty

On 4/27/2013 13:51, silvioprog wrote:

2013/4/27 waldo kitty mailto:wkitt...@windstream.net>>
On 4/27/2013 11:06, silvioprog wrote:
2013/4/27 Sven Barth 
 On 26.04.2013 21:38, silvioprog wrote:

 Select in socket of Delphi 2007 (a friend sent it to me:
http://www.sendspace.com/file/06ev02:

 Gaahhh!!! Don't simply send Delphi code to this list! Did you ever
heard of stuff like clean room reverse engineeering?!

Oopppss, sorry. I'll delete it. :X

you can't delete it from everywhere...

eg: systems that download this _mailing_list_ as separate emails into
whatever mail reading tool is used...

 From the SendSpace yes. Try to download it now. ;)


what "SendSpace"?? i've never heard of it... the code came in /inside/ your 
posting... [time passes] there was a link to the code in your post, yes... but 
you also posted the actual code, too...[/time passes]


my example explicitly points to local storage in a email client, as well... if 
you or anyone can delete posts from my local email storage from remote, i'd 
definitely like to know about it :P


--
NOTE: No off-list assistance is given without prior approval.
  Please keep mailing list traffic on the list unless
  private contact is specifically requested and granted.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal