is it possible run android apps on Dreamcast

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

is it possible run android apps on Dreamcast

Postby chrissyp on Tue Aug 25, 2015 9:40 pm

As the title states, is the Dreamcast powerful enough to run an emulator to play android games on it, if such an a program did exist?

My reason for asking this strange question, is while i'm excited for ES more than anything, I was thinking about picking up RPG MAKER MV, the newest in the series.
The site states that in this version you can port your game to android/IOS/HTML 5. My Dream has always been to create a console rpg, so I figured if i port it to droid, and use an emulator to run it on a Dreamcast, if you follow what i'm trying to say.

Please keep in mind, i'm not the most technically suave person there is, so please be gentle if i'm wayyy off

Edit: I forgot about html5. Would that mean I could run the game on a browser on a ps4 for wii u?
chrissyp
Chaos Rift Newbie
Chaos Rift Newbie
 
Posts: 7
Joined: Sat Apr 25, 2015 3:46 pm

Re: is it possible run android apps on Dreamcast

Postby Light-Dark on Tue Nov 10, 2015 4:22 am

Honestly you'd be better off porting RPG maker directly to Dreamcast as the console has vastly limited resources compared to the telephones of today. 16 megabytes (iirc) of RAM isn't going to cut it for a droid emulator. Even then it could be such a huge pain in the ass to port RPG Maker that you might as well just write your own engine, tailored to the system, from scratch. Sorry if I've crushed your hopes, but If you are really interested in learning to program and interested in making your own stuff for a pretty-easy-to-program-for console like the dreamcast I can recommend you some resources:

Learning C is a must: http://www.cprogramming.com/tutorial/c-tutorial.html
KOS and the sh-elf toolchain is a must: https://github.com/ljsebald/KallistiOS
Being a member of/Reading this forum is also a great idea: http://dcemulation.org/phpBB/

When developing for DC with KOS having a Linux system makes it a hell of a lot easier, however it is possible to develop on windows using Cygwin although its a bit of a pain in the ass to get working and can be discouraging for optimistic beginners.
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 315
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: is it possible run android apps on Dreamcast

Postby K-Bal on Sat Nov 14, 2015 3:01 am

You should wait for ESTk to be released and use it to develop your game ;)
User avatar
K-Bal
ES Beta Backer
ES Beta Backer
 
Posts: 719
Joined: Sun Mar 15, 2009 4:21 pm
Location: Germany, Aachen

Re: is it possible run android apps on Dreamcast

Postby Light-Dark on Sun Nov 22, 2015 1:17 am

K-Bal wrote:You should wait for ESTk to be released and use it to develop your game ;)

Also a very good idea if you don't want to write your own engine and tools!
<tpw_rules> LightDark: java is a consequence of inverse moore's law: every 18 months, the average program will be twice as slow. therefore, computers always run at the same percevied speed. java's invention was a monumental step

Image
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
 
Posts: 315
Joined: Sun Mar 13, 2011 8:57 pm
Location: Canada

Re: is it possible run android apps on Dreamcast

Postby Falco Girgis on Tue Feb 09, 2016 2:15 pm

I mean, it's theoretically possible, sure, but there are a couple of problems. Currently I don't know that we have a JVM running on Dreamcast, although I find it hard to believe there is no SH4 java implementation. Could just be a matter of nobody has taken the time to compile it for themselves.

The other problem is that Java and a JVM have a pretty high memory footprint. Even if Java was running on Dreamcast, with only 16MB of RAM, not sure how much you would be able to do with it. Would be a neat little project. Might not be so bad... We do have Lua, a fully interpreted language, running fine, after all...
"So what happens if the Elysian Shadows Kickstarter fails?"
Image
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
 
Posts: 10690
Joined: Thu May 20, 2004 3:04 pm
Location: Studio Vorbis, AL

Re: is it possible run android apps on Dreamcast

Postby dandymcgee on Tue Feb 09, 2016 8:24 pm

Falco Girgis wrote:The other problem is that Java and a JVM have a pretty high memory footprint. Even if Java was running on Dreamcast, with only 16MB of RAM, not sure how much you would be able to do with it. Would be a neat little project. Might not be so bad... We do have Lua, a fully interpreted language, running fine, after all...

Based on my experience with C#, you'd likely have to be extremely careful with what standard libraries you included. Even the most elementary Console.Write commands are slow as fuck, have a ton of system-specific dependencies, and rape your memory pool. It's not uncommon to see a 50-line "guess the number" console application using 150 MB of RAM.

Would be an interesting project indeed. I always enjoy solving interesting problems with strict resource limitations.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
 
Posts: 4911
Joined: Tue Apr 29, 2008 4:24 pm
Location: New Hampshire

Re: is it possible run android apps on Dreamcast

Postby Falco Girgis on Thu Feb 11, 2016 11:08 am

dandymcgee wrote:
Falco Girgis wrote:The other problem is that Java and a JVM have a pretty high memory footprint. Even if Java was running on Dreamcast, with only 16MB of RAM, not sure how much you would be able to do with it. Would be a neat little project. Might not be so bad... We do have Lua, a fully interpreted language, running fine, after all...

Based on my experience with C#, you'd likely have to be extremely careful with what standard libraries you included. Even the most elementary Console.Write commands are slow as fuck, have a ton of system-specific dependencies, and rape your memory pool. It's not uncommon to see a 50-line "guess the number" console application using 150 MB of RAM.

Would be an interesting project indeed. I always enjoy solving interesting problems with strict resource limitations.
Oh yeah, forgot about the standard libraries... I'm sure Java.Dick.Lang.Swing is probably huge. I bet you would definitely not be including all of the standard libraries in Java.

It would be a really cool project for someone to attempt compiling the JVM for Dreamcast and do a small KOS wrapper. KOS provides debug logging and file system functionality, which should hopefully be adequate for not including all the bullshit bloat with Java.

Also, fairly certain this proves OpenJDK runs on SH4, which proves it's theoretically possible:
https://packages.debian.org/sid/sh4/openjdk-7-jdk/filelist
"So what happens if the Elysian Shadows Kickstarter fails?"
Image
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
 
Posts: 10690
Joined: Thu May 20, 2004 3:04 pm
Location: Studio Vorbis, AL


Return to Programming Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron