Lines Matching refs:regs
46 void BIOSCALL int14_function(pusha_regs_t regs, uint16_t es, uint16_t ds, volatile iret_addr_t iret_addr)
53 addr = read_word(0x0040, (regs.u.r16.dx << 1));
54 timeout = read_byte(0x0040, 0x007C + regs.u.r16.dx);
55 if ((regs.u.r16.dx < 4) && (addr > 0)) {
56 switch (regs.u.r8.ah) {
59 if (regs.u.r8.al & 0xE0 == 0) {
63 val16 = 0x600 >> ((regs.u.r8.al & 0xE0) >> 5);
67 outb(addr+3, regs.u.r8.al & 0x1F);
68 regs.u.r8.ah = inb(addr+5);
69 regs.u.r8.al = inb(addr+6);
81 if (timeout) outb(addr, regs.u.r8.al);
82 regs.u.r8.ah = inb(addr+5);
83 if (!timeout) regs.u.r8.ah |= 0x80;
96 regs.u.r8.ah = 0;
97 regs.u.r8.al = inb(addr);
99 regs.u.r8.ah = inb(addr+5);
104 regs.u.r8.ah = inb(addr+5);
105 regs.u.r8.al = inb(addr+6);