Search found 108 matches

by chykn
Sat Feb 27, 2010 4:37 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

I mean in the NES, and in the main client/server, since the adapter won't care what the data is. Sounds wonderful. The less we put on the adapter, the sooner we can finalize the protocol and I can start sending out a few hardware samples. BUT I am kind of concerned about the adapter getting bogus c...
by chykn
Fri Feb 26, 2010 7:15 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Shouldn't you just put it on the nesDev wiki? It would make it easier to find. Totally up to you though. Huh - didn't realize there was one until you mentioned that. Asked yesterday morning and no one mentioned anything about it, so I went ahead and built the wiki on my site today. I added the &quo...
by chykn
Fri Feb 26, 2010 4:57 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Good idea, as long as it wouldn't chew up much CPU time. Only one problem... XMODEM is just 128 bytes of data, with CRC-16 The ATTiny2313 chip only has 128 bytes of SRAM. For now, this will effectively limit transactions to maybe 120 bytes each way. It will slow things down if you're trying to send ...
by chykn
Fri Feb 26, 2010 2:04 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

To speed things along, I've created a wiki for this project. It will describe the hardware, software and protocols used. Source code and schematics will be posted where applicable. http://nesdev.chykn.com I've posted a VERY rough draft of the protocol, CGP. Click on the CGP link from the main page t...
by chykn
Fri Feb 26, 2010 6:17 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

I'd go with your first idea. The second it good, but since the data is transmitted from the server in whole bytes, I'd just as soon spend the time it takes to transmit a full byte. Especially if it makes things easier on folks developing software. What I really like about your first idea is that the...
by chykn
Thu Feb 25, 2010 8:48 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

SUCCESS! Memblers, thanks for putting that together so fast. I was finally able to send a signal from HyperTerminal through the ATTiny2313 and have it toggle the menu on your test code. I also modified it to reply to the PC with an ACK code after the first signal was processed. In short, send a sing...
by chykn
Tue Feb 23, 2010 2:11 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Thanks for the explanation. You've probably had to go over that a number of times, so I appreciate your patience. I try to RTFM when I can, but on occasion I will need some guidance. Will try to keep that to a minimum. So there's a good chance that music would mess with the SPI communication. You co...
by chykn
Tue Feb 23, 2010 1:23 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Sorry, you're over my head there. I understand the concept of DPCM, but I don't know it's effect on polling the controller. Are you saying that playing music may interrupt the controller polling process and cause an unexpected clock upon resuming the polling process? We're not playing any music yet,...
by chykn
Tue Feb 23, 2010 11:49 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

I could use some help if anyone has some spare time today. I need a simple NES program written to talk to the MCU tonight. I can do it, but it would take me a bit longer than someone with more experience. Will need ASM code that I can compile and burn to the PRG that will do the following steps. 1. ...
by chykn
Tue Feb 23, 2010 8:44 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

both atmega and attiny has 5V SPI and can both operate as both slave and master. Excellent idea, hyarion. I've been bit-banging the data, but this would be much more efficient and eliminate timing issues. I didn't think about it before, but we can use a "LDA $4017" command to automaticall...
by chykn
Tue Feb 23, 2010 12:29 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

So much for the Arduino idea. Long story short, the compiled language does not execute fast enough. Wish I'd found this before wasting my evening... http://hackaday.com/2010/01/06/arduino-io-speed-breakdown/ To give you an idea of how slow it runs, I did a simple on/off on a data pin. The high pulse...
by chykn
Mon Feb 22, 2010 4:45 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

From here on out, I'll use the term "adapter" to identify the solution which brokers the communication between the NES controller port and the target game server. It could be an MCU->PC->Ethernet solution or a straight MCU->Ethernet solution. If you think another term is more suitable (bro...
by chykn
Mon Feb 22, 2010 12:38 pm
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Wow - it just dawned on me, I have an Arduino at home. I hate to jump on that bandwagon (it was a gift), but you could use that as the adapter to connect the NES to the USB port on the PC. The VB proxy app could then communicate with the Arduino's virtual serial port. This way anyone who is interest...
by chykn
Mon Feb 22, 2010 11:38 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

But what would it talk to? would each game need it's own custom adapter or what should interpret the byte peers? No, all games could use a common adapter. As long as the game and the adapter use the same method of transmitting and receiving, you're good. Each game would be free to interpret the com...
by chykn
Mon Feb 22, 2010 9:47 am
Forum: NES Hardware and Flash Equipment
Topic: New approach to the fabled NES ethernet adapter
Replies: 129
Views: 57801

Remember, this is about establishing communication between the NES software and a game server. First I'd like to prove the concept, then we can go back and start adding more functionality such as updating a flash cart on the fly. Think you didn't take something into calculations, $15 might be enough...