Commit graph

346 commits

Author SHA1 Message Date
kudzu_cp
152ad7a9b2 Frakalicious! We have lift off! 2012-07-02 03:24:03 +00:00
kudzu_cp
0790ed2cd9 2012-06-29 05:06:35 +00:00
kudzu_cp
21c5709b34 DebugStub work. 2012-03-26 15:03:59 +00:00
sschocke_cp
d8e888eac5 UDP Send and Receive now working.
Use new UdpClient(portNumber) to create a UDP client listening on that port, and UdpClient.Receive() to receive packets.
2012-03-21 12:03:04 +00:00
blah38621_cp
3504b38ecf Modified the license in LinkedQueue, it is now released under the public domain. 2012-03-15 04:19:25 +00:00
A51UK_cp
edb55b10f5 2012-03-13 16:04:40 +00:00
A51UK_cp
177a390311 2012-03-13 13:59:08 +00:00
A51UK_cp
49cda88d17 2012-03-13 12:17:00 +00:00
A51UK_cp
c88a6411f7 New Managed memory system 2012-03-13 11:43:01 +00:00
sschocke_cp
2ac239e62e Fixed broken Cosmos initiated ARP process
Added initial UDP support
UdpClient can be used to send UDP packets... No receiving possible yet.
2012-03-02 21:49:29 +00:00
sschocke_cp
544da465a4 Implemented workaround in NetworkStack to bypass the VMT scanner issue for now. 2012-02-29 20:31:56 +00:00
A51UK_cp
943be0dd2a 2012-02-27 20:00:23 +00:00
A51UK_cp
8b6d310dc9 Process and Memory Management classes. Note: they are not fully done. 2012-02-27 19:59:23 +00:00
Trivalik_cp
c23c2e6317 improve SVGAII
fix SetPixel/GetPixel calculation
add check for capability to implement fill and copy rect
2012-02-25 00:17:32 +00:00
Trivalik_cp
9cb1bb3797 fix WriteToFifo() in SVGAII driver 2012-02-23 22:19:05 +00:00
blah38621_cp
f63774aa9d Small change to the VMWareSVGAII driver. 2012-02-16 20:31:30 +00:00
sschocke_cp
24c27d23ef Added network support. ARP and ICMP echo(ping) is working. Couple of major changes here, so please re-run install.bat 2012-02-05 20:24:53 +00:00
sschocke_cp
262f0080df Added a new Attribute called DebugStub. Has a property Off which when set to true specifies that no debugstub calls should be inserted for code in this function. NOT FOR GENERAL USE!! CAUTION: No debugging what so ever is possible on a function with this attribute applied. Useful for large loops of tested code where speed is of the essence 2012-02-03 17:32:53 +00:00
sschocke_cp
b6e98c13c2 Implemented MemoryBlock changes as discussed with Matt and mailing list - all offsets are not byte offsets, and the TextScreen and VMWareSVGA classes have been updated to use the new functions 2012-02-02 20:06:45 +00:00
sschocke_cp
0bbab9e1e6 Added SSchocke Playground - Contains porting effort for AMD PCNetII Driver
Fixed PCIDevice so that Command and Status are dynamic properties. Also added Claimed to mark a Device as handled by a driver
Also added an EnableDevice call to PCIDeviceNormal that enables the PCI Device on the bus
2012-02-01 19:38:29 +00:00
kudzu_cp
049b8cc643 Assembler namesepace changes complete. 2012-01-23 22:52:12 +00:00
kudzu_cp
a91ff3a15d 2012-01-23 22:29:57 +00:00
kudzu_cp
903e0b727f 2012-01-23 22:15:20 +00:00
Trivalik_cp
a8073141e1 add pcspeaker iogroup to project file 2012-01-23 16:27:36 +00:00
kudzu_cp
1712fdb0fe Namespace change 2012-01-23 15:17:54 +00:00
HKS_cp
d276668fae Missed the actual ports 2012-01-23 14:15:39 +00:00
HKS_cp
b6a63f6e62 Added pcspeaker to IOgroups 2012-01-23 14:14:28 +00:00
HKS_cp
66a97a383e Added PcSpeaker class 2012-01-23 14:13:32 +00:00
kudzu_cp
34ee173563 2012-01-23 14:00:42 +00:00
kudzu_cp
872530ae5f 2012-01-23 13:52:50 +00:00
kudzu_cp
f029a2e400 Move to Mov (To identify with asm) 2012-01-23 13:23:59 +00:00
kudzu_cp
7cb8bd8dd4 2012-01-22 23:39:41 +00:00
kudzu_cp
726b6d534d Namespace change 2012-01-22 22:01:18 +00:00
kudzu_cp
ef0cf87258 2012-01-22 21:27:59 +00:00
kudzu_cp
f799b03867 Removed test code. 2012-01-22 15:15:39 +00:00
kudzu_cp
641da058e7 2012-01-16 14:54:19 +00:00
kudzu_cp
06e96d09e5 2012-01-16 04:56:51 +00:00
kudzu_cp
c7a0921085 Work for new tool window. 2012-01-04 05:11:15 +00:00
blah38621_cp
dcd685a90f More from Gendarme. Cosmos.VS.Package's AssemblyVersion attribute didn't match it's AssemblyFileVersion, they now match. Sealed a few non-inherited attributes. Also made private field actually used as was intended. 2011-10-23 00:15:19 +00:00
blah38621_cp
1b922726f0 The first of a series of commits as I work my way down the list of things Gendarme found wrong. (a large amount is likely to be skipped, as gendarme found 13k potential issues.)
This one makes sure that constructors for abstract classes are protected, not public, as the constructor can only be called by child classes.
2011-10-22 23:19:51 +00:00
blah38621_cp
362cd25d80 I somehow failed to remove a Console.WriteLine directive from when I was debugging the System.Math plug. That directive is now removed. 2011-10-22 22:51:20 +00:00
HKS_cp
421544d8cb Masked PIT again - Now only keyboard and PS2 is unmasked 2011-10-18 10:34:17 +00:00
HKS_cp
19249be675 Added PIT to interrupt 2011-10-18 09:16:45 +00:00
blah38621_cp
ab2a8ab438 Added the COM IOGroup, to allow a basic Logger implementation that logs to a Com port. Also added a TestRunner project, which currently includes tests for the logger itself, and tests for the comparison operators for byte, sbyte, ushort, short, uint, int, ulong, long, float, and double. 2011-10-09 21:52:05 +00:00
blah38621_cp
b1f7c58a6b Made IL2CPU's scanning multi-threaded, as well as it's plug scanning. Also made the exceptions that a few instructions throw much easier to locate which file they are being thrown from. 2011-10-07 23:42:19 +00:00
blah38621_cp
71464309ed Removed the plugs for the PadLeft and PadRight methods, which shouldn't have been created in the first place as PadHelper was already plugged. 2011-10-06 20:54:14 +00:00
blah38621_cp
2ec9169194 Fixed a small issue in DeviceClass's GetString Method, it was comparing a 16-bit string literal against a 32-bit string literal, and as such would never return the correct value. 2011-10-05 23:42:09 +00:00
Trivalik_cp
c134a571fa fix Conv, Ldelem, Mul, Newobj for string, Rem ( modulo), fix memory zero in cpuimpl, add char[] to debug in VS 2011-09-28 18:56:41 +00:00
blah38621_cp
a42fbd6f3d Fixed the Sin, Cos, and Tan implementation in the System.Math plug, please note, they currently will not work, as there are still a few issues with double comparison. 2011-09-27 21:43:02 +00:00
blah38621_cp
ad9cf425a4 Somehow missed Math.Round when I was plugging System.Math, so it's now implemented. Please note, it won't actually work until modulus is supported for doubles. 2011-09-20 20:50:10 +00:00
boeman_cp
929da17837 Fix for PCI Enumeration, now it does not check every bus 2011-09-19 22:28:48 +00:00
blah38621_cp
aee4bdbbb1 Got my optimizer working. It's currently only enabled if you have the debug level set to none. Also added a plug for System.Random that doesn't depend on the current tick count. 2011-09-17 17:37:36 +00:00
blah38621_cp
7798780f57 Implemented the RTC, it should now support all possible options that RTC can support. 2011-09-17 16:51:03 +00:00
blah38621_cp
b1795b585e Added the Clear, and DefineCursor functions to the repository version of the VMWareSVGAII driver. 2011-09-16 18:30:17 +00:00
blah38621_cp
c92a4d31df Fully plugged the System.Math class with a pure C# version. Commented out the old version of this plug, but left it there. Also commented out the exception that was being thrown in Cosmos.Hardware.BlockDevice, which was preventing system booting. 2011-09-15 21:09:52 +00:00
boeman_cp
69a4745c54 Implemented support for PCI Devices
Added VMWareSVGAII Driver
2011-09-14 10:42:22 +00:00
HKS_cp
bbb0ca4dc6 2011-09-09 19:55:10 +00:00
Trivalik_cp
420a29936f move sqrt from core to il2cpu.x86 2011-09-03 12:02:07 +00:00
Trivalik_cp
51e893eb74 add movsx, fchs
implement neg CIL (needed for Abs())
fix floor and ceiling in range of int
add sign extension to LdArg and LdLoc
remove unneeded math functions, like min,max,abs
2011-09-02 21:03:14 +00:00
HKS_cp
a896c7dfa7 Added Ceiling and Floor functions. 2011-08-28 19:17:49 +00:00
HKS_cp
a8c3ed3f4c More fixes incoming for Sin function. It's a little broken atm. 2011-08-23 19:00:54 +00:00
HKS_cp
baf82cd6f2 Updated the Sin and Cos functions as the double operand issue is now fixed. 2011-08-23 18:08:42 +00:00
HKS_cp
6bd7f593dc Fixed the Sin, Cos and Tan functions so they actually work outside the realm of -90 | +90.
Later I will add the realm outside -90 and +360.
2011-08-19 18:19:25 +00:00
HKS_cp
fc6cb9b4ea Added Sin, Cos, Tan and Factorial. Precision 5 digits. Hard fixed untill double is fixed. Can be made more precise later. 2011-08-19 00:37:12 +00:00
blah38621_cp
c526f44444 Applied patch 10214, which fixes work item 14107. Also reverted IOPortImpl back to the Assembler attribute, as my Inline attribute was causing issues. 2011-08-17 16:57:18 +00:00
kudzu_cp
01cb66caab 2011-07-22 14:49:58 +00:00
blah38621_cp
3c43265327 Fixed my mouse file, it now compiles. It's also now un-commented. (Possible future change: Make BaseIOGroups a static class) 2011-07-20 00:32:46 +00:00
Sentinel209_cp
a208ab88ba Removed mouse for now. 2011-07-19 00:40:03 +00:00
blah38621_cp
13da7a5b1d Formatted and Organized INTs.cs 2011-07-18 21:23:44 +00:00
blah38621_cp
c576c8baf9 Fixed the formatting of the code in AtaPio 2011-07-18 21:00:07 +00:00
blah38621_cp
1e3b6b0b6d Updated the Mouse to pull from the BaseIOGroups class. Also added the mouse to that class. 2011-07-18 20:46:54 +00:00
kudzu_cp
bf883e964a 2011-07-18 00:02:27 +00:00
kudzu_cp
79dd1eae4e 2011-07-17 03:08:55 +00:00
kudzu_cp
35089c88e9 2011-07-17 01:27:14 +00:00
kudzu_cp
12ae3a9b60 DebugStub now uses Int3. 2011-07-15 03:43:33 +00:00
kudzu_cp
5d145c351a IDT 2011-07-14 19:57:39 +00:00
kudzu_cp
aae5b4aade IDT work 2011-07-14 14:57:12 +00:00
kudzu_cp
1243533aaa Minor preliminary IDT changes. 2011-07-14 02:49:06 +00:00
kudzu_cp
3c6f36e6e8 Final GDT changes. GDT is now initlized in the proper place, much earlier in the boot process. 2011-07-14 00:46:46 +00:00
kudzu_cp
7d62cc9168 GDT rework complete. Still need to decouple it from C# and move it earlier in boot process. 2011-07-13 23:45:33 +00:00
kudzu_cp
17691a1c53 2011-07-13 20:53:20 +00:00
kudzu_cp
967ca09a2c GDT work 2011-07-13 05:05:35 +00:00
HKS_cp
d8cb4d7709 Added Mouse.cs to Cosmos.Hardware 2011-07-05 11:49:02 +00:00
HKS_cp
a7323e08e3 Unmasked mouse interrupt 2011-07-05 11:40:19 +00:00
mscoolnerd_cp
803bdaacff Commented out comparison of decimals 2011-06-20 00:52:36 +00:00
Trivalik_cp
c0300b0c7e fix Read8 in AtaPio 2011-06-19 20:59:28 +00:00
blah38621_cp
3a1d6eb573 Fixed a small issue in IOPort. Also fixed a few spelling mistakes in the comments. 2011-06-19 20:07:59 +00:00
Trivalik_cp
b1955b7f3a plug all public System.Console Methods, with an error message 2011-06-19 19:54:33 +00:00
blah38621_cp
b2a3ad6d96 Applied patch 7380. 2011-06-19 18:43:44 +00:00
Trivalik_cp
dfbf5f4f00 fix all branches for 64bit,
add comment in fatstream to array copy
2011-06-17 07:45:00 +00:00
Trivalik_cp
8cd3d9cf47 GDB Client, change function label to textbox, allows to copy the name
change filesystem to int64, logical error in Read()
fix Ldarg, Ldarga xExtraSize, now should work really 64 bit and greater
2011-06-16 20:56:22 +00:00
kudzu_cp
82d94f122e 2011-06-16 20:12:51 +00:00
Trivalik_cp
2b66b951ee add Conv_Ovf_I_Un implementation
fix wrong type in newobj
fix math.sqrt
2011-06-12 22:59:42 +00:00
Trivalik_cp
99e0bf99d4 count up position and add aCount correction if to great on Read() in FatStream 2011-06-12 13:47:25 +00:00
blah38621_cp
20ef289111 Added an Inline attribute, which when used on a method in a plug, processes that method as an Assembler. See the IOPortImpl.cs file for an example of this new capability. The old method of using Assemblers is still supported. Also added an IOGroup for the mouse. 2011-06-11 01:57:27 +00:00
Trivalik_cp
00ae6acb11 comment out ASCIIEncodingImpl, because is all CIL internal
comment in string.FastAllocateString plug
2011-06-11 00:37:21 +00:00
Trivalik_cp
522e276d05 plug Console.ReadKey, Console.Read 2011-04-17 20:27:26 +00:00
kudzu_cp
3d476911b2 2011-03-19 01:05:07 +00:00
Trivalik_cp
ae59e33d51 plug Math.Sqrt 2011-03-17 20:08:35 +00:00
kudzu_cp
5f0a735e37 Strings are now stored in memory comparable to how it works in .net (and probably mono) 2011-03-17 15:04:24 +00:00