148 Commits

Author SHA1 Message Date
Ciro Santilli
339d2ca0d2 PIT works! 2015-10-30 15:24:06 +01:00
Ciro Santilli
1f6af90212 Page fault handler works! 2015-10-28 18:36:31 +01:00
Ciro Santilli
24988411ad Make page setup into a function 2015-10-27 09:39:03 +01:00
Ciro Santilli
2b83197f39 Paging works!!! 2015-10-27 09:04:46 +01:00
Ciro Santilli
9e7ef0b763 DRY up IDT 2015-10-23 17:57:12 +02:00
Ciro Santilli
d5d35fc39a Divide by zero 32-bit works 2015-10-21 22:49:16 +02:00
Ciro Santilli
9e58c1dc65 idt 2015-10-21 21:41:07 +02:00
Ciro Santilli
71e104bab0 Uniformized macros: push save all registers, and use only GAS macros, no CPP 2015-10-21 15:55:27 +02:00
Ciro Santilli
aaaea79a6f Refactor print_hex 2015-10-20 21:04:49 +02:00
Ciro Santilli
3e01929b63 Start detect memory 2015-10-20 21:00:24 +02:00
Ciro Santilli
eb9b5a4893 Split up getting started, create an about 2015-10-20 13:52:48 +02:00
Ciro Santilli
d4aae6183b Failed attempt at modifying a segment descriptor, split GDB to separate file 2015-10-20 12:21:31 +02:00
Ciro Santilli
ae4a413b5c DRY up protected mode 2015-10-18 14:56:12 +02:00
Ciro Santilli
febbb83254 Protected mode works but is ugly, CS, SS work, failed lidt real mode attempt 2015-10-17 00:03:05 +02:00
Ciro Santilli
b9b4da0d1e initial_state.S stopped working... 2015-10-06 12:27:24 +02:00
Ciro Santilli
61f0ad8dda Remove END 2015-10-05 16:58:44 +02:00
Ciro Santilli
5c2e547b52 bios_disk_load works 2015-10-04 20:02:20 +02:00
Ciro Santilli
cba0757990 Bochs works, failed PIT and beep attempts 2015-09-30 19:04:39 +02:00
Ciro Santilli
173111e0d0 rtc 2015-09-29 23:55:54 +02:00
Ciro Santilli
25235ad9ba Keyboard input, hex printer 2015-09-24 10:21:34 +02:00
Ciro Santilli
6606a2647d reboot 2015-09-21 09:43:03 +02:00
Ciro Santilli
6add24a0ee Init SS and SP by default 2015-09-20 20:37:12 +02:00
Ciro Santilli
a44b659299 bios keyboard 2015-09-20 19:50:18 +02:00
Ciro Santilli
01a5e64efa Segment registers 2015-09-20 17:09:30 +02:00
Ciro Santilli
1f8c00ec8f BIOS 13h video mode draw pixels 2015-09-20 12:16:59 +02:00
Ciro Santilli
3fa034d5b8 BIOS color, scroll 2015-09-20 10:59:36 +02:00
Ciro Santilli
7dc6e56e16 big-img, chainload self 2015-09-18 11:36:07 +02:00
Ciro Santilli
793df24519 Move GRUB in from linux-cheat, add chainloader example 2015-09-18 09:34:53 +02:00
Ciro Santilli
d217b180be Split up README 2015-09-14 16:51:29 +02:00
Ciro Santilli
a8d90ac777 Make osdev example more uniform with the hello world 2015-09-14 11:21:55 +02:00
Ciro Santilli
29004f01f3 Improve readme 2015-09-14 10:38:21 +02:00
Ciro Santilli
48614b45fa Document hajji working 2015-09-14 07:14:09 +02:00
Michael Petch
617af66cae Fix problem that may have made 'Hello World' print more than once or ended in unusual behavior. Ensure CLI is used before calling HLT so that interrupts don't restart the code after the HLT. Also ensure that when updating SS and SP that interrupts are off during the operation. It is possible for an interrupt to occur between the instructions causing the stack state to be invalid during interrupt execution, 2015-09-14 07:08:40 +02:00
Ciro Santilli
bd104479ae Document multiboot/osdev works 2015-09-14 06:52:40 +02:00
Michael Petch
4164f58e46 Fix issue with GRUB not finding multiboot header
Modify the linker script to move the unique GNU information in
section .note.gnu.build-id after the .multiboot section. This
prevents the mulitboot header being pushed beyond the 8k position
in the kernel image.
2015-09-14 06:49:58 +02:00
Ciro Santilli
2c090180e9 Move xorriso to top level apt-get 2015-09-14 06:44:39 +02:00
Ciro Santilli
38c30d5bc0 Generate bootable multiboot image with grub-mkrescue 2015-09-14 06:11:38 +02:00
Ciro Santilli
c65cbf6b2e Remove unused multiboot isodir 2015-09-12 12:06:25 +02:00
Ciro Santilli
bf4556b972 Infinite loop, rm .elf output 2015-09-12 11:37:30 +02:00
Ciro Santilli
82bd584e71 Minimized multiboot works! 2015-09-11 12:12:31 +02:00
Ciro Santilli
349c9bd510 Use xor ax instead of mov 0 2015-09-11 10:17:17 +02:00
Ciro Santilli
4fbe9f2246 Set DS to make work on hardware, more failed UEFI attempts 2015-09-10 21:55:51 +02:00
Ciro Santilli
2b79ac21df Magic bytes on ld scrpit working. Failed UEFI attempt. 2015-09-07 16:27:49 +02:00
Ciro Santilli
7710c94f57 TODO 2015-09-07 00:16:17 +02:00
Ciro Santilli
7cff2a3fc9 Factor out precefaces and postfixes, apm_shutdown2 2015-09-06 23:19:31 +02:00
Ciro Santilli
268977654f shutdown apm 2015-09-06 21:45:05 +02:00
Ciro Santilli
dbc0017676 Simplify directory names, failed ld magic byte attempt 2015-09-06 18:50:41 +02:00
Ciro Santilli
c1211ace36 Split from assembly-cheat. 2015-09-06 16:22:10 +02:00