1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00
Commit Graph

381 Commits

Author SHA1 Message Date
Stephen Marz
d422f55ccb Start transitioning over to a virtual file system 2020-06-05 08:15:17 -04:00
Stephen Marz
8e39f926eb Move console::init until after heap init 2020-06-05 08:09:56 -04:00
Stephen Marz
ed408d4d3c Start transitioning over to newlib. 2020-06-04 18:07:37 -04:00
Stephen Marz
2163f68177 Add descriptor elements and add yield 2020-06-04 18:06:42 -04:00
Stephen Marz
69ef3475dd Remove syscall returning a PC value. 2020-06-04 18:06:17 -04:00
Stephen Marz
2acb967a46 Unfortunately, until we have a shell, I have to keep hard coding the path. 2020-06-04 18:05:55 -04:00
Stephen Marz
f11f0e9f1f Delete input-event-codes from startlib 2020-06-04 13:03:19 -04:00
Stephen Marz
9247dffdd9 Move input-event-codes into userspace. 2020-06-04 13:02:34 -04:00
Stephen Marz
f2055f301b Update makefile to use newlib instead of our startlib. We need to rewrite fb.cpp now to use the new system. 2020-06-04 13:02:13 -04:00
Stephen Marz
7e34e30bfa Break out of translation so that we can print some values. 2020-06-03 21:36:35 -04:00
Stephen Marz
fd80c2bd83 Updates to handling write 2020-06-03 21:34:28 -04:00
Stephen Marz
f6d842b02b Added syscalls and information to support syscalls. 2020-06-03 21:33:04 -04:00
Stephen Marz
9a26a90962 Remove accessors and mutators 2020-06-03 20:04:55 -04:00
Stephen Marz
af21dc3f49 Switch ABI to rv64gc to add compressed instructions. 2020-05-31 18:08:00 -04:00
Stephen Marz
0ed7eb9475
Update README.md 2020-05-30 16:24:40 -04:00
Stephen Marz
75ac13009d Fix warnings and unused variables 2020-05-30 12:46:04 -04:00
Stephen Marz
9fc8a7455f For now, comment out the observer queues, and reduce the size of the event queues. 2020-05-30 12:30:58 -04:00
Stephen Marz
4b67823dfa Move userspace out of Rust src. 2020-05-29 19:34:48 -04:00
Stephen Marz
a492491cf3 Merge branch 'master' of ssh://github.com/pavehawk2007/osblog 2020-05-28 19:09:48 -04:00
Stephen Marz
70461adfbd Move down to a reasonable capacity. 2020-05-28 19:09:41 -04:00
Stephen Marz
34d2326faa
Create README.md 2020-05-28 16:52:12 -04:00
Stephen Marz
f2079c2cda Change pixel colors, background colors, and clear 2020-05-28 16:46:41 -04:00
Stephen Marz
c693cf92a8 Choose whichever is smaller, A1 or queue length 2020-05-28 16:19:20 -04:00
Stephen Marz
b7760a0e67 Rust formatted. 2020-05-28 16:17:45 -04:00
Stephen Marz
13b35ff096 Added keyboard event gather. Fixed bug where we didn't replace the event queues. 2020-05-28 16:06:23 -04:00
Stephen Marz
8132b63f9c Added keyboard event gather. Fixed bug where we didn't replace the event queues. 2020-05-28 16:06:05 -04:00
Stephen Marz
f9f93ada71 Try to improve speed of userspace program. 2020-05-28 14:32:56 -04:00
Stephen Marz
74e44fab5d Change the way events are handled. Now, get a full list of events, not just one per system call. 2020-05-28 14:25:30 -04:00
Stephen Marz
98de4555ed Fix fuzzing for abs pointer 2020-05-28 13:29:04 -04:00
Stephen Marz
6e4fecbb9d Added input driver for keyboard and mouse. 2020-05-27 13:04:48 -04:00
Stephen Marz
04cc2ecf12 Added input handler..still verbose. 2020-05-26 19:57:23 -04:00
Stephen Marz
7fb9b0525a Added upper feature bits. 2020-05-26 19:56:59 -04:00
Stephen Marz
8df4eab869 Spacing 2020-05-26 19:56:42 -04:00
Stephen Marz
a26b67cf01 Add comments about why we page allocate instead of use kmalloc for the framebuffer. 2020-05-25 10:32:44 -04:00
Stephen Marz
d3554b14c8 Make new() methods constant since they just build the structure. 2020-05-25 10:29:24 -04:00
Stephen Marz
edffdbdb5a Fixed mistake on stroke_rect 2020-05-25 10:28:02 -04:00
Stephen Marz
a5b5098191 Use different comment style 2020-05-25 10:27:28 -04:00
Stephen Marz
f31a8c1860 Remove public structures where this isn't necessary 2020-05-25 10:25:46 -04:00
Stephen Marz
7c9f014ada Animation? 2020-05-24 13:34:54 -04:00
Stephen Marz
f5e647de0d Add gettime to syscalls 2020-05-24 13:34:39 -04:00
Stephen Marz
4535739f00 Fix overflows on available ring. 2020-05-24 13:34:26 -04:00
Stephen Marz
e680196095 Update toolchain to reflect riscv-gnu-toolchain 2020-05-24 12:42:04 -04:00
Stephen Marz
a42328955d Ignore framebuffer binaries 2020-05-24 12:41:37 -04:00
Stephen Marz
ffcd84dc22 Added code for drawing to GPU 2020-05-24 12:41:11 -04:00
Stephen Marz
b29ab98088 Move code into userspace 2020-05-24 12:40:26 -04:00
Stephen Marz
3cf0ef6fba Add userspace system calls for running framebuffer 2020-05-24 12:05:35 -04:00
Stephen Marz
43abdd358f Use a series expansion for cosine 2020-05-24 10:06:15 -04:00
Stephen Marz
56ae6230dd Fixed cosine. It's backwards from how pixels work. 2020-05-23 11:53:48 -04:00
Stephen Marz
c6b4d3c7ca Added cosine function 2020-05-23 11:24:36 -04:00
Stephen Marz
c8dc4ff350 Turn on the FPU for OS math. 2020-05-23 11:24:25 -04:00