Monday, August 2, 2010

PC->NES Transfer Tool Opcodes

I'm hoping that people will develop stuff for this. You really only need to be able to program something that can write to the serial port which can be done really easily with something like processing. Everything works on 2 byte messages formatted as ([command] [value])- I've put up a list of the ones I'm using so far.

PC->NES Transfer Tool Opcode List
For instance - some pseudo code for writing a message to the screen.

String message = "Hello world!"
// Set the VRAM address to the top left of the name table (0x2000)
Serialport.write(0x01, 0x20); // 0x01 -> Set PPU MSB
Serialport.write(0x02, 0x00); // 0x02 -> Set PPU LSB
for(int i=0; i < message.length; i++)
{
Serialport.write(0x04, message[i]); // 0x04 -> Write tile to screen with blip - increment to next position
}

That's it - the program gives you full access to the PPU/APU (sort of like an API) so you can pretty much do whatever you want with it. Should be handy for VJ applications - back to working on FaMI!

10 comments:

  1. So the code above makes an NES with an arduino connected to the controller port print that to the attached display?

    ReplyDelete
  2. Very nice and always successful.
    This is a very good article.
    I’m waiting for you the other article.

    Misteri Dunia

    interesting articles and this is my first first reading a very interesting article thanks for this article that fits with the theme news.

    Prediksi Togel Hongkong

    ReplyDelete
  3. Very nice and always successful.
    This is a very good article.
    I’m waiting for you the other article.

    Konspirasi Hitam

    interesting articles and this is my first.
    first reading a very interesting article.
    thanks for this article that fits with the theme news.

    Prediksi Togel Jitu Pasti Tepat

    ReplyDelete
  4. Eradication of insects in Makkah in the fastest time and longest period of guarantee because the pesticides we use in the work of pest control in Makkah are all long-lasting pesticides to ensure that the house is free of insects as long as possibleشركة مكافحة حشرات بالخبر
    شركة رش مبيدات بالخبر
    ارخص شركة مكافحة حشرات
    شركة رش مبيدات بالمجمعة

    ReplyDelete