Home | History | Annotate | Download | only in bios

Lines Matching refs:AH

53 // $fe6e ; INT 1Ah Time-of-day Service Entry Point
789 Bit8u bl, bh, dl, dh, cl, ch, al, ah;
812 Bit8u al, ah;
1444 mov ah, #0x0e
1598 xchg ah, al
2946 mov ah, _ata_cmd_data_in.mode + 2[bp]
2947 cmp ah, #ATA_MODE_PIO32
3097 mov ah, _ata_cmd_data_out.mode + 2[bp]
3098 cmp ah, #ATA_MODE_PIO32
3339 mov ah, _ata_cmd_packet.lmode + 2[bp]
3340 cmp ah, #ATA_MODE_PIO32
3363 mov ah, _ata_cmd_packet.lmode + 2[bp]
3364 cmp ah, #ATA_MODE_PIO32
3380 mov ah, _ata_cmd_packet.lmode + 2[bp]
3381 cmp ah, #ATA_MODE_PIO32
3588 // Returns ah: emulated drive, al: error code
3755 switch (regs.u.r8.ah) {
3767 regs.u.r8.ah = inb(addr+5);
3781 regs.u.r8.ah = inb(addr+5);
3782 if (!timeout) regs.u.r8.ah |= 0x80;
3795 regs.u.r8.ah = 0;
3798 regs.u.r8.ah = inb(addr+5);
3803 regs.u.r8.ah = inb(addr+5);
3832 switch (regs.u.r8.ah) {
3838 regs.u.r8.ah = 0;
3843 regs.u.r8.ah = 0;
3848 regs.u.r8.ah = 0;
3852 regs.u.r8.ah = 0;
3858 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
3864 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
3870 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
3879 regs.u.r8.ah = 0; // "ok ejection may proceed"
3901 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
3912 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4057 regs.u.r8.ah = 0;
4065 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4069 regs.u.r8.ah = inb_cmos(0x31);
4089 BX_INFO("*** int 15h function AH=bf not yet supported!\n");
4091 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4097 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4101 regs.u.r8.ah = 0;
4114 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4121 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4141 switch (regs.u.r8.ah) {
4143 // Return Codes status in AH
4166 regs.u.r8.ah = 0;
4173 regs.u.r8.ah = ret;
4183 regs.u.r8.ah = 5; // no far call installed
4193 regs.u.r8.ah = 0;
4198 regs.u.r8.ah = ret;
4204 regs.u.r8.ah = 1; // invalid subfunction
4215 regs.u.r8.ah = 0x02; // invalid input
4244 regs.u.r8.ah = 0;
4255 regs.u.r8.ah = ret;
4277 regs.u.r8.ah = 0;
4281 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4286 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4309 regs.u.r8.ah = 0;
4313 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4318 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4331 regs.u.r8.ah = 0;
4336 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4358 regs.u.r8.ah = 0;
4372 regs.u.r8.ah = ret;
4390 regs.u.r8.ah = 0;
4394 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4424 regs.u.r8.ah = 0;
4429 regs.u.r8.ah = 1; // invalid function
4438 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4482 switch (regs.u.r8.ah) {
4510 mov ah, al
4517 cmp al, ah
4519 mov ah, al
4653 default: /* AH=0xE8?? but not implemented */
4663 regs.u.r8.ah = UNSUPPORTED_FUNCTION;
4737 // 6 0 INT 16/AH=20h-22h supported (122-key keyboard support)
4738 // 5 1 INT 16/AH=10h-12h supported (enhanced keyboard support)
4739 // 4 1 INT 16/AH=0Ah supported
4799 SET_AH(0x80); // function int16 ah=0x10-0x12 supported
4803 // don't change AH : function int16 ah=0x20-0x22 NOT supported
5601 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
5783 mov ah, #0x52
5785 mov _int13_cdrom.status + 2[bp], ah
5944 BX_INFO("int13_cdrom: unsupported AH=%02x\n", GET_AH());
5950 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
6018 BX_INFO("int13_eltorito: unsupported AH=%02x\n", GET_AH());
6024 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
6219 BX_INFO("int13_cdemu function AH=%02x unsupported, returns fail\n", GET_AH());
6225 SET_AH(0x01); // defaults to invalid function in AH or invalid parameter
6280 mov al,ah
6285 and ah,#0xf
6289 or ah,bl
6290 or ah,#0xe0
6291 mov al,ah
6717 BX_PANIC("int13h Functions 0Ah & 0Bh not implemented!\n");
6786 mov ah, _int13_harddisk.hd_sectors + 2 [bp]
6787 mul al, ah ;; ax = heads * sectors
6815 BX_INFO("int13_harddisk: unsupported AH=%02x\n", GET_AH());
6817 SET_AH(1); // code=invalid function in AH or invalid parameter
6986 // 00=0Ch, 01=0Dh, 10=0Eh, 11=0Ah
7154 Bit8u drive_type, num_floppies, ah;
7159 ah = GET_AH();
7161 switch ( ah ) {
7237 if (ah == 0x02) {
7378 } else if (ah == 0x03) {
7501 // AH=status code=0x03 (tried to write on write-protected disk)
7517 } else { // if (ah == 0x04)
7661 // AH=status code=0x03 (tried to write on write-protected disk)
7832 BX_INFO("int13_diskette: unsupported AH=%02x\n", GET_AH());
7834 // if ( (ah==0x20) || ((ah>=0x41) && (ah<=0x49)) || (ah==0x4e) ) {
7944 if ((regs.u.r8.ah < 3) && (regs.u.r16.dx < 3) && (addr > 0)) {
7946 if (regs.u.r8.ah == 0) {
7958 if (regs.u.r8.ah == 1) {
7967 regs.u.r8.ah = (val8 ^ 0x48);
7968 if (!timeout) regs.u.r8.ah |= 0x01;
8066 mov ah, #0x02 ;; function 2, read diskette sector
8170 switch (regs.u.r8.ah) {
8182 // AH already 0
8196 regs.u.r8.ah = 0;
8211 regs.u.r8.ah = 0;
8238 regs.u.r8.ah = 0;
8244 regs.u.r8.ah = 0;
8279 regs.u.r8.ah = 0;
8329 regs.u.r8.ah = 0;
8350 regs.u.r8.ah = regs.u.r8.bl;
8386 // Wait Interval (Int 15, AH=83) active.
8478 cmp ah,#0x4a
8480 cmp ah,#0x4d
8714 mov ah, al ;; save byte to AH
8725 mov al, ah ;; restore from AH
8821 mov ah, al
8835 mov ah, al
8844 mov ah, al
8965 mov ah, al
8979 mov ah, al
8988 mov ah, al
9141 ;; out: AL in binary format, AH will always be 0
9339 mov ah, #0x86
9360 mov ah, #0x86
9431 mov ah, #0x81
9442 xor ah, ah
9485 mov ah, #0xff
9655 mov ah, #0x89
9659 mov ah, #0x81
9666 xor ah, ah
9958 xor ah, ah
10795 cmp ah, #0x00
10797 cmp ah, #0x10
10885 mov ah, #0x4f ;; allow for keyboard intercept
11077 cmp ah, #0x53
11082 cmp ah, #0x86
11084 cmp ah, #0xE8
11088 cmp ah, #0xC2
11146 .org 0xfe6e ; INT 1Ah Time-of-day Service Entry Point
11149 cmp ah, #0xb1
11155 mov bl, ah
11156 mov ah, #0xb1