Putting NES ASM code directly into the console??

Includes Atari 2600, Nintendo 8-bit, Sega Master System, MSX and more!

Moderator: Moderators

Post Reply
lolitsdaelan
Posts: 2
Joined: Fri Apr 10, 2009 12:24 pm

Putting NES ASM code directly into the console??

Post by lolitsdaelan »

So a while back I began learing how to program the NES in good ol' assembly. I wasn't terrible at it, but I certaintly wasn't an ace. I'm in the EET program at Purdue and through my educational career have become very familiar with microcontrollers. So what I'm wondering is, it is possible to take a line of code from NES assembly, and use an external controller to "mimic" a cartridge, and inject ASM code straight into the NES?

For example, let's say i want to take this piece of assembly...
lda #$A5
sta $4002
which simply takes the hex value A5 and stores it in memory at hex value 4002, and have a micro put that into the NES. I/O issues aside, I'm just curious if this is possible from a theory stand point. I've found pinouts of the NES cartridge which leads me to believe that this is feasible.
thewizdawg
Posts: 120
Joined: Thu Dec 18, 2008 7:05 pm
Location: O-Hi-0

Re: Putting NES ASM code directly into the console??

Post by thewizdawg »

You should probably post this over at the Nesdev forums http://nesdev.parodius.com/bbs/index.php. There's a lot of programming talk over there.
lolitsdaelan
Posts: 2
Joined: Fri Apr 10, 2009 12:24 pm

Re: Putting NES ASM code directly into the console??

Post by lolitsdaelan »

Thanks, just posted a thread over there!
Post Reply