⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.old-imgmap.i486

📁 C++ 编写的EROS RTOS
💻 I486
字号:
## Copyright (C) 1998, 1999, Jonathan S. Shapiro.## This file is part of the EROS Operating System.## This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License# as published by the Free Software Foundation; either version 2,# or (at your option) any later version.## This program 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 General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.### tick tock test case.  The tick domain asks the kernel for the# current tick, passing this to tock.  Both then enter a loop of the# form "sleep 4 seconds, write your name to the log", but off from one# another by 2 seconds.  The effect *should* be to see##  tick#  tock#  tick#  tock#  ...## Appear on the console logarch i486domain tickprogram segment tick = ticktick.seg add page 0x20000	# for stacktick.dom pc = tick.pctick.dom sp = 0x21000tick.dom space = tick.segtick.dom priority = sched(8)   # normaltick.dom key reg 9 = misc(logappend)tick.dom key reg 10 = misc(sleep)tick.dom key reg 11 = misc(TimeOfDay)# tick is the IPL domainipl tick.dom## Now set up the tock domain:#domain tockprogram segment tock = tocktock.seg add page 0x20000	# for stacktock.seg add page 0x10000	# for initial incoming datatock.dom pc = tock.pctock.dom sp = 0x21000tock.dom space = tock.segtock.dom priority = sched(8)	# normaltock.dom key reg 9 = misc(logappend)tock.dom key reg 10 = misc(sleep)tock.dom key reg 11 = misc(TimeOfDay)tick.dom key reg 8 = start tock.dom 0run tick.domrun tock.dom

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -