From 36da3e87a93bba11785e8b45e1a37454d0341685 Mon Sep 17 00:00:00 2001 From: Yourtion Date: Wed, 11 May 2016 13:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AA=97=E5=8F=A3=E5=88=87=E6=8D=A2=EF=BC=881?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 24_day/bootpack.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/24_day/bootpack.c b/24_day/bootpack.c index c0c9240..1642bd1 100644 --- a/24_day/bootpack.c +++ b/24_day/bootpack.c @@ -233,6 +233,9 @@ void HariMain(void) task_cons->tss.eip = (int) asm_end_app; io_sti(); } + if (i == 256 + 0x57 && shtctl->top > 2) { /* F11 */ + sheet_updown(shtctl->sheets[1], shtctl->top - 1); + } if (i == 256 + 0xfa) { /*键盘成功接收到数据*/ keycmd_wait = -1; }