vgabios.c | 359 cmp al, #0x03 variable 364 cmp al, #0x05 variable 369 cmp al, #0x06 variable 374 cmp al, #0x07 variable 379 cmp al, #0x08 variable 384 cmp al, #0x0A variable 418 mov al, #0xC3 variable 419 outb dx,al variable 423 mov al, #0x04 variable 424 outb dx,al 426 mov al, #0x02 variable 467 mov al, #0x10 variable 468 mov [bx], al variable 472 mov al, #0x60 variable 473 mov [bx], al variable 477 mov al, #0xf9 variable 478 mov [bx], al variable 482 mov al, #0x51 variable 483 mov [bx], al variable 487 mov al, #0x09 variable 561 xor al,al local 1743 in al, dx variable 1745 mov al, #0x00 variable 1747 mov al, bl variable 1748 and al, #0x0f variable 1749 test al, #0x08 variable 1751 add al, #0x08 variable 1758 mov al, cl variable 1761 in al, dx variable 1762 and al, #0xef variable 1763 or al, bl variable 1769 mov al, #0x20 variable 1782 in al, dx variable 1787 mov al, cl variable 1790 in al, dx variable 1791 and al, #0xfe variable 1792 or al, bl variable 1798 mov al, #0x20 variable 2066 mov al, [bx] variable 2074 mov al, [bx] variable 2075 or al, ah variable 2086 cmp al, #0x00 variable 2090 cmp al, #0x01 variable 2094 cmp al, #0x02 variable 2098 cmp al, #0x03 variable 2102 cmp al, #0x07 variable 2106 cmp al, #0x08 variable 2110 cmp al, #0x09 variable 2114 cmp al, #0x10 variable 2118 cmp al, #0x12 variable 2122 cmp al, #0x13 variable 2126 cmp al, #0x15 variable 2130 cmp al, #0x17 variable 2134 cmp al, #0x18 variable 2138 cmp al, #0x19 variable 2142 cmp al, #0x1a variable 2157 in al, dx variable 2159 mov al, bl variable 2161 mov al, bh variable 2163 mov al, #0x20 variable 2190 in al, dx variable 2194 mov al, cl variable 2197 mov al, [bx] variable 2203 mov al, #0x11 variable 2206 mov al, [bx] variable 2208 mov al, #0x20 variable 2224 in al, dx variable 2226 mov al, #0x10 variable 2229 in al, dx variable 2230 and al, #0xf7 variable 2233 or al, bl variable 2236 mov al, #0x20 variable 2252 in al, dx variable 2254 mov al, bl variable 2257 in al, dx variable 2260 in al, dx variable 2262 mov al, #0x20 variable 2277 mov al, bh variable 2295 in al, dx variable 2297 mov al, cl variable 2300 in al, dx variable 2308 in al, dx variable 2310 mov al, #0x11 variable 2313 in al, dx variable 2317 in al, dx variable 2319 mov al, #0x20 variable 2334 mov al, bl variable 2339 mov al, ah variable 2341 mov al, ch variable 2343 mov al, cl variable 2358 mov al, bl variable 2366 mov al, [bx] variable 2370 mov al, [bx] variable 2374 mov al, [bx] variable 2393 in al, dx variable 2395 mov al, #0x10 variable 2398 in al, dx variable 2401 and al, #0x7f variable 2403 or al, bh variable 2410 in al, dx variable 2412 mov al, #0x14 variable 2415 and al, #0x80 variable 2420 mov al, bh variable 2423 mov al, #0x20 variable 2437 mov al, bl variable 2442 in al, dx variable 2443 xchg al, ah variable 2445 in al, dx variable 2447 in al, dx variable 2462 mov al, bl variable 2469 in al, dx variable 2473 in al, dx variable 2477 in al, dx variable 2496 mov al, bl variable 2509 in al, dx variable 2522 in al, dx variable 2524 mov al, #0x10 variable 2527 in al, dx variable 2531 in al, dx variable 2533 mov al, #0x14 variable 2536 in al, dx variable 2544 in al, dx variable 2546 mov al, #0x20 variable 2625 in al, dx local 2626 and al, #0x01 local 2627 shl al, 2 local 2628 or al, #0x0a local 2630 mov al, #0x06 local 2741 mov al, #0x03 variable 2893 mov al, [bx] variable 2902 mov al, dl variable 2917 or al, #0x10 variable 2936 or al, #0x80 variable 2968 mov al, [bx] variable 2969 and al, #0xf7 variable 2970 or al, dl variable 2987 in al, dx variable 2988 and al, #0xfd variable 2989 or al, bl variable 3009 mov al, [bx] variable 3010 and al, #0xfd variable 3011 or al, dl variable 3030 mov al, [bx] variable 3031 and al, #0xfe variable 3032 or al, dl variable 3091 cmp al, #0x00 variable 3093 cmp al, #0x01 variable 3105 mov al, [bx] variable 3109 mov al, ah variable 3122 mov al, ah variable 3132 mov al, ah variable 3429 mov al, 8[bp] ; value local 3595 mov al, [bx] local 3645 mov al, 8[bp] ; data byte local 3646 mov [bx], al ; write data byte local 3693 in al, dx local 3730 mov al, 6[bp] local 3885 mov al, dl local [all...] |
rombios.c | 214 // mov al, #$20 249 out dx,al 302 mov al, 8[bp] ; value local 789 Bit8u bl, bh, dl, dh, cl, ch, al, ah; member in struct:__anon27518::__anon27519::__anon27521 812 Bit8u al, ah; member in struct:__anon27522::__anon27523::__anon27526 1135 in al, dx local 1173 mov al, 6[bp] local 1174 out dx, al 1214 mov al, 4[bp] ;; cmos_reg local 1215 out 0x70, al 1216 mov al, 6[bp] ;; val local 1231 mov al, 4[bp] ;; cmos_reg local 1233 in al, 0x71 local 1285 mov al, [bx] local 1333 mov al, 8[bp] ; data byte local 1334 mov [bx], al ; write data byte local 1445 mov al, 4[bp] local 1584 mov al, #1 local 1587 xor al, al local 4005 or al, #0x01 local 4031 and al, #0xFE local 4508 in al, #0x61 local 4509 and al,#0x10 local 4515 in al, #0x61 local 4516 and al,#0x10 local 4517 cmp al, ah local 6280 mov al,ah local 6291 mov al,ah local 6785 mov al, _int13_harddisk.hd_heads + 2 [bp] local 8067 mov al, #0x01 ;; read 1 sector local 8500 cmp al,#0x00 local 8507 cmp al,dl ;; int13 on emulated drive local 8526 cmp al,dl ;; al is 0x00 or 0x80 local 8690 mov al, #0x00 local 8691 mov 0x043e, al ;; drive 0 & 1 uncalibrated, no interrupt has occurred local 8693 mov 0x043f, al ;; diskette motor status: read op, drive0, motors off local 8695 mov 0x0440, al ;; diskette motor timeout counter: not active local 8696 mov 0x0441, al ;; diskette controller status return code local 8699 mov 0x0443, al ;; diskette controller status register 1 local 8700 mov 0x0444, al ;; diskette controller status register 2 local 8701 mov 0x0445, al ;; diskette controller cylinder number local 8702 mov 0x0446, al ;; diskette controller head number local 8703 mov 0x0447, al ;; diskette controller sector number local 8704 mov 0x0448, al ;; diskette controller bytes written local 8706 mov 0x048b, al ;; diskette configuration data local 8711 mov al, #0x10 ;; get CMOS diskette drive type local 8714 mov ah, al ;; save byte to AH local 8717 shr al, #4 ;; look at top 4 bits for drive 0 local 8725 mov al, ah ;; restore from AH local 8726 and al, #0x0f ;; look at bottom 4 bits for drive 1 local 8735 mov 0x0490, al ;; diskette 0 media state local 8736 mov 0x0491, al ;; diskette 1 media state local 8744 mov 0x0494, al ;; diskette 0 current cylinder local 8745 mov 0x0495, al ;; diskette 1 current cylinder local 8747 mov al, #0x02 local 8748 out #0x0a, al ;; clear DMA-1 channel 2 mask bit local 8765 mov al, #0x0a ; 0000 1010 = reserved, disable IRQ 14 local 8776 mov al, #0x01 local 8778 mov al, #0xc0 local 8820 in al, #0x71 local 8822 mov al, #0x1e local 8824 in al, #0x71 local 8827 mov al, #0x20 local 8829 in al, #0x71 local 8832 mov al, #0x22 local 8834 in al, #0x71 local 8836 mov al, #0x21 local 8838 in al, #0x71 local 8841 mov al, #0x1c ;; get cylinders word in AX local 8843 in al, #0x71 ;; high byte local 8845 mov al, #0x1b local 8847 in al, #0x71 ;; low byte local 8852 in al, #0x71 local 8853 mov cl, al ;; CL = heads local 8857 in al, #0x71 local 8858 mov dl, al ;; DL = sectors local 8914 mov al, #0x00 ;; sum local 8916 add al, [si] local 8920 not al ;; now take 2s complement local 8922 mov [si], al local 8943 in al, #0x71 local 8944 cmp al, #47 ;; decimal 47 - user definable local 8962 mov al, #0x28 local 8964 in al, #0x71 local 8966 mov al, #0x27 local 8968 in al, #0x71 local 8971 mov al, #0x29 local 8973 in al, #0x71 local 8976 mov al, #0x2b local 8978 in al, #0x71 local 8980 mov al, #0x2a local 8982 in al, #0x71 local 8985 mov al, #0x25 ;; get cylinders word in AX local 8987 in al, #0x71 ;; high byte local 8989 mov al, #0x24 local 8991 in al, #0x71 ;; low byte local 8996 in al, #0x71 local 8997 mov cl, al ;; CL = heads local 9001 in al, #0x71 local 9002 mov dl, al ;; DL = sectors local 9058 mov al, #0x00 ;; sum local 9060 add al, [si] local 9064 not al ;; now take 2s complement local 9066 mov [si], al local [all...] |