1309 Commits

Author SHA1 Message Date
Baptiste Wicht
2b203429dc Create an uptime command 2013-10-27 21:34:36 +01:00
Baptiste Wicht
d8f5c4e6f5 Timer handling module 2013-10-27 21:14:25 +01:00
Baptiste Wicht
8f30fe7f8d Remove hack for register_irq 2013-10-27 20:49:15 +01:00
Baptiste Wicht
bb06e1c962 Remove hack for register_irq 2013-10-27 20:48:47 +01:00
Baptiste Wicht
5939b74098 Use std::array instead of array 2013-10-27 20:25:16 +01:00
Baptiste Wicht
df9475ba49 Add help command 2013-10-27 20:17:47 +01:00
Baptiste Wicht
4a57f67583 Implement the reboot command 2013-10-27 18:27:56 +01:00
Baptiste Wicht
a198047bef Handle backspace 2013-10-27 17:42:32 +01:00
Baptiste Wicht
f2c722639a Wipe out the screen 2013-10-27 17:34:36 +01:00
Baptiste Wicht
2995410bbd Move everything in its own header/source module 2013-10-27 16:58:37 +01:00
Baptiste Wicht
27b13b3762 Separate keyboard from the kernel 2013-10-27 16:41:52 +01:00
Baptiste Wicht
1732f1fa98 Print back the entered chars 2013-10-27 16:30:30 +01:00
Baptiste Wicht
ea96e01821 Cleanup 2013-10-27 15:54:50 +01:00
Baptiste Wicht
f259192f23 Cleanup 2013-10-27 15:51:35 +01:00
Baptiste Wicht
67dcd24868 Cleanup 2013-10-27 15:43:45 +01:00
Baptiste Wicht
80cfeccdc0 Cleanup 2013-10-27 15:36:15 +01:00
Baptiste Wicht
030fb53985 Load the C++ kernel directly after the micro kernel 2013-10-27 15:30:25 +01:00
Baptiste Wicht
11451dd669 Clean 2013-10-27 13:51:52 +01:00
Baptiste Wicht
936c6f6b3e Clean 2013-10-27 13:51:21 +01:00
Baptiste Wicht
f38202565b Output more lines 2013-10-26 19:32:47 +02:00
Baptiste Wicht
7bbc6251ee Ensure that kernel_main gets the first place in the output file 2013-10-26 19:32:10 +02:00
Baptiste Wicht
6e823e6d6a Display an hello world in C++ 2013-10-26 18:56:16 +02:00
Baptiste Wicht
0621247e54 Wipe out the screen before loading C++ 2013-10-26 17:05:41 +02:00
Baptiste Wicht
389a709e9d Fix clear_command 2013-10-26 17:04:27 +02:00
Baptiste Wicht
63e4de5102 Display some more 2013-10-26 17:00:14 +02:00
Baptiste Wicht
067f6efecc Display a char from C++ :) 2013-10-26 16:58:11 +02:00
Baptiste Wicht
3c704bbf4d Prepare C++ loading 2013-10-26 16:55:33 +02:00
Baptiste Wicht
fb88b9f78b Load the C++ kernel from floppy after the asm kernel 2013-10-26 13:54:46 +02:00
Baptiste Wicht
a682a77b47 Save some space 2013-10-26 13:19:15 +02:00
Baptiste Wicht
50ffb9c67a Prepare the infrastructure for C++ kernel 2013-10-26 13:15:29 +02:00
Baptiste Wicht
a35ee7f71d Cleanup 2013-10-26 12:55:37 +02:00
Baptiste Wicht
c89af16e54 Cleanup 2013-10-26 12:48:18 +02:00
Baptiste Wicht
c360a149a8 If the user just press enter, do not handle this as a command 2013-10-19 16:24:21 +02:00
Baptiste Wicht
3b0efe5aab Handle scrolling the screen 2013-10-19 16:19:48 +02:00
Baptiste Wicht
0fc098f05c Add date command 2013-10-19 15:55:47 +02:00
Baptiste Wicht
8866ca95d2 Basic frequency calculation 2013-10-19 11:00:10 +02:00
Baptiste Wicht
2d7ac44dc6 Add unit in sysinfo 2013-10-19 10:14:31 +02:00
Baptiste Wicht
e1198c0a41 Optimizations 2013-10-19 10:08:41 +02:00
Baptiste Wicht
6a2bf11ce7 Handle backspace 2013-10-19 10:03:54 +02:00
Baptiste Wicht
d2ef1a124b Fix number of commands 2013-10-19 08:52:10 +02:00
Baptiste Wicht
df4adf66f7 Add Programmable Interval Timer support
Add uptime command
2013-10-19 08:50:21 +02:00
Baptiste Wicht
ae784bc2b7 Clean 2013-10-18 23:07:01 +02:00
Baptiste Wicht
a5293ac79f Use IRQ 1 to get information from the keyboard instead of polling 2013-10-18 23:06:19 +02:00
Baptiste Wicht
147dfc2374 Add IRQ handlers system 2013-10-18 22:36:15 +02:00
Baptiste Wicht
a774a2733b Fix IRQ handling routine
Fix stack alignement
8 is already belongs to slave PIC
2013-10-18 18:42:24 +02:00
Baptiste Wicht
7e185447b7 Improve IRQs 2013-10-18 18:20:20 +02:00
Baptiste Wicht
4f481be7c8 Remap correctly IRQs 0->15 to IDT 32->47 2013-10-18 18:10:24 +02:00
Baptiste Wicht
de04e6c8e8 Fix interruptions 2013-10-18 13:37:39 +02:00
Baptiste Wicht
bd8626b905 Cleanup 2013-10-18 13:37:14 +02:00
Baptiste Wicht
a2f78911f7 Fix makefile for bochs 2013-10-18 08:09:51 +02:00