Commit graph

1606 commits

Author SHA1 Message Date
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
e378e212a1 Updates to Xenni's Workspace 2009-05-11 00:51:56 +00:00
Xenni_cp
cbf7aff2d8 2009-05-11 00:49:57 +00:00
Xenni_cp
58debd6827 Small Bug Fix to DynamicMethodEmit Engine.
The Bug caused multiarrays of types in the Entry Point Assembly to not be recognized.
2009-05-07 00:08:43 +00:00
Xenni_cp
42167cd906 Added comments to DynamicMethodEmit compiler-time service I wrote.
Should be alot easier to use now!
2009-05-06 01:05:39 +00:00
Xenni_cp
cdda155cb5 Added simple boolean property (EnableDebug) which disables the heap consumption status line if set to false. 2009-05-05 22:49:19 +00:00
Xenni_cp
61487e92f0 2009-04-20 02:29:22 +00:00
Xenni_cp
9e156a6f13 First steps to MultiArrays! 2009-04-16 04:23:55 +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
c89dd93729 Added new CosmosViewer project. VNC Protocol based network display of GUI for Cosmos 2009-04-07 04:53:30 +00:00
sschocke_cp
77d1d1a038 Fixed some reference and missing file errors in CosmosBoot and Indy.IL2CPU.Assembler projects 2009-04-07 04:52:33 +00:00
sschocke_cp
056ff70b2c Fixed few more bugs in TCP Stack:
TCP Packets larger than 255 bytes now have their TCP Checksum correctly calculated. 
Large packet fragmentation now happens. 
MSS is negotiated during connection startup
2009-04-07 04:51:32 +00:00
sschocke_cp
e3a3184700 Fixd a minor bug on the Incoming TCP connection side where the Connect callback was called before the client ACKed the connection 2009-04-05 08:49:40 +00:00
sschocke_cp
cc0fa5a4cc Added routing via default gateways to TCP/IP Stack
Added outgoing TCP connection support to TcpClient
Added disconnect event and Closing down of TCP connections to TcpClient
2009-04-04 19:55:13 +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
59b34f5c76 removed some invalid plugs 2009-03-27 17:46:53 +00:00
sschocke_cp
a511837d41 Removed unused TcpListener class from previous commit 2009-03-26 17:03:22 +00:00
sschocke_cp
c309d68869 Added functionality to listen to incoming TCP connections. See my SSchockeTest workspace for an example of how to use. 2009-03-26 17:01:41 +00:00
sschocke_cp
adebc5fa19 Added UInt64 support to ToHex extensions, and also improved ConvertToHex methods for other numbers 2009-03-22 13:27:23 +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
ef4fe5c26c Moved my current TCP Stack implementation into Cosmos.Sys
Moved Chad's files into a seperate folder for now
Removed all TCP Stack related files from my workspace
Updated my workspace Program.cs to demo how TCPIPStack class should be used
2009-03-18 20:44:26 +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
c78bcdec9c Pingable TCP/IP stack implementation in my workspace. Set IP address up in Program.cs 2009-03-14 12:57:38 +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
54253f87d2 Binary emission is now capable of emitting ELF programs 2009-03-08 12:59:31 +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
Dokugogagoji_cp
d4fbd6ae1c APM shutdown and ACPI Shutdown (only for QEmu and Boschs because I need to routine a method for getting ACPI address) 2009-02-13 11:55:59 +00:00
feal87_cp
92c24ec405 Little fix on the previous commit. 2009-02-12 16:45:57 +00:00
feal87_cp
3df01f7746 Added an eratosthene benchmark and created the first implementation of a plug (total reimplementation) for the TimeSpan class on my playground. (Still not working on Cosmos, because we miss the float support.) 2009-02-12 16:28:10 +00:00
feal87_cp
e5baeb9354 Created my playground and done a little modify to the TestRunner project. 2009-02-12 11:33:02 +00:00
feal87_cp
f1fa3070a3 Modified the TestRunner project to be finally functional 100% or so, have still to investigate if there is a way to tell QEmu to quit after the VM is halted. More to come. ;) 2009-02-11 20:24:47 +00:00
feal87_cp
6fce175f87 As worked out with mterwood, we fixed the communication between the QEmu serial port and the client application in the Cosmos.TestRunner application. It now execute correctly. 2009-02-11 18:49:12 +00:00
mterwoord_cp
be63d4c9d9 2009-02-01 09:47:46 +00:00
BassemMohsenFarid_cp
7ebb83e10f 2009-01-16 12:42:24 +00:00
BassemMohsenFarid_cp
e94a59c774 Now the FlatFileUpdater saves the solution file using the UTF-8 encoding instead of the ANSI encoding. This allows the solution to be opened in Visual C# Express by double-clicking the solution file.
I also updated the flat solution file (Cosmos.Flat.sln).
2009-01-16 01:44:00 +00:00
kudzu_cp
26c3054851 2009-01-14 18:57:12 +00:00
mterwoord_cp
b9200d6e44 2009-01-14 18:35:14 +00:00
kudzu_cp
7bb985068f 2009-01-12 05:36:44 +00:00
kudzu_cp
21b5d51fab 2009-01-12 05:00:12 +00:00
kudzu_cp
2c5cffefda 2009-01-12 03:51:14 +00:00
kudzu_cp
81d253ea00 2009-01-12 03:38:00 +00:00