📄 cons_front.map
字号:
/* * Copyright (C) 1998, 1999, Jonathan S. Shapiro. * * This file is part of the EROS Operating System runtime library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA. *//* * cons_in */sharedpage = new page;cons_in = new process;cons_in.seg = program segment "/eros/domain/cons_in";cons_in.pc = symbol "/eros/domain/cons_in" _start;cons_in.seg = cons_in.seg with page at 0x40000; /* for stack */cons_in.seg = cons_in.seg with page at 0x3F000; /* for stack */cons_in.seg = cons_in.seg with subseg sharedpage at 0x60000; /* shared page */cons_in pc = cons_in.pc;cons_in space = cons_in.seg;cons_in schedule = sched(8); /* normal */hide cons_in.pc;hide cons_in.seg;cons_in key reg 8 = misc Keyboard;cons_in key reg 9 = misc Console; /* debug */cons_in key reg 10 = misc Sleep;cons_in key reg 11 = misc KeyBits; /* debug *//* * cons_front */cons_front = new process;cons_front.seg = program segment "/eros/domain/cons_front";cons_front.pc = symbol "/eros/domain/cons_front" _start;cons_front.seg = cons_front.seg with page at 0x40000; /* for stack */cons_front.seg = cons_front.seg with subseg sharedpage at 0x60000; /* shared page */hide sharedpage;cons_front pc = cons_front.pc;cons_front space = cons_front.seg;cons_front schedule = sched(8);hide cons_front.pc;hide cons_front.seg;cons_front key reg 4 = misc discrim;cons_front key reg 5 = start cons_in 1;cons_front key reg 9 = misc Console;cons_front key reg 10 = misc Sleep;cons_front key reg 11 = misc Returner;cons_in key reg 7 = start cons_front 1;run cons_in;run cons_front;hide cons_in;cons_front = start cons_front 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -