Commit Graph

  • e8c4847b12 Initial code master Greg Shuflin 2025-01-10 11:53:02 -08:00
  • 7e4cedcdc0 kernel.ld Greg Shuflin 2025-01-10 03:52:42 -08:00
  • 80a5815731 Thousand line OS initial commit Greg Shuflin 2025-01-10 03:47:52 -08:00
  • 3ef8cbbf8c Add os runner to justfile Greg Shuflin 2022-02-09 23:41:17 -08:00
  • 95c8480aac basic x86_64 gamarjoba munde Greg Shuflin 2022-02-09 23:38:25 -08:00
  • d504aa2a6d Add basic ARM rust freestanding binary Greg Shuflin 2022-02-09 20:31:53 -08:00
  • 288dd537c0 Clarify rust_kernel in readme Greg Shuflin 2022-01-29 23:28:31 -08:00
  • 4d80e10dbd Remove Makefile + out of place rust files Greg Shuflin 2022-01-29 23:22:34 -08:00
  • faaadcf475 Move lightshow into dir cleanup-repo Greg Shuflin 2022-01-29 23:15:39 -08:00
  • c01cbbc458 Put keyboard into subdir Greg Shuflin 2022-01-29 22:39:59 -08:00
  • 01c36c6178 Put baremetal_gamarjoba into subdir Greg Shuflin 2022-01-29 22:08:03 -08:00
  • 2851629a8a Add gitignore Greg Shuflin 2022-01-29 22:01:20 -08:00
  • eaece6994a Move gamarjoba into subdir Greg Shuflin 2022-01-29 21:58:19 -08:00
  • 4206ae592b Make README.md a proper markdown file Greg Shuflin 2022-01-29 21:45:42 -08:00
  • c706615a4d Add makefile changes greg 2017-03-31 00:54:22 -07:00
  • a6f5dd8623 Move raspi boot infra stuff around greg 2017-03-30 17:25:08 -07:00
  • 2677cf131d Add elf building step to makefile greg 2017-03-30 17:24:12 -07:00
  • 17466c6547 Moving files to rust-xargo dir greg 2017-03-30 03:09:29 -07:00
  • c55ff680d4 rust linker script greg 2017-03-30 02:44:32 -07:00
  • ca34b61d95 Add raspi json target greg 2017-03-30 02:44:16 -07:00
  • aa420a6c57 Raspi asm stub for loading kernel greg 2017-03-26 23:09:42 -07:00
  • d56c93dc4f Add raspi boot files greg 2017-03-26 02:09:01 -07:00
  • 4485fbb579 Add raspi_os here greg 2017-03-25 22:47:34 -07:00
  • 76bbf76bd7 Add delay of 1 to grub.cfg greg 2017-03-25 21:44:55 -07:00
  • 6b8db9e998 Give the OS a name greg 2017-03-25 21:42:03 -07:00
  • 5b76bb7444 Add back code that does something greg 2017-03-25 20:36:12 -07:00
  • 2b3657dddf Had to add this stub to make the linker happy greg 2017-03-24 04:03:14 -07:00
  • f4a6924248 Cleaning up some compiler warnings greg 2017-03-22 10:33:07 -07:00
  • 75c2c09f9c main loop should spin after clear() greg 2016-06-23 01:02:58 -07:00
  • 6037d917e5 Add spin_wait function greg 2016-06-23 00:46:23 -07:00
  • ad61d53c8f Add printstr functionality greg 2015-11-27 16:35:05 -08:00
  • 02ffdd55bd Add multiboot2 rust lib greg 2015-11-27 14:58:55 -08:00
  • 6c127273b3 Some more text drawing logic greg 2015-11-25 21:56:39 -08:00
  • db8995b15f Utility function for low, high bits greg 2015-11-25 02:06:39 -08:00
  • aa9e74299c Add cursor-moving functionality greg 2015-11-25 02:02:03 -08:00
  • ed76893b65 Clean up lib.rs code greg 2015-11-24 01:11:05 -08:00
  • 7cb8affb2d Move PIT config into rust greg 2015-11-23 23:20:27 -08:00
  • cf9c7085c6 More moving things around and deleting obsolete code greg 2015-11-23 22:49:33 -08:00
  • 49c49cb349 Cleaning up code greg 2015-11-23 22:37:20 -08:00
  • fb6d6df087 Fixed PIC initialization in rust greg 2015-11-23 22:10:45 -08:00
  • 362f616660 Add double-fault handler greg 2015-11-23 04:12:13 -08:00
  • b5e78209e6 Move PIC offsets greg 2015-11-23 02:17:45 -08:00
  • 9f3c1f8f29 Modularize PIC-rust stuff greg 2015-11-18 22:06:01 -08:00
  • eaefb7b799 Kill a spinloop in the 32-bit boot greg 2015-11-18 02:37:11 -08:00
  • 53357fb096 remove assembly setup PIC greg 2015-11-18 02:12:52 -08:00
  • cb4d718af1 Macro-ify asm IDT entry loading greg 2015-11-18 02:11:09 -08:00
  • 8106038690 Move PIC logic to rust greg 2015-11-17 04:06:55 -08:00
  • d133c198a4 Implement changing PIT frequency greg 2015-11-17 03:30:43 -08:00
  • a209559319 Flash things onto screen greg 2015-11-16 21:27:19 -08:00
  • 636e540355 Make timer interrupt display things on screen greg 2015-11-15 23:16:30 -08:00
  • 730c2c7d71 Timer interrupt seems to work greg 2015-11-15 14:41:49 -08:00
  • b5022ff286 Specifcally handle keyboard in separate function greg 2015-11-15 13:52:23 -08:00
  • 3f1f180f97 Keyboard handler works greg 2015-11-15 13:37:41 -08:00
  • 5c82d2835d Responds to keyboard greg 2015-11-15 03:38:37 -08:00
  • 91632e8e99 Jump from interrupt into rust code greg 2015-11-15 02:50:38 -08:00
  • 2beb647839 Fix typo greg 2015-11-14 23:29:33 -08:00
  • fcfefa9a5e Fixed interrupts greg 2015-11-14 23:13:14 -08:00
  • 1551bdc7b2 Interrupt handler works, sort of?? greg 2015-11-14 22:30:27 -08:00
  • 7aa3e0c290 Initialize IDT greg 2015-11-12 20:52:26 -08:00
  • a39759ce4c Call interrupt from rust greg 2015-11-12 20:43:51 -08:00
  • 5eda610d24 Some more mucking with printing numbers greg 2015-11-10 23:28:36 -08:00
  • cdbfca6003 Tests + util greg 2015-11-10 22:17:54 -08:00
  • 6fdb396c73 Use rdtsc as makeshift timer greg 2015-11-10 20:01:15 -08:00
  • 8ea1038d6b Use rdtsc greg 2015-11-10 03:06:14 -08:00
  • 63775eaa7c print_int function greg 2015-11-10 03:02:30 -08:00
  • 8dcbdc997c Return from assembly greg 2015-11-10 02:46:54 -08:00
  • 532d84682c Call assembly from rust greg 2015-11-10 02:23:56 -08:00
  • 5b84cc1457 Add debug qemu to makefile greg 2015-11-10 02:23:32 -08:00
  • 4254a05d83 Print all characters greg 2015-11-10 01:25:46 -08:00
  • 67dc4a5d42 Added checkerboard greg 2015-11-10 00:52:26 -08:00
  • 638056117f Fix clear() function greg 2015-11-10 00:46:08 -08:00
  • 0008341fcd Write to vga buffer from rust greg 2015-11-08 03:05:27 -08:00
  • 87e423f2e8 Gamarjoba, munde in rust greg 2015-11-08 01:17:08 -08:00
  • a9635ab95b Necessary SSE stuff to make rust fully work greg 2015-11-08 01:09:07 -08:00
  • d1eea2bb15 Test commit greg 2015-11-07 23:11:07 -08:00
  • 5566c1797b Jump to rust successfully greg 2015-11-07 22:53:31 -08:00
  • 670e6828a5 Move to 64-bit mode works greg 2015-11-07 21:52:39 -08:00
  • 05a6ef1853 Add test for long mode greg 2015-11-07 17:06:30 -08:00
  • 60b10c3708 Add cpuinfo and stack-defining stuff greg 2015-11-07 17:02:41 -08:00
  • f3605f554e Add dependencies to makefile correctly greg 2015-11-07 16:43:43 -08:00
  • 79052d289d Remove multiboot header from root greg 2015-11-07 15:56:33 -08:00
  • 8699d4aefb Add -f flag to makefile clean greg 2015-11-07 15:50:50 -08:00
  • c9aea2176b Working hello world build env greg 2015-11-07 15:40:29 -08:00
  • 9137238f1f trying rust stuff again greg 2015-10-28 23:15:19 -07:00
  • 90655746ca Rust kernel greg 2015-10-25 23:25:15 -07:00
  • c5fcd73499 write_to_coord() in rust now has sensible coordinates greg 2015-10-22 23:40:18 -07:00
  • 3e6c6d17d7 Write to raw vram from rust greg 2015-10-22 23:13:12 -07:00
  • 59d73e940e add lightshow to makefile clean greg 2015-10-22 22:30:24 -07:00
  • 1955b5dd77 Lightshow works now greg 2015-10-22 22:24:51 -07:00
  • 66c8833908 Add lightshow greg 2015-09-23 23:22:15 -07:00
  • fb62be4420 Add curses option to makefile greg 2015-09-21 11:48:30 -07:00
  • c67997b54f Add keyboard scan greg 2015-09-21 02:22:44 -07:00
  • 05dd3ff9e8 Compile rust greg 2015-09-20 23:57:20 -07:00
  • 82b80dc56c Write print_int function in C greg 2015-09-18 03:43:14 -07:00
  • b6851ab0b5 Support stuff for keyboard greg 2015-09-18 02:56:07 -07:00
  • f4de677406 new file - keyboard.asm greg 2015-09-18 02:28:34 -07:00
  • c4268d818a Move vram functions into separate file greg 2015-09-18 02:22:39 -07:00
  • 6c934dc845 Make the c variables be sane greg 2015-09-17 22:22:30 -07:00
  • a56cf9f455 And call into c from assembly greg 2015-09-17 21:57:10 -07:00
  • 2bf23664bf call c function from assembly greg 2015-09-17 21:48:47 -07:00