Commit Graph

83 Commits

Author SHA1 Message Date
greg
87e423f2e8 Gamarjoba, munde in rust 2015-11-08 01:17:08 -08:00
greg
a9635ab95b Necessary SSE stuff to make rust fully work 2015-11-08 01:09:07 -08:00
greg
d1eea2bb15 Test commit 2015-11-07 23:11:07 -08:00
greg
5566c1797b Jump to rust successfully
Yay! :D
2015-11-07 22:53:31 -08:00
greg
670e6828a5 Move to 64-bit mode works 2015-11-07 21:52:39 -08:00
greg
05a6ef1853 Add test for long mode 2015-11-07 17:06:30 -08:00
greg
60b10c3708 Add cpuinfo and stack-defining stuff 2015-11-07 17:02:41 -08:00
greg
f3605f554e Add dependencies to makefile correctly 2015-11-07 16:43:43 -08:00
greg
79052d289d Remove multiboot header from root 2015-11-07 15:56:33 -08:00
greg
8699d4aefb Add -f flag to makefile clean 2015-11-07 15:50:50 -08:00
greg
c9aea2176b Working hello world build env 2015-11-07 15:40:29 -08:00
greg
9137238f1f trying rust stuff again
Had no luck last time, starting from scratch
2015-10-28 23:15:19 -07:00
greg
90655746ca Rust kernel
Following  this post:
http://blog.phil-opp.com/rust-os/multiboot-kernel.html#fn2
2015-10-26 03:04:21 -07:00
greg
c5fcd73499 write_to_coord() in rust now has sensible coordinates 2015-10-22 23:40:18 -07:00
greg
3e6c6d17d7 Write to raw vram from rust
yay this works!
2015-10-22 23:13:12 -07:00
greg
59d73e940e add lightshow to makefile clean 2015-10-22 22:30:24 -07:00
greg
1955b5dd77 Lightshow works now
Followed a tip from
http://forum.osdev.org/viewtopic.php?f=1&t=20150

about moving the location of labels around, that made the linker error
go away and it looks like that fixed the restarting problem.

This commit also adds debugging flags to the build, and adds a debug
make target with the right commands to run gdb under qemu, which I'll
probably want to do in the future.
2015-10-22 22:24:51 -07:00
greg
66c8833908 Add lightshow
Doesn't work right now, not sure why
2015-09-23 23:22:15 -07:00
greg
fb62be4420 Add curses option to makefile 2015-09-21 11:48:30 -07:00
greg
c67997b54f Add keyboard scan 2015-09-21 02:22:44 -07:00
greg
05dd3ff9e8 Compile rust
Write a simple rust function, call it from C
2015-09-20 23:59:06 -07:00
greg
82b80dc56c Write print_int function in C 2015-09-18 03:43:14 -07:00
greg
b6851ab0b5 Support stuff for keyboard 2015-09-18 02:56:07 -07:00
greg
f4de677406 new file - keyboard.asm 2015-09-18 02:28:57 -07:00
greg
c4268d818a Move vram functions into separate file 2015-09-18 02:22:39 -07:00
greg
6c934dc845 Make the c variables be sane
Cleaned up calling convention of write_to_cell to be clean in the C,
cleared away some cruft
2015-09-17 22:29:08 -07:00
greg
a56cf9f455 And call into c from assembly 2015-09-17 21:57:10 -07:00
greg
2bf23664bf call c function from assembly 2015-09-17 21:48:47 -07:00
greg
7b0a70ab17 Coordinate print character function works 2015-09-17 03:05:38 -07:00
greg
35238cff2d Bare-metal gamarjoba munde
just clears the screen
2015-09-17 00:16:55 -07:00
greg
0f4fa1e3c1 More readme 2015-09-16 23:38:36 -07:00
greg
594715473e Readme adding 2015-09-16 23:17:43 -07:00
greg
6317f25f54 Initial commit
A Gamarjoba munde program for linux x86_64
2015-09-16 23:15:17 -07:00