1
0
mirror of https://github.com/raphnet/4nes4snes synced 2024-11-14 13:05:03 -05:00
Go to file
Raphaël Assénat f649f9cdd2 Vendor id fix
2013-07-14 04:32:08 +00:00
circuit typo 2009-05-02 14:14:09 +00:00
usbdrv Missing files 2013-04-25 02:18:15 +00:00
Changelog.txt Vendor id fix 2013-07-14 04:32:08 +00:00
checksize Initial revision 2007-03-25 02:59:30 +00:00
devdesc.c auto detect live 2009-05-02 13:55:11 +00:00
devdesc.h Initial revision 2007-03-25 02:59:30 +00:00
fournsnes.c 1.4.1 Code cleanup 2013-04-26 12:23:38 +00:00
fournsnes.h live autodetect can be disabled by JP1 2009-05-02 14:02:52 +00:00
gamepad.h fixed warning and illogical signed use 2012-04-14 14:46:05 +00:00
License.txt GPL 2009-05-02 13:56:06 +00:00
main.c 1.4.1 Code cleanup 2013-04-26 12:23:38 +00:00
Makefile.atmega8 --- v1.4 (April 20, 2013) 2013-04-20 17:24:53 +00:00
Makefile.atmega168 1.4.1 Code cleanup 2013-04-26 12:23:38 +00:00
Readme.txt --- v1.4 (April 20, 2013) 2013-04-20 17:24:53 +00:00
usbconfig.h Oups, wrong USB ID! 2013-07-14 04:30:45 +00:00

This is 4nes4snes Readme.txt file. 

Table of contents:

1) What is 4nes4snes?
2) USB Implementation
3) Compilation and installation
4) License
5) About the vendor id/product id pair:
6) Where do I get more information and updates?


1) What is 4nes4snes?
   --------------------
	4nes4snes if a firmware for Atmel ATmega8 and Atmega168* 
	which allows one to connect up to 4 NES and/or SNES 
	controllers to a PC using a single circuit. 

	The device connects to an USB port and appears to the
	PC as standard HID joystick with 4 report Id's. This means
	that it looks like 4 controllers in Windows's 
	control_panel->game_controllers window.

* Other devices from the same family are probably supported, but
not tested.


2) USB Implementation
   ------------------
	4nes4snes uses the software-only usb driver from Objective Development.
	See http://www.obdev.at/products/avrusb/index.html

	A good portion of 4nes4snes is based on Objective Development's
	HIDKeys example.


3) Compilation and installation
   ----------------------------
	First, you must compile it. To compile, you need a working avr-gcc and
	avr-libc. Under linux or cygwin, simply type make in the project directory.
	(assuming avr-gcc is in your path). 

	Next, you must upload the generated file (main.hex) to the Atmega8 using
	whatever tools you like. Personally, I use uisp. The 'flash' and 'fuse'
	targets in the makefile is a good example about how to use it. 

	The Atmega fuse bits must also be set properly. The idea behind this is to
	enable the external 12mhz crystal instead of the internal clock. Check the
	makefile for good fuse bytes values.


4) License
   -------
	4nes4snes is released under the GPLv2 license. See License.txt


5) About the vendor id/product id pair:
   ------------------------------------
	Please do not re-use them for other projects. Instead,
	obtain your own.


6) Where can I get more information and updates?
   --------------------------------------------
	Visit the 4nes4snes webpage:
	http://www.raphnet.net/electronique/4nes4snes/index_en.php
	you may also contact me by email:
	Raphael Assenat <raph@raphnet.net>