diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-14 18:06:43 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-14 18:06:43 +0100 |
commit | 210e9265c0827c3b6e8ad64a99c433196aeffc0e (patch) | |
tree | 73a8cd0384fce5c99af690e3ccc7439207969d77 | |
parent | 036b6ba1caae40b439670c031a162a6fde7461ec (diff) | |
download | SystDigit-Projet-210e9265c0827c3b6e8ad64a99c433196aeffc0e.tar.gz SystDigit-Projet-210e9265c0827c3b6e8ad64a99c433196aeffc0e.zip |
Nothing, really.
-rw-r--r-- | cpu/os.asm | 13 | ||||
-rw-r--r-- | monitor/disp.c | 2 |
2 files changed, 6 insertions, 9 deletions
@@ -374,15 +374,12 @@ check_input: jz A _ci_add_b_to_string move B Z _ci_add_b_to_string: - push A - li A cmdline - li D cmdline_used - lw C 0(D) - add A A C - sb B 0(A) + li D cmdline + lw C cmdline_used + add D D C + sb B 0(D) incri C 1 - sw C 0(D) - pop A + sw C cmdline_used jz A check_input _check_input_ret: jr RA diff --git a/monitor/disp.c b/monitor/disp.c index 84dd941..4922fce 100644 --- a/monitor/disp.c +++ b/monitor/disp.c @@ -126,7 +126,7 @@ void disp_display(t_mon *mon) { wprintw(wpstatus2, " %s ", (mon->d7[i] != -1 && mon->outputs[mon->d7[i]].v_bin[6] == '1' ? "---" : " ")); if (mon->ser_in_in != -1) { - wprintw(wpstatus2, "\nSerial buffer:\n%s\n", mon->ser_buf); + wprintw(wpstatus2, "\n\nSerial buffer:\n%s", mon->ser_buf); } if (mon->ser_out != -1) { |