• Stars
    star
    725
  • Rank 62,126 (Top 2 %)
  • Language
    C
  • Created over 12 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The old Linux kernel source ver 0.11 which has been tested under modern Linux, Mac OSX and Windows.

Linux-0.11

The old Linux kernel source ver 0.11 which has been tested under modern Linux, Mac OSX and Windows.

1. Build on Linux

1.1. Linux Setup

  • a linux distribution: debian , ubuntu and mint are recommended
  • some tools: gcc gdb qemu
  • a linux-0.11 hardware image file: hdc-0.11.img, please download it from http://www.oldlinux.org, or http://mirror.lzu.edu.cn/os/oldlinux.org/, ant put it in the root directory.
  • Now, This version already support the Ubuntu 16.04, enjoy it.

1.2. hack linux-0.11

$ make help		// get help
$ make  		// compile
$ make start		// boot it on qemu
$ make debug		// debug it via qemu & gdb, you'd start gdb to connect it.
$ gdb tools/system
(gdb) target remote :1234
(gdb) b main
(gdb) c

2. Build on Mac OS X

2.1. Mac OS X Setup

  • install cross compiler gcc and binutils
  • install qemu
  • install gdb. you need download the gdb source and compile it to use gdb because port doesn't provide i386-elf-gdb, or you can use the pre-compiled gdb in the tools directory.
  • a linux-0.11 hardware image file: hdc-0.11.img
$ sudo port install qemu
$ sudo port install i386-elf-binutils i386-elf-gcc

optional

$ wget ftp://ftp.gnu.org/gnu/gdb/gdb-7.4.tar.bz2
$ tar -xzvf gdb-7.4.tar.bz2
$ cd gdb-7.4
$ ./configure --target=i386-elf
$ make

2.2. hack linux-0.11

same as section 1.2

3. Build on Windows

todo...

More Repositories

1

kaola

A Restful API Server For Database
Ruby
74
star
2

libra-client

A python client for Libra network.
Python
30
star
3

NOR-CPU

An emulator for a single-instruction CPU, the instruction is NOR.
Ruby
15
star
4

pea-search

Locate files and folders by name instantly, which support Windows , Mac OSX and Linux. If you used 'everything for windows', then you know what is the instant file searcher.
C
15
star
5

canoser-python

A python implementation of the LCS(Libra Canonical Serialization) for the Libra network.
Python
14
star
6

paraDemo

experiments for loop parallelization codes
Java
3
star
7

littlec

A java implementation of the little c language interpreter in the book "C: The Complete Beference"
Java
3
star
8

medi

Autocompletion and static analysis library for Move(Libra) inspired by the Jedi
Python
2
star
9

libra_client_ruby

A ruby client for Libra network
Ruby
2
star
10

libra-client-grpc

Libra client using Grpc protocol
Python
1
star
11

YuanProcessor

A simple RISC system with supported emulator, assembler, compiler etc. for educational purpose
Ruby
1
star
12

greader-cleanview

a clean view for google reader
JavaScript
1
star
13

smally

a collection of small programming source files , shell scripts, and config files for linux and windows
C++
1
star
14

ParaDemo2

Eclipse pulgin for parallel code visulization
Java
1
star
15

straight-line-interpreter

an implementation of the interpreter in the first chapter of the book "Modern Compiler Implementation in java"
Java
1
star
16

minijava

an implementation of the mini java language of the book "Modern Compiler Implementation in java"
1
star
17

c-closure-example

example code for explain closure in c
C
1
star