Has anyone managed to disassemble Family Basic V3?

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Has anyone managed to disassemble Family Basic V3?
by on (#155158)
Basically I am looking for the complete disassembled code for the Family Basic V3 rom. I can't find anything online to say if anyone already managed to do this or if it is available online.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155171)
I don't think there's been much interest, due to the fact that Family Basic wasn't really available outside of Japan. Most prople are working on projects that bring back nostalgia...Apple Basic, Commodore 64, etc.

I don't know of any disassembly.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155182)
dougeff wrote:
I don't think there's been much interest, due to the fact that Family Basic wasn't really available outside of Japan. Most prople are working on projects that bring back nostalgia...Apple Basic, Commodore 64, etc.

I don't know of any disassembly.

Makes sense. I'm only interested because I would like to check the code out. I tried to disassemble it myself, but came into too many errors. I managed to get the errors down to two through a combination of trying different disassemblers, working with a cdl, and making the cdl more complete.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155187)
I did a rough disassembly of it with DISASM6 in the past. I had to make some small corrections to it before it reassembled into an identical ROM image. I added some comments too but not much (search "keyboard").

Files in attachment.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155193)
Pokun wrote:
I did a rough disassembly of it with DISASM6 in the past. I had to make some small corrections to it before it reassembled into an identical ROM image. I added some comments too but not much (search "keyboard").

Files in attachment.

I'm getting an error on line 10 when trying to assemble it.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155195)
I've also been working on reverse engineering Family BASIC v3, though I still haven't finished it.
Requires asm6f because of .ignorenl and .endinl directives; requires GNU Make because I switch between Windows and Linux computers too much.

(Original file "Family BASIC v3.nes" not included; get it yourself or edit the makefile)

(edit: oops, left a run of strings in the archive as out.txt; feel free to ignore that)
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155242)
Nice work so far!
Noticed a typo in the kana table, I guess "KANA_SHU = $6C" should be "KANA_SU = $6C".
Also you seem to be mixing Hepburn and Nihon-shiki romanization. That may not be such a big problem though.

mugenfighter wrote:
Pokun wrote:
I did a rough disassembly of it with DISASM6 in the past. I had to make some small corrections to it before it reassembled into an identical ROM image. I added some comments too but not much (search "keyboard").

Files in attachment.

I'm getting an error on line 10 when trying to assemble it.

Ah I had swapped the label and address on line 10. Doesn't matter, Freem's disassembly is much more complete.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155447)
freem wrote:
I've also been working on reverse engineering Family BASIC v3, though I still haven't finished it.
Requires asm6f because of .ignorenl and .endinl directives; requires GNU Make because I switch between Windows and Linux computers too much.

(Original file "Family BASIC v3.nes" not included; get it yourself or edit the makefile)

(edit: oops, left a run of strings in the archive as out.txt; feel free to ignore that)

Hay, is it ok with you if I used this Disassembly in a hack? I know some people who post Disassemblies don't want others to use theirs for certain things
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155451)
I'm fine with that, as long as it's not being sold.
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155452)
freem wrote:
I'm fine with that, as long as it's not being sold.

But you're ok if I put it online for free right?
Re: Has anyone managed to disassemble Family Basic V3?
by on (#155454)
Yes, that would be fine.