2 #include "/sys/src/boot/pc/x16.h"
5 #define PADDR(a) ((a) & ~KZERO)
6 #define KADDR(a) (KZERO|(a))
9 * Some machine instructions not handled by 8[al].
11 #define OP16 BYTE $0x66
12 #define DELAY BYTE $0xEB; BYTE $0x00 /* JMP .+2 */
13 #define CPUID BYTE $0x0F; BYTE $0xA2 /* CPUID, argument in AX */
14 #define WRMSR BYTE $0x0F; BYTE $0x30 /* WRMSR, argument in AX/DX (lo/hi) */
15 #define RDTSC BYTE $0x0F; BYTE $0x31 /* RDTSC, result in AX/DX (lo/hi) */
16 #define RDMSR BYTE $0x0F; BYTE $0x32 /* RDMSR, result in AX/DX (lo/hi) */
17 #define HLT BYTE $0xF4
18 #define INVLPG BYTE $0x0F; BYTE $0x01; BYTE $0x39 /* INVLPG (%ecx) */
19 #define WBINVD BYTE $0x0F; BYTE $0x09
22 * Macros for calculating offsets within the page directory base
23 * and page tables. Note that these are assembler-specific hence
26 #define PDO(a) (((((a))>>22) & 0x03FF)<<2)
27 #define PTO(a) (((((a))>>12) & 0x03FF)<<2)
30 * For backwards compatiblity with 9load - should go away when 9load is changed
31 * 9load currently sets up the mmu, however the first 16MB of memory is identity
32 * mapped, so behave as if the mmu was not setup
34 TEXT _startKADDR(SB), $0
35 MOVL $_startPADDR(SB), AX
40 * Must be 4-byte aligned.
42 TEXT _multibootheader(SB), $0
43 LONG $0x1BADB002 /* magic */
44 LONG $0x00010003 /* flags */
45 LONG $-(0x1BADB002 + 0x00010003) /* checksum */
46 LONG $_multibootheader-KZERO(SB) /* header_addr */
47 LONG $_startKADDR-KZERO(SB) /* load_addr */
48 LONG $edata-KZERO(SB) /* load_end_addr */
49 LONG $end-KZERO(SB) /* bss_end_addr */
50 LONG $_startKADDR-KZERO(SB) /* entry_addr */
51 LONG $0 /* mode_type */
57 * In protected mode with paging turned off and segment registers setup
58 * to linear map all memory. Entered via a jump to PADDR(entry),
59 * the physical address of the virtual kernel entry point of KADDR(entry).
60 * Make the basic page tables for processor 0. Six pages are needed for
63 * page tables for mapping the first 8MB of physical memory to KZERO;
65 * virtual and physical pages for mapping the Mach structure.
66 * The remaining PTEs will be allocated later when memory is sized.
67 * An identity mmu map is also needed for the switch to virtual mode.
68 * This identity mapping is removed once the MMU is going and the JMP has
69 * been made to virtual memory.
71 TEXT _startPADDR(SB), $0
72 CLI /* make sure interrupts are off */
74 /* set up the gdt so we have sane plan 9 style gdts. */
81 /* clear prefetch queue (weird code to avoid optimizations) */
84 /* set segs to something sane (avoid traps later) */
92 /* JMP $(2<<3):$mode32bit(SB) /**/
94 LONG $mode32bit-KZERO(SB)
98 * gdt to get us to 32-bit/segmented/unpaged mode
102 /* null descriptor */
106 /* data segment descriptor for 4 gigabytes (PL 0) */
108 LONG $(SEGG|SEGB|(0xF<<16)|SEGP|SEGPL(0)|SEGDATA|SEGW)
110 /* exec segment descriptor for 4 gigabytes (PL 0) */
112 LONG $(SEGG|SEGD|(0xF<<16)|SEGP|SEGPL(0)|SEGEXEC|SEGR)
115 * pointer to initial gdt
116 * Note the -KZERO which puts the physical address in the gdtptr.
117 * that's needed as we start executing in physical addresses.
123 TEXT m0rgdtptr(SB), $0
125 LONG $(CPU0GDT-KZERO)
127 TEXT m0gdtptr(SB), $0
131 TEXT m0idtptr(SB), $0
135 TEXT mode32bit(SB), $0
136 /* At this point, the GDT setup is done. */
138 MOVL $PADDR(CPU0PDB), DI /* clear 4 pages for the tables etc. */
146 MOVL $PADDR(CPU0PDB), AX
147 ADDL $PDO(KZERO), AX /* page directory offset for KZERO */
148 MOVL $PADDR(CPU0PTE), (AX) /* PTE's for KZERO */
149 MOVL $(PTEWRITE|PTEVALID), BX /* page permissions */
153 MOVL $PADDR(CPU0PTE1), (AX) /* PTE's for KZERO+4MB */
154 MOVL $(PTEWRITE|PTEVALID), BX /* page permissions */
157 MOVL $PADDR(CPU0PTE), AX /* first page of page table */
158 MOVL $1024, CX /* 1024 pages in 4MB */
161 ADDL $(1<<PGSHIFT), BX
165 MOVL $PADDR(CPU0PTE1), AX /* second page of page table */
166 MOVL $1024, CX /* 1024 pages in 4MB */
169 ADDL $(1<<PGSHIFT), BX
173 MOVL $PADDR(CPU0PTE), AX
174 ADDL $PTO(MACHADDR), AX /* page table entry offset for MACHADDR */
175 MOVL $PADDR(CPU0MACH), (AX) /* PTE for Mach */
176 MOVL $(PTEWRITE|PTEVALID), BX /* page permissions */
180 * Now ready to use the new map. Make sure the processor options are what is wanted.
181 * It is necessary on some processors to immediately follow mode switching with a JMP instruction
182 * to clear the prefetch queues.
184 MOVL $PADDR(CPU0PDB), CX /* load address of page directory */
185 MOVL (PDO(KZERO))(CX), DX /* double-map KZERO at 0 */
186 MOVL DX, (PDO(0))(CX)
191 ORL $0x80010000, DX /* PG|WP */
192 ANDL $~0x6000000A, DX /* ~(CD|NW|TS|MP) */
194 MOVL $_startpg(SB), AX /* this is a virtual address */
195 MOVL DX, CR0 /* turn on paging */
196 JMP* AX /* jump to the virtual nirvana */
199 * Basic machine environment set, can clear BSS and create a stack.
200 * The stack starts at the top of the page containing the Mach structure.
201 * The x86 architecture forces the use of the same virtual address for
202 * each processor's Mach structure, so the global Mach pointer 'm' can
203 * be initialised here.
205 TEXT _startpg(SB), $0
206 MOVL $0, (PDO(0))(CX) /* undo double-map of KZERO at 0 */
207 MOVL CX, CR3 /* load and flush the mmu */
213 SUBL DI, CX /* end-edata bytes */
214 SHRL $2, CX /* end-edata doublewords */
217 REP; STOSL /* clear BSS */
220 MOVL SP, m(SB) /* initialise global Mach pointer */
221 MOVL $0, 0(SP) /* initialise m->machno */
224 ADDL $(MACHSIZE-4), SP /* initialise stack */
227 * Need to do one final thing to ensure a clean machine environment,
228 * clear the EFLAGS register, which can only be done once there is a stack.
237 * Park a processor. Should never fall through a return from main to here,
238 * should only be called by application processors when shutting down.
260 TEXT saveregs(SB), $0
281 XCHGL 32(SP), AX /* swap return PC and saved flags */
286 TEXT restoreregs(SB), $0
298 XCHGL 32(SP), AX /* swap return PC and saved flags */
313 * Assumed to be in protected mode at time of call.
314 * Switch to real mode, execute an interrupt, and
315 * then switch back to protected mode.
319 * - no device interrupts are going to come in
320 * - 0-16MB is identity mapped in page tables
321 * - realmode() has copied us down from 0x100000 to 0x8000
322 * - can use code segment 0x0800 in real mode
324 * - l.s code is less than 1 page
326 #define RELOC (RMCODE-KTZERO)
328 TEXT realmodeidtptr(SB), $0
332 TEXT realmode0(SB), $0
335 /* switch to low code address */
336 LEAL physcode-KZERO(SB), AX
339 TEXT physcode(SB), $0
341 /* switch to low stack */
346 /* change gdt to physical pointer */
347 MOVL m0rgdtptr-KZERO(SB), GDTR
349 /* load IDT with real-mode version*/
350 MOVL realmodeidtptr-KZERO(SB), IDTR
352 /* edit INT $0x00 instruction below */
353 MOVL $(RMUADDR-KZERO+48), AX /* &rmu.trap */
355 MOVB AX, realmodeintrinst+(-KZERO+1+RELOC)(SB)
361 /* JMP .+2 to clear prefetch queue*/
362 BYTE $0xEB; BYTE $0x00
364 /* jump to 16-bit code segment */
365 /* JMPFAR SELECTOR(KESEG16, SELGDT, 0):$again16bit(SB) /**/
367 LONG $again16bit-KZERO(SB)
368 WORD $SELECTOR(KESEG16, SELGDT, 0)
370 TEXT again16bit(SB), $0
372 * Now in 16-bit compatibility mode.
373 * These are 32-bit instructions being interpreted
374 * as 16-bit instructions. I'm being lazy and
375 * not using the macros because I know when
376 * the 16- and 32-bit instructions look the same
380 /* disable protected mode and jump to real mode cs */
387 /* JMPFAR 0x0800:now16real */
389 WORD $now16real-KZERO(SB)
392 TEXT now16real(SB), $0
393 /* copy the registers for the bios call */
398 /* offsets are in Ureg */
404 OPSIZE; LXW(0, xBP, rDI)
405 OPSIZE; LXW(4, xBP, rSI)
406 OPSIZE; LXW(16, xBP, rBX)
407 OPSIZE; LXW(20, xBP, rDX)
408 OPSIZE; LXW(24, xBP, rCX)
409 OPSIZE; LXW(28, xBP, rAX)
413 TEXT realmodeintrinst(SB), $0
416 /* save the registers after the call */
426 OPSIZE; SXW(rDI, 0, xBP)
427 OPSIZE; SXW(rSI, 4, xBP)
428 OPSIZE; SXW(rBX, 16, xBP)
429 OPSIZE; SXW(rDX, 20, xBP)
430 OPSIZE; SXW(rCX, 24, xBP)
432 OPSIZE; SXW(rAX, 28, xBP)
435 OPSIZE; SXW(rAX, 44, xBP)
437 OPSIZE; SXW(rAX, 40, xBP)
440 OPSIZE; SXW(rAX, 64, xBP) /* flags */
442 /* re-enter protected mode and jump to 32-bit code */
446 /* JMPFAR SELECTOR(KESEG, SELGDT, 0):$again32bit(SB) /**/
449 LONG $again32bit-KZERO(SB)
450 WORD $SELECTOR(KESEG, SELGDT, 0)
452 TEXT again32bit(SB), $0
453 MOVW $SELECTOR(KDSEG, SELGDT, 0),AX
460 /* enable paging and jump to kzero-address code */
462 ORL $0x80010000, AX /* PG|WP */
464 LEAL again32kzero(SB), AX
467 TEXT again32kzero(SB), $0
468 /* breathe a sigh of relief - back in 32-bit protected mode */
470 /* switch to old stack */
471 PUSHL AX /* match popl below for 8l */
476 MOVL m0idtptr(SB),IDTR
479 MOVL m0gdtptr(SB), GDTR
487 TEXT bios32call(SB), $0
497 MOVL 12(SP), BP /* ptr */
498 BYTE $0xFF; BYTE $0x5D; BYTE $0x00 /* CALL FAR 0(BP) */
517 * in[bsl] input a byte|short|long
518 * ins[bsl] input a string of bytes|shorts|longs
519 * out[bsl] output a byte|short|long
520 * outs[bsl] output a string of bytes|shorts|longs
530 MOVL address+4(FP), DI
544 MOVL address+4(FP), DI
557 MOVL address+4(FP), DI
571 MOVL address+4(FP), SI
585 MOVL address+4(FP), SI
599 MOVL address+4(FP), SI
606 * Read/write various system registers.
607 * CR4 and the 'model specific registers' should only be read/written
608 * after it has been determined the processor supports them
610 TEXT lgdt(SB), $0 /* GDTR - global descriptor table */
611 MOVL gdtptr+0(FP), AX
615 TEXT lldt(SB), $0 /* LDTR - local descriptor table */
617 BYTE $0x0F; BYTE $0x00; BYTE $0xD0 /* LLDT AX */
620 TEXT lidt(SB), $0 /* IDTR - interrupt descriptor table */
621 MOVL idtptr+0(FP), AX
625 TEXT ltr(SB), $0 /* TR - task register */
630 TEXT getcr0(SB), $0 /* CR0 - processor control */
634 TEXT getcr2(SB), $0 /* CR2 - page fault linear address */
638 TEXT getcr3(SB), $0 /* CR3 - page directory base */
652 TEXT getcr4(SB), $0 /* CR4 - extensions */
671 TEXT _cycles(SB), $0 /* time stamp counter */
673 MOVL vlong+0(FP), CX /* &vlong */
674 MOVL AX, 0(CX) /* lo */
675 MOVL DX, 4(CX) /* hi */
680 * time stamp counter; low-order 32 bits of 64-bit cycle counter
681 * Runs at fasthz/4 cycles per second (m->clkin>>3)
683 TEXT lcycles(SB),1,$0
687 TEXT rdmsr(SB), $0 /* model-specific register */
690 MOVL vlong+4(FP), CX /* &vlong */
691 MOVL AX, 0(CX) /* lo */
692 MOVL DX, 4(CX) /* hi */
703 * Try to determine the CPU type which requires fiddling with EFLAGS.
704 * If the Id bit can be toggled then the CPUID instruction can be used
705 * to determine CPU identity and features. First have to check if it's
706 * a 386 (Ac bit can't be set). If it's not a 386 and the Id bit can't be
707 * toggled then it's an older 486 of some kind.
709 * cpuid(fun, regs[4]);
714 POPFL /* set Id|Ac */
716 POPL BX /* retrieve value */
719 POPFL /* clear Id|Ac, EFLAGS initialised */
721 POPL AX /* retrieve value */
723 TESTL $0x040000, AX /* Ac */
724 JZ _cpu386 /* can't set this bit on 386 */
725 TESTL $0x200000, AX /* Id */
726 JZ _cpu486 /* can't toggle this bit on some 486 */
752 * Basic timing loop to determine CPU frequency.
763 * Note: the encodings for the FCLEX, FINIT, FSAVE, FSTCW, FSENV and FSTSW
764 * instructions do NOT have the WAIT prefix byte (i.e. they act like their
765 * FNxxx variations) so WAIT instructions must be explicitly placed in the
770 ANDL $0xC, AX /* EM, TS */ ;\
776 ANDL $~0x4, AX /* EM=0 */ ;\
777 ORL $0x28, AX /* NE=1, TS=1 */ ;\
782 ANDL $~0xC, AX /* EM=0, TS=0 */ ;\
785 TEXT fpoff(SB), $0 /* disable */
789 TEXT fpinit(SB), $0 /* enable and init */
793 /* setfcr(FPPDBL|FPRNR|FPINVAL|FPZDIV|FPOVFL) */
794 /* note that low 6 bits are masks, not enables, on this chip */
801 TEXT fpsave(SB), $0 /* save state and disable */
803 FSAVE 0(AX) /* no WAIT */
807 TEXT fprestore(SB), $0 /* enable and restore state */
814 TEXT fpstatus(SB), $0 /* get floating point status */
818 TEXT fpenv(SB), $0 /* save state without waiting */
823 TEXT fpclear(SB), $0 /* clear pending exceptions */
837 MOVL $(MACHADDR+0x04), CX /* save PC in m->splpc */
850 MOVL $(MACHADDR+0x04), CX /* clear m->splpc */
868 ANDL $0x200, AX /* interrupt enable flag */
877 XCHGL AX, (BX) /* lock->key */
880 TEXT _xinc(SB), $0 /* void _xinc(long*); */
885 TEXT _xdec(SB), $0 /* long _xdec(long*); */
900 POPL AX /* return PC */
935 TEXT cmpswap486(SB), $0
940 BYTE $0x0F; BYTE $0xB1; BYTE $0x0B /* CMPXCHGL CX, (BX) */
948 TEXT mul64fract(SB), $0
950 * Multiply two 64-bit number s and keep the middle 64 bits from the 128-bit result
951 * See ../port/tod.c for motivation.
954 XORL BX, BX /* BX = 0 */
957 MULL b+16(FP) /* a1*b1 */
958 MOVL AX, 4(CX) /* r2 = lo(a1*b1) */
961 MULL b+12(FP) /* a1*b0 */
962 MOVL AX, 0(CX) /* r1 = lo(a1*b0) */
963 ADDL DX, 4(CX) /* r2 += hi(a1*b0) */
966 MULL b+16(FP) /* a0*b1 */
967 ADDL AX, 0(CX) /* r1 += lo(a0*b1) */
968 ADCL DX, 4(CX) /* r2 += hi(a0*b1) + carry */
971 MULL b+12(FP) /* a0*b0 */
972 ADDL DX, 0(CX) /* r1 += hi(a0*b0) */
973 ADCL BX, 4(CX) /* r2 += carry */
977 * label consists of a stack pointer and a PC
979 TEXT gotolabel(SB), $0
981 MOVL 0(AX), SP /* restore sp */
982 MOVL 4(AX), AX /* put return pc on the stack */
984 MOVL $1, AX /* return 1 */
987 TEXT setlabel(SB), $0
989 MOVL SP, 0(AX) /* store sp */
990 MOVL 0(SP), BX /* store return pc */
992 MOVL $0, AX /* return 0 */
996 * Attempt at power saving. -rsc
1011 * Interrupt/exception handling.
1012 * Each entry in the vector table calls either _strayintr or _strayintrx depending
1013 * on whether an error code has been automatically pushed onto the stack
1014 * (_strayintrx) or not, in which case a dummy entry must be pushed before retrieving
1015 * the trap type from the vector table entry and placing it on the stack as part
1016 * of the Ureg structure.
1017 * The size of each entry in the vector table (6 bytes) is known in trapinit().
1019 TEXT _strayintr(SB), $0
1020 PUSHL AX /* save AX */
1021 MOVL 4(SP), AX /* return PC from vectortable(SB) */
1024 TEXT _strayintrx(SB), $0
1025 XCHGL AX, (SP) /* swap AX with vectortable CALL PC */
1027 PUSHL DS /* save DS */
1029 POPL DS /* fix up DS */
1030 MOVBLZX (AX), AX /* trap type -> AX */
1031 XCHGL AX, 4(SP) /* exchange trap type with saved AX */
1033 PUSHL ES /* save ES */
1035 POPL ES /* fix up ES */
1037 PUSHL FS /* save the rest of the Ureg struct */
1041 PUSHL SP /* Ureg* argument to trap */
1044 TEXT forkret(SB), $0
1051 ADDL $8, SP /* pop error code and trap type */
1054 TEXT vectortable(SB), $0
1055 CALL _strayintr(SB); BYTE $0x00 /* divide error */
1056 CALL _strayintr(SB); BYTE $0x01 /* debug exception */
1057 CALL _strayintr(SB); BYTE $0x02 /* NMI interrupt */
1058 CALL _strayintr(SB); BYTE $0x03 /* breakpoint */
1059 CALL _strayintr(SB); BYTE $0x04 /* overflow */
1060 CALL _strayintr(SB); BYTE $0x05 /* bound */
1061 CALL _strayintr(SB); BYTE $0x06 /* invalid opcode */
1062 CALL _strayintr(SB); BYTE $0x07 /* no coprocessor available */
1063 CALL _strayintrx(SB); BYTE $0x08 /* double fault */
1064 CALL _strayintr(SB); BYTE $0x09 /* coprocessor segment overflow */
1065 CALL _strayintrx(SB); BYTE $0x0A /* invalid TSS */
1066 CALL _strayintrx(SB); BYTE $0x0B /* segment not available */
1067 CALL _strayintrx(SB); BYTE $0x0C /* stack exception */
1068 CALL _strayintrx(SB); BYTE $0x0D /* general protection error */
1069 CALL _strayintrx(SB); BYTE $0x0E /* page fault */
1070 CALL _strayintr(SB); BYTE $0x0F /* */
1071 CALL _strayintr(SB); BYTE $0x10 /* coprocessor error */
1072 CALL _strayintrx(SB); BYTE $0x11 /* alignment check */
1073 CALL _strayintr(SB); BYTE $0x12 /* machine check */
1074 CALL _strayintr(SB); BYTE $0x13
1075 CALL _strayintr(SB); BYTE $0x14
1076 CALL _strayintr(SB); BYTE $0x15
1077 CALL _strayintr(SB); BYTE $0x16
1078 CALL _strayintr(SB); BYTE $0x17
1079 CALL _strayintr(SB); BYTE $0x18
1080 CALL _strayintr(SB); BYTE $0x19
1081 CALL _strayintr(SB); BYTE $0x1A
1082 CALL _strayintr(SB); BYTE $0x1B
1083 CALL _strayintr(SB); BYTE $0x1C
1084 CALL _strayintr(SB); BYTE $0x1D
1085 CALL _strayintr(SB); BYTE $0x1E
1086 CALL _strayintr(SB); BYTE $0x1F
1087 CALL _strayintr(SB); BYTE $0x20 /* VectorLAPIC */
1088 CALL _strayintr(SB); BYTE $0x21
1089 CALL _strayintr(SB); BYTE $0x22
1090 CALL _strayintr(SB); BYTE $0x23
1091 CALL _strayintr(SB); BYTE $0x24
1092 CALL _strayintr(SB); BYTE $0x25
1093 CALL _strayintr(SB); BYTE $0x26
1094 CALL _strayintr(SB); BYTE $0x27
1095 CALL _strayintr(SB); BYTE $0x28
1096 CALL _strayintr(SB); BYTE $0x29
1097 CALL _strayintr(SB); BYTE $0x2A
1098 CALL _strayintr(SB); BYTE $0x2B
1099 CALL _strayintr(SB); BYTE $0x2C
1100 CALL _strayintr(SB); BYTE $0x2D
1101 CALL _strayintr(SB); BYTE $0x2E
1102 CALL _strayintr(SB); BYTE $0x2F
1103 CALL _strayintr(SB); BYTE $0x30
1104 CALL _strayintr(SB); BYTE $0x31
1105 CALL _strayintr(SB); BYTE $0x32
1106 CALL _strayintr(SB); BYTE $0x33
1107 CALL _strayintr(SB); BYTE $0x34
1108 CALL _strayintr(SB); BYTE $0x35
1109 CALL _strayintr(SB); BYTE $0x36
1110 CALL _strayintr(SB); BYTE $0x37
1111 CALL _strayintr(SB); BYTE $0x38
1112 CALL _strayintr(SB); BYTE $0x39
1113 CALL _strayintr(SB); BYTE $0x3A
1114 CALL _strayintr(SB); BYTE $0x3B
1115 CALL _strayintr(SB); BYTE $0x3C
1116 CALL _strayintr(SB); BYTE $0x3D
1117 CALL _strayintr(SB); BYTE $0x3E
1118 CALL _strayintr(SB); BYTE $0x3F
1119 CALL _syscallintr(SB); BYTE $0x40 /* VectorSYSCALL */
1120 CALL _strayintr(SB); BYTE $0x41
1121 CALL _strayintr(SB); BYTE $0x42
1122 CALL _strayintr(SB); BYTE $0x43
1123 CALL _strayintr(SB); BYTE $0x44
1124 CALL _strayintr(SB); BYTE $0x45
1125 CALL _strayintr(SB); BYTE $0x46
1126 CALL _strayintr(SB); BYTE $0x47
1127 CALL _strayintr(SB); BYTE $0x48
1128 CALL _strayintr(SB); BYTE $0x49
1129 CALL _strayintr(SB); BYTE $0x4A
1130 CALL _strayintr(SB); BYTE $0x4B
1131 CALL _strayintr(SB); BYTE $0x4C
1132 CALL _strayintr(SB); BYTE $0x4D
1133 CALL _strayintr(SB); BYTE $0x4E
1134 CALL _strayintr(SB); BYTE $0x4F
1135 CALL _strayintr(SB); BYTE $0x50
1136 CALL _strayintr(SB); BYTE $0x51
1137 CALL _strayintr(SB); BYTE $0x52
1138 CALL _strayintr(SB); BYTE $0x53
1139 CALL _strayintr(SB); BYTE $0x54
1140 CALL _strayintr(SB); BYTE $0x55
1141 CALL _strayintr(SB); BYTE $0x56
1142 CALL _strayintr(SB); BYTE $0x57
1143 CALL _strayintr(SB); BYTE $0x58
1144 CALL _strayintr(SB); BYTE $0x59
1145 CALL _strayintr(SB); BYTE $0x5A
1146 CALL _strayintr(SB); BYTE $0x5B
1147 CALL _strayintr(SB); BYTE $0x5C
1148 CALL _strayintr(SB); BYTE $0x5D
1149 CALL _strayintr(SB); BYTE $0x5E
1150 CALL _strayintr(SB); BYTE $0x5F
1151 CALL _strayintr(SB); BYTE $0x60
1152 CALL _strayintr(SB); BYTE $0x61
1153 CALL _strayintr(SB); BYTE $0x62
1154 CALL _strayintr(SB); BYTE $0x63
1155 CALL _strayintr(SB); BYTE $0x64
1156 CALL _strayintr(SB); BYTE $0x65
1157 CALL _strayintr(SB); BYTE $0x66
1158 CALL _strayintr(SB); BYTE $0x67
1159 CALL _strayintr(SB); BYTE $0x68
1160 CALL _strayintr(SB); BYTE $0x69
1161 CALL _strayintr(SB); BYTE $0x6A
1162 CALL _strayintr(SB); BYTE $0x6B
1163 CALL _strayintr(SB); BYTE $0x6C
1164 CALL _strayintr(SB); BYTE $0x6D
1165 CALL _strayintr(SB); BYTE $0x6E
1166 CALL _strayintr(SB); BYTE $0x6F
1167 CALL _strayintr(SB); BYTE $0x70
1168 CALL _strayintr(SB); BYTE $0x71
1169 CALL _strayintr(SB); BYTE $0x72
1170 CALL _strayintr(SB); BYTE $0x73
1171 CALL _strayintr(SB); BYTE $0x74
1172 CALL _strayintr(SB); BYTE $0x75
1173 CALL _strayintr(SB); BYTE $0x76
1174 CALL _strayintr(SB); BYTE $0x77
1175 CALL _strayintr(SB); BYTE $0x78
1176 CALL _strayintr(SB); BYTE $0x79
1177 CALL _strayintr(SB); BYTE $0x7A
1178 CALL _strayintr(SB); BYTE $0x7B
1179 CALL _strayintr(SB); BYTE $0x7C
1180 CALL _strayintr(SB); BYTE $0x7D
1181 CALL _strayintr(SB); BYTE $0x7E
1182 CALL _strayintr(SB); BYTE $0x7F
1183 CALL _strayintr(SB); BYTE $0x80 /* Vector[A]PIC */
1184 CALL _strayintr(SB); BYTE $0x81
1185 CALL _strayintr(SB); BYTE $0x82
1186 CALL _strayintr(SB); BYTE $0x83
1187 CALL _strayintr(SB); BYTE $0x84
1188 CALL _strayintr(SB); BYTE $0x85
1189 CALL _strayintr(SB); BYTE $0x86
1190 CALL _strayintr(SB); BYTE $0x87
1191 CALL _strayintr(SB); BYTE $0x88
1192 CALL _strayintr(SB); BYTE $0x89
1193 CALL _strayintr(SB); BYTE $0x8A
1194 CALL _strayintr(SB); BYTE $0x8B
1195 CALL _strayintr(SB); BYTE $0x8C
1196 CALL _strayintr(SB); BYTE $0x8D
1197 CALL _strayintr(SB); BYTE $0x8E
1198 CALL _strayintr(SB); BYTE $0x8F
1199 CALL _strayintr(SB); BYTE $0x90
1200 CALL _strayintr(SB); BYTE $0x91
1201 CALL _strayintr(SB); BYTE $0x92
1202 CALL _strayintr(SB); BYTE $0x93
1203 CALL _strayintr(SB); BYTE $0x94
1204 CALL _strayintr(SB); BYTE $0x95
1205 CALL _strayintr(SB); BYTE $0x96
1206 CALL _strayintr(SB); BYTE $0x97
1207 CALL _strayintr(SB); BYTE $0x98
1208 CALL _strayintr(SB); BYTE $0x99
1209 CALL _strayintr(SB); BYTE $0x9A
1210 CALL _strayintr(SB); BYTE $0x9B
1211 CALL _strayintr(SB); BYTE $0x9C
1212 CALL _strayintr(SB); BYTE $0x9D
1213 CALL _strayintr(SB); BYTE $0x9E
1214 CALL _strayintr(SB); BYTE $0x9F
1215 CALL _strayintr(SB); BYTE $0xA0
1216 CALL _strayintr(SB); BYTE $0xA1
1217 CALL _strayintr(SB); BYTE $0xA2
1218 CALL _strayintr(SB); BYTE $0xA3
1219 CALL _strayintr(SB); BYTE $0xA4
1220 CALL _strayintr(SB); BYTE $0xA5
1221 CALL _strayintr(SB); BYTE $0xA6
1222 CALL _strayintr(SB); BYTE $0xA7
1223 CALL _strayintr(SB); BYTE $0xA8
1224 CALL _strayintr(SB); BYTE $0xA9
1225 CALL _strayintr(SB); BYTE $0xAA
1226 CALL _strayintr(SB); BYTE $0xAB
1227 CALL _strayintr(SB); BYTE $0xAC
1228 CALL _strayintr(SB); BYTE $0xAD
1229 CALL _strayintr(SB); BYTE $0xAE
1230 CALL _strayintr(SB); BYTE $0xAF
1231 CALL _strayintr(SB); BYTE $0xB0
1232 CALL _strayintr(SB); BYTE $0xB1
1233 CALL _strayintr(SB); BYTE $0xB2
1234 CALL _strayintr(SB); BYTE $0xB3
1235 CALL _strayintr(SB); BYTE $0xB4
1236 CALL _strayintr(SB); BYTE $0xB5
1237 CALL _strayintr(SB); BYTE $0xB6
1238 CALL _strayintr(SB); BYTE $0xB7
1239 CALL _strayintr(SB); BYTE $0xB8
1240 CALL _strayintr(SB); BYTE $0xB9
1241 CALL _strayintr(SB); BYTE $0xBA
1242 CALL _strayintr(SB); BYTE $0xBB
1243 CALL _strayintr(SB); BYTE $0xBC
1244 CALL _strayintr(SB); BYTE $0xBD
1245 CALL _strayintr(SB); BYTE $0xBE
1246 CALL _strayintr(SB); BYTE $0xBF
1247 CALL _strayintr(SB); BYTE $0xC0
1248 CALL _strayintr(SB); BYTE $0xC1
1249 CALL _strayintr(SB); BYTE $0xC2
1250 CALL _strayintr(SB); BYTE $0xC3
1251 CALL _strayintr(SB); BYTE $0xC4
1252 CALL _strayintr(SB); BYTE $0xC5
1253 CALL _strayintr(SB); BYTE $0xC6
1254 CALL _strayintr(SB); BYTE $0xC7
1255 CALL _strayintr(SB); BYTE $0xC8
1256 CALL _strayintr(SB); BYTE $0xC9
1257 CALL _strayintr(SB); BYTE $0xCA
1258 CALL _strayintr(SB); BYTE $0xCB
1259 CALL _strayintr(SB); BYTE $0xCC
1260 CALL _strayintr(SB); BYTE $0xCD
1261 CALL _strayintr(SB); BYTE $0xCE
1262 CALL _strayintr(SB); BYTE $0xCF
1263 CALL _strayintr(SB); BYTE $0xD0
1264 CALL _strayintr(SB); BYTE $0xD1
1265 CALL _strayintr(SB); BYTE $0xD2
1266 CALL _strayintr(SB); BYTE $0xD3
1267 CALL _strayintr(SB); BYTE $0xD4
1268 CALL _strayintr(SB); BYTE $0xD5
1269 CALL _strayintr(SB); BYTE $0xD6
1270 CALL _strayintr(SB); BYTE $0xD7
1271 CALL _strayintr(SB); BYTE $0xD8
1272 CALL _strayintr(SB); BYTE $0xD9
1273 CALL _strayintr(SB); BYTE $0xDA
1274 CALL _strayintr(SB); BYTE $0xDB
1275 CALL _strayintr(SB); BYTE $0xDC
1276 CALL _strayintr(SB); BYTE $0xDD
1277 CALL _strayintr(SB); BYTE $0xDE
1278 CALL _strayintr(SB); BYTE $0xDF
1279 CALL _strayintr(SB); BYTE $0xE0
1280 CALL _strayintr(SB); BYTE $0xE1
1281 CALL _strayintr(SB); BYTE $0xE2
1282 CALL _strayintr(SB); BYTE $0xE3
1283 CALL _strayintr(SB); BYTE $0xE4
1284 CALL _strayintr(SB); BYTE $0xE5
1285 CALL _strayintr(SB); BYTE $0xE6
1286 CALL _strayintr(SB); BYTE $0xE7
1287 CALL _strayintr(SB); BYTE $0xE8
1288 CALL _strayintr(SB); BYTE $0xE9
1289 CALL _strayintr(SB); BYTE $0xEA
1290 CALL _strayintr(SB); BYTE $0xEB
1291 CALL _strayintr(SB); BYTE $0xEC
1292 CALL _strayintr(SB); BYTE $0xED
1293 CALL _strayintr(SB); BYTE $0xEE
1294 CALL _strayintr(SB); BYTE $0xEF
1295 CALL _strayintr(SB); BYTE $0xF0
1296 CALL _strayintr(SB); BYTE $0xF1
1297 CALL _strayintr(SB); BYTE $0xF2
1298 CALL _strayintr(SB); BYTE $0xF3
1299 CALL _strayintr(SB); BYTE $0xF4
1300 CALL _strayintr(SB); BYTE $0xF5
1301 CALL _strayintr(SB); BYTE $0xF6
1302 CALL _strayintr(SB); BYTE $0xF7
1303 CALL _strayintr(SB); BYTE $0xF8
1304 CALL _strayintr(SB); BYTE $0xF9
1305 CALL _strayintr(SB); BYTE $0xFA
1306 CALL _strayintr(SB); BYTE $0xFB
1307 CALL _strayintr(SB); BYTE $0xFC
1308 CALL _strayintr(SB); BYTE $0xFD
1309 CALL _strayintr(SB); BYTE $0xFE
1310 CALL _strayintr(SB); BYTE $0xFF