Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
159 user(s) are online (144 user(s) are browsing Forums)

Members: 0
Guests: 159

more...

Support us!

Headlines

 
  Register To Post  

Some news
Just popping in
Just popping in


See User information
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
Go to top
Re: Some news
Just can't stay away
Just can't stay away


See User information
@jaokim
Wonderful. Bravo !

Go to top
Re: Some news
Home away from home
Home away from home


See User information
@jaokim

Yay, progress...

Keep up the good work, jaokim

Go to top
Re: Some news
Just can't stay away
Just can't stay away


See User information
Great ! Keep up the good work.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Some news
Home away from home
Home away from home


See User information
@jaokim

Nice!

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Some news
Just can't stay away
Just can't stay away


See User information
@jaokim

Yipeee, it's shaping up! Good job.

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: Some news
Just popping in
Just popping in


See User information
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?

Go to top
Re: Some news
Just popping in
Just popping in


See User information
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
Go to top
Re: Some news
Home away from home
Home away from home


See User information
@jaokim

Keep on coding

Go to top
Re: Some news
Quite a regular
Quite a regular


See User information
@jaokim

Great!

AmigaOS 4.1 FE Update 2 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
Go to top
Re: Some news
Just popping in
Just popping in


See User information
Wohoo!

/Me, myself and A1G4!
Go to top
Re: Some news
Just popping in
Just popping in


See User information
@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?




Go to top
Re: Some news
Just can't stay away
Just can't stay away


See User information
@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 I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Some news
Just popping in
Just popping in


See User information
@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
Go to top
Re: Some news
Just popping in
Just popping in


See User information
@jaokim

Thanks for the detailed information!

Go to top
Re: Some news
Home away from home
Home away from home


See User information
@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.
Go to top
Re: Some news
Just popping in
Just popping in


See User information
@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
Go to top
Re: Some news
Just popping in
Just popping in


See User information
@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
Go to top
Re: Some news
Home away from home
Home away from home


See User information
@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.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project