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, write to the ;
17 ; Free Software Foundation, Inc., ;
18 ; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ;
19 ;--------------------------------------------------------------------------;
25 ;--------------------------------------------------------------------------;
27 ;--------------------------------------------------------------------------;
28 .area USB_JV (ABS,OVR) ; Absolute, Overlay
29 .org 0x43 ; USB interrupt (INT2) jumps here
30 USB_AutoVector = #. + 2
33 ;--------------------------------------------------------------------------;
35 ;--------------------------------------------------------------------------;
36 .area USB_JT (ABS) ; Absolute placement
37 .org 0x1B00 ; Place jump table at 0x1B00
39 USB_Jump_Table: ; autovector jump table
40 ljmp _sudav_isr ; Setup Data Available
42 ljmp _sof_isr ; Start of Frame
44 ljmp _sutok_isr ; Setup Data Loading
46 ljmp _suspend_isr ; Global Suspend
48 ljmp _usbreset_isr ; USB Reset
50 ljmp _ibn_isr ; IN Bulk NAK interrupt
52 ljmp _ep0in_isr ; Endpoint 0 IN
54 ljmp _ep0out_isr ; Endpoint 0 OUT
56 ljmp _ep1in_isr ; Endpoint 1 IN
58 ljmp _ep1out_isr ; Endpoint 1 OUT
60 ljmp _ep2in_isr ; Endpoint 2 IN
62 ljmp _ep2out_isr ; Endpoint 2 OUT
64 ljmp _ep3in_isr ; Endpoint 3 IN
66 ljmp _ep3out_isr ; Endpoint 3 OUT
68 ljmp _ep4in_isr ; Endpoint 4 IN
70 ljmp _ep4out_isr ; Endpoint 4 OUT
72 ljmp _ep5in_isr ; Endpoint 5 IN
74 ljmp _ep5out_isr ; Endpoint 5 OUT
76 ljmp _ep6in_isr ; Endpoint 6 IN
78 ljmp _ep6out_isr ; Endpoint 6 OUT
80 ljmp _ep7in_isr ; Endpoint 7 IN
82 ljmp _ep7out_isr ; Endpoint 7 OUT