Commit graph

126 commits

Author SHA1 Message Date
Ryan Kennedy 30728c0534 GraphicsWriter changes 2020-04-16 17:49:18 -05:00
Ryan Kennedy c3155975ad Make get_frame_buffer more generic 2020-04-16 15:47:46 -05:00
Ryan Kennedy 6708631bbe Remove some options 2020-04-13 23:57:33 -05:00
Ryan Kennedy a0c2a2361b Add some rectangles 2020-04-13 03:14:03 -05:00
Ryan Kennedy 812e6ceb2a Basic lines and rectangles and pixels 2020-04-13 02:50:02 -05:00
Ryan Kennedy 041dd736f1 Only support 32bpp 2020-04-12 20:03:56 -05:00
Ryan Kennedy ed2fdb74a1 Allow virtual address to be changed 2020-04-12 18:48:33 -05:00
Ryan Kennedy 4e3460a273 Added physical and virtual addresses 2020-04-10 22:45:26 -05:00
Ryan Kennedy 823d9ecf4e Setting some colors 2020-04-09 19:45:45 -05:00
Ryan Kennedy df0660f5ed Initial setup/testing 2020-04-06 22:29:29 -05:00
Ryan Kennedy 39ad683665 Changelog and version bump 2020-04-05 18:58:30 -05:00
RKennedy9064 d61a3f783a Merge pull request #13 from rust-osdev/mode-320-240
Mode 320 240
2020-04-05 18:55:53 -05:00
Ryan Kennedy 6861ca509f Comments and cleanup 2020-04-05 18:45:52 -05:00
Ryan Kennedy 41a746fd2c Always specify plane for clear screen 2020-04-05 17:49:31 -05:00
Ryan Kennedy 015c1c6597 Actually make the height 240 2020-04-05 17:17:16 -05:00
Ryan Kennedy 95f550a55e Unused imports 2020-04-04 23:14:09 -05:00
Ryan Kennedy ac80307d29 Probably don't need those locks 2020-04-04 23:08:34 -05:00
Ryan Kennedy 626ad52589 Initial setup for mode 320x240x256 2020-04-04 22:53:36 -05:00
RKennedy9064 9850223040 Fixed trait name 2020-03-31 23:02:48 -05:00
Ryan Kennedy 4f93bab9c8 Changelog and version bump 2020-03-31 22:57:56 -05:00
RKennedy9064 4816d79476 Merge pull request #12 from dbeckwith/dbeckwith.improvements
Small improvements
2020-03-31 22:29:54 -05:00
Daniel Beckwith 98e9fb3d86 Allow any character for fill_screen 2020-03-31 20:33:06 -04:00
Daniel Beckwith 6bc387cdf6 Fix lint 2020-03-31 18:37:42 -04:00
Daniel Beckwith 66b4ccf6d0 Fix lint 2020-03-31 18:35:59 -04:00
Daniel Beckwith 19d41fd146 Make constructors const 2020-03-31 18:29:41 -04:00
Daniel Beckwith 6547019382 Make screen width and height constant 2020-03-31 18:29:32 -04:00
Daniel Beckwith 88ce4a55a1 More trait impls for screen writers 2020-03-31 18:24:29 -04:00
Daniel Beckwith 8eb86d55a1 Add fill_screen 2020-03-31 18:22:55 -04:00
Daniel Beckwith 44c3821d9d More const 2020-03-31 18:20:25 -04:00
Daniel Beckwith cbad0a141e More trait impls 2020-03-31 18:20:22 -04:00
RKennedy9064 3d052e69a5 Merge pull request #10 from rust-osdev/develop
Develop
2020-03-25 20:48:06 -05:00
Ryan Kennedy 225416353f 320x200x256 additions 2020-03-25 20:01:35 -05:00
Ryan Kennedy 699855669b Fixing comments 2020-03-25 16:50:35 -05:00
Ryan Kennedy 865fecb71d Implemented screen for 640x480x16 2020-03-25 01:16:21 -05:00
Ryan Kennedy 2202985100 Initial 320x200x256 mode was way easier 2020-03-25 01:13:53 -05:00
RKennedy9064 13b10c055b Merge pull request #9 from rust-osdev/develop
Develop
2020-03-24 19:33:02 -05:00
Ryan Kennedy 03c2501e7b version bump 2020-03-24 19:22:54 -05:00
Ryan Kennedy a23698720d Updated changelog 2020-03-24 19:22:21 -05:00
Ryan Kennedy d6c01c7309 updated readme 2020-03-24 17:54:09 -05:00
Ryan Kennedy 595aef15bc Updated example 2020-03-24 17:51:05 -05:00
RKennedy9064 c4a0ea5872 Merge pull request #8 from rust-osdev/graphics-refactor
Graphics refactor
2020-03-24 16:21:47 -05:00
Ryan Kennedy 244594c476 Fixed tests and renamed Color16Bit 2020-03-24 16:17:13 -05:00
Ryan Kennedy 36d92e4123 Code cleanup 2020-03-24 16:08:24 -05:00
Ryan Kennedy 42d2f4836e Drawing text 2020-03-24 15:44:30 -05:00
Ryan Kennedy 5a072f5382 Moved to a GraphicsWriter trait 2020-03-24 13:04:32 -05:00
Ryan Kennedy 543eddbef7 _set_pixel 2020-03-23 19:38:56 -05:00
Ryan Kennedy 81f48f8153 Some cleanup and optimizations 2020-03-23 18:24:07 -05:00
Ryan Kennedy d5dec0159c Rough draft line drawing 2020-03-23 17:03:41 -05:00
Ryan Kennedy ec9f652de0 Don't need to recalculate width in bytes 2020-03-23 13:33:04 -05:00
Ryan Kennedy f43ef646a7 Added some documentation 2020-03-22 23:34:31 -05:00