Europatari Posted September 2, 2019 Share Posted September 2, 2019 Did you know, that the Java Mobile Phone games can be converted to Atari lyny games or any other Sophisticaded handheld it is just, because the Mobile Phone games contain a Java Source Code and any Java Programming master could reprogramm the Java game to a Fully fledged Atari Lynx game Quote Link to comment Share on other sites More sharing options...
sage Posted September 2, 2019 Share Posted September 2, 2019 Yes, true. And the Java virtual machine was release for Atari Lynx at April 1st 2011 3 2 Quote Link to comment Share on other sites More sharing options...
Flojomojo Posted September 2, 2019 Share Posted September 2, 2019 @sage I'm always suspicious of anything that launches on that date. Does it work? Quote Link to comment Share on other sites More sharing options...
sage Posted September 2, 2019 Share Posted September 2, 2019 Only if you fit solder some more memory 2 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 2, 2019 Share Posted September 2, 2019 aLynx (https://github.com/rock88/aLynx-android-port) technically has Java in it, so you could do it the other way around, run Lynx games in a Java app ? Quote Link to comment Share on other sites More sharing options...
42bs Posted September 3, 2019 Share Posted September 3, 2019 17 hours ago, Europatari said: Did you know, that the Java Mobile Phone games can be converted to Atari lyny games or any other Sophisticaded handheld it is just, because the Mobile Phone games contain a Java Source Code and any Java Programming master could reprogramm the Java game to a Fully fledged Atari Lynx game *rotfl* YMMD Quote Link to comment Share on other sites More sharing options...
Europatari Posted September 5, 2019 Author Share Posted September 5, 2019 On 9/2/2019 at 8:32 PM, sage said: Yes, true. And the Java virtual machine was release for Atari Lynx at April 1st 2011 oh nice, is there any evidence in the internet of it? Quote Link to comment Share on other sites More sharing options...
Nop90 Posted September 5, 2019 Share Posted September 5, 2019 Seems people release a lot of great things the 1st of April. 1 Quote Link to comment Share on other sites More sharing options...
Europatari Posted September 5, 2019 Author Share Posted September 5, 2019 (edited) 41 minutes ago, Nop90 said: Seems people release a lot of great things the 1st of April. seriously? do you think, that this means, that it is just an april fools joke? This topic is about a Theory. we dont talk fake stuff here MATE Edited September 5, 2019 by Europatari Quote Link to comment Share on other sites More sharing options...
Europatari Posted September 5, 2019 Author Share Posted September 5, 2019 On 9/2/2019 at 8:37 PM, sage said: Only if you fit solder some more memory no, i did not asked for a j2me Emulator on Lynx. i asked, if it is possible to reprogramm java games to lynx games, because the Jar files Contain the Java codes Quote Link to comment Share on other sites More sharing options...
42bs Posted September 5, 2019 Share Posted September 5, 2019 19 minutes ago, Europatari said: no, i did not asked for a j2me Emulator on Lynx. i asked, if it is possible to reprogramm java games to lynx games, because the Jar files Contain the Java codes You can't be serious or have no programming experience at all. .jar files contain byte code, no source. Anyway, neither would allow to run a Java game on the Lynx. Quote Link to comment Share on other sites More sharing options...
Turbo Laser Lynx Posted September 5, 2019 Share Posted September 5, 2019 (edited) At least we have the Chip-8 virtual machine on the Lynx, I thought that was really delightful/exciting. From wikipedia Quote CHIP-8 programs are run on a CHIP-8 virtual machine. Edited September 5, 2019 by Turbo Laser Lynx 1 Quote Link to comment Share on other sites More sharing options...
Europatari Posted September 6, 2019 Author Share Posted September 6, 2019 17 hours ago, 42bs said: You can't be serious or have no programming experience at all. .jar files contain byte code, no source. Anyway, neither would allow to run a Java game on the Lynx. uh... this topic was a theory and not a request Quote Link to comment Share on other sites More sharing options...
Europatari Posted September 6, 2019 Author Share Posted September 6, 2019 15 hours ago, Turbo Laser Lynx said: At least we have the Chip-8 virtual machine on the Lynx, I thought that was really delightful/exciting. Hey i own that one too... Quote Link to comment Share on other sites More sharing options...
42bs Posted September 6, 2019 Share Posted September 6, 2019 39 minutes ago, Europatari said: uh... this topic was a theory and not a request It is not theory it is utopie. Quote Link to comment Share on other sites More sharing options...
zzip Posted September 6, 2019 Share Posted September 6, 2019 Java's kind of a beast. The mobile edition released almost a decade after the Lynx. I wouldn't expect the Lynx to have the horsepower/memory to run it. I believe GCC can compile Java source code to native code (GCJ), but the question is has someone ported it to Lynx? Is such a port even feasible. Quote Link to comment Share on other sites More sharing options...
Nop90 Posted September 6, 2019 Share Posted September 6, 2019 Porting a game from java to Lynx (C code) take about twice the time than rewriting the code from scratch (at least to me). So IMHO if the point of he OP is to investigate if the availability of Java source could increase the average production of Homebrew for the Lynz, I say the answer is a No. Initiatives like the Coding Competition of this year can do it. 2 Quote Link to comment Share on other sites More sharing options...
+karri Posted September 6, 2019 Share Posted September 6, 2019 12 minutes ago, Nop90 said: Initiatives like the Coding Competition of this year can do it. Tell me about it. I am so amazed at all the entries that popped up like mushrooms in autumn. And I am sooo happy that I do not have to be a judge in this competition. The entries are so different. It is like judging apples from oranges. There are many entries I want to complete. After this week-end when I send in my last fixes I hope to get a few evenings off to play the entries. Right now I am still struggling with completing YNXA. It has kind of a soft touch that I like a lot. 1 1 Quote Link to comment Share on other sites More sharing options...
VladR Posted September 8, 2019 Share Posted September 8, 2019 On 9/2/2019 at 12:32 PM, sage said: Yes, true. And the Java virtual machine was release for Atari Lynx at April 1st 2011 No, You're mixing up security update release with the initial release. Somebody on the internet is wrong on that one. Here's the timeline: February 30'11: Initial Release April 1st`11 : Lynx Worm Security Update If memory serves right, the security update was for the nTestinal Worm that executed an unprecedented attack on Lynx's digestive component 1.3. That made them very easy to track down. Quote Link to comment Share on other sites More sharing options...
VladR Posted September 8, 2019 Share Posted September 8, 2019 On 9/6/2019 at 8:53 AM, zzip said: Java's kind of a beast. The mobile edition released almost a decade after the Lynx. I wouldn't expect the Lynx to have the horsepower/memory to run it. I believe GCC can compile Java source code to native code (GCJ), but the question is has someone ported it to Lynx? Is such a port even feasible. Not necessarily. Can it really be that hard, at run-time, to do a mapping between : <JavaByteCommand> vs <JSR 6502_ASM_code> ? Certainly not. Especially if we're talking just about basic Java language(without any string/etc. libraries). But, since carts on Lynx can be up to 1 MB, if somebody was determined (read:crazy) enough, he could certainly implement even all the string libraries, FileSystem, etc. And then, at run-time, just copy those 6502 instructions from the cart to RAM, each time you process a new bytecode (e.g. a simple brute-force loop). The above would become even more simple, if we were talking about a compiler, since you could simply create that compiler on your PC in the language of your choice (or, choose Java, for best irony) and IDE of your choice and have the luxury of running multiple passes over the code (etc.). I'd argue that such 6502 Java cross-compiler could even produce a code that might rival CC65 in terms of execution speed (assuming the mental patient coding it would invest the time to make it as fast, and his boarding facility would procure sufficient coding breaks in between the electroshocks). 1 Quote Link to comment Share on other sites More sharing options...
Nop90 Posted September 8, 2019 Share Posted September 8, 2019 It's not polite to talk about mental illness on this forum. There are no sane people around here ?. 2 Quote Link to comment Share on other sites More sharing options...
Igor Posted September 8, 2019 Share Posted September 8, 2019 What I want to see is one of these supposed Java games shared here, then we can all have a go an extracting its code and converting it to a Lynx game! ? Quote Link to comment Share on other sites More sharing options...
42bs Posted September 9, 2019 Share Posted September 9, 2019 5 hours ago, necrocia said: What I want to see is one of these supposed Java games shared here, then we can all have a go an extracting its code and converting it to a Lynx game! ? There is no code. The JAR files contain only byte code and data (sound, gfx). All one can do is to "get inspired" by the game play and GFX of these games. Quote Link to comment Share on other sites More sharing options...
Igor Posted September 9, 2019 Share Posted September 9, 2019 11 minutes ago, 42bs said: There is no code. The JAR files contain only byte code and data (sound, gfx). All one can do is to "get inspired" by the game play and GFX of these games. No original code you're right, but it's all de-compilable. I work with Java every day for my job. The decompilers do an amazingly good job of reproducing the code. Still...that code would be useless you're right, I should have said more that the assets can be extracted (graphics, sound, etc). Quote Link to comment Share on other sites More sharing options...
+karri Posted September 9, 2019 Share Posted September 9, 2019 The big obstacle for porting things to the Lynx is the limitations of screen resolution, number of colours, sound engine and RAM. Technically I see no obstacle in cross compiling from one language to another. You create a lot of object trees in memory and let an optimizer reduce the presentation fit the target architecture. I have written automatic compilers that does large Occam programs to be translated to C++. It took a few years to do it. But to create anything usable you need to downscale all graphics to almost nothing. Just converting them to a different resolution in Gimp produces complete crap. So you would need to invent an intelligent designer robot that would re-create the visuals and the sounds in no time. The charm in programming for the Lynx is to be able to create something nice. It is a bit like solving a Sudoku. Of course I can program a Sudoku solver that does this faster and better than me. Perhaps that is why I am not interested in inventing the intelligent designer robot... 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.