-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
; | ||
; n64_to_wii: AVR Microcontroller firmware for converting N64 controller | ||
; protocol to Nintendo Wii/Gamecube controller protocol. | ||
; Copyright (C) 2007-2008 Raphael Assenat <[email protected]> | ||
; Copyright (C) 2007-2015 Raphael Assenat <[email protected]> | ||
; | ||
; This program is free software; you can redistribute it and/or modify | ||
; it under the terms of the GNU General Public License as published by | ||
|
@@ -17,7 +17,9 @@ | |
; with this program; if not, write to the Free Software Foundation, Inc., | ||
; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
; | ||
; ------------------------------------------------------------------------ | ||
; ------------------------------------------------------------------------ | ||
; | ||
; 2015-02-07: Updated interrupt name for compilation with recent avr-libc | ||
; | ||
|
||
#include <avr/io.h> | ||
|
@@ -44,7 +46,7 @@ | |
.lcomm n64_use_buf1 1; | ||
|
||
.text | ||
.global SIG_INTERRUPT0 | ||
.global INT0_vect | ||
.global n64_rx_buf | ||
.global n64_tx_buf0 | ||
.global n64_tx_buf1 | ||
|
@@ -111,7 +113,7 @@ | |
|
||
|
||
|
||
SIG_INTERRUPT0: | ||
INT0_vect: | ||
push r1 | ||
in r1, IO_SREG | ||
push zl | ||
|