ZX81 emulator for iOS

Emulator and emulator development specific topics
Post Reply
User avatar
kpalser
Posts: 43
Joined: Sun Jun 03, 2012 1:18 pm
Location: Dundee, Scotland

ZX81 emulator for iOS

Post by kpalser » Tue Dec 06, 2016 8:57 pm

Hi all,

Apple approved my ZX81 emulator for iOS today: http://zx81-ios.weebly.com

Consider it just the first step of an app that I hope to extend with more functionality, software titles and eventually an interview section. Currently I'm working on a more game friendly version of the virtual keyboard in the form of a game pad. Currently game play is frustrated on smaller iOS devices due to the simulated key size.

There are only a few programs bundled with the first version of this app. Apple is quite strict regarding running software through its apps. Hence, I shall never be allowed to add functionality to load your favourite external P files or via recordings through the microphone etc. All the ZX81 software needs to be embedded in the app package submitted to Apple. If you have rights to ZX81 software and would like to see it included in future versions of the app then let me know.

Enjoy,
Kevin

Lardo Boffin
Posts: 626
Joined: Sat Nov 26, 2016 1:42 am

Re: ZX81 emulator for iOS

Post by Lardo Boffin » Tue Dec 06, 2016 9:28 pm

kpalser wrote:Hi all,

Apple approved my ZX81 emulator for iOS today: http://zx81-ios.weebly.com

Consider it just the first step of an app that I hope to extend with more functionality, software titles and eventually an interview section. Currently I'm working on a more game friendly version of the virtual keyboard in the form of a game pad. Currently game play is frustrated on smaller iOS devices due to the simulated key size.

There are only a few programs bundled with the first version of this app. Apple is quite strict regarding running software through its apps. Hence, I shall never be allowed to add functionality to load your favourite external P files or via recordings through the microphone etc. All the ZX81 software needs to be embedded in the app package submitted to Apple. If you have rights to ZX81 software and would like to see it included in future versions of the app then let me know.

Enjoy,
Kevin
I downloaded that before I finished reading past the first sentence! Awesome stuff!

I was about to ask about loading external files but you beat me to it. Knowing Apple as I do I'm not surprised they block additional files. :roll:
ZX81 iss 1 (bugged ROM, kludge fix, normal, kit)
Iss 3 with ZXVid, another in nearly perfect box
TS 1000 iss 3, ZXPand AY, ZX8-CCB & ZX-KDLX
TS 1500
TS 2000
Spectrum 16k (iss 1 s/n 1499)
Spectrum 48k
Toastrack + DIVMMC future

Lardo Boffin
Posts: 626
Joined: Sat Nov 26, 2016 1:42 am

Re: ZX81 emulator for iOS

Post by Lardo Boffin » Tue Dec 06, 2016 9:34 pm

Actually how about the ability to save programs you type in?

I'm not sure if there is a limit on the size of local storage data but ZX81 progs are not that large.

Also you could save data in SQLite, one file per record in a fairly simple table. We use SQLite extensively at work in our iOS app. It's pretty good.

Lardo
ZX81 iss 1 (bugged ROM, kludge fix, normal, kit)
Iss 3 with ZXVid, another in nearly perfect box
TS 1000 iss 3, ZXPand AY, ZX8-CCB & ZX-KDLX
TS 1500
TS 2000
Spectrum 16k (iss 1 s/n 1499)
Spectrum 48k
Toastrack + DIVMMC future

User avatar
kpalser
Posts: 43
Joined: Sun Jun 03, 2012 1:18 pm
Location: Dundee, Scotland

Re: ZX81 emulator for iOS

Post by kpalser » Tue Dec 06, 2016 10:07 pm

Actually how about the ability to save programs you type in?
I'll give it some thought. There's certainly nothing in the Apple developer guide prohibiting saving your own programs. Probably more along the lines of a complete memory capture of the 16k of address space plus the registers rather than adding conditional traps to detect the ROM save routine. I spent so long trying to optimise the code that I'm loathed to add anything that might slow down even slightly the Z80 execution loop. Hence the raw memory dump route... Could also work on the save functionality to create audio output to be saved for loading on a real ZX81.

User avatar
kpalser
Posts: 43
Joined: Sun Jun 03, 2012 1:18 pm
Location: Dundee, Scotland

Re: ZX81 emulator for iOS

Post by kpalser » Tue Dec 06, 2016 10:47 pm

:oops: I've just had to resubmit again to Apple because the Software Farm game in-app purchases were not correctly linked in the first submission request even though the files and app logic are correct... It will take about 4 days to get this straightened out with Apple. In the meantime I hope there aren't any negative reviews. Tempted to take it temporarily off the store.

User avatar
chernandezba
Posts: 156
Joined: Tue Mar 11, 2014 3:30 pm

Re: ZX81 emulator for iOS

Post by chernandezba » Tue Dec 06, 2016 10:56 pm

Great job!

Tried on iPad and works perfect
----

ZEsarUX
ZX Second-Emulator And Released for UniX
https://sourceforge.net/projects/zesarux/

User avatar
Paul
Posts: 860
Joined: Thu May 27, 2010 7:15 am
Location: Germanys west end

Re: ZX81 emulator for iOS

Post by Paul » Wed Dec 07, 2016 7:39 am

Tried on iPhone 5 and couldn't install.
It's not compatible. :(
In theory, there is no difference between theory and practice. But, in practice, there is.

User avatar
kpalser
Posts: 43
Joined: Sun Jun 03, 2012 1:18 pm
Location: Dundee, Scotland

Re: ZX81 emulator for iOS

Post by kpalser » Wed Dec 07, 2016 8:41 am

Tried on iPhone 5 and couldn't install. It's not compatible
Consider this the stock answer ( also see the FAQ in http://zx81-ios.weebly.com ):

The irony of not supporting older devices for an emulator of an old computer is not lost on the developer.

The short answer: No plans to support anything below the 64bit processor of an iPhone 5S on the app store.

The longer answer: Apple does not provide many developer options to specify which devices are not supported. So before iOS 10 the only way to stop iPhone 4S and below users downloading the app was to add the minimum requirement of a 64bit processor. When iOS 10 came out this was less of a problem, i.e. iPhone 5/5c and above. However, emulators tend to be heavy on the processor and drain the battery very quickly on slower devices. It would be technically possible to compile a version for the iPhone 5 but it saves a lot of headaches to just look to the future.

-------

@Paul, if you're really keen to see it on your iPhone 5 send me your UDID and I'll build you an adhoc version to test and send feed back.

User avatar
1024MAK
Posts: 1771
Joined: Mon Sep 26, 2011 9:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 emulator for iOS

Post by 1024MAK » Wed Dec 07, 2016 7:10 pm

Have just downloaded it to an iPad mini. Great work :D 8-)

Where's the like button when you need it...

Mark

User avatar
1024MAK
Posts: 1771
Joined: Mon Sep 26, 2011 9:56 am
Location: Looking forward to summer in Somerset, UK...

Re: ZX81 emulator for iOS

Post by 1024MAK » Thu Dec 08, 2016 12:37 am

One small question, I know a real ZX81 does not have a reset button, but is there a reset available in your emulator?

Mark

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest