Skip to content

Commit

Permalink
license rdme
Browse files Browse the repository at this point in the history
  • Loading branch information
owenson committed Oct 8, 2014
1 parent fd01eaa commit 48c6240
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -12,3 +12,10 @@ To build, you need to:

Your system should now boot with the new kernel.

# Troubleshooting

You can use qemu to boot the image by running:

qemu-system-x86 disk

and you can also connect the VM to gdb for actual debugging. There's an included gdb script to get you started.
17 changes: 16 additions & 1 deletion bsect.asm
@@ -1,4 +1,19 @@
; minimalist Linux bootloader
; Tiny Linux Bootloader
; (c) 2014- Dr Gareth Owen (www.ghowen.me). All rights reserved.

; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.

%define DEBUG
%include "config.inc"

Expand Down
15 changes: 15 additions & 0 deletions build.sh
@@ -1,4 +1,19 @@
#!/bin/bash -e
# Tiny Linux Bootloader
# (c) 2014- Dr Gareth Owen (www.ghowen.me). All rights reserved.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

INPUT="bsect.asm"
OUTPUT="disk"
Expand Down
1 change: 1 addition & 0 deletions gdbscr
@@ -1,3 +1,4 @@

tar rem :1234
set disassembly-flavor intel
set arch i8086
Expand Down

0 comments on commit 48c6240

Please sign in to comment.