9 lines
183 B
C
9 lines
183 B
C
|
#include <syscall.h>
|
||
|
|
||
|
void syscall_locate(cpu_status_t* status){
|
||
|
int x = status->r[4];
|
||
|
int y = status->r[5];
|
||
|
|
||
|
status->cursor_x = (x-1)*6;
|
||
|
status->cursor_y = (y-1)*6;
|
||
|
}
|