Author |
Message |
Jari Huikar #1 / 20
|
 16-bit to 32-bit
I have written couple of 16-bit DOS chess programs with TP7. I'm going to make a Winboard-engine from my program. My problem is that Winboard program won't communicate with 16-bit executables but 32-bit. What would be the easiest way for me to make my program 32-bit? It's very simple program using just standard input and output. Can it be compiled with Delphi, or are there even methods to change 16-bit exes into 32-bit? Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.*-*-*.com/ ~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marco van de Voo #2 / 20
|
 16-bit to 32-bit
Quote:
>I have written couple of 16-bit DOS chess programs with TP7. I'm going >to make a Winboard-engine from my program. My problem is that Winboard >program won't communicate with 16-bit executables but 32-bit. >What would be the easiest way for me to make my program 32-bit? >It's very simple program using just standard input and output. >Can it be compiled with Delphi, or are there even methods to change >16-bit exes into 32-bit?
Afaik there are no ways to do that conversion on .EXE's. If it is possible to simply recompile using a 32-bit compiler depends on the program.
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Jari Huikar #3 / 20
|
 16-bit to 32-bit
Quote:
>>I have written couple of 16-bit DOS chess programs with TP7. I'm going >>to make a Winboard-engine from my program. My problem is that Winboard >>program won't communicate with 16-bit executables but 32-bit. > If it is possible to simply recompile using a 32-bit compiler depends on the > program.
It's very standard Pascal, some procedures and functions of Crt and Dos units are used (Gettime, Keypressed). Could someone here try to compile it, if I'll put the source to my www-directory? (It's one big file, 50 kB or something.) Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.mit.jyu.fi/~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marco van de Voo #4 / 20
|
 16-bit to 32-bit
Quote:
>>>I have written couple of 16-bit DOS chess programs with TP7. I'm going >>>to make a Winboard-engine from my program. My problem is that Winboard >>>program won't communicate with 16-bit executables but 32-bit. >> If it is possible to simply recompile using a 32-bit compiler depends on the >> program. >It's very standard pascal, some procedures and functions of Crt and Dos >units are used (Gettime, Keypressed). Could someone here try to compile >it, if I'll put the source to my www-directory? (It's one big file, 50 kB >or something.)
Ok, as soon as I get it I'll try to compile it with Free Pascal. (which is the 32-bit compiler I know best)
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marco van de Voor #5 / 20
|
 16-bit to 32-bit
Quote: > >It's very standard pascal, some procedures and functions of Crt and Dos > >units are used (Gettime, Keypressed). Could someone here try to compile > >it, if I'll put the source to my www-directory? (It's one big file, 50 kB > >or something.) > Ok, as soon as I get it I'll try to compile it with Free Pascal. (which is > the 32-bit compiler I know best)
Note: this is a different address than usual, which I use for big attachments. --
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marti #6 / 20
|
 16-bit to 32-bit
I'd like to see the code for that chess programm(s) to, if Jari Huikari would allow that, so maybe loading it up to his Hompage would be the better plan. Thanks Martin Quote:
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Jari Huikar #7 / 20
|
 16-bit to 32-bit
Quote:
> I'd like to see the code for that chess programm(s) to, if Jari Huikari > would allow that, so maybe loading it up to his Hompage would be the better > plan.
I can email to Marco and also put the sources to my homepage for you to download. Also the one with GUI. (It's not so strong chess program. There are better sources available. And it's not commented much.) If anyone interested in having my chess programs (not sources yet) they can be found from http://www.mit.jyu.fi/~huikari/download.html Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.mit.jyu.fi/~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marti #8 / 20
|
 16-bit to 32-bit
- I can email to Marco and also put the sources to my homepage for you to - download. Also the one with GUI. (It's not so strong chess program. There - are better sources available. And it's not commented much.) Thanks a lot, i had already a look at your "Nero", and i liked it (I'm not very good in chess, so it is strong enough). I thougth it would be interesting how such programms work. Martin
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
#9 / 20
|
 16-bit to 32-bit
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Jari Huikar #10 / 20
|
 16-bit to 32-bit
Quote:
> Thanks a lot, i had already a look at your "Nero", and i liked it (I'm not > very good in chess, so it is strong enough). I thougth it would be > interesting how such programms work.
Sources of Nero can be downloaded from: http://www.mit.jyu.fi/~huikari/N5SOURCE.ZIP The WB-engine source, for which I need help in compiling 32-bit, can be found from: http://www.mit.jyu.fi/~huikari/NEROWB.PAS Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.mit.jyu.fi/~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marco van de Voo #11 / 20
|
 16-bit to 32-bit
Quote:
>> Thanks a lot, i had already a look at your "Nero", and i liked it (I'm not >> very good in chess, so it is strong enough). I thougth it would be >> interesting how such programms work. >Sources of Nero can be downloaded from: >http://www.mit.jyu.fi/~huikari/N5SOURCE.ZIP
I quickly looked, and fdelay is seriously system dependant. It could (maybe) get fixed to compile under 32-bits dos, but never on other OSes. However Crt.Delay IS implemented for most OSes. Quote: >The WB-engine source, for which I need help in compiling 32-bit, can >be found from: >http://www.mit.jyu.fi/~huikari/NEROWB.PAS
Hmm. This one compiles in FPC unmodified (on FreeBSD)
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Mason #12 / 20
|
 16-bit to 32-bit
Quote: Jari Huikari wrote... >Sources of Nero can be downloaded from: >http://www.mit.jyu.fi/~huikari/N5SOURCE.ZIP >The WB-engine source, for which I need help in compiling 32-bit, can >be found from: >http://www.mit.jyu.fi/~huikari/NEROWB.PAS
There is a bgidriv.pas missing; and I don't have it on my TP5.5. Where can I find bgidriv.pas?
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Jari Huikar #13 / 20
|
 16-bit to 32-bit
Quote:
> There is a bgidriv.pas missing; and I don't have it on my TP5.5. > Where can I find bgidriv.pas?
I have TP7, And foubd it in some of the sub-directories of it. I don't know whether TP5.5 has it, but you can check your subdirs. Earlier I didn't use bgidriv, but only the initgraph-command, and included the file EGAVGA.BGI with my programs. You can try that kind of solution. Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.mit.jyu.fi/~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Jari Huikar #14 / 20
|
 16-bit to 32-bit
Quote:
>>> Thanks a lot, i had already a look at your "Nero", and i liked it (I'm not >>> very good in chess, so it is strong enough). I thougth it would be >>> interesting how such programms work. >>Sources of Nero can be downloaded from: >>http://www.mit.jyu.fi/~huikari/N5SOURCE.ZIP > I quickly looked, and fdelay is seriously system dependant. It could (maybe) > get fixed to compile under 32-bits dos, but never on other OSes.
It can be dropped away. I have only used it to get rid of that infamous runtime error 200 of my TP7. Jari -- PER ARDUA IN FIDE SERVITE DEO http://www.mit.jyu.fi/~huikari/
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
 |
Marco van de Voo #15 / 20
|
 16-bit to 32-bit
Quote:
>>>> Thanks a lot, i had already a look at your "Nero", and i liked it (I'm not >>>> very good in chess, so it is strong enough). I thougth it would be >>>> interesting how such programms work. >>>Sources of Nero can be downloaded from: >>>http://www.mit.jyu.fi/~huikari/N5SOURCE.ZIP >> I quickly looked, and fdelay is seriously system dependant. It could (maybe) >> get fixed to compile under 32-bits dos, but never on other OSes. >It can be dropped away. I have only used it to get rid of that infamous >runtime error 200 of my TP7.
I did, and I can compile it under Linux. Besides that, the only change was removing the line that registers the egavgabgi. (which isn't necessary, FPC is not BGI based, but compatible to it, with an internal VGA and VESA compatible driver). But I don't have permissions to run graphical programs on that Linux machine, so testing will have to wait till tonight. So nearly everything compiles without modifications.
|
Wed, 18 Jun 1902 08:00:00 GMT |
|
|