Lines Matching defs:buffer_head
312 uint16_t buffer_start, buffer_end, buffer_head, buffer_tail, temp_tail;
322 buffer_head = read_word(0x0040, 0x001A);
330 if (buffer_tail == buffer_head)
540 uint16_t buffer_start, buffer_end, buffer_head, buffer_tail;
551 buffer_head = read_word(0x0040, 0x001a);
554 if (buffer_head != buffer_tail) {
555 acode = read_byte(0x0040, buffer_head);
556 scode = read_byte(0x0040, buffer_head+1);
562 buffer_head += 2;
563 if (buffer_head >= buffer_end)
564 buffer_head = buffer_start;
565 write_word(0x0040, 0x001a, buffer_head);