Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 105 guest(s) on-line.
 1 member(s) on-line.


 vox

You are an anonymous user.
Register Now!
 vox:  43 secs ago
 matthey:  36 mins ago
 kolla:  51 mins ago
 mbrantley:  53 mins ago
 pixie:  1 hr 16 mins ago
 Rob:  1 hr 17 mins ago
 FerruleMedia:  1 hr 24 mins ago
 amigakit:  1 hr 37 mins ago
 DiscreetFX:  1 hr 51 mins ago
 Dragster:  1 hr 53 mins ago

/  Forum Index
   /  Amiga Emulation
      /  my new fun project
Register To Post

PosterThread
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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

@ara

Sounds like fun! I like it!
Let us more about it and keep up the good job.
cheers

_________________
GDG Entertainment

Cybersphere Page

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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

@jaokim

Quote:
-- now that's a waste of clock cycles!




NIce project, anyway.
Cheers

_________________
GDG Entertainment

Cybersphere Page

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle