Coder Social home page Coder Social logo

gameoflife's Introduction

cgol

creating a baremetal program for conways game of life

goal

  • create a program that runs cgol in 1600x1200 cells, written in x86 assembly
  • 32bit protected mode
  • multicore
  • multithread
  • threadpool
  • cells are not calculated individually, but 8 at a time

status

  • not working
  • comments are mostly in german, change incoming

if you want to run it

  1. compile main.s:
    nasm -f bin -g -O0 -o STARTUP.BIN main.s
  2. compile boot.s
    nasm -f bin -g -O0 -o BOOT.BIN protected.s
  3. put BOOT.BIN & STARTUP.BIN on the bootmedium
    BOOT.BIN from 0 to 512 and STARTUP.BIN from 512 onwards
    you can use the bincopy.py program to do that for you, take a look into skript.sh how to use it
    or use your own bootmedium with a custom bootloader
  4. run a vm with your bootmedium in your favorite x86 capable virtualizer
    e.g qemu with: qemu-system-i386 -vga std -m 1024k -drive if=floppy,index=0,format=raw,file=floppy.img

help

in help/ are files with general information for problem solving

old

in old/ are older working versions for
ax 0x0013 int0x10 320x240
0x0012 int0x10 640x480
boot.s bootloader for 16 bit realmode
protected.s bootloader for 32bit protected mode
main32bitSingle.s Mainfile for 32 bit Singlethread, needs protected.s as bootloader

util

in util/ are some little helper programs in python for debugging and easy manipulation of the .img Files

special thanks to:

license

none use it however you want

gameoflife's People

Contributors

rittervondodling avatar

Watchers

 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.