550W Document
550W, a high-end OS
screen.c 文件参考
#include <asm/io.h>
#include <drivers/screen/screen.h>
#include <lib/stdio.h>
#include <lib/string.h>
#include <os/irq.h>
#include <os/pcb.h>
#include <os/smp.h>
screen.c 的引用(Include)关系图:

宏定义

#define SCREEN_WIDTH   150
 
#define SCREEN_HEIGHT   150
 

函数

void vt100_move_cursor (int x, int y)
 
void vt100_clear ()
 
void vt100_hidden_cursor ()
 
void screen_write_ch (char ch)
 
void d_screen_init (void)
 
long sys_screen_clear (void)
 
long sys_screen_move_cursor (int x, int y)
 
long sys_screen_write_len (char *buff, int len)
 
long sys_screen_write (char *buff)
 
long d_screen_reflush (void)
 
void d_screen_load_curpcb_cursor ()
 
void d_screen_kernel_move_cursor (int x, int y)
 
void d_screen_pcb_move_cursor (int x, int y)
 

变量

int screen_cursor_x
 
int screen_cursor_y
 
int start_line = 31
 
char new_screen [SCREEN_HEIGHT][SCREEN_WIDTH] = {0}
 
char old_screen [SCREEN_HEIGHT][SCREEN_WIDTH] = {0}
 

宏定义说明

◆ SCREEN_HEIGHT

#define SCREEN_HEIGHT   150

◆ SCREEN_WIDTH

#define SCREEN_WIDTH   150

函数说明

◆ d_screen_init()

void d_screen_init ( void  )

◆ d_screen_kernel_move_cursor()

void d_screen_kernel_move_cursor ( int  x,
int  y 
)

◆ d_screen_load_curpcb_cursor()

void d_screen_load_curpcb_cursor ( void  )

◆ d_screen_pcb_move_cursor()

void d_screen_pcb_move_cursor ( int  x,
int  y 
)

◆ d_screen_reflush()

long d_screen_reflush ( void  )

◆ screen_write_ch()

void screen_write_ch ( char  ch)

◆ sys_screen_clear()

long sys_screen_clear ( void  )

◆ sys_screen_move_cursor()

long sys_screen_move_cursor ( int  x,
int  y 
)

◆ sys_screen_write()

long sys_screen_write ( char *  buff)

◆ sys_screen_write_len()

long sys_screen_write_len ( char *  buff,
int  len 
)

◆ vt100_clear()

void vt100_clear ( )

◆ vt100_hidden_cursor()

void vt100_hidden_cursor ( )

◆ vt100_move_cursor()

void vt100_move_cursor ( int  x,
int  y 
)

变量说明

◆ new_screen

char new_screen[SCREEN_HEIGHT][SCREEN_WIDTH] = {0}

◆ old_screen

char old_screen[SCREEN_HEIGHT][SCREEN_WIDTH] = {0}

◆ screen_cursor_x

int screen_cursor_x

◆ screen_cursor_y

int screen_cursor_y

◆ start_line

int start_line = 31