Lines Matching defs:x01
180 #define IPL_TYPE_FLOPPY 0x01
830 #define SetCF(x) x.u.r8.flagsl |= 0x01
834 #define GetCF(x) (x.u.r8.flagsl & 0x01)
1394 #define UART_IER 0x01
1400 #define UART_DLM 0x01
1760 if (inb(0x64) & 0x01) {
1782 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x01);
1800 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x11);
1824 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x21);
1834 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x31);
1851 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x41);
1885 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x71);
2073 if (scan_code == 0x01 || scan_code == 0x58) /* ESC or F12 */
2197 outb(0xfedc, 0x01);
2263 #define ATA_CB_ER_NDAM 0x01 // ATA address mark not found
2269 #define ATA_CB_ER_P_ILI 0x01 // ATAPI Illegal Length Indication
2275 #define ATA_CB_SC_P_CD 0x01 // ATAPI C/D
2292 #define ATA_CB_STAT_ERR 0x01 // error (ATA)
2293 #define ATA_CB_STAT_CHK 0x01 // check (ATAPI)
2349 #define ATA_IFACE_PCI 0x01
2352 #define ATA_TYPE_UNKNOWN 0x01
2362 #define ATA_MODE_PIO32 0x01
2373 #define ATA_DATA_IN 0x01
2552 if ((sc==0x01) && (sn==0x01)) {
2813 // 8.2.1 (g) -- check for sc==sn==0x01
2819 if ( (sc==0x01) && (sn==0x01) ) {
3314 if (lcount & 0x01) {
3316 if ((lafter > 0) && (lafter & 0x01)) {
3489 if (asc == 0x04 && ascq == 0x01 && !in_progress) {
3613 atacmd[7]=(0x01 & 0xff00) >> 8; // Sectors
3614 atacmd[8]=(0x01 & 0x00ff); // Sectors
3636 atacmd[7]=(0x01 & 0xff00) >> 8; // Sectors
3637 atacmd[8]=(0x01 & 0x00ff); // Sectors
3646 if(buffer[0x00]!=0x01)return 8; // Header
3647 if(buffer[0x01]!=0x00)return 9; // Platform
3694 case 0x01: // 1.2M floppy
3728 write_byte(ebda_seg,&EbdaData->cdemu.active,0x01);
3787 while (((inb(addr+5) & 0x01) == 0) && (timeout)) {
3840 case 0x01:
3846 regs.u.r8.al = (inb(0x92) >> 1) & 0x01;
4005 or al, #0x01
4624 case 0x01:
4684 while ((inb(0x64) & 0x01) == 0) outb(0x80, 0x21);
4689 while ((inb(0x64) & 0x01) == 0) outb(0x80, 0x21);
4709 case 0x01: /* check keyboard status */
4754 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x00);
4759 while ( ((inb(0x64) & 0x01) == 0) && (--max>0) ) outb(0x80, 0x00);
4867 while ( (inb(0x64) & 0x01) != 0x01 );
4889 while ( (inb(0x64) & 0x01) != 0x01 );
4991 shift_flags |= 0x01;
4995 shift_flags &= ~0x01;
5000 if ((mf2_state & 0x01) == 0) {
5007 mf2_flags |= 0x01;
5013 if ((mf2_state & 0x01) == 0) {
5020 mf2_flags &= ~0x01;
5122 mf2_state &= ~0x01;
5249 case 0x01: /* read disk status */
5570 case 0x01:
5601 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
5671 case 0x01: /* read disk status */
5924 case 0x01:
5950 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
5996 write_byte(DS,SI+0x01,read_byte(ebda_seg,&EbdaData->cdemu.media));
6024 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
6094 case 0x01: /* read disk status */
6180 case 0x01: SET_BL( 0x02 ); break;
6225 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
6337 SET_AH(0x01);
6338 SET_DISK_RET_STATUS(0x01);
6357 case 0x01: /* read disk status */
6435 outb(0x01f6, 0xa0 | ((drive & 0x01)<<4) | (head & 0x0f));
6444 if (status & 0x01) {
6576 outb(0x01f6, 0xa0 | ((GET_ELDL() & 0x01)<<4) | (head & 0x0f));
6948 val8 &= 0x01;
6957 val8 = (val8 >> 4) & 0x01;
7117 val8 |= 0x01; // Drive 0 calibrated
7189 case 0x01: // Read Diskette Status
7805 SET_AH(0x01); // invalid drive
7806 set_diskette_ret_status(0x01);
7819 SET_AH(0x01); // not supported
7826 SET_AH(0x01); // do later
7835 SET_AH(0x01); // ???
7851 case 0x01: // Read Diskette Status
7862 write_byte(0x0000, 0x0441, 0x01);
7863 SET_AH(0x01);
7949 outb(addr+2, val8 | 0x01); // send strobe
7953 outb(addr+2, val8 & ~0x01);
7968 if (!timeout) regs.u.r8.ah |= 0x01;
8002 // 0x01 : first floppy
8033 bootdev = 0x01;
8067 mov al, #0x01 ;; read 1 sector
8069 mov cl, #0x01 ;; sector 1
8091 if ((e.type != IPL_TYPE_FLOPPY) || !((inb_cmos(0x38) & 0x01))) {
8210 regs.u.r8.dl = inb_cmos(0x0b) & 0x01; // Stat Reg B
8235 val8 = (inb_cmos(0x0b) & 0x60) | 0x02 | (regs.u.r8.dl & 0x01);
8306 outb_cmos(0x01, regs.u.r8.dh); // Seconds alarm
8460 or BYTE [bp + 0x06], #0x01
8776 mov al, #0x01
8883 shr bx, #0x01
8884 shl cl, #0x01
9027 shr bx, #0x01
9028 shl cl, #0x01
9271 & 0xff) << 8) + 0x01
9312 cmp al, #0x01 ;; installation check
9317 mov al, #0x01
9491 cmp al, #0x01 ;; installation check
9823 test al, #0x01
9888 mov bl, #0x01
10022 or al, #0x01
10331 mov al, #0x01
10410 ;; 0x01,0x02,0x03,0x04,0x06,0x07,0x08 = Unimplemented shutdown status.
10906 mov al, BYTE [0x496] ;; mf2_state |= 0x01
10907 or al, #0x01