1

update mode

This commit is contained in:
2022-06-23 12:58:34 +02:00
parent 0869768ea0
commit e6e2674164
24 changed files with 1 additions and 1 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
boot/Makefile Normal file → Executable file
View File

0
boot/bootsect.asm Normal file → Executable file
View File

0
boot/setup.asm Normal file → Executable file
View File

0
c_os/.clang-tidy Normal file → Executable file
View File

View 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
View File

0
c_os/kernel/threads/Dispatch.h Normal file → Executable file
View File

0
c_os/kernel/threads/IdleThread.h Normal file → Executable file
View File

0
c_os/kernel/threads/Scheduler.cc Normal file → Executable file
View File

0
c_os/kernel/threads/Scheduler.h Normal file → Executable file
View File

0
c_os/kernel/threads/Thread.asm Executable file → Normal file
View File

0
c_os/kernel/threads/Thread.cc Executable file → Normal file
View File

0
c_os/kernel/threads/Thread.h Normal file → Executable file
View File

0
c_os/kernel/threads/Thread.inc Executable file → Normal file
View File

0
c_os/kernel/threads/ThreadState.h Executable file → Normal file
View File

0
c_os/lib/Queue.h Normal file → Executable file
View File

0
c_os/startup.asm Normal file → Executable file
View File

0
c_os/user/CoopThreadDemo.cc Normal file → Executable file
View File

0
c_os/user/CoopThreadDemo.h Normal file → Executable file
View File

0
c_os/user/HelloWorldThread.cc Normal file → Executable file
View File

0
c_os/user/HelloWorldThread.h Normal file → Executable file
View File

0
c_os/user/LoopThread.cc Normal file → Executable file
View File

0
c_os/user/LoopThread.h Normal file → Executable file
View File