Commit Graph
99 Commits
Author SHA1 Message Date
shockrahwow 48b7662dee removing Werror _for now_ while I debug isr's 2019-10-30 18:37:08 -07:00
shockrahwow c4bae42dd9 putch + broken interrupt handlers
int handlers only break when ran
2019-10-27 22:08:21 -07:00
shockrahwow 677c53165d Interrupt handlers are busted but only break when ran
oh yea and putch was added to stlio
2019-10-27 22:07:31 -07:00
shockrahwow fb1b7c868b srlen now respects const qualifiers 2019-10-27 21:21:59 -07:00
shockrahwow 5bc285b7ca Adding keyboard interrupt handler
as of right now its busted(doesn't printanythng)
2019-10-27 20:27:46 -07:00
shockrah a0752cba62 Moved load_idt to .s file 2019-10-24 03:03:08 -07:00
shockrahwow 3f95c1ec8b updated dones 2019-10-23 18:36:30 -07:00
shockrah 63fcc09cea removed annoying comments 2019-10-19 22:53:09 -07:00
shockrah 8b178f0992 interrupt service routines registered under init_idt, but not yet impl 2019-10-19 22:48:33 -07:00
shockrah 377622d87c prep for interrupt service handlers 2019-10-14 15:32:07 -07:00
shockrah fc33c711b3 interrupt descriptor table setup, but has no handlers yet 2019-10-14 14:06:22 -07:00
shockrah e8fc06943c moving strictly memory based utils to their own module for clarity sake 2019-10-14 14:02:21 -07:00
shockrah 18e4aba57f intel syntax support for inlined assembly and O2 for more memaccess efficient code 2019-10-14 03:10:38 -07:00
shockrah 7385ba7d7f adding structures to be used later in construction idt 2019-10-14 03:09:57 -07:00
shockrah a97affbe72 removed fluff files 2019-10-14 03:09:41 -07:00
shockrah b879ad943d memcpy & memset implementations in stlio 2019-10-14 02:27:31 -07:00
shockrah a417a74731 base working kernel with a gdt that doesn't restart emulator(no idea why this works yet) 2019-10-14 02:06:50 -07:00
shockrah 535f88a908 stats sript output slightly more meaningful now 2019-10-14 01:10:44 -07:00
shockrah 8a7d4e8994 removed unused stl files which are largely outdated now 2019-10-14 00:47:43 -07:00
shockrah 1b9ed26506 removing fluff that is not yet needed 2019-10-14 00:47:04 -07:00
shockrah d68f4b5264 trying out a new version of gdt initialization 2019-10-14 00:45:40 -07:00
shockrah c94252c3f2 Huge GDT update:
GDT control is how I would like it to be but there are some issues, namely:
1. far jumping to flush the code segment crashes the whole os(not good)
2. Segment selectors seem fine apart from the code segment thing
3. some administrative issues regarding the structure of the project which is slowly making things painful
2019-10-14 00:23:37 -07:00
shockrah 7d9800f1eb starting point for interrupt handlers though some of this code isn't ready to be used, it serves as a reference point for later 2019-10-13 23:14:49 -07:00
shockrah c84997dea0 global descriptor table things cleaner/ready to be registered 2019-10-13 23:13:20 -07:00
shockrah ec9cd34dc6 reduced complexity on master branch for now as i setup for gdt things 2019-10-09 15:26:54 -07:00
shockrah 9e7effcc7f basic structure for gdt things 2019-10-09 01:42:03 -07:00
shockrahwow 536f4e8e0c interim commit nothing to see here non working but need to do things on other machine 2019-10-08 22:35:00 -07:00
shockrahwow 6fc97083bb updated roadmap/bugs list 2019-10-08 10:09:47 -07:00
shockrahwow 2312b6fbc1 escaped percents in printf 2019-10-07 19:40:04 -07:00
shockrahwow 5c32c17474 FIRST (semi)WORKING PASS OF SERIAL DEBUGGING FINALLY!!!!! 2019-10-07 18:51:29 -07:00
shockrahwow 392cbf0db4 ignoring serial output 2019-10-07 18:50:31 -07:00
shockrah 28d7ffc165 stats about code 2019-10-06 15:33:00 -07:00
shockrah 79da1d92f0 more accurate bochs setup script - targeting bochs-x plugin instead of *-x 2019-10-06 14:47:00 -07:00
shockrah 57bb696228 newlines kinda working, multiple newlines are still annoying to do but oh well 2019-10-06 14:44:44 -07:00
shockrah c72ac8bf3b support for newlines in write call but not printf :( 2019-10-06 14:17:58 -07:00
shockrah ed2212c322 Merge branch 'master' of gitlab.com:shockrah/jankos 2019-10-05 20:46:54 -07:00
shockrah 980b181e76 added serial to list of objects + changed fb.o to ports.o 2019-10-05 20:46:10 -07:00
shockrah 897c23faca # Serial port configurations
* Implementing some serial port control in preparation to do debugging with bochs

* Changed naming of io to fb_ports to finally[tm] ports
2019-10-05 20:45:22 -07:00
shockrahwow a200efb097 bochs enabled dev port 2019-10-02 16:53:01 -07:00
shockrahwow 7bc439f3ad finally to a point where i can start building ddrivers for this framebuffer's output smh 2019-10-01 10:35:35 -07:00
shockrahwow d5af87e3b0 random docs/tests 2019-09-18 16:40:08 -07:00
shockrah 18f0b02b58 fixed merge conflicts from re-struct branch regarding fie renames and moves 2019-09-16 14:01:39 -07:00
shockrah 6f25710ca9 simplified write_cell_fb interface logic for drivers by removing u16 cell parameter 2019-09-16 13:58:11 -07:00
shockrah 02e6b3f7b6 loader calling tests 2019-09-16 13:50:30 -07:00
shockrah 69b1f4f164 tests builtin 2019-09-16 13:50:15 -07:00
shockrah f8d16f9411 moved testing out to its own module and exposed some frame buffer information for driver code 2019-09-16 13:49:36 -07:00
shockrah e6a5966fe6 moved drivers to root level directory for now and created some basic test module 2019-09-16 13:48:25 -07:00
shockrah 92c5b32b12 added proper type names for clarity/sanity sake 2019-09-15 18:28:01 -07:00
shockrah c8851baea6 Structure:
renamed .asm files to .s extension

Makefile:
	Building .s first over

Bochs conf:
	changed display server to x instead of sdl

Changed function defs to not have the parameter names for less confusion
2019-09-14 23:42:49 -07:00
shockrahwow c1254944ab more core things for building 2019-09-12 11:51:47 -07:00
shockrahwow ee4026a89e restructuring build setup 2019-09-12 11:46:41 -07:00
shockrahwow b3ef53ccab Move cursor behaves properly and is fully implemented in this patch with no known bugs 2019-05-01 03:17:27 -07:00
shockrahwow 86f2db05a0 removed jank functions and got a cursor to blink properly 2019-05-01 02:06:27 -07:00
Medium Fries 74d88173b1 ignoring some case studies for 32 and 64 bit kernels 2019-02-25 17:34:49 -08:00
Medium Fries cff8d1405e redudanct files removed 2019-02-25 16:57:51 -08:00
Medium Fries d745d42a54 fixing merge conflicts from local merg in loader.asm 2019-02-25 16:57:11 -08:00
Medium Fries 7d100e5c3e removed frame out stuff from laptop local branch 2019-02-25 16:07:04 -08:00
Medium Fries 72f711a421 memory based library - only doing what i need for now 2019-02-25 16:01:27 -08:00
shockrahwow 8d1879fe97 - Retesting framebuffer drivers
- clear_fb() fully working
- trying to add positional buffer writes for fancy output
- POSITION macro only seems to work for (0,0) coords for now
haven't tested other edge cases yet
2019-02-25 15:36:31 -08:00
shockrahwow b5ae502520 basically useless commit 2019-02-18 15:06:20 -08:00
shockrahwow d14e1ea8d1 Merge branch 'master' of gitlab.com:shockrahwow/jankos 2019-02-18 15:04:35 -08:00
Medium Fries ef3374fd8d clear_buffer was pointless for now since the buffer doesn't yet proper cursor tracking 2019-02-04 13:29:46 -08:00
Medium Fries 5d290fe32f print_fb(char*) testing and working as intended for now 2019-02-03 17:03:31 -08:00
Medium Fries 35fb16a03e getting rid of old kernel.elf since it changes every commit
just forgot to untrack it awhile back this commit ammends that
2019-02-03 16:38:48 -08:00
Medium Fries d42d68e5a9 Changing super-basic test function to just test() because of how small and bland it is 2019-02-03 16:37:20 -08:00
shockrahwow 0e697a27ae memcmp added to stdlib module 2019-01-23 23:31:51 -08:00
Medium Fries 88fad3c56e merging from remote
Mainly adding support in write_cell() to use logical character indexes vs direct memory offsets
2019-01-23 17:45:00 -08:00
Medium Fries bfeb83b717 temp commit for now 2019-01-23 17:38:12 -08:00
shockrahwow 3a5da9ce96 removed silly kernel.c 2019-01-23 01:14:18 -08:00
shockrahwow 3cd8d8ac73 this changes way to much to tarck its changes anymore 2019-01-23 01:13:59 -08:00
shockrahwow b3483ce7fc adding yote call and fixed weird comment 2019-01-23 01:13:14 -08:00
shockrahwow e2315fc3cc fixing print function slowly but surely 2019-01-23 01:12:36 -08:00
shockrahwow 39c96dd3c0 first function of stl 2019-01-23 01:11:20 -08:00
shockrahwow de036ce327 first pass of some test functions 2019-01-23 00:53:28 -08:00
shockrahwow 3aaed95484 swap files 2019-01-23 00:52:52 -08:00
shockrahwow e09e9ffc82 using write_cell to test color palette 2019-01-18 12:47:13 -08:00
shockrahwow 2600868abd changed function signature of write_cell 2019-01-18 12:46:49 -08:00
shockrahwow 835e9ee6f0 adding some basic frame buffer testing functions 2019-01-16 15:51:02 -08:00
shockrahwow a02a286aea testing colors in the frame buffer 2019-01-16 15:50:43 -08:00
shockrahwow 24d62e82f2 adding framebuffer module for testing and other things 2019-01-16 15:49:57 -08:00
shockrahwow c6eeed41c7 ignoring proper binary file types 2019-01-15 20:16:11 -08:00
shockrahwow 0e05266313 First pass for the following:
* adding sample function call
* adding 4KB of stack space
2019-01-15 20:11:37 -08:00
shockrahwow 5436a330c4 updated makefile to be more flexible 2019-01-15 20:10:35 -08:00
shockrahwow b2f820660f added basic run recipe 2019-01-15 15:31:14 -08:00
shockrahwow b3402255b1 run script added 2019-01-04 22:10:38 -08:00
Medium Fries dca9f5acbb Merge branch 'master' of gitlab.com:shockrahwow/jankos 2018-12-08 01:11:14 -08:00
Medium Fries 1a80ecc627 moved setup script to scripts/ 2018-12-08 01:11:08 -08:00
Medium Fries f47ae36192 Add LICENSE 2018-12-08 09:10:40 +00:00
Medium Fries 1862dc2dda updated readme 2018-12-08 01:03:59 -08:00
Medium Fries b5cdd52912 more robust ignore 2018-12-08 00:55:29 -08:00
Medium Fries 4900ecb85c other log file removed 2018-12-08 00:54:47 -08:00
Medium Fries 70396b83bf removing log file 2018-12-08 00:54:13 -08:00
Medium Fries 00d2a1f084 makefile works somehow xd 2018-12-03 19:31:34 -08:00
Medium Fries 478e0e532d 10/10 had this added before oops 2018-12-03 19:14:30 -08:00
Medium Fries 0c5d771766 first pass makefile not really checking its validity 2018-12-03 19:12:46 -08:00
Medium Fries f857b4bcd3 iso file for the meme 2018-12-03 18:53:56 -08:00
Medium Fries 183ad687fc subtree for os files 2018-12-03 18:53:25 -08:00
Medium Fries e06b97b6c5 more specific ignoring 2018-12-03 18:53:10 -08:00
Medium Fries 4f5f689c20 first thingy 2018-11-29 20:47:13 -08:00