Welcome, Guest. Please login or register.

Author Topic: Amiga Emulator for iPhone in development  (Read 8738 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4051
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Amiga Emulator for iPhone in development
« Reply #14 on: January 14, 2011, 11:33:29 AM »
http://www.bbc.co.uk/news/magazine-12182714
 
Think sheeple applys to you moto :)
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline coldfish

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 731
    • Show only replies by coldfish
Re: Amiga Emulator for iPhone in development
« Reply #15 on: January 14, 2011, 11:33:43 AM »
Amiga gaming on a handheld is sublime.  I have UAE4all on my GP2X.
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Amiga Emulator for iPhone in development
« Reply #16 on: January 14, 2011, 01:10:59 PM »
@JJ
Not really, I bought iOS devices because they work ;)
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline nicholas

Re: Amiga Emulator for iPhone in development
« Reply #17 on: January 14, 2011, 01:21:58 PM »
Quote from: motorollin;606619
@JJ
Not really, I bought iOS devices because they work ;)


"Work" is subjective mate.

I don't buy iSaviour devices because they don't work.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Amiga Emulator for iPhone in development
« Reply #18 on: January 14, 2011, 01:29:35 PM »
Quote from: nicholas;606623
"Work" is subjective mate.

I don't buy iSaviour devices because they don't work.


Fair point. I should have said "they work for me". Integration with the Mac is the deal maker for me.
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline jj

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4051
  • Country: wales
  • Thanked: 2 times
  • Gender: Male
    • Show only replies by jj
Re: Amiga Emulator for iPhone in development
« Reply #19 on: January 14, 2011, 01:31:10 PM »
Quote from: motorollin;606619
@JJ
Not really, I bought iOS devices because they work ;)

 
They do work well at what your allowed to do with them and if that matches what you want from the devices then fair enough.
 
i would keep my N900 over an iphone or android device any day
“We don't stop playing because we grow old; we grow old because we stop playing.” - George Bernard Shaw

Xbox Live: S0ulA55a551n2
 
Registered MorphsOS 3.13 user on Powerbook G4 15"
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Amiga Emulator for iPhone in development
« Reply #20 on: January 14, 2011, 01:44:57 PM »
Quote from: JJ;606626
They do work well at what your allowed to do with them and if that matches what you want from the devices then fair enough.

It just so happens that it does :) I'm not really sure what people are doing with their phones beyond phoning, texting, surfing, emailing, playing games, using other apps and listening to music, but you can be sure that if I suddenly decided that iPhone no longer met my needs then I'd ditch it for something else.
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Amiga Emulator for iPhone in development
« Reply #21 on: January 14, 2011, 01:47:38 PM »
Quote from: coldfish;606596
Amiga gaming on a handheld is sublime.  I have UAE4all on my GP2X.


I missed this post. I totally agree that UAE4All is amazing on the GP2X. Unfortunately I had to sell my GP2X, and I really miss it :(
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Duce

  • Off to greener pastures
  • Hero Member
  • *****
  • Join Date: Jul 2009
  • Posts: 1699
    • Show only replies by Duce
    • http://amigabbs.blogspot.com/
Re: Amiga Emulator for iPhone in development
« Reply #22 on: January 14, 2011, 03:28:42 PM »
Super news, and finally a reason for me to jailbreak my apple handheld/portable devices.  I sure love the devices, but the lockdown factor Apple crams down the customers neck is offputting, to put it mildly.  Looking forward to trying this, especially on my iPad.

For all those whining about the lockdown methods of Apple in regards to "i" devices, it's preaching to the choir, even to us that own said devices, locked or unlocked.  We know Apple's regime for controlling apps, and some jailbreak to get around it.  End result is I've used every smartphone on the market and I've found the iPhone to be the one device that comes closer than any other for an all in one/carry one only device.  I'm far from an Apple fanboy, I simply use what works for me.  The iPad on the other hand is mostly just eyecandy and a timesink "read a book in bed" device, and an expensive one at that.
 

Offline scarnie

  • Newbie
  • *
  • Join Date: Dec 2010
  • Posts: 6
    • Show only replies by scarnie
Re: Amiga Emulator for iPhone in development
« Reply #23 on: January 16, 2011, 04:59:09 AM »
Quote from: nicholas;606499
iAmiga uses GPL source code illegally as the DRM in the Apple Appstore is incompatible with the GPL licence.

See the recent issues with VLC.

That has a lot of other political issues surrounding it, such as the lead developer working for Nokia...  Why would you make an issue out of that here?  Aren't we all supposed to just be sharing our experiences and having fun with Amiga?  If the source code for all of iAmiga is released so anyone can freely use it, isn't it truly in the spirit of GPL?  I plan on doing this (as with all my other projects) on to github.

I've spent literally 100's of hours building my own ARM/C optimized 68K CPU, so I've done my time in this code base and earned my stars.

Cheers,

Stu
« Last Edit: January 16, 2011, 05:02:25 AM by scarnie »
 

Offline tribz

  • Full Member
  • ***
  • Join Date: Sep 2008
  • Posts: 220
    • Show only replies by tribz
Re: Amiga Emulator for iPhone in development
« Reply #24 on: January 16, 2011, 09:48:36 AM »
Quote from: Duce;606658
Super news, and finally a reason for me to jailbreak my apple  The iPad on the other hand is mostly just eyecandy and a timesink "read a book in bed" device, and an expensive one at that.


Have to disagree with that. It may be to you but to me its a very useful tool. Using RDP I can access all my servers. Using TeamViewer, I can support my userbase. All my technical manuals are on mine.

The instant on means I can be supporting someone within a few seconds of taking their call wherever I happen to be. I can use the email client to respond to my clients wherever I am. I can almost touch type on the screen. Mine has paid for itself many times over and without wishing to sound like a fanboy, I'm really interested to see what they do with iPad2.
 

Offline TheBilgeRat

  • Hero Member
  • *****
  • Join Date: May 2010
  • Posts: 1657
    • Show only replies by TheBilgeRat
Re: Amiga Emulator for iPhone in development
« Reply #25 on: January 16, 2011, 07:33:01 PM »
Quote from: tribz;606995
Have to disagree with that. It may be to you but to me its a very useful tool. Using RDP I can access all my servers. Using TeamViewer, I can support my userbase. All my technical manuals are on mine.

The instant on means I can be supporting someone within a few seconds of taking their call wherever I happen to be. I can use the email client to respond to my clients wherever I am. I can almost touch type on the screen. Mine has paid for itself many times over and without wishing to sound like a fanboy, I'm really interested to see what they do with iPad2.

While I don't own one yet, I have to agree with this, considering I use my iPhone in much the same way.  I will be very interested though in the many Android offerings in a "pad" that are hitting the market as well, so I'm not quite ready to jump to one yet :) .
 

Offline VairnTopic starter

  • Newbie
  • *
  • Join Date: Jan 2008
  • Posts: 26
    • Show only replies by Vairn
Re: Amiga Emulator for iPhone in development
« Reply #26 on: January 16, 2011, 09:56:43 PM »
I have alot of respect for Stu, and his iAmiga emulator, I wish I was able to spend my full time job working on mine.

I have spoken to him a couple of times, and he is a cool dude, and I wish him the best of luck :D
 

Offline scarnie

  • Newbie
  • *
  • Join Date: Dec 2010
  • Posts: 6
    • Show only replies by scarnie
Re: Amiga Emulator for iPhone in development
« Reply #27 on: January 18, 2011, 07:20:50 AM »
Quote from: Vairn;607118
I have alot of respect for Stu, and his iAmiga emulator, I wish I was able to spend my full time job working on mine.

I have spoken to him a couple of times, and he is a cool dude, and I wish him the best of luck :D


Cheers mate - likewise.  I see us being able to collaborate on this in the future too :)

BTW, this is my part time hobby (I have a full time day job as a software architect).  I do all this at night and on weekends, in between being a husband and dad of 2 ;-)

Cheers,

Stu
 

Offline scarnie

  • Newbie
  • *
  • Join Date: Dec 2010
  • Posts: 6
    • Show only replies by scarnie
Re: Amiga Emulator for iPhone in development
« Reply #28 on: January 18, 2011, 07:28:17 AM »
Incidentally, I ended up getting my OGL code working with glTexSubImage2d, and it's a lot faster than CALayer (using image in RGB5551, which is fast path in CG).  I now get a consistent 60fps in full screen 2x scaling on i4 (960x640).

Using shader effects has been interesting.  It doesn't take much to drop below 60fps, and dependent texture reads totally annihilate perf on the retina display.  Dropped to as low as 23fps with a simple 2-pixel multi-texture shader to create a scanline effect (actually pretty consistent no matter how big the effect texture is.  If you calculate tex-coords inside shader, perf goes out the window.

Implemented a native scanline shader effect (see below), and fps is consistently 60fps again, so it's definitely texture reads.

Code: [Select]

varying mediump vec2 TextureCoordOut;
uniform sampler2D DisplayTexture;
uniform lowp float EffectAmount;

void main(void)
{
gl_FragColor = texture2D(DisplayTexture, TextureCoordOut);
gl_FragColor.a = mod(gl_FragCoord.y, 2.0) + EffectAmount;
}


Cheers,

Stu
« Last Edit: January 18, 2011, 07:32:11 AM by scarnie »
 

Offline VairnTopic starter

  • Newbie
  • *
  • Join Date: Jan 2008
  • Posts: 26
    • Show only replies by Vairn
Re: Amiga Emulator for iPhone in development
« Reply #29 from previous page: January 18, 2011, 10:12:17 AM »
Yeah, 565 is always going to be faster, make sure you setup your EAGL context to be the same format, for a little perf and mem boostie.

If you can get away with it, do all texture coord's calculations on the Vertex shader, it is what apple recommend, supposedly it doesn't get the dependent texture reads. I haven't tested it at work, back in PC land atm. Might have a looksie later, now that my daughter is in bed. (11 months old in 2 days :D).