Hi all.
Here's a little something I've been poking at for the past few days...
It doesn't look like much yet, it's more of a proof of concept, and the basic foundation thus far.
It's an iPhone library/app which consists of a Z80 emulator (I'm using the BSD licensed "Z80Pack"), and some customized "hardware" which maps into the Z80 space. The idea is that I can write games in Z80 asm that talk to hardware in this virtual machine, and it becomes an iPhone game. I'm going to be adding the sprite engine tonight probably, using the cocos2d library, and the tiled background soon afterwards. I don't think i'm going to be emulating the pac/pengo color support for sprites/tiles, and instead use PNG files for the engine. I've specced out some 'hardware' where you can change which sprite/character png is used in each sprite slot.
I'm making it such that the "hardware" can easily be moved about in the memory space, so that I can make it compatible with pac-man or Pengo hardware, even though my goal is not to make an arcade emulator. In fact, I general practice, I will not be throttling the Z80 emulation to any specific speed, so it will likely not function properly as an arcade game emulator.
Here's more information about the project...
http://umlautllama.com/w2/?action=view& ... 0%20Engine
Here's a link to a couple of videos and such..
http://umlautllama.com/rand/?q=iphone-llamacore&b=18
Currently, I have the Z80 cpu running, with a 60Hz interrupt (like pac/pengo hardware), defined/loadable ROM banks, accelerometer, touch X/Y, and tap count from the device mapped into Z80 memory space.