Giter Site home page Giter Site logo

reflect-os's Introduction

About me

  • Low level software engineer
  • Android app developer
  • Win32 app developer
  • Reverse engineer


Languages ranked by experience

  • Python
  • C
  • C++
  • Kotlin
  • Assembly
  • Java

Best projects


Statistics


Operating systems

Windows Android Debian Arch Gentoo


Main computer specs

  • CPU: Ryzen 5 5500
  • RAM: 32 GB DDR4 @ 3600 MT/s (oc) 22-24-24-46
  • GPU: PowerColor Radeon RX 6600 8 GB
  • SSD: 512 + 256 GB M.2 NVMe
  • HDD: 2 TB 3.5" 7200 RPM
  • MB: ASRock A520M-HVS

Other devices

  • HP Laptop 15-da0xxx
  • Samsung Galaxy A54 5G
  • Redmi K20 pro/Mi 9T pro (raphael)
  • Redmi 8 (olive)
  • Samsung galaxy j3 2016
  • Samsung tab A 8.0 2019 (sm-t290)

Contacts

  • Discord: dtxc
  • Telegram: dtxc0
  • Instagram: nickoncrack199

reflect-os's People

Contributors

dtxc avatar xyrenthecoder avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

xyrenthecoder

reflect-os's Issues

ReflectOS image make build error

System Info: Debian 11 Bullseye (armv7l)

Exception Info:

sh: 1: ../initrd_generator: Exec format error
mkdir -p ../build/boot/grub ../build/obj
cc -I ./include -g -mbe32 -ffreestanding -nostdlib -fno-builtin -fno-stack-protector -no-pie -fno-pic -Wall -Wextra -O2 -c std/math.c -o ../build/obj/math.o
std/math.c: In function ‘pow’:
std/math.c:25:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘u32’ {aka ‘unsigned int’} [-Wsign-compare]
     for (int i = 1; i < b; i++) {
                       ^
nasm boot/boot.asm -f elf -o ../build/obj/boot.o
nasm boot/dt.asm -f elf -o ../build/obj/dt.o
nasm interrupt/interrupt.asm -f elf -o ../build/obj/interrupt.o
interrupt/interrupt.asm:60: warning: signed byte value exceeds bounds [-w+number-overflow]
interrupt/interrupt.asm:6: ... from macro `ISR_NOERR' defined here [-w+number-overflow]
objcopy -O elf32-i386 -B i386 -I binary fonts/terminus.psf ../build/obj/terminus.o
objcopy: architecture i386 unknown
make: *** [Makefile:64: fonts/terminus.o] Error 1

Error occurs when I run make build or running build.py

Probably something related to font

Make command returns errors when trying to compile backspace support in OS

Logs:

nasm boot/mbr.asm -f bin -o boot/mbr.bin
nasm boot/kernel_entry.asm -f elf -o boot/kernel_entry.o
gcc -I ./kernel/include -g -m32 -ffreestanding -nostdlib -fno-builtin -fno-stack-protector -no-pie -fno-pic -Wall -c kernel/drivers/keyboard.c -o kernel/drivers/keyboard.o
kernel/drivers/keyboard.c:76:13: error: static declaration of ‘backspace’ follows non-static declaration
   76 | static bool backspace(char s[]) {
      |             ^~~~~~~~~
In file included from kernel/drivers/keyboard.c:11:
./kernel/include/string.h:17:6: note: previous declaration of ‘backspace’ with type ‘bool(char *)’ {aka ‘char(char *)’}
   17 | bool backspace(char *s);
      |      ^~~~~~~~~
kernel/drivers/keyboard.c: In function ‘keyboard_callback’:
kernel/drivers/keyboard.c:90:10: warning: variable ‘release’ set but not used [-Wunused-but-set-variable]
   90 |     char release;
      |          ^~~~~~~
make: *** [Makefile:28: kernel/drivers/keyboard.o] Error 1

- Return with exit code 2 -

Error traces back to backspace support, but warning at line 90 can be ignored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.