Page 1 of 1

Is there a way to compile Nes Assembly on Android? NO root

Posted: Sun Jul 08, 2018 11:25 am
by IMAGICA
Hello. I was coding for a game I was making and I was wondering if I could code on my android device?
Well here's my progress:
Dcoder: codes in aassembly and other languages.
HEX Editor self: reference. .chr editor as well (good old pencil and paper routine)
Nolstalgia NES emulator: Self reference, MMC5 Compatible
Linux terminal: Windows terminal, Android edition
AndroZip: File explorer, Android edition + unzips .rar and .zip files
Text editor: .bin editor

The last thing I needed is a compiler.
The things I tried:
DosBox: Rejected the .exe file NESASM3.exe
Asm6 method: nes devs ( tokimaru)? {The guy with the atari zippy avatar} said it worked but trying it got me the "can't chmod asm6" message.
Other complers are out dated unless there are parts that work with the new tech findings for others.
Acme is not even an option.

Are there any other things that Ican try that DOESN'T invalidate my warrenty?
P.S. no audio until Deflemask/Famitracker is ported to android.

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 11:37 am
by tokumaru
IMAGICA wrote:{The guy with the atari zippy avatar}
Man, it sucks when someone steals your sprites, gets famous using them, and you end up being considered the thief... Maybe it's time I changed my avatar, I'm kinda tired of being associated with Zippy.

Anyway, I never tried the Android binary of ASM6 myself, I just found it cool that someone got it working. I can't remember who that was, though.

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:02 pm
by IMAGICA
Wasen't there a forum that got it successfully working. I think it was the guy who made Lizard for NES.

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:14 pm
by rainwarrior
No, I (the guy who made Lizard) do my development primarily on Windows. I have never used an android device as a development environment (though I have developed some software for Android, just not in a self-hosting way).

There are several open source assemblers you could compile for Android, though, in most cases probably not even requiring any alterations to the source code.

DOSBOX can't run NESASM3.EXE because it's a Windows binary, not a DOS one. (The Windows command line looks a lot like DOS' did but it is not actually a DOS environment.) There is an old DOS build of ca65 at its old FTP that could probably work in DOSBox, if you want to do it that way.

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:26 pm
by thefox
You should also be able to compile NESASM/asm6/cc65 with DJGPP.

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:36 pm
by IMAGICA
If you were to recommend me one, what would it be?

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:39 pm
by IMAGICA
thefox wrote:You should also be able to compile NESASM/asm6/cc65 with DJGPP.
What doyou mean by DJGPP?

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:39 pm
by IMAGICA
thefox wrote:You should also be able to compile NESASM/asm6/cc65 with DJGPP.
What do you mean by DJGPP?

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Sun Jul 08, 2018 12:49 pm
by rainwarrior
DJGPP is GCC for DOS, if you want to make a DOS binary for one of those assemblers.

...though you could probably just as easily make an Android build with GCC for Android.

(As for recommendations, I like CC65's assembler best, but ASM6 is not bad too. Like I mentioned above, there's already a DOS build of CC65 available anyway, if you do want to use DOSBox to build an NES ROM.)

Re: Is there a way to compile Nes Assembly on Android? NO ro

Posted: Mon Jul 09, 2018 6:43 am
by Oziphantom
https://sourceforge.net/projects/tass64/ is a battle class top of the line assembler with a pretty standard syntax. It has DOS binaries still I believe, but the source code is pure ANSI C to the point that you can compile it on m68K for an A500. So you should be able to get it to work in DOS box or even try compiling it for native android in some capacity.
the extensive manual can be found here http://tass64.sourceforge.net/