Lines Matching refs:action

58 void send(uint16_t action, uint8_t c)
66 if (action & BIOS_PRINTF_DEBUG)
68 if (action & BIOS_PRINTF_INFO)
71 if (action & BIOS_PRINTF_SCREEN) {
78 void put_int(uint16_t action, short val, short width, bx_bool neg)
82 put_int(action, nval, width - 1, neg);
85 send(action, ' ');
87 send(action, '-');
89 send(action, val - (nval * 10) + '0');
92 void put_uint(uint16_t action, unsigned short val, short width, bx_bool neg)
96 put_uint(action, nval, width - 1, neg);
99 send(action, ' ');
101 send(action, '-');
103 send(action, val - (nval * 10) + '0');
106 void put_luint(uint16_t action, unsigned long val, short width, bx_bool neg)
110 put_luint(action, nval, width - 1, neg);
113 send(action, ' ');
115 send(action, '-');
117 send(action, val - (nval * 10) + '0');
120 void put_str(uint16_t action, const char __far *s)
125 send(action, c);
130 void put_str_near(uint16_t action, const char __near *s)
135 send(action, c);
149 void bios_printf(uint16_t action, const char *s, ...)
162 if ((action & BIOS_PRINTF_DEBHALT) == BIOS_PRINTF_DEBHALT) {
186 send (action, (nibble<=9)? (nibble+'0') : (nibble-10+hexadd));
190 put_uint(action, arg, format_width, 0);
198 put_luint(action, 0L-(((uint32_t) hibyte << 16) | arg), format_width-1, 1);
200 put_luint(action, ((uint32_t) hibyte << 16) | arg, format_width, 0);
203 put_luint(action, ((uint32_t) hibyte << 16) | arg, format_width, 0);
215 send (action, (nibble<=9)? (nibble+'0') : (nibble-10+hexadd));
221 put_int(action, -arg, format_width - 1, 1);
223 put_int(action, arg, format_width, 0);
226 put_str(action, (char *)arg);
231 put_str(action, hibyte :> (char *)arg);
234 send(action, arg);
242 send(action, c);
247 if (action & BIOS_PRINTF_HALT) {