6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Jun 23, 2024 7:33 pm

All times are UTC




Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
PostPosted: Tue Aug 23, 2016 1:54 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Hi All

I am at the point of writing a blog on how how to develop an Android emulator from scratch. This series of blogs will follow the same approach as mentioned in mu previous thread viewtopic.php?f=8&t=3694

Here is my new new blog: http://androidemufromscratch.blogspot.co.za/

I will keep you updated in this thread when I add new posts.


Last edited by fastgear on Tue Aug 30, 2016 6:27 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 5:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8229
Location: Midwestern USA
fastgear wrote:
Hi All

I am at the point of writing a blog on how how to develop an Android emulator from scratch. This series of blogs will follow the same approach as mentioned in mu previous thread viewtopic.php?f=8&t=3694

Here is my new new blog: http://androidemufromscratch.blogspot.co.za/

I will keep you updated in this thread when I add new posts.

How is this related to the 6502?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 5:51 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10834
Location: England
It's an emulator of the 6502-based C64, no doubt.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 23, 2016 6:20 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Sorry, the subject was probably not that clear.

It is a blog post series on writing a 6502 emulator (C64) running within Android :-)


Top
 Profile  
Reply with quote  
PostPosted: Wed Aug 24, 2016 9:52 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
This is the first part of my new series on creating a C64 emulator that runs in Android.

Here is the link:

http://androidemufromscratch.blogspot.c ... tudio.html


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 6:35 am 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
fastgear wrote:
Sorry, the subject was probably not that clear.

It is a blog post series on writing a 6502 emulator (C64) running within Android :-)


I completely glossed over the topic, which I otherwise would have great interest in.

I very much would like a working C64 emulator for Android. None of the current offerings work on my devices. So I should probably read your blog.

The issue with the current ones, such as the Frodo and Vice ports, is that they work just fine for playing games, which is what the authors intended. But they are pretty useless for applications that require a full keyboard, and proper peripheral emulation.


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 7:16 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
Hi KC9UDX

Thanks for your feedback.

I completely agree on the keyboards on Android devices. Trying to type a BASIC program on an Adnroid emulator is quite a mission to get to all keys.

This is perhaps also a limitation due to the available screen size for displaying a keyboard.

My Android emulator is still in its very beginnings and will probably only be around episode 13, where I will start to add peripherals.

Do you have any suggestions on potential peripheral issues I should attend to during my Blog Series?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 7:53 am 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
My biggest gripe is that external hardware keyboards do not work either.

See this (which doesn't, unfortunately, show all the problems): https://youtu.be/JgIEabp4No8

Proper disk drive emulation would be nice. 1541 accurate emulation is not necessary, but being able to do most of its functions is (especially SEQ and REL files).

Printer simulation, that is, printing to a text document would be nice.

If you could get a working User port you could rule the world. :)


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 9:53 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
A bit out of another angle...

If one have a look at the number of downdloads for these C64 emulators on the Android Play store, one finds that it is sadly very low, compared to other games available on the play store.

Combine this with the fact that you can have so many combinations of Android Hardware, one will surely end up with an uncatered scenario.

But, at least there is some hope. I see that the source code for the android port of Frodo is available on GitHub.

The biggest challenge most probably be to get this code compiled and getting it to run on an Android device. I am sure that once you get Frodo running from a development environment, that particular issue you have with the external keyboard you illustated in the YouTube Video would be easy to trace.

If you want to go this route, I will be more than willing to try and answer questions you might have on the Android Environment and/or 6502/C64 emulation.

I am interested in you idea on the User port. Can you maybe ellobarate a bit more on this idea?


Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 25, 2016 1:41 pm 
Offline
User avatar

Joined: Sat Dec 07, 2013 4:32 pm
Posts: 246
Location: The Kettle Moraine
I don't know the first thing about Android hardware or software. I expect some way, some how, there's a way to connect something by USB that does Commodore User Port I/O. Or maybe by Bluetooth. But I can't really speculate.

As far as the problem I had with the keyboard, the developer of AnVice was content to believe it's a problem with my keyboard, not AnVice. I don't really know, but I do know that the keyboard works flawlessly with every other app.

The problem I demonstrated is only half the issue. The other half is unsupported keys. None of the Android emulators will accept CRSR key input from an external keyboard, or CONTROL or C= and others. Without those keys, anything but games just won't work.


Top
 Profile  
Reply with quote  
PostPosted: Tue Aug 30, 2016 7:40 am 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
I have just released the next part on my series on writing an Android emulator from scratch.

Here is the link:

http://androidemufromscratch.blogspot.c ... tions.html


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 02, 2016 7:18 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
I have just released part 3 in my series on writing a C64 emulator for Android from scratch. In this post we briefly explore the Android NDK for native development. The post ends off by pushing our emulator into a native direction.

Here is the link:

http://androidemufromscratch.blogspot.c ... ative.html

Enjoy!


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 07, 2016 1:00 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
I have just released Part 4 in my series for developing a C64 emulator for Android from scratch. In this post we will be adding all variants of the LOAD and STORE instructions to our emulator.

Here is the link: http://androidemufromscratch.blogspot.c ... store.html


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 12:56 pm 
Offline

Joined: Wed Apr 27, 2016 2:15 pm
Posts: 141
Location: South Africa
I have just release part of 5 in my series writing a C64 emulator from scratch for Android.

In this part we will be adding all the Adrress mode variants of the ADC and SBC instructions. We will also be extending our front end to show more state.

Here is the link:

http://androidemufromscratch.blogspot.c ... tions.html


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 13, 2016 2:02 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10834
Location: England
I'm been a bit slow on the uptake here - new site, new RSS addition!
(Did you post a notice in the old blog?)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: Yuri and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: