cls_func.c
来自「阿基米德操作系统的源代码」· C语言 代码 · 共 33 行
C
33 行
//////////////////////////////////////////////////////////////////////////
#include "general.h"
#include "s_isdirreg.h"
#include "the_syscalls.h"
#include "shell_head.h"
//////////////////////////////////////////////////////////////////////////
int CLS_Func(void)
{
int i,temp_addr = 0;
//////////////////////////////////////////////////
for (i = 0; i < 250; i++)
path0_buf[i] = 0x20;
for (i = 0; i < 8; i++)
{
the_screen_call14((long)path0_buf,temp_addr,250);
temp_addr = temp_addr + 250;
}
the_screen_call07(0);
the_screen_call09(0);
the_screen_call17(0);
//////////////////////////////////////////////////
return 0;
}
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?