bootcensus
5 years agogeneralized pixel format handling in 3d pipeline master
John Tsiombikas [Wed, 4 Sep 2019 10:53:43 +0000 (13:53 +0300)]
generalized pixel format handling in 3d pipeline

5 years agofoo
John Tsiombikas [Tue, 3 Sep 2019 19:55:23 +0000 (22:55 +0300)]
foo

5 years agoinstmbr script from 256boss
John Tsiombikas [Tue, 3 Sep 2019 11:07:34 +0000 (14:07 +0300)]
instmbr script from 256boss

5 years agoswitched to the 256boss-style disk image creation
John Tsiombikas [Tue, 3 Sep 2019 11:07:09 +0000 (14:07 +0300)]
switched to the 256boss-style disk image creation

5 years agocensus logo
John Tsiombikas [Tue, 3 Sep 2019 10:20:10 +0000 (13:20 +0300)]
census logo

5 years agomoved over the polyfiller code and implemented blending
John Tsiombikas [Tue, 3 Sep 2019 03:19:29 +0000 (06:19 +0300)]
moved over the polyfiller code and implemented blending

5 years agoadded logo eval, data, and cgmath
John Tsiombikas [Mon, 2 Sep 2019 13:38:14 +0000 (16:38 +0300)]
added logo eval, data, and cgmath

5 years agoMerge branch 'master' of github.com:jtsiomb/pcboot
John Tsiombikas [Mon, 2 Sep 2019 13:29:57 +0000 (16:29 +0300)]
Merge branch 'master' of github.com:jtsiomb/pcboot

5 years agobackported more fixes from 256boss
John Tsiombikas [Mon, 2 Sep 2019 13:28:08 +0000 (16:28 +0300)]
backported more fixes from 256boss

5 years agoremoved more lfs files
John Tsiombikas [Mon, 2 Sep 2019 11:58:34 +0000 (14:58 +0300)]
removed more lfs files

5 years agofoo
John Tsiombikas [Mon, 2 Sep 2019 02:55:44 +0000 (05:55 +0300)]
foo

5 years agobackported fixes from 256boss
John Tsiombikas [Mon, 2 Sep 2019 00:24:29 +0000 (03:24 +0300)]
backported fixes from 256boss

5 years ago- moved the int86 code out of the 2nd stage boot loader code, and into a
John Tsiombikas [Wed, 29 May 2019 18:53:48 +0000 (21:53 +0300)]
- moved the int86 code out of the 2nd stage boot loader code, and into a
  new lowcode.s file with its own section (.lowtext) which is placed in
  low memory alongside the boot loader by the linker (backported from
  256boss).

5 years agoMerge branch 'master' of github.com:jtsiomb/pcboot
John Tsiombikas [Tue, 28 May 2019 16:49:33 +0000 (19:49 +0300)]
Merge branch 'master' of github.com:jtsiomb/pcboot

5 years agobackported malloc fixes from 256boss, plus the addition of calloc and
John Tsiombikas [Tue, 28 May 2019 16:49:06 +0000 (19:49 +0300)]
backported malloc fixes from 256boss, plus the addition of calloc and
realloc

5 years agobackported fixes from 256boss:
John Tsiombikas [Sat, 25 May 2019 20:36:30 +0000 (23:36 +0300)]
backported fixes from 256boss:
 - moved early serial console from 1st to 2nd stage loader, to leave
   space for the partition table if needed.
 - saving boot_drive_number for later use.
 - fixed floppy motor turnoff after 2nd stage loader is done.
 - saving of carry flag before returning from int86.
 - added functions in intr.h/intr.c to manipulate the PIC IRQ masks.
 - restoring irq masks after returning from int86.
 - keyboard controller voodoo: do a single read after returning from
   int86 to clear any pending inputs that would otherwise clog the
   buffer and we'd never get an interrupt again from the keyboard.

5 years agofixed bug in boot2.s: when booting from floppy, the motor would keep
John Tsiombikas [Thu, 2 May 2019 00:57:51 +0000 (03:57 +0300)]
fixed bug in boot2.s: when booting from floppy, the motor would keep
going for ever.

5 years agofixed bug in physical page allocator init: would mark way much more
John Tsiombikas [Wed, 1 May 2019 23:25:57 +0000 (02:25 +0300)]
fixed bug in physical page allocator init: would mark way much more
memory as used by the allocation bitmap, than necessary.

