Commit Graph

24 Commits

Author SHA1 Message Date
Philipp Oppermann
2db616bd7d Merge branch 'post-03' into post-04 2019-02-05 10:45:11 +01:00
Philipp Oppermann
af0b258279 Make vga_buffer::{ScreenChar, Buffer} repr(transparent) 2019-02-05 10:44:52 +01:00
Philipp Oppermann
be46130322 Merge branch 'z_post_03' into z_post_04 2019-01-25 14:45:46 +01:00
Philipp Oppermann
b5c05193e1 Document vga buffer methods 2019-01-25 14:39:47 +01:00
Philipp Oppermann
76110c1dd8 Add a write_formatted test 2019-01-25 13:32:00 +01:00
Philipp Oppermann
92c4206e86 Add a write_byte test 2019-01-25 13:31:34 +01:00
Philipp Oppermann
a15e01f2eb Construct a vga buffer for testing 2019-01-25 13:31:06 +01:00
Philipp Oppermann
76a65ca3ee Include the standard library for unit tests 2019-01-25 13:29:02 +01:00
Philipp Oppermann
8e74084d52 Silence unused import warnings for cargo test 2019-01-25 13:25:24 +01:00
Philipp Oppermann
5366fe2ff8 Make cargo test work 2019-01-25 13:24:54 +01:00
Philipp Oppermann
6c427e7cee Print the PanicInfo on panic 2019-01-25 13:23:04 +01:00
Philipp Oppermann
c43d6191c5 Implement print!/println! macros 2019-01-25 13:22:33 +01:00
Philipp Oppermann
c1e3fa57c6 Add a global interface 2019-01-25 13:21:39 +01:00
Philipp Oppermann
3574958d5f Implement new_line method 2019-01-25 13:18:58 +01:00
Philipp Oppermann
cbfe6221bd Implement support for Rust's formatting macros 2019-01-25 13:18:13 +01:00
Philipp Oppermann
d1897af515 Use volatile writes for accessing the VGA buffer 2019-01-25 13:16:44 +01:00
Philipp Oppermann
d71e6a7cb6 Test the vga buffer module through a print_something function 2019-01-25 12:26:05 +01:00
Philipp Oppermann
27f2c4c2ff Add methods to write bytes and strings 2019-01-25 12:25:46 +01:00
Philipp Oppermann
19de9e560d Add a VGA buffer module 2019-01-25 12:21:51 +01:00
Philipp Oppermann
f9ffee92c7 Print Hello World! to screen 2019-01-25 12:42:21 +01:00
Philipp Oppermann
a80b09b1ae Add #![no_main] attribute and Linux entry point 2019-01-25 12:37:02 +01:00
Philipp Oppermann
3feee7761e Add panic handler 2019-01-25 12:34:39 +01:00
Philipp Oppermann
926940beb0 Add #![no_std] attribute 2019-01-25 12:34:28 +01:00
Philipp Oppermann
0fbb5f99cf Create new blog_os project 2019-01-25 12:32:07 +01:00