Porting to i686-msdosdjgpp
gnufan42
gnufan42 at protonmail.com
Thu Nov 18 13:49:36 UTC 2021
On Monday, November 15th, 2021 at 10:22 PM, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
>On 2021-11-15 15:06, gnufan42 wrote:
>>David Holmes wrote:
>>>I'd say it is technically impossible to port OpenJDK to DOS as you do
>>>not have any of the necessary operating system support for threads,
>>> synchronization, virtual memory, ....
>>>Well, these difficulties are all overcame by the DJGPP project. They use DPMI to let the code runs in 32-bit protected mode, they implemented a lot of POSIX functions, including pthread. Otherwise I won't be trying.
>Oh, that's interesting, I did not know about that.
>I assume you're doing this just for the sake of it, and not really to
>use it for anything seriously? If so, it can certainly be a fun
>challenge. :-) Do you have a github repo? I might be able to give you a
>hand here and there. Not really as an Oracle engineer, but on my spare
>time just since it sounds like a cool project. :-)
>You need to have reasonably high expectations, however. The entire
>java.desktop package is likely to be out of the question, for instance.
>Also, what kind of memory space are we talking about here? You might be
>hard pressed to run anything else but HelloWorld using zero...
>/Magnus
>>Thanks,
>>Gnufan
Hi Magnus,
I decided to port JavaME instead finally. Also, I got the source code of it from you. Should I upload that to github directly?
Thanks,
Gnufan
More information about the porters-dev
mailing list