]> git.zarvox.org Git - usbsnes.git/log
usbsnes.git
14 years agoFix a bug where the USB interrupt doesn't make it to the interrupt vector table.
Drew Fisher [Wed, 24 Feb 2010 17:37:43 +0000 (12:37 -0500)]
Fix a bug where the USB interrupt doesn't make it to the interrupt vector table.

Somehow, either due to version differences between v-usb or
avr-gcc/avr-libc, SIG_INTERRUPT0 was not getting linked to the interrupt
vector table where it belonged.  Naming the routine INT0_vect seems to
fix the problem.

14 years agoUpdate Product ID to match rules on free USBIDs; change vendor string
Drew Fisher [Wed, 24 Feb 2010 15:33:44 +0000 (10:33 -0500)]
Update Product ID to match rules on free USBIDs; change vendor string

14 years agoSetup pins, setup timer, shrink code size (static declarations), test
Drew Fisher [Wed, 24 Feb 2010 02:19:52 +0000 (21:19 -0500)]
Setup pins, setup timer, shrink code size (static declarations), test

This commit sets up all the appropriate I/O for the AVR as well as
declaring some functions static so GCC will inline them.  In addition,
it provides a simple test function to see if the USB HID reports are
being sent correctly - every 60 reports, it adds one to the report that
it returns, which should result in a binary "counting" appearance in a
gamepad state viewer.

14 years agoTrivial comment change in SNES documentation
Drew Fisher [Wed, 24 Feb 2010 02:18:58 +0000 (21:18 -0500)]
Trivial comment change in SNES documentation

14 years agoFix ISR macro so the interrupt routine gets in the interrupt vector.
Drew Fisher [Wed, 24 Feb 2010 02:18:17 +0000 (21:18 -0500)]
Fix ISR macro so the interrupt routine gets in the interrupt vector.

14 years agoFix HID descriptor length #define in usbconfig.h
Drew Fisher [Tue, 23 Feb 2010 23:44:28 +0000 (18:44 -0500)]
Fix HID descriptor length #define in usbconfig.h

14 years agoConvert SNES polling to a timer interrupt-based routine, update comments.
Drew Fisher [Mon, 22 Feb 2010 19:44:40 +0000 (14:44 -0500)]
Convert SNES polling to a timer interrupt-based routine, update comments.

14 years agoChange V-USB config to allow for usbDeviceConnect in software
Drew Fisher [Mon, 22 Feb 2010 19:43:48 +0000 (14:43 -0500)]
Change V-USB config to allow for usbDeviceConnect in software

14 years agoInitial commit. Import main, snes, and v-usb.
Drew Fisher [Thu, 18 Feb 2010 01:03:32 +0000 (20:03 -0500)]
Initial commit.  Import main, snes, and v-usb.