Commit Graph

1870 Commits

Author SHA1 Message Date
Philipp Oppermann
f9325f5811 Some small improvements to sync post and code 2015-10-27 20:45:41 +01:00
Philipp Oppermann
54b47aaac1 Merge pull request #14 from phil-opp/multiboot_header_section_name
Rename `multiboot` section to `multiboot_header`
2015-10-27 18:47:03 +01:00
Philipp Oppermann
592bae3f87 Rename multiboot section to multiboot_header
See phil-opp/blog_os#14
2015-10-27 18:45:37 +01:00
Philipp Oppermann
7b0428b07a Rename multiboot section to multiboot_header 2015-10-27 18:42:28 +01:00
Philipp Oppermann
8640091bc6 Merge pull request #12 from phil-opp/a_minimal_kernel_fixes
Makefile fixes
2015-10-26 23:02:34 +01:00
Philipp Oppermann
5e5374cd7d Update grub.cfg to use renamed kernel file
Renaming occurred in 37b576e to be in line with the blog posts.
2015-10-26 16:54:45 +01:00
Jacob Krall
37b576eb3c Explicitly rename copied kernel to kernel.bin
Otherwise your `grub.cfg` from earlier in the article will be out of date (we're producing `kernel-x86_64.bin`, but grub expects `kernel.bin`).
2015-10-26 15:45:46 +01:00
Jacob Krall
9ecaf0fe0c make iso depends on grub.cfg
This way, if you fix a typo in grub.cfg, you don't have to `make clean` to get `make iso` to pick it up.
2015-10-26 15:45:19 +01:00
Philipp Oppermann
ba938a2aeb Merge pull request #8 from InPermutation/patch-1
“A minimal x86 kernel” fixes
2015-10-26 11:12:49 +01:00
Jacob Krall
3e59075d53 Explicitly rename copied kernel to kernel.bin
Otherwise your `grub.cfg` from earlier in the article will be out of date (we're producing `kernel-x86_64.bin`, but grub expects `kernel.bin`).
2015-10-26 00:54:30 -04:00
Jacob Krall
0a165becfe make iso depends on grub.cfg
This way, if you fix a typo in grub.cfg, you don't have to `make clean` to get `make iso` to pick it up.
2015-10-26 00:52:12 -04:00
Jacob Krall
93f042da4c typo 2015-10-25 23:51:55 -04:00
Philipp Oppermann
1b6d39f998 Update contact page 2015-10-25 16:56:56 +01:00
Philipp Oppermann
daa2bcc1fe Merge pull request phil-opp/phil-opp.github.io#6 from phil-opp/printing_to_screen_repr_c
Add repr(C) attribute to ScreenChar
2015-10-25 15:55:13 +01:00
Philipp Oppermann
1e90a1e78d Merge pull request #8 from phil-opp/printing_to_screen_repr_c
Add #[repr(C)] to ScreenChar
2015-10-25 15:53:45 +01:00
Philipp Oppermann
07fdd581d8 Add repr(C) attribute to ScreenChar
see phil-opp/blog_os#8
2015-10-25 15:52:22 +01:00
Philipp Oppermann
34dd42a6fc Add #[repr(C)] to ScreenChar 2015-10-25 15:38:08 +01:00
Philipp Oppermann
d017999722 Add a RSS link 2015-10-25 15:05:04 +01:00
Philipp Oppermann
8aaa0105c3 Include subtitle in RSS feed 2015-10-25 15:04:44 +01:00
Philipp Oppermann
d8746e116d Remove redirect for /contact 2015-10-25 14:30:08 +01:00
Philipp Oppermann
a2cebb7fcb Don't break subtitle partially 2015-10-25 14:22:16 +01:00
Philipp Oppermann
f48ebb3961 Add a subtitle: Writing an OS in Rust 2015-10-25 14:07:40 +01:00
Philipp Oppermann
76ea95acf5 Fix test_long_mode (closes #4) 2015-10-25 01:55:31 +02:00
Philipp Oppermann
68c0ab0d59 Merge pull request #7 from phil-opp/fix_long_mode_test
Fix long mode test
2015-10-25 01:51:43 +02:00
Philipp Oppermann
f670e330f5 Fix long mode test (fixes #6) 2015-10-25 01:49:42 +02:00
Philipp Oppermann
a39a611629 Wording: replace check with test 2015-10-25 01:48:57 +02:00
Philipp Oppermann
ca9c3fdcf4 Don't crawl the contact page 2015-10-25 01:36:22 +02:00
Philipp Oppermann
145c7a2285 Include cross compiling posts in archive + redesign 2015-10-24 21:12:04 +02:00
Philipp Oppermann
955f30a2a4 Merge pull request phil-opp/phil-opp.github.io#5 from phil-opp/cross-compile-libcore
Add page about libcore for cross compiling
2015-10-24 21:02:32 +02:00
Philipp Oppermann
edfe60d416 Add page about libcore for cross compiling 2015-10-24 17:21:54 +02:00
Philipp Oppermann
76372f82f4 Use target parameter when invoking cargo build/rustc
See phil-opp/blogOS#5.
2015-10-24 16:36:12 +02:00
Philipp Oppermann
9cd9ec25db Merge pull request #5 from phil-opp/rust-target
Specify rust target
2015-10-24 16:25:50 +02:00
Philipp Oppermann
3d94304bbb Specify rust target 2015-10-24 16:20:46 +02:00
Philipp Oppermann
a57d769687 Use non-breaking hyphens and emphasize not 2015-10-24 15:59:47 +02:00
Philipp Oppermann
01798b717f Some syntactical and whitespace fixes 2015-10-24 15:55:30 +02:00
Philipp Oppermann
710fa81c27 Add and link article about cross compiling binutils 2015-10-24 15:54:59 +02:00
Philipp Oppermann
2f64af811e Switch to none permalinks and setup redirects 2015-10-24 14:53:48 +02:00
Philipp Oppermann
9497fc853e Update contact page 2015-10-23 18:04:31 +02:00
Philipp Oppermann
c223ae604a Remove ads 2015-10-23 17:51:53 +02:00
Philipp Oppermann
cad0065e74 Fix wording 2015-10-23 13:03:58 +02:00
Philipp Oppermann
29fa352663 Merge pull request phil-opp/phil-opp.github.io#3 from phil-opp/printing_wip
Finish and publish post about printing to screen
2015-10-23 12:48:18 +02:00
Philipp Oppermann
95028c0f5d Merge pull request #3 from phil-opp/vga_buffer
Add a VGA buffer module
2015-10-23 12:47:44 +02:00
Philipp Oppermann
4efb3c1eae Publish poist about printing to screen 2015-10-23 01:47:26 +02:00
Philipp Oppermann
5b1f2361f2 Use println! to print the `Hello World! 2015-10-23 01:45:10 +02:00
Philipp Oppermann
4d29482952 Add custom print and println macros 2015-10-23 01:45:10 +02:00
Philipp Oppermann
e4a8c4c9fa Silence dead code warnings for unused colors 2015-10-23 01:45:10 +02:00
Philipp Oppermann
c547b128e5 Implement fmt::Write trait for Writer 2015-10-23 01:45:10 +02:00
Philipp Oppermann
4668acb09e Add a public static writer
Since `unsafe const` aren't allowed yet, we temorary add a custom version of Unique to make `Unique::new` const (instead of unsafe).
2015-10-23 01:45:10 +02:00
Philipp Oppermann
ab464b107d Add a basic writer type to print single bytes
It prints always to the last line and shifts lines up on newline or line wrap. To easily shift lines up, we make the ColorCode and ScreenChar types Copy.
2015-10-23 01:45:10 +02:00
Philipp Oppermann
49fd8926a5 Add a VGA buffer module skeleton
It contains basic types for colors, screen characters, and the buffer itself.
2015-10-23 01:45:10 +02:00