Commit graph

289 commits

Author SHA1 Message Date
kudzu_cp
be3ccb0f23 2009-09-07 15:51:58 +00:00
sschocke_cp
39ab2ac233 Added a Claimed property to PCIDevice class to indicate that this PCI device has infact been claimed by a driver
Updated Network Card drivers and VMWare SVGA test driver to update and use the Claimed property from above
2009-08-26 14:40:23 +00:00
mterwoord_cp
7b9ea44b9f Compiler works again 2009-08-14 16:38:40 +00:00
mterwoord_cp
05d6b5298d Filesyustems work now 2009-06-14 11:31:06 +00:00
mterwoord_cp
f305fddc64 Code seems to work again now.. 2009-06-13 14:28:05 +00:00
Xenni_cp
b150d89d31 Updates to PIT to remove buggy SoftwareTimer and fix broken Wait(). 2009-06-13 03:28:12 +00:00
Xenni_cp
c902816004 Updated Keyboard to include pretty much every standard key I have on my keyboard.
Also modified it to use ConsoleKey for both displayable and non-displayable scancodes in addition to using char.
Non-displayable scancodes have char '\0'. Non-ConsoleKey-able scancodes have 'ConsoleKey.NoName'.
Added KeyboardTest in my playground which displays scancode, char, and ConsoleKey of keys pressed on the keyboard.
2009-06-11 21:22:29 +00:00
Xenni_cp
07bf330064 Fixed bug in RTL8139.cs driver which caused QEMU to die on my system. 2009-06-11 02:23:32 +00:00
jdguzman_cp
77681bba88 Continuation of adding ignore rules for bin & obj dirs. 2009-06-11 01:34:22 +00:00
albertvermeulen_cp
2e40a2c99f Last of the Mess up 2009-06-10 21:04:37 +00:00
Xenni_cp
e78a5bda65 Small changes to PIT - spelling error and a slight speedup. 2009-06-10 20:26:35 +00:00
mterwoord_cp
ff197da2ad Intermediate checkin for compiler refactorings. DOES NOT WORK. DONT DOWNLOAD!! 2009-05-23 15:13:13 +00:00
smremde_cp
d3014fb564 2009-05-20 18:30:25 +00:00
smremde_cp
97682a9cf6 ACPI updates
debugmemoryview class
stevekernel changes
2009-05-19 20:59:26 +00:00
mterwoord_cp
3a8b42052d serial fix? 2009-05-17 14:52:50 +00:00
Xenni_cp
f06f0954a3 Work Item 6991: 'Colours' replaced with 'Colors'. :) 2009-05-13 02:12:54 +00:00
smremde_cp
6cb197ef15 VGAScreen changes
COSMO Logo on boot in SteveKernel
2009-05-12 22:48:31 +00:00
Xenni_cp
0def53f0e5 Small bug fix for PIT.
Also added init routine to Global.cs (Hardware) so that the new PIT will actually work. This is a MUST if you are using the new PIT.
2009-05-11 03:41:09 +00:00
Xenni_cp
577dcdb49e New PIT engine - 100% compatible with old version, but much more powerful. Tested and works on real hardware.
Small changes to Console.cs were also made to improve beep.
2009-05-11 00:54:27 +00:00
Xenni_cp
cbf7aff2d8 2009-05-11 00:49:57 +00:00
sschocke_cp
58bc3f184c Added a new network driver for the Via Rhine II (VT6102) network cards. Relatively recently used onboard network card. 2009-04-11 06:00:51 +00:00
sschocke_cp
dc6455ed5b Simple reboot of PC implemented in CPU class - Non ACPI
Redesigned Interrupt Handling so there are no fixed InterruptHandler delegates, but rather a method of assigning an interrupt handler to any IRQ number. This was needed because when booting on different hardware (actual hardware), the IRQ's assigned by ACPI to the PCI cards are not fixed. So for instance, the RTL8139 card got an IRQ12, whereas under QEMU it was IRQ11.
Updated all network drivers as well as the ES1370 and Keyboard drivers to use the new IRQ Handling methods.
Updated all network drivers to send out minimum 64 byte ethernet packets as smaller than this is not accepted by most network cards
2009-04-11 05:58:48 +00:00
sschocke_cp
e42825c450 Added ManagedMemorySpace class that extends MemoryAddressSpace class to create aligned memory buffers and hide pointer magic. Can also be used to obtain Address + Size for any existing byte[] buffer.
Updated both AMD PCNet driver and Realtek 8139 driver to use ManagedMemorySpace class. Effectively this removes all unsafe code from the drivers.
2009-04-04 12:26:38 +00:00
sschocke_cp
7af62315ec RTL8139 Driver Changes
Update Global to call driver initialization routines for different drivers. Devices are enumerated during startup regardless of what hardware you are using.
Update FrodeTest workspace to run via new NetworkDevice interface
Update Builder.cs so that QEMU gets called with only either "-net tap" or "-net user", as these two options conflict
Internalized most of the TCP/IP stack leaving only the User needed classes available to use.
Commented most of TCP/IP stack public methods, and cleaned out code a little bit.
2009-03-31 20:33:22 +00:00
Dokugogagoji_cp
24c47639ca ACPIManager stub
Some stupid warning removed for now
CultureInfo Plugs merged
Added VHD option (still disabled)
Some temporary plugs
2009-03-22 12:56:47 +00:00
sschocke_cp
f2ee6c3dd8 TCP/IP Stack now supports listening for incoming and sending outgoing UDP Packets. See Program.cs in my SSchockeTest project for example usage.
Cosmos.Sys project outputs XML documentation for classes that have documentation. This should be helpful for people playing around with the new User Kit.
2009-03-22 07:07:33 +00:00
sschocke_cp
e6b8928343 Added convenience overload of QueueBytes for sending entire byte[] buffer
Added event delegate so TCP Stack can attach itself to receive data from NetworkDevice
Added another MAC Address constant 00:00:00:00:00:00 as MACAddress.Zero
2009-03-18 20:41:52 +00:00
sschocke_cp
6786f83b27 Added ContainsKey method to TempDictionary 2009-03-14 12:56:31 +00:00
sschocke_cp
6ff3aa2345 2009-03-14 12:55:43 +00:00
sschocke_cp
5c8d9355bb Changes by mterwoord for managed memory access, and changes to the AMD PCNet driver to use them 2009-03-11 18:28:03 +00:00
sschocke_cp
12427fc9bb Added interrupt handling routine for AMD PCNet driver
Added AMD PCNet driver to Cosmos.Hardware.Network.Devices
2009-03-09 16:48:56 +00:00
sschocke_cp
47140a6627 Added my workspace
Added a few things to the Cosmos.Hardware.Network classes
My workspace includes prelimanary AMD PCNet Network Card Driver
2009-03-09 15:24:21 +00:00
sschocke_cp
4e9d21d466 Fixed PCI Bus enumeration - now correctly enumerates PCI bridges
Fixed Read8 and Read32 implementations. PCI Standard requires all reads to be 32-bits so reading 32-bit register and shifting to required register for result
Fixed Enable command to OR required parameters instead of ANDing them
2009-03-09 15:23:02 +00:00
mterwoord_cp
b7ac8a4929 refactorings for moving assembler out of engine 2009-02-24 10:04:03 +00:00
Dokugogagoji_cp
6ca8120fbd Deleted APM Code as we doesn't want BIOS Call 2009-02-14 08:59:14 +00:00
mterwoord_cp
9a06222cdb Initial work on a test kernel runner. works 2008-12-30 10:07:25 +00:00
mterwoord_cp
485b9c7ac2 2008-10-11 11:44:13 +00:00
mterwoord_cp
1df2f4c70a Filesystem reading works again 2008-10-06 09:38:43 +00:00
mterwoord_cp
0b89116197 fixes for serial port. it works with real hardware! 2008-09-21 11:15:13 +00:00
mterwoord_cp
48646d171e debugger printws correct eip's now. was related to ATA using wrong IO port 2008-08-31 17:08:18 +00:00
mterwoord_cp
3f49dfd8d3 * Some small cleanup.* compiler now shows messages again. (errors/warnings) 2008-08-31 07:45:52 +00:00
Scalpel_cp
4185f52a01 Added PC Speaker option and plugged Console.Beep 2008-08-25 21:20:19 +00:00
DarthDie_cp
9d0f8c53e4 Added RemoveChar function to TextScreen.cs. 2008-08-19 21:10:25 +00:00
mterwoord_cp
29d7c4371e Ethernet receiving seems to work. For now use the mBuffer field on the RTL8139 class 2008-08-17 17:14:55 +00:00
mterwoord_cp
f061c20c4e UDP sending works now. using chad's kernel 2008-08-17 07:25:44 +00:00
mterwoord_cp
b4837bc07d Several fixes 2008-08-16 14:06:00 +00:00
mterwoord_cp
ff4af1920f FPU/MMX/XMM/SSE/SSE2 seems to be usable now 2008-08-15 15:08:52 +00:00
mterwoord_cp
750ca662d8 ATA works on VMWare again.. 2008-08-14 13:51:50 +00:00
Scalpel_cp
2b7c85667b Added PCIBus again so that network code works. 2008-08-13 15:44:28 +00:00
Scalpel_cp
50937d4462 Removed PCIBus and ATA call again to make VMWare work 2008-08-12 21:24:03 +00:00