Skip to content

Instantly share code, notes, and snippets.

View Andrej123456789's full-sized avatar
:electron:
?

Andrej Bartulin Andrej123456789

:electron:
?
View GitHub Profile
!==== COMPILING src/memory/paging/Bitmap.cpp
!==== COMPILING src/memory/paging/PageFrameAllocator.cpp
!==== COMPILING src/memory/paging/PageTableManager.cpp
!==== COMPILING src/memory/paging/PageMapIndex.cpp
!==== COMPILING src/memory/memory.cpp
!==== COMPILING src/util/utils.cpp
!==== COMPILING src/graphics/print.cpp
!==== COMPILING src/kernel/kernel.cpp
!==== LINKING
bin/memory/paging/Bitmap.o bin/memory/paging/PageFrameAllocator.o bin/memory/paging/PageTableManager.o bin/memory/paging/PageMapIndex.o bin/memory/memory.o bin/util/utils.o bin/graphics/print.o bin/kernel/kernel.o
#pragma once
#include "../BasicRenderer.h"
#include <stdint.h>
class Basic
{
public:
void Rectangle(size_t x, size_t y, size_t width, size_t height, uint32_t colour);
void Draw()
{
if (MousePosition.X < 0) MousePosition.X = 0;
if (MousePosition.X > GlobalRenderer->TargetFramebuffer->Width-1) MousePosition.X = GlobalRenderer->TargetFramebuffer->Width-1;
if (MousePosition.Y < 0) MousePosition.Y = 0;
if (MousePosition.Y > GlobalRenderer->TargetFramebuffer->Height-1) MousePosition.Y = GlobalRenderer->TargetFramebuffer->Height-1;
GlobalRenderer->DrawOverlayMouseCursor(cursor, MousePosition, 0xffffffff);
#include "Window.h"
int status = 0;
void Basic::Rectangle(size_t x, size_t y, size_t width, size_t height, uint32_t colour)
{
for (size_t y1 = y; y1 < y + height; y1++)
{
for (size_t x1 = x; x1 < x + width; x1++)
{
mkdir -p /home/vangu/ringOS/gnu-efi/x86_64/bootloader
make -C /home/vangu/ringOS/gnu-efi/x86_64/bootloader -f /home/vangu/ringOS/gnu-efi//bootloader/Makefile SRCDIR=/home/vangu/ringOS/gnu-efi//bootloader ARCH=x86_64
make[1]: Entering directory '/home/vangu/ringOS/gnu-efi/x86_64/bootloader'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/vangu/ringOS/gnu-efi/x86_64/bootloader'
!==== COMPILING src/Bitmap.cpp
g++ -ffreestanding -fshort-wchar -mno-red-zone -fno-exceptions -g -c src/Bitmap.cpp -o lib/Bitmap.o
!==== COMPILING src/Reboot.cpp
g++ -ffreestanding -fshort-wchar -mno-red-zone -fno-exceptions -g -c src/Reboot.cpp -o lib/Reboot.o
!==== COMPILING src/pciDescriptors.cpp
//taskbar
switch (ResoWidth & ResoHeight)
{
case 1920 & 1080:
GlobalRenderer->TaskBar(0xff00ffff, 1000);
GlobalRenderer->Colour = 0x00ff0000;
GlobalRenderer->CursorPosition = {0, 1000};
GlobalRenderer->Print("START");
break;
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
#!/bin/bash
echo "-----------------------------------------------------------------------------"
echo " -------------------- RUNIX INSTALLER --------------------"
echo "-----------------------------------------------------------------------------"
echo "1. Make sure you have free unmounted hard drive with partition of minimum size 1GB and ext4 filesystem"
echo "2. ./install.sh [PARTITON] [KERNEL VERSION]"
echo " "
set default=0
set timeout=30
menuentry "Runix" {
linux /boot/vmlinuz-5.10.0-15-amd64 root=/dev/sdb1 ro
initrd /boot/initrd.img-5.10.0-15-amd64
}
331,627,509,245,063,324,117,539,338,057,632,403,828,111,720,810,578,039,457,193,543,706,038,077,905,600,822,400,273,230,859,732,592,255,402,352,941,225,834,109,258,084,817,415,293,796,131,386,633,526,343,688,905,634,058,556,163,940,605,117,252,571,870,647,856,393,544,045,405,243,957,467,037,674,108,722,970,434,684,158,343,752,431,580,877,533,645,127,487,995,436,859,247,408,032,408,946,561,507,233,250,652,797,655,757,179,671,536,718,689,359,056,112,815,871,601,717,232,657,156,110,004,214,012,420,433,842,573,712,700,175,883,547,796,899,921,283,528,996,665,853,405,579,854,903,657,366,350,133,386,550,401,172,012,152,635,488,038,268,152,152,246,920,995,206,031,564,418,565,480,675,946,497,051,552,288,205,234,899,995,726,450,814,065,536,678,969,532,101,467,622,671,332,026,831,552,205,194,494,461,618,239,275,204,026,529,722,631,502,574,752,048,296,064,750,927,394,165,856,283,531,779,574,482,876,314,596,450,373,991,327,334,177,263,608,852,490,093,506,621,610,144,459,709,412,707,821,313,732,563,831,572,302,019,949,914