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

Post Reply
chrissyp
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 5
Joined: Sat Apr 25, 2015 2:46 pm

is it possible run android apps on Dreamcast

Post by chrissyp »

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?
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: is it possible run android apps on Dreamcast

Post by Light-Dark »

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
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: is it possible run android apps on Dreamcast

Post by K-Bal »

You should wait for ESTk to be released and use it to develop your game ;)
User avatar
Light-Dark
Dreamcast Developer
Dreamcast Developer
Posts: 307
Joined: Sun Mar 13, 2011 7:57 pm
Current Project: 2D RPG & NES Platformer
Favorite Gaming Platforms: NES,SNES,N64,Genesis,Dreamcast,PC,Xbox360
Programming Language of Choice: C/++
Location: Canada

Re: is it possible run android apps on Dreamcast

Post by Light-Dark »

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
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: is it possible run android apps on Dreamcast

Post by Falco Girgis »

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...
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: is it possible run android apps on Dreamcast

Post by dandymcgee »

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
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: is it possible run android apps on Dreamcast

Post by Falco Girgis »

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/ope ... k/filelist
Post Reply