Re: [fpc-pascal]Apple Mac pointer problem

2004-09-23 Thread Harald Houppermans
- Original Message - From: "Harald Houppermans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 3:19 AM Subject: Re: [fpc-pascal]Apple Mac pointer problem > > - Original Message - > From: "Harald Houpperman

Re: [fpc-pascal]Apple Mac pointer problem

2004-09-23 Thread Harald Houppermans
- Original Message - From: "Harald Houppermans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 24, 2004 3:06 AM Subject: Re: [fpc-pascal]Apple Mac pointer problem > > > > - Original Message - > From: "Stephe

Re: [fpc-pascal]Apple Mac pointer problem

2004-09-23 Thread Harald Houppermans
- Original Message - From: "Stephen Downs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 23, 2004 8:49 PM Subject: [fpc-pascal]Apple Mac pointer problem I am porting a Mac CodeWarrior project to FreePascal and have hit a compile problem with a pointer. In my or

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-26 Thread Harald Houppermans
I quote from someone else: "standard IEEE floating values, are highly inaccurate for scientific calculations." I you sure you want to use floating point math for your library ? :) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.or

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
> > What pascal compiler is used to compile free pascal ? :) > > FPC. Early versions were compiled with TP. That's the most funniest thing in software... Using previous software/version to create new versions... then using those again to make newer versions and each new version has ofcourse new

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
- Original Message - From: "Florian Klaempfl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 24, 2004 2:25 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal > Harald Houppermans wrote: > >>3) Everytime I have to boot on Wi

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-24 Thread Harald Houppermans
- Original Message - From: "Agustin Barto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 7:59 PM Subject: Re: [fpc-pascal]Math/Algebra Unit for FreePascal > 1) Using proprietary software to build scientific applications (like > in my case) is just wrong. You

Re: [fpc-pascal]Math/Algebra Unit for FreePascal

2004-07-22 Thread Harald Houppermans
- Original Message - From: "Agustin Barto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 20, 2004 9:28 PM Subject: [fpc-pascal]Math/Algebra Unit for FreePascal > I'm developing a statistical software and I need a mathematical > (algebra) unit for FreePascal. Right now

Re: [fpc-pascal]Linked List/ pointers/ casting/ OOP Question

2004-07-10 Thread Harald Houppermans
Just a general comment: Have you thought about writing a generic/general linked list unit first and then using that to implement the widget stuff ? Since writing linked lists can be tricky... best is to make a generic unit for it... test it well... and use it ;) I can think up some reasons why n

Re: [fpc-pascal]high performance counter for dos/tp7

2004-03-22 Thread Harald Houppermans
- Original Message - From: "Thomas Schatzl" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 22, 2004 12:47 PM Subject: Re: [fpc-pascal]high performance counter for dos/tp7 > Hello, > > > > > But ehm... it seems your website is locked... unable to view/download code > > e

Re: [fpc-pascal]high performance counter for dos/tp7

2004-03-21 Thread Harald Houppermans
Well I just finished implementing my own high performance unit for timing and timeouts etc... using bios tick count and pit tick count... thx to some large document ;) So I thought I'd now give your stuff a look/try :) But ehm... it seems your website is locked... unable to view/download code et

[fpc-pascal]high performance counter for dos/tp7

2004-03-20 Thread Harald Houppermans
Hello, I thought I give this newsgroup a try since you guys seem to know so much about all this stuff :D. Windows has a high performance counter api. With this api one can read the tick frequency and the tick count. Dividing the tick count by the tick frequency gives the time that has past or a

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-20 Thread Harald Houppermans
- Original Message - From: "Jonas Maebe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 20, 2004 2:30 PM Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ? > > On 20 mrt 2004, at 03:21, Harald Houppe

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-19 Thread Harald Houppermans
- Original Message - From: "Nikolai Zhubr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 19, 2004 10:59 PM Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ? > Hi, > Friday, 19 March, 2004, 14:10:02, Klaus Hartnegg wrote: > [...]

Re: [fpc-pascal]wow quite cool example you made there :)

2004-03-18 Thread Harald Houppermans
- Original Message - From: "Nikolay Nikolov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 12:04 PM Subject: Re: [fpc-pascal]wow quite cool example you made there :) > Harald Houppermans wrote: > > >WOW very interesting

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-18 Thread Harald Houppermans
- Original Message - From: "Nikolai Zhubr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 19, 2004 12:07 AM Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ? > Hi, > Thursday, 18 March, 2004, 18:26:

Re: [fpc-pascal]wow quite cool example you made there :)

2004-03-18 Thread Harald Houppermans
- Original Message - From: "Nikolay Nikolov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 12:04 PM Subject: Re: [fpc-pascal]wow quite cool example you made there :) > Harald Houppermans wrote: > > >WOW very interesting

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-18 Thread Harald Houppermans
- Original Message - From: "Klaus Hartnegg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 9:02 AM Subject: Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ? > > Turbo pascal 7 has the 'interrupt' directive which can be placed

Re: [fpc-pascal]wow quite cool example you made there :)

2004-03-17 Thread Harald Houppermans
> procedure Subst; > begin > writeln('Here we are!'); > repeat until false; > end; Lol now I understand why you placed repeat until false; lol Without it it crashes :D hmmm Probably no way to recover from it... hmmm Or is there ? Hmm maybe there is :) Storing the CS and IP and then later

[fpc-pascal]wow quite cool example you made there :)

2004-03-17 Thread Harald Houppermans
Wow Did you just write this from scratch ? That's a very cool trick you did there... Replacing the CS ( code segment ) And IP ( instruction pointer ) Seems like a dirty little hack lol... like a hacker could use to execute code hehehe. Anyway I was also wondering how to proof it... This

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
> Anybody else having that same experience ? shops having wirefull mouses only > ? yak. Oh shit I ment wireless mouses only hehe. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
t junk quickly and turn back to wirefull mouses :D The salesman also said he was barely selling anything from that junk. :D ----- Original Message - From: "Harald Houppermans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 2:59 AM Subject:

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
It would be interesting to see how hard it would be to use free pascal and 16 bit packet drivers... ( Holyshit... my monitor just did weird... probably a power source... that never happens wow, or maybe the monitor is about to die hehehehe it's quite old :) 5 to 6 years or so... (Liyama vision mas

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Thanks for your quick reply but I already solved the problem :) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Man... great... :) It says so in the specification lol: " Resets the interface associated with handle to a known state, aborting any transmits in process and reinitializing the -> receiver <- " Ofcourse I didn't know what that ment ? "reinitializing" Could mean anything :) Apperently it just d

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Ok, I think I have found the culprit... The test program calls: 'reset interface' function. This function is not working properly anyway... (it does not clear multicast list and does not re-fetch address from rom) Disabling this function from the test program makes it work and receive packets :

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Hmmm Now I am not sure anymore... I re-enabled the set address and it still works... Maybe it is now working because I did a reboot :) Maybe the old dummy receiver or so fucked something up I dont know. Maybe constantly changing packet driver settings is not a good idea... Maybe the packet dri

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Nope... It seems the problem was with setting the ethernet card address. The test program was setting the ethernet address of the network card to decimal: 10:20:30:40:50:60 Just to test it for fun... Somehow that prevented the network card from receiving any packets.

Re: [fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Actually it is for a packet driver in dos. Maybe I have to manually set the interrupt routine in the interrupt vector table or will the packet driver do that ? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/f

[fpc-pascal]Modifying cpu registers while in turbo pascal interrupt routine ?

2004-03-17 Thread Harald Houppermans
Hi, Maybe you guys know something about good old turbo pascal :D Turbo pascal 7 has the 'interrupt' directive which can be placed behind a procedure name to turn it into a interrupt handler. procedure interrupt_handler(Flags, CS, IP, AX, BX, CX, DX, SI, DI, DS, ES, BP: Word); interrupt; begin

Re: [fpc-pascal]socket unit doc out of date.

2003-07-29 Thread Harald Houppermans
Wow it seems the socket unit documentation is way out of date. I check the source... sockets.pp uses winsock :D sockets has a lot more functions :D ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]socket requirements.

2003-07-29 Thread Harald Houppermans
What my program would need is: When a packet is received: source address and source port When sending a packet... supplieing a dest address and dest port. The last could be done with connect. How to do the first is now the question... Maybe with recv... but the doc says it needs to be in a

Re: [fpc-pascal]sending works wow

2003-07-29 Thread Harald Houppermans
Wow.. Sending udp packets works for linux too... Exactly the same code :) Just cross compiled lol. :D ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]sending udp packets works :D

