系統:ubuntu22.10
----------kernel.cpp----------void printf(char* str) {
unsigned short* VideoMemory = (unsigned short*)0xb8000;
for (int i = 0; str[i]; i++) {
VideoMemory[i] = (VideoMemory[i] &...
Type: Posts; User: 1z2j3p4h; Keyword(s):
系統:ubuntu22.10
----------kernel.cpp----------void printf(char* str) {
unsigned short* VideoMemory = (unsigned short*)0xb8000;
for (int i = 0; str[i]; i++) {
VideoMemory[i] = (VideoMemory[i] &...
For some reasons, the code display may be incorrect (such as incorrect indentation, etc.), please understand.
These are my codes.
----------kernel.cpp----------
void printf(char* str) {
unsigned short* VideoMemory = (unsigned short*)0xb8000;
for (int i = 0; str[i]; i++) {
...
At that time, I was using vscode to write a program, and I needed to use make to make a bin file. It was normal when I made the.o file before, but this time I reported an error.
I guess Ubuntu is...
System: Ubuntu 22.10
What need to installed to solve this problem?