1 ;--------------------------------------------------------------------------;
2 ; Copyright (C) 2011-2013 by Martin Schmoelzer ;
3 ; <martin.schmoelzer@student.tuwien.ac.at> ;
5 ; This program is free software; you can redistribute it and/or modify ;
6 ; it under the terms of the GNU General Public License as published by ;
7 ; the Free Software Foundation; either version 2 of the License, or ;
8 ; (at your option) any later version. ;
10 ; This program is distributed in the hope that it will be useful, ;
11 ; but WITHOUT ANY WARRANTY; without even the implied warranty of ;
12 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;
13 ; GNU General Public License for more details. ;
15 ; You should have received a copy of the GNU General Public License ;
16 ; along with this program. If not, see <http://www.gnu.org/licenses/>. ;
17 ;--------------------------------------------------------------------------;
23 ;--------------------------------------------------------------------------;
25 ;--------------------------------------------------------------------------;
26 .area USB_JV (ABS,OVR) ; Absolute, Overlay
27 .org 0x43 ; USB interrupt (INT2) jumps here
28 USB_AutoVector = #. + 2
31 ;--------------------------------------------------------------------------;
33 ;--------------------------------------------------------------------------;
34 .area USB_JT (ABS) ; Absolute placement
35 .org 0x1B00 ; Place jump table at 0x1B00
37 USB_Jump_Table: ; autovector jump table
38 ljmp _sudav_isr ; Setup Data Available
40 ljmp _sof_isr ; Start of Frame
42 ljmp _sutok_isr ; Setup Data Loading
44 ljmp _suspend_isr ; Global Suspend
46 ljmp _usbreset_isr ; USB Reset
48 ljmp _ibn_isr ; IN Bulk NAK interrupt
50 ljmp _ep0in_isr ; Endpoint 0 IN
52 ljmp _ep0out_isr ; Endpoint 0 OUT
54 ljmp _ep1in_isr ; Endpoint 1 IN
56 ljmp _ep1out_isr ; Endpoint 1 OUT
58 ljmp _ep2in_isr ; Endpoint 2 IN
60 ljmp _ep2out_isr ; Endpoint 2 OUT
62 ljmp _ep3in_isr ; Endpoint 3 IN
64 ljmp _ep3out_isr ; Endpoint 3 OUT
66 ljmp _ep4in_isr ; Endpoint 4 IN
68 ljmp _ep4out_isr ; Endpoint 4 OUT
70 ljmp _ep5in_isr ; Endpoint 5 IN
72 ljmp _ep5out_isr ; Endpoint 5 OUT
74 ljmp _ep6in_isr ; Endpoint 6 IN
76 ljmp _ep6out_isr ; Endpoint 6 OUT
78 ljmp _ep7in_isr ; Endpoint 7 IN
80 ljmp _ep7out_isr ; Endpoint 7 OUT