2003-07-29 Thread Harald Houppermans
In windows that is... Now trying for linux :D ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]socket failed ?

2003-07-29 Thread Harald Houppermans
Well... whatta ya know... :) sending udp packets actually works :D ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]socket failed ?

2003-07-29 Thread Harald Houppermans
This does seem to work but if it is usefull ? MySocket := socket( AF_INET, SOCK_DGRAM, PF_UNSPEC ); ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]socket failed ?

2003-07-29 Thread Harald Houppermans
MySocket := socket( AF_INET, SOCK_DGRAM, PF_INET ); This call fails with socket error 10043 I am guessing protocol not supported ? Do I need to start winsock first or something... I would like to work with the udp protocol. ___ fpc-pascal maillist

Re: [fpc-pascal]socket example

2003-07-29 Thread Harald Houppermans
> I need a simple socket example in free pascal for windows and linux > platform. I found the documentation in the free pascal distribution... I will now try to make my own example :D ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepas

[fpc-pascal]socket example

2003-07-29 Thread Harald Houppermans
I need a simple socket example in free pascal for windows and linux platform. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]free pascal cross compiler from windows to linux working.

2003-06-28 Thread Harald Houppermans
The free pascal 1.0.6 cross compiler host windows target linux is now working. I used cygwin, binutils-2.14 and free pascal. ( mingw unfortunately did not working: missing bison, flex, etc :) ) I tested a simple hello world program with knoppix ( linux running from cd-rom ). Then I also tested

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
Shit lol... Wrong file name ( also hello world program had end. not end; ;) ) Now it says this: :) C:\plztest2>fpc -TLINUX hellofp Free Pascal Compiler version 1.0.6 [2002/04/23] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Linux for i386 Compiling hellofp.pas Assembling progr

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
Ok something strange is going on. I copied as-new.exe and ld-new.exe to c:\pp\bin\linux I also installed c:\pp\units\linux all kinds of linux units I made a simple hello world program begin writeln( 'hello world' ); end; Called hellofp.pas Now I try to compile it: It says this: C:\plz

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
Hey wait a sec. What s the difference between binutils AS.exe and NASM... It seems NASM is for 8086x and AS is for all kind of processors, is that correct ? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
So I am not going to try mingw again at this point. Already did that... it fails... no bison and flex. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Nikolay Nikolov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 2:33 AM Subject: Re: [fpc-pascal]cross compiler potential ? > Harald Houppermans wrote: > > >>then compile for linux with: &

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Nikolai Zhubr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 2:45 AM Subject: Re: [fpc-pascal]cross compiler potential ? > Hi, > Saturday, 28 June, 2003, 22:26:01, Harald Houppermans wrote: > > S

[fpc-pascal]linux rtl units

2003-06-28 Thread Harald Houppermans
Ok, which tarball contains the linux rtl source ? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
> then compile for linux with: > fpc -TLINUX -Anasmelf filename.pas Are these parameters based on the NASM idea ? What are the right parameters based on the binutils ? ( Let s try binutils method first... before I get really confused :) ) Thx dude ! _

Re: [fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
- Original Message - From: "Nikolay Nikolov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 1:08 AM Subject: Re: [fpc-pascal]cross compiler potential ? > Harald Houppermans wrote: > > > A step by step tutorial how to cre

[fpc-pascal]free pascal cross compiler windows to linux, I am getting there :)

2003-06-28 Thread Harald Houppermans
Ok, Finally after two days I have successfully compiled the binutils-2.14 using cygwin, lol, without to much unix/linux knowledge on my side :) Anyway... the problem was with make.. I had so many makes on my system cygwin was using the wrong make tool, that has been solved by setting the path in

[fpc-pascal]cross compiler potential ?

2003-06-28 Thread Harald Houppermans
Suppose I ever do get a free pascal compiler working.   How usefull will it be ?   What I want to do is write windows server software and then compile it for linux.   I would like to use: high performance counter, tcp/ip stack, udp protocol.   That's about it.   A step by step tutorial how to

[fpc-pascal]gnu binutils cross compiler/linker for linux from windows

2003-06-27 Thread Harald Houppermans
Hi,   I want to create a pascal compiler which can cross compile for linux from windows.   ( So I can develop server programs on windows and then later run then on linux server's )   It seems there are 2 pascal compilers which might be able to do that:   1. free pascal. 2. gnu pascal.   I am