|
Some news |
Posted on: 2015/10/30 11:04
#1 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/7/30 21:55 From Sweden
Posts: 186
|
It's been a bit quiet from me lately, but now I've actually dusted of the old AWT code, and got it to run!
See the blog for details: http://jamiga2.blogspot.com/2015/10/mind-sweeped.html |
|
_________________
Maintainer and developer for Jamiga2 - Java for Amiga |
||
|
Re: Some news |
Posted on: 2015/10/30 12:38
#2 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2012/8/14 12:51 From France
Posts: 1494
|
@jaokim
Wonderful. Bravo ! |
|
_________________
http://apps.amistore.net/zTools |
||
|
Re: Some news |
Posted on: 2015/10/30 14:59
#3 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/26 21:45 From a story that hasn't been written yet
Posts: 3550
|
@jaokim
Yay, progress... Keep up the good work, jaokim |
|
_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney - Did everything just taste purple for a second? ~ Philip J. Fry - Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. |
||
|
Re: Some news |
Posted on: 2015/10/30 17:42
#4 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/2/23 13:49 From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1100
|
Great ! Keep up the good work.
|
|
_________________
Rock lobster bit me, so excuse me. X1000 + AmigaOS 4.1 FE. Be authentic. "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray |
||
|
Re: Some news |
Posted on: 2015/10/31 5:02
#5 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/1/26 21:48 From New Zealand
Posts: 2196
|
@jaokim
Nice! Hans |
|
_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. https://keasigmadelta.com/ - more of my work |
||
|
Re: Some news |
Posted on: 2015/10/31 9:52
#6 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2006/12/9 10:44 From Lyon, France
Posts: 1336
|
@jaokim
Yipeee, it's shaping up! Good job. |
|
|
Re: Some news |
Posted on: 2016/8/2 9:19
#7 |
---|---|---|
Just popping in
![]() ![]() Joined:
2009/2/8 14:30 From Cologne * Germany
Posts: 106
|
Quote:
Nice! What is the state of the project today, nine months later? |
|
|
Re: Some news |
Posted on: 2016/8/2 10:52
#8 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/7/30 21:55 From Sweden
Posts: 186
|
Actually, I just resurrected the project again. It was never "desurrected", but I haven't put much time on it lately.
But now I've continued with OpenJDK, and I have a non-hacky setup that can be built! A big thing actually! Basically I've copied UNIX/Windows implantation to my newly added AmigaOS parts of the build process, and will hopefully soon begin to implement them. I haven't worked much on the AWT stuff, but I think I'll be able to reuse what I've done for OpenJDK. |
|
_________________
Maintainer and developer for Jamiga2 - Java for Amiga |
||
|
Re: Some news |
Posted on: 2016/8/2 12:23
#9 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/26 21:45 From a story that hasn't been written yet
Posts: 3550
|
@jaokim
Keep on coding |
|
_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney - Did everything just taste purple for a second? ~ Philip J. Fry - Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. |
||
|
Re: Some news |
Posted on: 2016/8/2 18:43
#10 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2008/9/20 22:21 From Gothenburg, Sweden (via Finland)
Posts: 515
|
@jaokim
Great! |
|
_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 ![]() A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold) http://m4rko.com/AMIGA |
||
|
Re: Some news |
Posted on: 2016/8/3 6:29
#11 |
---|---|---|
Just popping in
![]() ![]() Joined:
2006/11/29 8:33 From Bure�, Sweden
Posts: 103
|
Wohoo!
|
|
_________________
/Me, myself and A1G4! |
||
|
Re: Some news |
Posted on: 2016/8/5 7:35
#12 |
---|---|---|
Just popping in
![]() ![]() Joined:
2009/2/8 14:30 From Cologne * Germany
Posts: 106
|
@jaokim
Quote:
In your blog I found a hint that you do this work on an NG Amiga: "...since I actually now use JAmiga to compile Java code when I'm developing JAmiga on my X1000. We kind of almost have a Java implementation so we can build Java ourselves on the Amiga!" Now I'm wondering if there is any chance that classic Amiga systems (OS 3.x / WarpOS) will also benefit from your work (68k port), or if it will be released for NG OS4.x-Amigas exclusively? Would JAmiga run sufficiently fast on e.g. a CyberstormPPC with 68060 @ 50 mHz / PPC604e @ 200 mHz and 128 mB Ram? Or would it only run at decent speed with e.g. AmigaForever on a fast PC? |
|
|
Re: Some news |
Posted on: 2016/8/5 9:15
#13 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/2/23 13:49 From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1100
|
@Dandy
Quote: Would JAmiga run sufficiently fast on e.g. a CyberstormPPC Think of running Java on Windows PC of 1990s and you will have your answer. |
|
_________________
Rock lobster bit me, so excuse me. X1000 + AmigaOS 4.1 FE. Be authentic. "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray |
||
|
Re: Some news |
Posted on: 2016/8/5 9:15
#14 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/7/30 21:55 From Sweden
Posts: 186
|
@Dandy
tl;dr: 68k won't happen from me, and I don't put much effort in trying to keep compatible to pre OS 4. But if someone manages to build stuff on my work that support 68k, I'm not reluctant to incorporate patches. Now, long rant: In order to have Java, you need, 1) the virtual machine to execute bytecode, and 2) the JDK that actually builds up the Java standard. A 68k port won't happen from me. Mostly because I don't have the time. Currently I'm using the Java virtual machine "jamvm" which support various platforms, but not 68k. The old JAmiga virtual machine can run on 68k, as can the really old GNU Kaffe VM (available on aminet). These do however only support Java 1.4, using GNU classpath. When I tried updating the old JAmiga VM it lacked a few functions to support newer Java versions, which is why I ported jamvm. As for my OpenJDK porting efforts, these use the Amiga API, so in theory it'd be possible to use that as a base for an OS 3.x implementation. I do however use new stuff in the AOS 4.1 API, and I really don't bother to check whether it is compatible to OS 3. Regarding jamvm, my port supports Amiga libraries, i.e. no .so-stuff, and I aim to keep it that way. So, one possibility is to add 68k support to jamvm. Can't remember if jamvm has a clean C implementation. I know that OpenJDK's VM Hotspot has a "zero" implementation in C++ that could possibly be compiled for 68k. But I really doubt it's an easy port, and I really doubt even a 060 would be able to run at decent speed. |
|
_________________
Maintainer and developer for Jamiga2 - Java for Amiga |
||
|
Re: Some news |
Posted on: 2016/8/5 10:27
#15 |
---|---|---|
Just popping in
![]() ![]() Joined:
2009/2/8 14:30 From Cologne * Germany
Posts: 106
|
@jaokim
Thanks for the detailed information! |
|
|
Re: Some news |
Posted on: 2016/8/5 10:38
#16 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/5/19 13:23 From England
Posts: 3553
|
@jaokim Quote:
Currently I'm using the Java virtual machine "jamvm" which support various platforms, but not 68k. How come? I assumed the Java VMs you've used are Interpreted rather than JIT Compiled, so in theory they shouldn't care about 68k vs PPC. When you say "68k" do you really mean OS3? i.e. It uses functions that OS4 has but OS3 does not? |
|
_________________
Author of the PortablE programming language. I love using Amiga OS4.1 ![]() It is pitch black. You are likely to be eaten by a grue... |
||
|
Re: Some news |
Posted on: 2016/8/5 12:09
#17 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/7/30 21:55 From Sweden
Posts: 186
|
@ChrisH
I don't think jamvm has a totally architecture independent configuration. Even when there's no JIT involved, there's still some assembler code needed when doing JNI-calls: https://github.com/jaokim/jamiga-jamvm ... miga/powerpc/callNative.S Even in the old JAmiga VM, there's some assembler when doing JNI-stuff: https://sourceforge.net/p/jamiga2/code ... jamiga/src/runtime.c#l290 Might be possible to take the 68k code from JAmiga, and add to jamvm though. (Like the comments in the JAmiga code suggests, this has already been done the other way, taking PPC code from jamvm to JAmiga.) (Edit: changed url to my GitHub, with the code I'm working with now, instead of the official jamvm repo.) |
|
_________________
Maintainer and developer for Jamiga2 - Java for Amiga |
||
|
Re: Some news |
Posted on: 2016/8/5 12:25
#18 |
---|---|---|
Just popping in
![]() ![]() Joined:
2007/7/30 21:55 From Sweden
Posts: 186
|
@ChrisH
Quote: When you say "68k" do you really mean OS3? i.e. It uses functions that OS4 has but OS3 does not? Perhaps both. ![]() If someone has patches that add 68k support for jamvm (like a CallNative.S linked in the post above), I don't mind adding it to my repo. Also, if someone has patches that makes my OpenJDK code compilable for OS 3 (or MorphOS/Aros, for that matter), I don't mind adding that aswell. |
|
_________________
Maintainer and developer for Jamiga2 - Java for Amiga |
||
|
Re: Some news |
Posted on: 2016/8/5 17:53
#19 |
---|---|---|
Home away from home
![]() ![]() Joined:
2007/5/19 13:23 From England
Posts: 3553
|
@jaokim Quote:
there's still some assembler code needed when doing JNI-calls Ah, that makes sense. Vaguely similar: I seem to recall I had to add some 68k machine code(!) to PortablE, to handle hook calls in AmigaOS3. (No, I didn't write the machine code myself...) |
|
_________________
Author of the PortablE programming language. I love using Amiga OS4.1 ![]() It is pitch black. You are likely to be eaten by a grue... |
||