Poster | Thread |
ara
| |
my new fun project Posted on 7-Apr-2014 16:34:29
| | [ #1 ] |
|
|
|
Regular Member |
Joined: 11-Jan-2006 Posts: 138
From: Unknown | | |
|
| Hi,
I just wanted to show you something from my current fun project. It's far, far, far from being complete but I show it anyway, partly because it's fun, partly because I am surprised (and proud) that it works a little bit
Basically, it is a Java application that emulates a 68k CPU (not written by me) and a (currently tiny) fraction of OS3.0 (written by me). It is able to load an Amiga program and execute it. Memory accesses and OS function calls are caught.
Obviously, this can only work with very OS-friendly Amiga programs because, unlike UAE, the hardware is not emulated. You can see in the screenshot what currently happens when you try to run the "Calculator" program from OS3.0. It goes through all the init code, creates the GUI (all mapped to Java components) and even manages to draw the white rectangle. Then it stops after around 15000 emulated instructions because the whole messaging system is still missing
|
|
Status: Offline |
|
|
kamelito
| |
Re: my new fun project Posted on 7-Apr-2014 21:50:13
| | [ #2 ] |
|
|
|
Cult Member |
Joined: 26-Jul-2004 Posts: 815
From: Unknown | | |
|
| @ara
Check vamos from lallafa.
Kamelito |
|
Status: Offline |
|
|
puppy
| |
Re: my new fun project Posted on 7-Apr-2014 22:53:22
| | [ #3 ] |
|
|
|
Member |
Joined: 23-Oct-2003 Posts: 13
From: Spain | | |
|
| @ara
You could join TAWS and get a full binder emulator. |
|
Status: Offline |
|
|
ara
| |
Re: my new fun project Posted on 7-Apr-2014 23:34:04
| | [ #4 ] |
|
|
|
Regular Member |
Joined: 11-Jan-2006 Posts: 138
From: Unknown | | |
|
| @kamelit0 Quote:
Check vamos from lallafa. |
Interesting. The central approach is the same, although he/she did some simplifications that are not possible for more complex Amiga programs (as far as I am able to understand from the source as a non-python programmer). |
|
Status: Offline |
|
|
g0blin
| |
Re: my new fun project Posted on 8-Apr-2014 9:43:30
| | [ #5 ] |
|
|
|
Cult Member |
Joined: 31-Mar-2009 Posts: 666
From: Unknown | | |
|
| |
Status: Offline |
|
|
Deniil715
| |
Re: my new fun project Posted on 8-Apr-2014 15:14:35
| | [ #6 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4236
From: Sweden | | |
|
| @ara
Cool! Does this mean you can run single OS3 programs alone, without a whole Workbench screen and startup-sequence and stuff, on any Java capable machine? _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
ara
| |
Re: my new fun project Posted on 8-Apr-2014 17:25:19
| | [ #7 ] |
|
|
|
Regular Member |
Joined: 11-Jan-2006 Posts: 138
From: Unknown | | |
|
| @Deniil715 Quote:
Cool! Does this mean you can run single OS3 programs alone, without a whole Workbench screen and startup-sequence and stuff, on any Java capable machine? |
That's the idea But a lot of stuff is still missing and the question is of course how far you want to go. For example, I currently don't plan to implement a task scheduler, i.e., only single-threaded programs would work. |
|
Status: Offline |
|
|
jaokim
| |
Re: my new fun project Posted on 8-Apr-2014 18:05:53
| | [ #8 ] |
|
|
|
Regular Member |
Joined: 8-Mar-2003 Posts: 278
From: Sweden | | |
|
| Woah! That's cool!
And meanwhile, I'm trying to do the exact opposite with JAmiga.
Imagine running an Amiga application in your project, on JAmiga on an Amiga -- now that's a waste of clock cycles! _________________
|
|
Status: Offline |
|
|
g0blin
| |
Re: my new fun project Posted on 8-Apr-2014 19:05:59
| | [ #9 ] |
|
|
|
Cult Member |
Joined: 31-Mar-2009 Posts: 666
From: Unknown | | |
|
| |
Status: Offline |
|
|
ara
| |
Re: my new fun project Posted on 9-Apr-2014 14:34:48
| | [ #10 ] |
|
|
|
Regular Member |
Joined: 11-Jan-2006 Posts: 138
From: Unknown | | |
|
| Just an update. I have finished the messaging system (signals and messageports) which means that Amiga programs can finally react to GUI actions (pressed buttons,. etc.). Here is a screenshot of the Calculator program after some calculations. As you can see, the font and color handling are still a bit messy (note the garbage at the right). But the calculations are correct
|
|
Status: Offline |
|
|
elwood
| |
Re: my new fun project Posted on 9-Apr-2014 21:49:22
| | [ #11 ] |
|
|
|
Elite Member |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| @ara
Impressive work. I had to run the calculator here to compare it to your screenshot. I couldn't believe it _________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation |
|
Status: Offline |
|
|
ara
| |
Re: my new fun project Posted on 11-Apr-2014 23:16:02
| | [ #12 ] |
|
|
|
Regular Member |
Joined: 11-Jan-2006 Posts: 138
From: Unknown | | |
|
| Implemented some more functions in graphics.library, dos.library and the timer.device. The clock tool works now. Well, not really. I have no idea how the program draws the white background of the clock face. The program doesn't call any gfx functions that go into that direction. At least, it shows the correct time (GMT)
Any other suggestions for some nice and small and system-friendly programs I could test? Clock and Calculator were really nice because they didn't do advanced stuff (like handcrafting their own offscreen rastports,...).
|
|
Status: Offline |
|
|