Commit Graph

2881 Commits

Author SHA1 Message Date
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
Philipp Oppermann
44f512a90c Add section about other Rust OS projects 2015-10-23 01:44:05 +02:00
Philipp Oppermann
9b61ace59d Rework What's next? 2015-10-23 01:43:47 +02:00
Philipp Oppermann
47ffda304d Use println to print hello world 2015-10-23 01:43:05 +02:00
Philipp Oppermann
cc73673305 Improve macro subsection 2015-10-23 01:42:40 +02:00
Philipp Oppermann
6602332094 Update introduction 2015-10-23 01:42:03 +02:00
Philipp Oppermann
8d90933c01 Update introduction 2015-10-22 16:06:30 +02:00
Philipp Oppermann
fd889d8613 Add an introduction for the VGA buffer post 2015-10-14 10:46:55 +02:00
Philipp Oppermann
4fd71fc295 Increase updated highlight to 2s 2015-10-07 16:09:22 +02:00
Philipp Oppermann
ec053b2586 Revise and extend post about printing to screen 2015-10-06 18:15:10 +02:00
Philipp Oppermann
61908ce94f Revise rust setup post 2015-10-06 17:07:08 +02:00
Philipp Oppermann
282206e3ff Update repository URL (it was renamed to blog_os) 2015-10-06 16:18:44 +02:00
Philipp Oppermann
99a3979c68 Point repository directly to subdirectory 2015-10-06 15:46:52 +02:00
Philipp Oppermann
7ddb202d70 Revise and reformat long mode post 2015-10-06 15:40:36 +02:00
Philipp Oppermann
ae339d3c59 Don't use upper case for long mode etc. 2015-10-06 14:29:45 +02:00
Philipp Oppermann
db18395f48 Revise first post 2015-10-06 12:48:24 +02:00
Philipp Oppermann
bc30771243 Use correct exception number 2015-10-06 00:30:14 +02:00
Philipp Oppermann
427ad8dcf1 Tweak latest post highlight
Tweak JS to work on a 2nd click, too. Tweak CSS for shorter highlight and linear transition.
2015-10-06 00:17:22 +02:00
Philipp Oppermann
e24f30d86c Highlight latest post when link is clicked 2015-10-04 20:21:26 +02:00
Philipp Oppermann
445b50ce77 Update title and tagline 2015-10-04 20:20:25 +02:00
Philipp Oppermann
0c7100ca7d Add subsection for stack creation 2015-10-03 19:05:48 +02:00
Philipp Oppermann
0324241ea1 Merge pull request phil-opp/phil-opp.github.io#2 from phil-opp/better_hello_world
Rewrite Hello World section and update its code
2015-10-03 19:01:26 +02:00
Philipp Oppermann
5c4bb91592 Use new Hello World! code and rewrite its section
See phil-opp/blogOS#4 for the new `Hello World!`.
2015-10-03 18:52:51 +02:00
Philipp Oppermann
4bfd933522 Improve phrasing 2015-10-03 18:50:48 +02:00
Philipp Oppermann
3e7fd1b433 Merge pull request #4 from phil-opp/better_hello_world
Improve `Hello World!` code
2015-10-03 17:40:14 +02:00
Philipp Oppermann
5bcd6d2c2d Improve Hello World! code
Avoid special core features and complicated iterator chaining to make the code simpler overall.
2015-10-03 17:38:41 +02:00
Philipp Oppermann
93a7bb6333 many improvements 2015-09-27 18:05:43 +02:00
Philipp Oppermann
517c5eab0d Some wording improvements 2015-09-26 13:25:33 +02:00
Philipp Oppermann
9d34da7c13 WIP 2015-09-15 15:26:31 +02:00
Philipp Oppermann
6b29a31ae9 Rename main to rust_main
See phil-opp/blogOS#1.
2015-09-15 15:21:18 +02:00
Philipp Oppermann
4523352e05 Add missing links 2015-09-15 15:11:38 +02:00
Philipp Oppermann
893d720ae8 Merge pull request #1 from phil-opp/cargo_test_support
Fix testing
2015-09-15 14:54:58 +02:00
Philipp Oppermann
9c4d057e3d Don't implement lang items on testing
The `std` library is imported on testing. It already implements all lang items.
2015-09-15 14:51:38 +02:00
Philipp Oppermann
5db8977495 Rename main to rust_main to support testing
On testing, `std` is imported, which defines an own `main` function. Thus `cargo test` fails if there alread exists one non-mangled main.
2015-09-15 14:51:07 +02:00
Philipp Oppermann
d34c7a5730 Rename file for setup rust post 2015-09-10 15:35:34 +02:00
Philipp Oppermann
faf04f65c6 Many wording improvements 2015-09-10 15:34:43 +02:00
Philipp Oppermann
76d21f0e99 replace wrong uses of like 2015-09-10 14:48:09 +02:00
Philipp Oppermann
b021fe49bf replace e.g. with for example 2015-09-10 14:47:39 +02:00
Philipp Oppermann
5aabcfa38d Many wording improvements 2015-09-10 14:19:14 +02:00
Philipp Oppermann
d0c7d4d3d1 Wording: replace check with test 2015-09-10 12:50:00 +02:00