update mode
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
boot/Makefile
Normal file → Executable file
0
boot/Makefile
Normal file → Executable file
0
boot/bootsect.asm
Normal file → Executable file
0
boot/bootsect.asm
Normal file → Executable file
0
boot/setup.asm
Normal file → Executable file
0
boot/setup.asm
Normal file → Executable file
0
c_os/.clang-tidy
Normal file → Executable file
0
c_os/.clang-tidy
Normal file → Executable file
@ -175,7 +175,7 @@ void LFBgraphics::drawSprite(unsigned int width, unsigned int height, unsigned i
|
||||
switch (bytes_pp) {
|
||||
case 2:
|
||||
// TODO: Never tested, probably doesn't work
|
||||
this->drawPixel(x, y, RGB_24(*ptr & 0b11111000, (*ptr & 0b111) | (*(ptr + 1) & 0b11100000),
|
||||
this->drawPixel(x, y, RGB_24(*ptr & 0b11111000, ((*ptr & 0b111) << 3) | (*(ptr + 1) >> 5),
|
||||
*(ptr + 1) & 0b11111)); // RGB 565
|
||||
break;
|
||||
case 3:
|
||||
|
0
c_os/kernel/threads/Dispatch.cc
Normal file → Executable file
0
c_os/kernel/threads/Dispatch.cc
Normal file → Executable file
0
c_os/kernel/threads/Dispatch.h
Normal file → Executable file
0
c_os/kernel/threads/Dispatch.h
Normal file → Executable file
0
c_os/kernel/threads/IdleThread.h
Normal file → Executable file
0
c_os/kernel/threads/IdleThread.h
Normal file → Executable file
0
c_os/kernel/threads/Scheduler.cc
Normal file → Executable file
0
c_os/kernel/threads/Scheduler.cc
Normal file → Executable file
0
c_os/kernel/threads/Scheduler.h
Normal file → Executable file
0
c_os/kernel/threads/Scheduler.h
Normal file → Executable file
0
c_os/kernel/threads/Thread.asm
Executable file → Normal file
0
c_os/kernel/threads/Thread.asm
Executable file → Normal file
0
c_os/kernel/threads/Thread.cc
Executable file → Normal file
0
c_os/kernel/threads/Thread.cc
Executable file → Normal file
0
c_os/kernel/threads/Thread.h
Normal file → Executable file
0
c_os/kernel/threads/Thread.h
Normal file → Executable file
0
c_os/kernel/threads/Thread.inc
Executable file → Normal file
0
c_os/kernel/threads/Thread.inc
Executable file → Normal file
0
c_os/kernel/threads/ThreadState.h
Executable file → Normal file
0
c_os/kernel/threads/ThreadState.h
Executable file → Normal file
0
c_os/lib/Queue.h
Normal file → Executable file
0
c_os/lib/Queue.h
Normal file → Executable file
0
c_os/startup.asm
Normal file → Executable file
0
c_os/startup.asm
Normal file → Executable file
0
c_os/user/CoopThreadDemo.cc
Normal file → Executable file
0
c_os/user/CoopThreadDemo.cc
Normal file → Executable file
0
c_os/user/CoopThreadDemo.h
Normal file → Executable file
0
c_os/user/CoopThreadDemo.h
Normal file → Executable file
0
c_os/user/HelloWorldThread.cc
Normal file → Executable file
0
c_os/user/HelloWorldThread.cc
Normal file → Executable file
0
c_os/user/HelloWorldThread.h
Normal file → Executable file
0
c_os/user/HelloWorldThread.h
Normal file → Executable file
0
c_os/user/LoopThread.cc
Normal file → Executable file
0
c_os/user/LoopThread.cc
Normal file → Executable file
0
c_os/user/LoopThread.h
Normal file → Executable file
0
c_os/user/LoopThread.h
Normal file → Executable file
Reference in New Issue
Block a user