Friday, July 30, 2010

Arduino->NES Transfer Tool + FaMI - Family MIDI


I've been working at a serial connection to the NES for a few months now. At first I came up with a board to try and establish a serial line to the NES through the controller port - I only made 2. They worked - but I figured that it was possible to do it without the board if I did some tricky stuff with the ATMega interrupts on the Arduino. After a few days of debugging (and cycle counting) it’s working flawlessly. The advantage of this over a software serial based approach is that the Arduino acts as a buffer that’ll hold incoming messages (up to 128 bytes) until the NES is ready to get the next one. This means that the NES is free to do other things and doesn’t need to spend time polling the controller port! The latency is extremely low - about as fast as the NES could handle - faster than the MIDI standard. The serial code is compact and easily relocatable - it works great as a replacement to any controller code. Working on a new name for this since it really just acts like a bridge between your PC and the NES. Both the ROMs and the Arduino stuff will be open source so if you have the hardware you're ready to go!

Arduino->NES Transfer Tool features:

PRG Upload (2K max ($6000-$7FFF) - great for quickly debugging small programs)
CHR-RAM Uploader - CHR banks / nametable data
Full PPU control (palette / scroll registers / mirroring etc..)
Full sound register control

Demo video of PRG/PPU uploading. First the transfer tool is loaded from the powerpak - then glitchNES is uploaded over serial- then from there a couple of new CHR banks are loaded while glitchNES is running.


