Git Product home page Git Product logo

elkernelsnakegame's Introduction

elKernel - SnakeGame

用屑語言做一個辣鷄内核跑一個貪吃蛇 (草

也算是作爲一個課題 逐步學習如何製作一個OS

Snake


🤔 構建先決條件

  • 需要WSL環境
  • gas >= v2.31.1 x86_64-linux-gnu (WSL)
  • gld >= v2.31.1 x86_64-linux-gnu (WSL)
  • objcopy >= v2.31.1 x86_64-linux-gnu (WSL)
  • 易語言 >= v5.5
  • Visual Studio 2017 或更高版本

🐴 構建項目及環境

Core Main 部分

  1. 進入 source/krnln.core.main
  2. 使用易語言IDE打開 krnln.core.main.e
  3. 使用靜態編譯方式 編譯易代碼
  4. 編譯將會失敗並殘留一個Win32 COFF文件 請勿刪除該文件

Bootable Floppy 部分

  1. 使用 Visual Studio 打開解決方案文件
  2. krnln.floppy.mk 設爲啓動項目
  3. 直接構建

😩 調試環境

這裏只例舉 QEMU 版本

  @echo off
  set PATH=%PATH%;YOUR_QEMU_INSTALLATION
  qemu-system-i386 -gdb tcp::23333 -fda ./elkernel.img

執行批處理文件 啓動GDB 附加即可
有關GDB調試方面不再贅述

elkernelsnakegame's People

Contributors

thesnowfield avatar

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.