Coder Social home page Coder Social logo

bootloader-game's People

Contributors

sebmaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

luoxz-ai

bootloader-game's Issues

Failed to build on gentoo linux

mkdir -p Kernel/Linux
jwasm -Zne -q -elf -c -Fw"Kernel/Linux/bootloader.asm.err" -Fo"Kernel/Linux/bootloader.obj" "Kernel/bootloader.asm"
Kernel/bootloader.asm : Warning A4262: ELF GNU extensions (8/16-bit relocations) used
g++ -m32 -nostdlib -masm=intel -s -Os -ffreestanding -Wall -Wextra -fno-exceptions -fno-rtti -o Kernel/Linux/floppy.img Kernel/stage1.cpp Kernel/Linux/bootloader.obj -T linker.ld
Kernel/stage1.cpp: In function ‘void PrintChar(char)’:
Kernel/stage1.cpp:19:8: error: expected ‘(’ before ‘{’ token
   19 |  __asm {
      |        ^
      |        (
Kernel/stage1.cpp:20:3: error: ‘mov’ was not declared in this scope
   20 |   mov AH, 0x0A;
      |   ^~~
Kernel/stage1.cpp:21:6: error: expected ‘;’ before ‘AL’
   21 |   mov AL, c;
      |      ^~~
      |      ;
Kernel/stage1.cpp:22:6: error: expected ‘;’ before ‘CX’
   22 |   mov CX, 1;
      |      ^~~
      |      ;
Kernel/stage1.cpp:23:7: error: expected unqualified-id before numeric constant
   23 |   int 0x10;
      |       ^~~~
Kernel/stage1.cpp:18:28: warning: unused parameter ‘c’ [-Wunused-parameter]
   18 | inline void PrintChar(char c) {
      |                       ~~~~~^
Kernel/stage1.cpp: In function ‘char* ReadSector(int, int)’:
Kernel/stage1.cpp:31:8: error: expected ‘(’ before ‘{’ token
   31 |  __asm {
      |        ^
      |        (
Kernel/stage1.cpp:32:3: error: ‘mov’ was not declared in this scope
   32 |   mov SI, LBAPacket;
      |   ^~~
Kernel/stage1.cpp:33:6: error: expected ‘;’ before ‘AH’
   33 |   mov AH, 0x42;
      |      ^~~
      |      ;
Kernel/stage1.cpp:34:6: error: expected ‘;’ before ‘DL’
   34 |   mov DL, 0x80;
      |      ^~~
      |      ;
Kernel/stage1.cpp:35:7: error: expected unqualified-id before numeric constant
   35 |   int 0x13;
      |       ^~~~
make: *** [Makefile:10: bios] Error 1

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.