This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

MS BASIC for 6502 disassembly!

MS BASIC for 6502 disassembly!
by on (#44213)
http://www.pagetable.com/?p=46

I was looking for information on how to create a simple BASIC to ASM conversion tool, and stumbled across someone who had disassembled Microsoft's BASIC for various 6502 processors. Obviously some modifications to the source would have to be made to run it on a nes, but it would be pretty cool to see it running.

Too bad the NES has no keyboard, but it still might be cool to create basic apps which could be stored in memory and run. It's also useful to see how certain things are pulled off

anyways, check it out :)
Re: MS BASIC for 6502 disassembly!
by on (#44215)
frantik wrote:
Too bad the NES has no keyboard, but it still might be cool to create basic apps which could be stored in memory and run. It's also useful to see how certain things are pulled off

anyways, check it out :)


The famicom got a keyboard with a basic cartridge too. Never had the chance to use it but saw a few times in japan.

by on (#44216)
yeah i recall something about famicon having basic.. I think it even had functionality to use sprites and tiles and whatnot



I had an atari 400 when I was super young that my uncle gave me.. it had a keyboard and a BASIC cart as well, but I had no idea what it was for. I always though it was the worst game LOL

by on (#44217)
There are a number of famiclones around that are built in a keyboard and come with Famicom Basic.
I supose the keyboard is connected to the famiclone the same way (although soldered) that on the original famicom.

by on (#44218)
For the famicom it connects to the front extension port. This port is sometime used for joystick, light gun, the konami Hyper olympic (track & fields) controller, mahjong pad, bar code reader etc. There may be other use too.

by on (#44225)
Do the PC-based emulators handle the Famicom keyboard accurately?

by on (#44226)
tepples wrote:
Do the PC-based emulators handle the Famicom keyboard accurately?


This is a good question. Since I never tried the real thing I cannot say. I may acquire one someday since they had a few near my in laws house. The price was not so bad. In Tokyo... too expensive.

by on (#44228)
There was an emulator I used when I was experimenting with Family BASIC. It seemed to work in there, even loading/saving to tape files. It was a long time ago though. It seemed obscure, I think the emulator might've been NNNesterJ but I could be remembering wrong. Certainly it was an emulator that was written or modified by some Japanese folks.

All I found out was that it was based on HuBASIC by Hudson, I found the list of token words in the ROM file, and also I remembered that I was not a big fan of BASIC programming (but I liked it's MML type of MUSIC command).

by on (#44237)
Memblers wrote:
and also I remembered that I was not a big fan of BASIC programming


lol.. yeah.. I learned to program with QBasic and GWBasic, but now when I look at BASIC code i cringe