Lines Matching defs:output

44    includes an interrupt line, input and output fifos, and status 
47 Independent configuration of the devices input and output streams is
87 output-file = <file-name> (optional)
89 File to send all output to (instead of the simulation console).
99 output-buffering = "unbuffered" (optional)
102 devices output stream (all data is immediately written). In the future,
113 output-delay = <integer-delay> (optional)
116 the empty output fifo that the fifo finishes draining. Any
117 characters written to the output fifo before it has drained will
131 and both the input and output streams will use the simulation console
144 takes its input from the file <</etc/passwd>> while its output is
151 port's input (<</etc/passwd>>) to its output (the console).
163 This model does not attempt to model the '550's input and output fifos.
165 while the output fifo is effectivly infinite. Consequently, unlike the
166 '550, this device will not discard output characters once a stream of 16
167 have been written to the data output register.
169 The input and output can only be taken from a file (or the current
198 com_port output;
211 if (com->output.file != NULL)
212 fclose(com->output.file);
218 com->output.delay = (device_find_property(me, "output-delay") != NULL
219 ? device_find_integer_property(me, "output-delay")
237 if (device_find_property(me, "output-file") != NULL) {
238 const char *output_file = device_find_string_property(me, "output-file");
239 com->output.file = fopen(output_file, "w");
240 if (com->output.file == NULL)
241 device_error(me, "Problem opening output file %s\n", output_file);
242 if (device_find_property(me, "output-buffering") != NULL) {
243 const char *buffering = device_find_string_property(me, "output-buffering");
245 setbuf(com->output.file, NULL);
252 com->output.ready = 1;
263 com->output.interrupting = (com->output.ready && (com->reg[1] & 0x2));
265 || com->output.interrupting
344 else if (com->output.interrupting)
358 | (com->output.ready ? 0x60 : 0)
401 com->output.ready = 1;
423 if (com->output.file == NULL) {
427 fwrite(&val, 1, 1, com->output.file);
430 if (com->output.ready && com->output.delay > 0) {
431 com->output.ready = 0;
432 device_event_queue_schedule(me, com->output.delay, make_write_ready, me);
492 if (com->output.file == NULL)
495 return fwrite(buf, 1, len, com->output.file);