Commit Graph

422 Commits

Author SHA1 Message Date
Nero 79a86bad49 host/sys: use segment 60h for kernel 2021-12-14 18:07:52 +00:00
Nero e2d244a919 remove bios roms 2021-12-14 17:46:40 +00:00
Nero 02a7627734 makefile: Add size output for generated binaries 2021-12-14 17:44:39 +00:00
Nero 95381ffdc3 makefile: cosmetics 2021-12-14 17:44:18 +00:00
Nero b7d596d758 kernel: integrate existing farptr and drive code 2021-12-14 17:43:47 +00:00
Nero a3dfd2c36c add BPB definitions as stand-alone include 2021-12-14 15:24:36 +00:00
Nero 467054def6 sys: calculate length of cluster series 2021-12-14 15:23:49 +00:00
Nero cfadc73493 sys: implement boot sector code plus target track calculation 2021-12-13 18:45:36 +00:00
Nero b8672f0011 update makefile: fixes and enable listings per default 2021-12-12 11:50:32 +00:00
Nero 4d8406aa3a rename parse to scan, more intuitive for C programmers 2021-12-11 18:21:00 +00:00
Nero 725213b581 sys: parse drive number and load BPB 2021-12-11 16:46:00 +00:00
Nero a3ef693059 commit whatever is in my worktree rn 2021-12-10 10:41:02 +00:00
Nero 1dea0c40bc Add skeleton of assembler 2021-04-20 21:23:40 +00:00
Nero 24f04792f6 Makefile: allow COM program testing via dosbox 2021-04-20 16:27:32 +00:00
Nero d9affa3cae Kernel: Fix segmenting bugs 2021-04-20 16:27:10 +00:00
Nero 39a1ed085c Implement reading/writing a DTA full from a cluster without ptr advance 2021-04-05 23:05:08 +00:00
Nero 85d0949ec7 uartctrl: Implement CP437 to DEC VT character conversion 2021-04-05 18:59:44 +00:00
Nero 963aebd948 Add uartctrl.rom: Control PC via COM1 attached terminal 2021-04-04 21:41:22 +00:00
Nero b617709684 Fix rootdir.asm re-using potentially wrong DS 2021-03-19 19:26:38 +00:00
Nero 5e3ae0aa08 Put rootdir and cluster access into separate files 2021-03-19 19:01:38 +00:00
Nero fbab632616 Implement file open 2021-03-19 18:50:50 +00:00
Nero f702006582 implement fcb search with more efficient segmenting and dta use 2021-02-25 00:45:56 +00:00
Nero 7c4b84ecb3 word-align disk buffer 2021-02-19 19:41:34 +00:00
Nero ec205407a7 fix conout using stray DS 2021-02-19 19:41:24 +00:00
Nero a91fb3de0d Implement common char i/o functions 2021-02-19 08:57:21 +00:00
Nero d7c1781d2f mbr: set up first 7 bytes of kernel PSP 2021-02-18 20:20:40 +00:00
Nero 78233db88d fix nasm orphaned labels warnings 2021-02-18 20:20:14 +00:00
Nero 0b7e4cb3a4 Make boot file name configurable 2021-02-18 19:38:56 +00:00
Nero d142fb4f39 Omit printing dots from MBR 2021-02-18 19:38:42 +00:00
Nero 8131db9b29 Re-add support for booting from qemu harddisk 2021-02-18 19:04:36 +00:00
Nero 84b754551c Restructure kernel to use 1-segment COM convention 2021-02-07 16:17:31 +00:00
Nero 71c89387fc New bootloader concept: sys-like util to generate a boot sector
Right now only floppies are supported
2021-02-03 00:27:44 +00:00
Nero 19f598251d Work monitor program up to usable state 2021-01-28 23:32:31 +00:00
Nero daeb3891dd Add monitor program for debugging disk i/o 2021-01-28 21:16:52 +00:00
Nero ff179a5e98 Remove rom and pxe boot related stuff
I dont intend to ever implement that
2021-01-23 17:44:18 +00:00
Nero ebd356ed8e Implement file search in directory 2021-01-23 17:32:53 +00:00
Nero 4530866130 fix psp/setdta corrupting DS 2021-01-21 22:30:35 +00:00
Nero 1ec84fc411 Single out PSP management 2021-01-21 22:28:57 +00:00
Nero f8799e3692 add ihex bootsector 2021-01-15 19:49:08 +00:00
Nero 3056d659fa fix syscall gateway not preserving DS on entry 2021-01-13 18:36:12 +00:00
Nero 440187c2a8 Harden drive.asm against unexpected DS and ES values 2021-01-13 18:32:17 +00:00
Nero df243e668e Remove PIC functionality from syscall.asm
Makes things easier
2021-01-13 17:38:22 +00:00
Nero 23c6223055 Relocate kernel to 0x0700 and use sections proper 2021-01-13 17:21:10 +00:00
Nero 4046dd7d6c Improve syscall entrypoint 2021-01-13 17:20:49 +00:00
Nero 750bfbdc60 Remove outdated comments 2021-01-05 00:15:36 +00:00
Nero 34023678a4 Implement current drive for user programs 2021-01-04 23:29:50 +00:00
Nero 7e2e91b2b7 Reorder code and remove unused farptr components 2021-01-04 23:19:14 +00:00
Nero 0256d6ab36 Improve syscall gateway: now position-independent
Also it now keeps all register values except SS:SP on entry.
2021-01-04 23:01:14 +00:00
Nero fb4bbfc8cf Continued development on int 21h interface 2021-01-03 18:11:41 +00:00
Nero 3f8cfaac42 Remove debugging output 2021-01-03 18:10:54 +00:00