1 ; Copyright (C) 2008 Ubixum, Inc.
3 ; This library is free software; you can redistribute it and/or
4 ; modify it under the terms of the GNU Lesser General Public
5 ; License as published by the Free Software Foundation; either
6 ; version 2.1 of the License, or (at your option) any later version.
8 ; This library is distributed in the hope that it will be useful,
9 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ; Lesser General Public License for more details.
13 ; You should have received a copy of the GNU Lesser General Public
14 ; License along with this library; if not, write to the Free Software
15 ; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 .module INT2JT ; jump table for usb auto vector
19 ; these are to help make sure
20 ; this assembly gets stuck in the right place
21 ; and I guess you could read INT2/4AV for kicks too
22 ; read one of them to a dummy location causes this module to
26 .globl _INT2JT ; defined as global so this assembly gets included in project
28 .area INT2JV (ABS,OVR)
29 .org 0x43 ; this is where USBINT ( interrupt 8 ) jumps to
30 _INT2AV = #. + 2 ; two bytes for ljmp (auto set by INT2IVEC)
33 .area INT4JV (ABS,OVR)
34 .org 0x53 ; where INT4 jumps to
36 ljmp _INT2JT ; the addr gets replaced so this really goes to int4jt locations
42 ;.org 0x1A00 ; needs to be on a page boundary