Commit Graph

38 Commits

Author SHA1 Message Date
6984bf42b2 Started paging code. 2018-05-02 23:03:01 +01:00
d9023cbe06 Unified initialization method names. 2018-05-02 23:02:46 +01:00
fad439c25e Added integer hash function. Other minor changes. 2018-05-01 19:24:29 +01:00
1e3e34d9f7 Simplified tty and serial write functions. 2018-04-29 04:20:47 +01:00
56cd64ef93 Disabled interrupt call to isrCommon, currently causes GPF if called from interrupt. 2018-04-29 04:20:47 +01:00
d7122f76c6 OS build now includes version information. 2018-04-29 04:20:47 +01:00
04768924e8 Receiving an interrupt no longer crashes, does seem to cause a general protection fault though (infinite loop time!). 2018-04-29 04:20:47 +01:00
347a5cbff3 Changed kernel load debug print. 2018-04-29 04:20:47 +01:00
8a6d52e8d4 Simplified GDT installation. 2018-04-29 04:20:47 +01:00
6ead11b75a Started implementing IDT. Currently crashes on interrupt. 2018-04-29 04:20:47 +01:00
05f6ce2544 Removed some stl dependencies. 2018-04-29 04:20:47 +01:00
7f656559df Removed unused. 2018-04-29 04:20:47 +01:00
45e57c765c Fixed the link and passL options in kernel.nim to match change in build root directory. 2018-04-29 04:20:47 +01:00
ba5d239073 Moved build options to more sensible locations. 2018-04-29 04:20:47 +01:00
dce59cc08a Fixed some GDT ints not being converted to the right length. 2018-04-29 04:20:47 +01:00
8d61080d8d GDT now installs correctly. 2018-04-29 04:20:47 +01:00
8eef348eca Implemented memcpy and memset. Allows larger local variables. 2018-04-29 04:20:47 +01:00
f279852501 Fixed GDT creation and address retrieval. 2018-04-29 04:20:47 +01:00
8b129ea6d8 Added int printing to serial module. 2018-04-29 04:20:47 +01:00
ffe67f93c5 Fixed placeholder method. 2018-04-29 04:20:47 +01:00
e27ee760d6 Moved linker options requiring files to pragmas in kernel,nim 2018-04-29 04:20:47 +01:00
86760fd9de Added logging via serial output. 2018-04-29 04:20:47 +01:00
a03745805b Remove C usage 2018-04-29 04:20:47 +01:00
edbc39cc3b Added GDT setup code. 2018-04-29 04:20:47 +01:00
4d896d0eb7 Fixed printing of unsigned integers. 2018-04-29 04:20:47 +01:00
367f7ab3b7 Added method stub for interrupt handling. 2018-04-29 04:20:47 +01:00
92b1cffde6 Added scancodes for set one up to 0x0F. 2018-04-29 04:20:47 +01:00
e636f24995 Starting work on a PS2 keyboard driver. 2018-04-29 04:20:47 +01:00
c98464d1c7 Added assembly for reading/writing to IO locations. 2018-04-29 04:20:47 +01:00
e0c0d8cfa3 Removed code duplication in terminalWriteChar. 2018-04-29 04:20:47 +01:00
af091674a6 Reduced number of calculations performed in terminalScroll. 2018-04-29 04:20:47 +01:00
47f18157b3 Made VGA memory bounds setting more obvious as to why it has its value. 2018-04-29 04:20:47 +01:00
5982c72a8a Decrease VGA memory array size by one. Correction of an off by one error to ensure we stay within the appropriate memory. 2018-04-29 04:20:47 +01:00
65a4b94be1 Scrolling now works. Simplified access to VGA memory. 2018-04-29 04:20:47 +01:00
0da0bc40dd Gave panicoverride a C implementation for now. 2018-04-29 04:20:47 +01:00
7f426b5f25 Fixed integer printing for negative numbers. 2018-04-29 04:20:47 +01:00
e871378f8f Added printing of ints to the screen. 2018-04-29 04:20:47 +01:00
77e4e91b73 Moved from a flat directory structure to a more sane one. 2017-10-21 19:23:17 +01:00