5 years agofixed: int86 failed to preserve returned flags (backported from 256boss)
John Tsiombikas [Mon, 29 Apr 2019 21:13:05 +0000 (00:13 +0300)]
fixed: int86 failed to preserve returned flags (backported from 256boss)

5 years agoadded makefile rule to create bootable CDs and removed a printf call in
John Tsiombikas [Wed, 23 Jan 2019 02:20:08 +0000 (04:20 +0200)]
added makefile rule to create bootable CDs and removed a printf call in
vbetest which interfered with the video mode by attempting to change the
CRTC scroll registers.

5 years agofixed soundblaster output (DMA bug)
John Tsiombikas [Wed, 23 Jan 2019 01:53:46 +0000 (03:53 +0200)]
fixed soundblaster output (DMA bug)

6 years agoremoved waiting for CTS in serial out and reinstated the serial output by default...
John Tsiombikas [Sat, 9 Jun 2018 11:47:30 +0000 (14:47 +0300)]
removed waiting for CTS in serial out and reinstated the serial output by default. This needs to become an option of some sort.

6 years agothe serial output seems to hang one computer I tried. need to debug later. disabling...
John Tsiombikas [Thu, 7 Jun 2018 03:33:03 +0000 (06:33 +0300)]
the serial output seems to hang one computer I tried. need to debug later. disabling it for now.

6 years agoadded a bit more space after the PCI enumeration to make output more
John Tsiombikas [Thu, 7 Jun 2018 03:25:22 +0000 (06:25 +0300)]
added a bit more space after the PCI enumeration to make output more
readable

6 years agocleaned up the irq/dma detect code
John Tsiombikas [Thu, 24 May 2018 23:47:12 +0000 (02:47 +0300)]
cleaned up the irq/dma detect code

6 years agosound blaster code works, plus auto-detect IRQ/DMA where possible
John Tsiombikas [Thu, 24 May 2018 23:40:42 +0000 (02:40 +0300)]
sound blaster code works, plus auto-detect IRQ/DMA where possible

6 years agoadding PCM file through LFS this time (hopefully)
John Tsiombikas [Thu, 24 May 2018 19:18:54 +0000 (22:18 +0300)]
adding PCM file through LFS this time (hopefully)

6 years agoaccidentally commited a binary file without first enabling LFS...
John Tsiombikas [Thu, 24 May 2018 19:17:54 +0000 (22:17 +0300)]
accidentally commited a binary file without first enabling LFS...

6 years agosound blaster code doesn't work yet
John Tsiombikas [Thu, 24 May 2018 19:15:14 +0000 (22:15 +0300)]
sound blaster code doesn't work yet

6 years agostarted the sound blaster audio driver
John Tsiombikas [Thu, 24 May 2018 04:29:09 +0000 (07:29 +0300)]
started the sound blaster audio driver

6 years agotried to make ps/2 mouse work in "remote mode" (polling), but it doesn't
John Tsiombikas [Sat, 12 May 2018 01:21:21 +0000 (04:21 +0300)]
tried to make ps/2 mouse work in "remote mode" (polling), but it doesn't
work. For now only interrupt (stream mode) works.
Also added ser_printf

6 years agoadded PS/2 mouse code
John Tsiombikas [Thu, 10 May 2018 00:47:35 +0000 (03:47 +0300)]
added PS/2 mouse code

6 years agopci enumeration
John Tsiombikas [Mon, 7 May 2018 13:15:08 +0000 (16:15 +0300)]
pci enumeration

6 years agoinit_pci
John Tsiombikas [Sun, 6 May 2018 15:04:25 +0000 (18:04 +0300)]
init_pci

6 years agocomments in int86
John Tsiombikas [Thu, 3 May 2018 23:40:59 +0000 (02:40 +0300)]
comments in int86

6 years agoremoved leftover debug prints
John Tsiombikas [Thu, 3 May 2018 23:19:57 +0000 (02:19 +0300)]
removed leftover debug prints

6 years agofixed int86 to return correctly from BIOS calls that internally change
John Tsiombikas [Thu, 3 May 2018 20:37:51 +0000 (23:37 +0300)]
fixed int86 to return correctly from BIOS calls that internally change
to protected mode and back to real mode, undoing our unreal mode hack in
the process.

6 years agofixed VBE bugs
John Tsiombikas [Thu, 3 May 2018 05:56:42 +0000 (08:56 +0300)]
fixed VBE bugs

