Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
83 user(s) are online (73 user(s) are browsing Forums)

Members: 0
Guests: 83

more...
Support us!
Recent OS4 Files
OS4Depot.net





Some news
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
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
   Report Go to top

Re: Some news
Just can't stay away
Joined:
2012/8/14 12:51
From France
Posts: 1470
@jaokim
Wonderful. Bravo !

   Report Go to top

Re: Some news
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2881
@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. John Zoidberg
   Report Go to top

Re: Some news
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1061
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
   Report Go to top

Re: Some news
Just can't stay away
Joined:
2007/1/26 21:48
From New Zealand
Posts: 1854
@jaokim

Nice!

Hans

_________________
http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
   Report Go to top

Re: Some news
Just can't stay away
Joined:
2006/12/9 10:44
From Lyon, France
Posts: 1314
@jaokim

Yipeee, it's shaping up! Good job.

_________________
Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
   Report Go to top

Re: Some news
Just popping in
Joined:
2009/2/8 14:30
From Cologne * Germany
Posts: 106
Quote:

jaokim wrote:

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



Nice!
What is the state of the project today, nine months later?

   Report Go to top

Re: Some news
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
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
   Report Go to top

Re: Some news
Home away from home
Joined:
2006/11/26 21:45
From A haunted Castle somewhere in the Bavarian Mountains
Posts: 2881
@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. John Zoidberg
   Report Go to top

Re: Some news
Not too shy to talk
Joined:
2008/9/20 22:21
From Gothenburg, Sweden (via Finland)
Posts: 491
@jaokim

Great!

_________________
AmigaOS 4.1 FE Update 1 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
   Report Go to top

Re: Some news
Just popping in
Joined:
2006/11/29 8:33
From Bure�, Sweden
Posts: 103
Wohoo!

_________________
/Me, myself and A1G4!
   Report Go to top

Re: Some news
Just popping in
Joined:
2009/2/8 14:30
From Cologne * Germany
Posts: 106
@jaokim

Quote:

Original by jaokim:

...
See the blog for details: http://jamiga2.blogspot.com/2015/10/mind-sweeped.html



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?




   Report Go to top

Re: Some news
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1061
@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
   Report Go to top

Re: Some news
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
@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
   Report Go to top

Re: Some news
Just popping in
Joined:
2009/2/8 14:30
From Cologne * Germany
Posts: 106
@jaokim

Thanks for the detailed information!

   Report Go to top

Re: Some news
Home away from home
Joined:
2007/5/19 13:23
From England
Posts: 3490
@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...
   Report Go to top

Re: Some news
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
@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
   Report Go to top

Re: Some news
Just popping in
Joined:
2007/7/30 21:55
From Sweden
Posts: 180
@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
   Report Go to top

Re: Some news
Home away from home
Joined:
2007/5/19 13:23
From England
Posts: 3490
@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...
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project