4D5A9000 13.07.2021, 11:13 |
HX-DOS Extender and Java (DOSX) |
I have been trying to run Minecraft on DOS since I knew HX. If you don't know, it's a 3D sandbox game, written with java, and requires JVM to run. I know the game would be extremely slow even if it eventually works, since no hardware acceleration is available on DOS. Anyway, Java 1.5.0_22 can be run natively on Windows 9x systems, as well as DOS with HX. Then, I added java's binary directory into %PATH%, downloaded lwjgl (one of the library it needs), copied opengl32.dll to my DOS VM from Windows 98. Then I started it with the following command line: |
Japheth Germany (South), 14.07.2021, 08:03 @ 4D5A9000 |
HX-DOS Extender and Java |
> Also, I don't know what that "MsgId: 0000000B" means. --- |
DosWorld 19.07.2021, 03:57 @ 4D5A9000 |
HX-DOS Extender and Java |
> I have been trying to run Minecraft on DOS --- |
4D5A9000 19.07.2021, 17:44 (edited by 4D5A9000, 19.07.2021, 17:59) @ 4D5A9000 |
HX-DOS Extender and Java |
OK, after doing some reverse-engineering, I found that "java.lang.ClassLoader$NativeLibrary.load" is an exported function in java.dll. It's named "_Java_java_lang_ClassLoader_00024NativeLibrary_load@12". That function calls "_JVM_LoadLibrary@4", which yet another is an exported function in jvm.dll. It does a lot of operations, but eventually, It calls "LoadLibraryA". |
tkchia 20.07.2021, 06:12 @ 4D5A9000 |
HX-DOS Extender and Java |
Hello 4D5A9000, --- |
Japheth Germany (South), 20.07.2021, 06:32 @ tkchia |
HX-DOS Extender and Java |
> Which will mean that HX did find the .dll, but for some reason decided that --- |
4D5A9000 20.07.2021, 07:08 @ Japheth |
HX-DOS Extender and Java |
Well, it crashed: |
Japheth Germany (South), 20.07.2021, 10:12 @ 4D5A9000 |
HX-DOS Extender and Java |
> Exception 0E --- |
tkchia 20.07.2021, 10:18 @ Japheth |
HX-DOS Extender and Java |
Hello Japheth, --- |
4D5A9000 20.07.2021, 14:23 @ Japheth |
HX-DOS Extender and Java |
> That may happen, because for a dll there is no defined stack size, and the |
Japheth Germany (South), 21.07.2021, 03:17 @ 4D5A9000 |
HX-DOS Extender and Java |
> --- |
4D5A9000 01.10.2021, 03:56 @ Japheth |
HX-DOS Extender and Java |
> > |