6 years agovbe mode query
John Tsiombikas [Wed, 2 May 2018 21:28:27 +0000 (00:28 +0300)]
vbe mode query

6 years agofixed int86 not setting segment registers
John Tsiombikas [Wed, 2 May 2018 16:52:51 +0000 (19:52 +0300)]
fixed int86 not setting segment registers

6 years agofoo
John Tsiombikas [Wed, 2 May 2018 10:45:40 +0000 (13:45 +0300)]
foo

6 years agoinitial hasty attempt at porting over my VBE code
John Tsiombikas [Wed, 2 May 2018 03:55:08 +0000 (06:55 +0300)]
initial hasty attempt at porting over my VBE code

6 years agoMerge pull request #1 from cherouvim/patch-1
John Tsiombikas [Mon, 30 Apr 2018 23:11:34 +0000 (02:11 +0300)]
Merge pull request #1 from cherouvim/patch-1

typo in the README file

6 years agoignore memory ranges above 4gb
John Tsiombikas [Mon, 30 Apr 2018 20:58:20 +0000 (23:58 +0300)]
ignore memory ranges above 4gb

6 years agotypo
Ioannis Cherouvim [Mon, 30 Apr 2018 20:34:21 +0000 (23:34 +0300)]
typo

6 years agohandling spurious interrupts correctly
John Tsiombikas [Mon, 30 Apr 2018 16:01:44 +0000 (19:01 +0300)]
handling spurious interrupts correctly

6 years agomalloc (untested)
John Tsiombikas [Mon, 30 Apr 2018 15:26:56 +0000 (18:26 +0300)]
malloc (untested)

6 years agophysical page allocator
John Tsiombikas [Sun, 29 Apr 2018 18:44:41 +0000 (21:44 +0300)]
physical page allocator

6 years agocomments
John Tsiombikas [Sun, 29 Apr 2018 13:24:46 +0000 (16:24 +0300)]
comments

6 years agomemory detection
John Tsiombikas [Sun, 29 Apr 2018 13:13:11 +0000 (16:13 +0300)]
memory detection

6 years agoMerge branch 'master' of github.com:jtsiomb/pcboot
John Tsiombikas [Sun, 29 Apr 2018 05:14:27 +0000 (08:14 +0300)]
Merge branch 'master' of github.com:jtsiomb/pcboot

6 years ago- memory detection with BIOS 0x15/0xe820
John Tsiombikas [Sun, 29 Apr 2018 05:13:05 +0000 (08:13 +0300)]
- memory detection with BIOS 0x15/0xe820
- fixed video text scrolling in contty

6 years agofixed memcpy
John Tsiombikas [Sat, 28 Apr 2018 20:18:04 +0000 (23:18 +0300)]
fixed memcpy

6 years agomoving some standard library functions to assembly
John Tsiombikas [Sat, 28 Apr 2018 19:58:27 +0000 (22:58 +0300)]
moving some standard library functions to assembly

6 years agologohack exit on escape
John Tsiombikas [Fri, 27 Apr 2018 16:46:45 +0000 (19:46 +0300)]
logohack exit on escape

6 years agoint86 seems to work
John Tsiombikas [Fri, 27 Apr 2018 14:15:24 +0000 (17:15 +0300)]
int86 seems to work

6 years agogeneralizing the 16bit interrupt hack to an arbitray int86() call
John Tsiombikas [Fri, 27 Apr 2018 13:56:33 +0000 (16:56 +0300)]
generalizing the 16bit interrupt hack to an arbitray int86() call

6 years agoswitch video mode hack by dropping to real mode to call the video bios works!
John Tsiombikas [Fri, 27 Apr 2018 09:01:03 +0000 (12:01 +0300)]
switch video mode hack by dropping to real mode to call the video bios works!

6 years agoremoved "unimplemented" disclaimer from readme. It's rough but usable now.
John Tsiombikas [Thu, 26 Apr 2018 08:48:10 +0000 (11:48 +0300)]
removed "unimplemented" disclaimer from readme. It's rough but usable now.

6 years agoadded copyright headers to new files
John Tsiombikas [Thu, 26 Apr 2018 08:46:12 +0000 (11:46 +0300)]
added copyright headers to new files

6 years agofixed clear .bss code
John Tsiombikas [Thu, 26 Apr 2018 08:41:46 +0000 (11:41 +0300)]
fixed clear .bss code