Example software: (I'll upload videos as I record them)
PRG Upload for fast development cycle on real hardware
Bridge PC data through serial - (ex. network data sent over serial to Twitter client)
Analog sensor input for alternate controls
MIDI CC control of glitchNES
Atari punk type console using the APU
Hardware NSF player

What you need:

An NES
Arduino Duemilanove or equivalent (testing RBBB this weekend - should be no problems)
Desoldered NES controller cord (I have about 50 of these that I intended to use for the boards)
Powerpak or other devcart (All software is currently using NROM (PRG-ROM + CHR-RAM) to make things simpler)
Optional: MIDI-in circuit for Arduino for FaMI

- That’s it! No internal modification / extra components needed. It took a while to get the Arduino to handle everything but it was worth it to eliminate any external components. Just hook up the wires to the Arduino / run the software and pop that badboy into port 2.




And... presenting...


FaMI (Family MIDI) - Open source NES MIDI software + live visualization by NO CARRIER


Right now channels 1-4 are working with no issues. There aren't any effects yet - but it’s completely stable / performance worthy in the state that it’s in. I'll be working on pitch bends / cc control in the next couple of weeks - but it's open source so hopefully people will develop beyond that! The samples work but they are fixed- I’m working on a mapper for powerpak right now that may allow sample uploading.

What’s great about using this Arduino setup is that you can use VBlanks MIDI->serial processing app so you don’t even need to build a MIDI circuit - just use the USB cable!

I’ll be releasing the source code for the Arduino/ROMs within the next week after I clean up the code/comment. I'm hoping to have a suite of audio/VJ tools that are ready to run so I’m looking for inspiration as to what else to use this stuff for! So please let me know if you have any ideas!

Thanks to
+ NO CARRIER for FaMI name / logo / layout
+ bucky for the encouragement / pitch tables
+ Animal Style / enso / entire Philly crew for being awesome dudes.
+ neilbaldwin and blargg for inspiration to finish this NES stuff

Oh yeah I've got a bunch of desoldered controller cables (40+) - if you're going to pulsewave this weekend and have the hardware to try this out, let me know! I'll bring you one so you don't have to destroy a controller - free of charge - just help me test this stuff! smile

63 comments:

  1. This is great. Hopefully more people catch on to your blog or at least comment. All my gear just went into temporary storage since moving and it probably won't make it out until February but I definitely need to pick up an Arduino in the future. Being able sent data/commands over the controller port is ideal.

    ReplyDelete
    Replies
    1. Hey, Recently I research Your Blog site About Your Topic Very Outstanding Post You Talk about With Us Your Post Very Useful Useful For me besides Other perusers, Thanks For Talking about.
      Escort Bangalore

      Delete
  2. I love this, but where is the download for the PRG upload tool

    ReplyDelete
    Replies
    1. Very interesting blog. Alot of blogs I see these days don’t really provide anything that I’m interested in, but I’m most definitely interested in this one. Just thought that I would post and let you know.

      Delhi Escorts
      MahiapalpurCallGirls

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Thanks for the valuable feedback. I think that strategy is sound and can be easily replicable.Great posts. I love this article. We are currently making quality quick chargers to supercharge your entire devices Hoverboard charger, Self balancing scooter charger, Uwheels charger, Electric scooter charger, Iohawk charger, Electric bike charger and more.

    ReplyDelete
  5. Genuinely, I am propelled from this post. The person who make this post is truly unprecedented. Thankful for offering this to us. I found this instructive and interesting blog so I think its to a great degree accommodating and capable. I might need to thank you for the tries you have made in forming this article.
    αλυσοπρίονα stihl husqvarna

    ReplyDelete
  6. Great article. I think these tool family is not actual today, because we have much better tools today.
    online data room providers

    ReplyDelete
  7. Approve, and promote increasingly in the event that you wish for overhaul alarms from this site around then you need to subscribe for it, it will be a reasonable for you Jackson. Have a dazzling day!
    Energy efficiency heater

    ReplyDelete
  8. Really inspirational to hear someone pursuing their dreams and becoming successful instead of following the traditional path. I have read your article about real estate. I think it's good and impressed to know your service. Thanks for share this Information.

    Pfaff Sewing Machine

    ReplyDelete
  9. For most up-to-date news you have to pay a visit internet and on world-wide-web I found this web site as a best website for most up-to-date updates.

    ---------------------
    Saorview installer

    ReplyDelete
  10. If any one should be a productive blogger, after that he/she ought to peruse this section, for the reason that it consolidates al} procedures related to that.Virtual furniture

    ReplyDelete
  11. Is but is mixed with Replica watches UK other metals, also equally good exercise can be a, “he said.However, sometimes even Replica handbags old-fashioned office environment, it is, for example, can be convenient touch if there is a sporty handbag replica suit and pair a little contrast tailor messages. Replica Watches , perhaps you can suggest that it is the active soul is a little dangerous, Rolex Daytona in the face of great help to convey a bold personality, Mr. Melnitsky said.

    ReplyDelete
  12. Mind boggling focuses. Sound contentions. Keep up the considerable work. Portuguese property

    ReplyDelete
  13. Thankful to you an extraordinary arrangement for giving individuals a to a great degree bewildering believability to examine fundamental overviews from this site.
    Gay dating

    ReplyDelete
  14. Your own one of a kind duty to getting the message all through came to be somewhat capable and have reliably empowered workers quite recently like me to land at their coveted objectives.
    Free algarve Property Guide

    ReplyDelete
  15. Absolutely fantastic posting! Lots of useful information and inspiration, both of which we all need!Relay appreciate your work.
    judi poker

    ReplyDelete
  16. Greetings associates, its awesome bit of composing concerning teachingand completely characterized, keep it up constantly.
    Web design company singapore

    ReplyDelete
  17. In case you're willing to repair a home that has been disregarded or surrendered then the administration needs to help you. Truth be told, the legislature is so inspired to get these homes off the market that they will help you with a modest home loan and oblige next to zero initial installment. payday loans san-diego

    ReplyDelete
  18. Buat Kamu Para Pecinta Togel, Jangan Ketinggalan Main di http://www.ArmaniTogel.com Ayuk Daftar Diri Anda Dan Bergabung Lah Bersama kami Di ArmaniTogel.
    Bonus Refferal 1% Seumur Hidup ( + Bonus hingga 100% )
    Prediksi Togel
    Agen Togel
    Agen Togel Terpercaya
    Togel Online
    Togel Singapura
    Togel Hongkong
    Prediksi Togel Singapura
    Prediksi Togel Hongkong

    ReplyDelete
  19. Best Rates by haldwani escort service

    call girl escorts haldwani

    This is an imperative question! Keep in mind, at haldwani call girl Escorts we have the absolute loveliest delights on the planet as our models and subsequently have an exceptionally stringent determination handle for our young ladies. We are additionally an office that obliges just the most world class and upscale customers. Our rates might stun at to begin with, yet are an immediate impression of our estimations of security and joy that we need to reach out to you. Our rates go from $500 to $2,000 every hour. What do you get for that? You get an understandable, well talked, taught and amazingly wonderful lady to invest energy with. Our young ladies are high class, not high volume and you are a fortunate man to invest energy with one.

    This is the reason our high-profile escorts are waiting for you and make the things much simpler for you. Call us and take a girl of your dream and you will surely be going to make the things as per your demand and enjoy every second of your life and enjoy every single bit of life.

    Who Are Our Models?

    call girl haldwani

    As specified, our models are stunningly delightful, both all around. They’re shrewd, entertaining, and extraordinary conversationalists that need to invest energy with you. Our haldwani escort service centerfolds from Playboy, Penthouse, Maxim and FHM. They are on-screen characters, models, supermodels, schedule young ladies, porno stars and hail from India and additionally Russia.

    We tailor-make a date for you and our choice of models have been suited the inclinations of our tip top customers. All things considered, we need your experience to be all you seek after and considerably more. We don’t simply select any young ladies we can discover in light of the fact that we’re not inspired by giving a fair ordeal.

    Our models are excellent keeping in mind the end goal to give you an outstanding background. The greater part of our young ladies are high class and should be fit, canny, have a warm and adoring nature, have balance, have perfect behavior and ooze a characteristic polish.

    ReplyDelete
  20. Mau uang banyak ? Pengen Belanja banyak tapi ga ada banyak duit ?
    ayo di coba main di sini http://www.ArmaniTogel.com di sini boss cuma modal kecil untung bisa Gede loh
    Bandar Togel Online
    Daftar Togel
    Bandar Togel Terpercaya
    Togel Online Terpercaya
    Bandar Togel Online Terpercaya
    Agen Togel Online Terpercaya
    Prediksi Togel Online
    Agen Togel Online
    Daftar Togel Online

    ReplyDelete
  21. Hai para pecinta togel !!
    Atau yg semalam mimpi atau yg mempunyai angka cantik..
    Dari pada jauh-jauh cari Bandar Darat yg belum tentu jelas
    Gabung aja di http://www.ArmaniTogel.com
    Prediksi Togel
    Agen Togel
    Agen Togel Terpercaya
    Togel Online
    Togel Singapura
    Togel Hongkong
    Prediksi Togel Singapura
    Prediksi Togel Hongkong
    Bandar Togel
    Bandar Togel Online

    ReplyDelete
  22. Kami Bandar Togel Online besar dari http://www.ArmaniTogel.com ingin menawarkan tempat bet online kepada teman-teman dan saudara- saudara sekalian dengan pelayanan 24jam penuh se-Indonesia.
    Bandar Togel
    Bandar Togel Online
    Daftar Togel
    Bandar Togel Terpercaya
    Togel Online Terpercaya
    Bandar Togel Online Terpercaya
    Agen Togel Online Terpercaya
    Prediksi Togel Online
    Agen Togel Online
    Daftar Togel Online

    ReplyDelete
  23. Anda masih Bingung Pilih Bandar Togel Aman dan Terpercaya ??
    Takut Deposit atau Withdraw di proses dengan waktu yang lama ??
    Jangan kecewa, kami berikan solusinya ada di website http://www.ArmaniTogel.com
    Prediksi Togel
    Agen Togel
    Agen Togel Terpercaya
    Togel Online
    Togel Singapura
    Togel Hongkong
    Prediksi Togel Singapura
    Prediksi Togel Hongkong

    ReplyDelete
  24. Kami ARMANI TOGEL, AGEN TOGEL TERPERCAYA & Terbaik
    Minimal Depo 20Rb & WD 50Rb
    Proses Deposit & WIthdraw Cepat
    Kami Mempunya 12 Pasaran Terbaik & Terpercaya
    langsung aja gan klik dsini http://www.ArmaniTogel.com
    Bandar Togel
    Bandar Togel Online
    Daftar Togel
    Bandar Togel Terpercaya
    Togel Online Terpercaya
    Bandar Togel Online Terpercaya
    Agen Togel Online Terpercaya
    Prediksi Togel Online
    Agen Togel Online
    Daftar Togel Online

    ReplyDelete
  25. your article is very inspirational may be useful for many people
    Agen Bola Terpercaya

    ReplyDelete
  26. Good post. Appreciate your deliver greater to share this informative article
    that useful! For a nice and looking for manuals of this nature for the way
    too much time.
    Call Girls in Lucknow |

    ReplyDelete
  27. Ayuk Buruan Daftar Diri Anda Di Armanitogel Dan Sekarang Sudah Ada Promo Bonus Deposit Di Armanitogel 10%, Tunggu Apalagi.
    Ayuk Daftar Diri Anda Sekarang Juga Di https://goo.gl/jw3pFc
    Tersedia berbagai macam prediksi yang akurat dan jitu mulai dari prediksi SINO, SYDNEY, WUHAN, KOLN, HONGKONG, Dan Singapore...
    Permainan Togel Online,Live 24D,Live 48D Dan Dragon Tiger
    Permainan Togel Ini Juga Tersedia Hadiah Utama, Hadiah Kedua, Dan Ada Juga Hadiah Ketiga Untuk 3D Dan 4D.
    2D : Prize 1 X 70
    3D : Prize 1 X 400, Prize 2 X 200, Prize 3 X 100
    4D : Prize 1 X 3000, Prize 2 X 2000, Prize 3 X 1000,
    Ada Juga Pasaran nya :
    - Sino
    - Sydney
    - Wuhan
    - Koln
    - Hongkong
    - Singapore
    Segera Daftarkan lah Diri Anda Dan Bergabung Lah Bersama kami Di ArmaniTogel.
    Bonus Refferal 1% Seumur Hidup ( + Bonus hingga 100% )
    Untuk Transaksi via bank : BCA, BNI, BRI, Dan MANDIRI.
    Silahkan Daftar Diri Anda Di Link Ini : https://goo.gl/jw3pFc
    Anda juga bisa Hubungi CS kami :
    - BBM : 2AD837EE
    - Line : ArmaniTogel
    - Skype : ArmaniTogel
    - WeChat : ArmaniTogel
    - Webz : http://www.ArmaniTogel.net
    Untuk informasi lebih lanjut silahkan hubungi kami di https://goo.gl/jw3pFc
    Di Tunggu ya say...


    Togel Online
    Togel Singapura
    Togel Hongkong

    ReplyDelete
  28. Informasi yang sangat bagus, ditunggu untuk postingan berikutnya terimakasih gan.

    Poker Online
    Poker Online Terpercaya
    Poker Terpercaya

    ReplyDelete
  29. Thanks for appreciating. Really means and inspires a lot to hear from you guys.I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..Believe me, This is very helpful for me.
    Escorts Service Paschim Vihar

    ReplyDelete
  30. Very nice post!
    Mumbai escorts service On every occasion you decision to visit Mumbai for having fun with beautiful Escorts in Mumbai , we provide you the foremost dazzling and sensual escort with hot and daring figures. We are supposed to take full responsibility for your privacy and security and make sure you have a very good time to satisfy your fantasy. Mumbai Call girl service

    ReplyDelete
  31. Thank you so much to create reference to a amazing and amazing material and i really don`t know about this subject so thanks for this.
    Escorts in Gurgaon |
    Hot Escorts in Gurgaon
    Gurgaon Escorts Service |
    Escorts in Delhi |
    Gurgaon Escorts |
    Female Escorts in Gurgaon |
    Gurgaon Escorts Service |
    Female Escorts in Dwarka |

    ReplyDelete
  32. Thanks for sharing excellent information. Your site is very cool. I am impressed by the details that you have on this site. Female Escorts in Delhi | Female Escorts in Dwarka | Hot Escorts in Gurgaon | Female Escorts in Aerocity | Escorts in Mahipalpur | Independent Escorts in Gurugram

    ReplyDelete
  33. Thank you for your site, I look for such content along time, nowadays I think it is lastly. This informative content gives me plenty of recommendation it is very useful for me.Gurgaon Escorts Fun | Escorts in Dwarka | Rimjhim Khanna | Gauri Escorts

    ReplyDelete
  34. This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
    cara menggugurkan kandungan
    cara menggugurkan kandungan

    ReplyDelete
  35. Here you can buy online handmade paintings at very reasonable price. original Handmade Paintings, authentic Contemporary Indian Art, and canvas painting from the world's most talented artists.

    Art Spread is an online art gallery, dedicated to showcasing the very best in Indian Contemporary Art to the world.

    ReplyDelete
  36. Here you can buy online handmade paintings at very reasonable price. original Handmade Paintings, authentic Contemporary Indian Art, and canvas painting from the world's most talented artists.

    Art Spread is an online art gallery, dedicated to showcasing the very best in Indian Contemporary Art to the world.

    ReplyDelete
  37. Online gambling games will bring the player to the rich.

    Ruby888 The online casino is a long-standing online gambling and casino services. The club is also considered one of the beginning of the million. Since winning online gambling games only once, you can make millions of money to yourself already.

    It can be said that a lot of money can be created with the two hands of the risk yourself and the player does not need to be a risky. Because only players are passionate about betting, the bettor can join in the fun and prove the ability to beat the game online casino games on the site of our online casino has been called. The fun and excitement of playing online gambling games will lead the player to the rich and the rich from the online casino games will change. Bets life forever because of gambling online in a format that can transform ordinary people to become rich overnight.

    Players can join the fun and play online casino games with the gamblers around the world 24 hours a day with our online casino site, allowing all gamblers to play. Online Betting Games Along the way, when a bettor thinks about it. Online casino services do not forget to remember the site IBCbet


    ReplyDelete