16-bit to 32-bit 
Author Message
 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  
 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  
 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  
 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  
 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  
 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  
 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  
 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  
 16-bit to 32-bit


Wed, 18 Jun 1902 08:00:00 GMT  
 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  
 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  
 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  
 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  
 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  
 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  
 
 [ 20 post ]  Go to page: [1] [2]

 Relevant Pages 

1. CRC 16-bit and 32-bit

2. Delphi/BDE 16 bit VS 32 bit

3. 16 bit and 32 bit BDE with same table

4. 16-bit and 32-bit functionality

5. Convert 32 bit component to 16 bit ??

6. BDE 32-bit & 16-bit

7. 16 bit ODBC drivers in the 32 bit environment

8. 32 bit bde with 16 bit odbc

9. Upgrade 16-bit application to 32-bit

10. Upgrade 16-bit application to 32-bit

11. 16-bit Application and 32-bit ODBC

12. Sybase : slow using 32 bit - fast using 16 bit

 

 
Powered by phpBB® Forum Software