6 years agointerrupts, timer, keyboard, segments, lots of kernel code
John Tsiombikas [Thu, 26 Apr 2018 07:52:18 +0000 (10:52 +0300)]
interrupts, timer, keyboard, segments, lots of kernel code

6 years agomain kernel startup, libc, console tty, asmops, build flags fixes
John Tsiombikas [Wed, 25 Apr 2018 14:07:21 +0000 (17:07 +0300)]
main kernel startup, libc, console tty, asmops, build flags fixes

6 years agocommented out debug print of the first 32bits of each track loaded
John Tsiombikas [Tue, 24 Apr 2018 23:44:31 +0000 (02:44 +0300)]
commented out debug print of the first 32bits of each track loaded

6 years agosecond stage boot loader now loads the main program
John Tsiombikas [Tue, 24 Apr 2018 23:42:31 +0000 (02:42 +0300)]
second stage boot loader now loads the main program

6 years agodebugging loading full program in unreal mode
John Tsiombikas [Tue, 24 Apr 2018 15:32:46 +0000 (18:32 +0300)]
debugging loading full program in unreal mode

6 years agoJust in case we started from a floppy, turn the motors off when done
John Tsiombikas [Sat, 21 Apr 2018 01:30:59 +0000 (04:30 +0300)]
Just in case we started from a floppy, turn the motors off when done
loading

6 years agoFixed dobule-faults: the BIOS 13h calls enabled interrupts behind my back
John Tsiombikas [Thu, 19 Apr 2018 04:23:07 +0000 (07:23 +0300)]
Fixed dobule-faults: the BIOS 13h calls enabled interrupts behind my back
Protected mode setup works.

6 years agoprotected mode debugging
John Tsiombikas [Wed, 18 Apr 2018 08:41:18 +0000 (11:41 +0300)]
protected mode debugging

6 years agopointless effect in boot2, just for fun
John Tsiombikas [Sun, 15 Apr 2018 23:42:19 +0000 (02:42 +0300)]
pointless effect in boot2, just for fun

6 years agoprint_num clobbers eax, we need to reload _boot2_size after it returns
John Tsiombikas [Sun, 15 Apr 2018 16:15:37 +0000 (19:15 +0300)]
print_num clobbers eax, we need to reload _boot2_size after it returns

6 years agosemi-colon in copyright header caused a termination of the hash comment(?!)
John Tsiombikas [Sun, 15 Apr 2018 05:02:14 +0000 (08:02 +0300)]
semi-colon in copyright header caused a termination of the hash comment(?!)

6 years agoadded README and license
John Tsiombikas [Sun, 15 Apr 2018 03:17:02 +0000 (06:17 +0300)]
added README and license

6 years agotesting git LFS (large file support), added binary image and palette files
John Tsiombikas [Sun, 15 Apr 2018 02:41:08 +0000 (05:41 +0300)]
testing git LFS (large file support), added binary image and palette files

6 years agofixed USB booting issue
John Tsiombikas [Sun, 15 Apr 2018 02:33:24 +0000 (05:33 +0300)]
fixed USB booting issue

6 years agocleanup and getchs
John Tsiombikas [Sat, 14 Apr 2018 17:33:57 +0000 (20:33 +0300)]
cleanup and getchs

6 years agofixed partial loading bug
John Tsiombikas [Sat, 14 Apr 2018 06:28:47 +0000 (09:28 +0300)]
fixed partial loading bug

6 years agomore debugging
John Tsiombikas [Wed, 11 Apr 2018 15:30:15 +0000 (18:30 +0300)]
more debugging

6 years agoserial debugging in first stage loader
John Tsiombikas [Tue, 10 Apr 2018 04:31:48 +0000 (07:31 +0300)]
serial debugging in first stage loader

6 years agosecond stage loader loading semi-works
John Tsiombikas [Tue, 10 Apr 2018 01:18:43 +0000 (04:18 +0300)]
second stage loader loading semi-works

6 years agoworking on the boot loader
John Tsiombikas [Mon, 9 Apr 2018 01:44:24 +0000 (04:44 +0300)]
working on the boot loader

6 years agohacking the 1st stage loader
John Tsiombikas [Sun, 8 Apr 2018 05:11:47 +0000 (08:11 +0300)]
hacking the 1st stage loader

6 years agoinitial commit
John Tsiombikas [Sat, 7 Apr 2018 04:28:20 +0000 (07:28 +0300)]
initial commit