Charles Betros
2633005924
Exception regions and assembly ring.
2017-01-31 11:22:59 -06:00
Charles Betros
38626920d2
Added buffer plugs and changed some project configs to any cpu.
2017-01-29 22:59:35 -06:00
Charles Betros
296ca05ab0
Get references.
2017-01-22 09:07:37 -06:00
José Pedro
c095cbbf93
TestRunner port to net core.
2017-01-17 00:35:58 +00:00
Charles Betros
afd18e2f15
Code cleanup and solution cleanup for netcore.
2017-01-15 22:23:56 -06:00
fanoI
73aa970508
CGS finally works!
...
Please note that this version works only with Bochs.
- To make it works was needed to renounce to all structures (a part for primitive types) so now Mode and Color are classes.
- Implemented methods of Canvas DrawPoint(), DrawLine() and DrawRect() for now only color depth of 32 bit and integer coordinates are supported
- Changed IoPort of Bochs / VBE to MemoryBlock and not MemoryBlock08 so I can write an 32 bit ARGB color in only an operation instead of 4, this will semplify the future
work of RGB24 and RGB16 too. Changed the name to the correct one "LinearFrameBuffer".
- Made VBEDriver more object oriented (used enums instead of hardcoded values, created methods and so on...)
- Bugfix in the Pen class there was confusion in the setter / getter of the Color property
- In VBEScreen removed the old code that is not needed anymore, added check to method arguments (that throws in case of fatal errors)
2017-01-08 22:57:27 +01:00
Charles Betros
88bdb029a9
Progress on net core.
2017-01-03 15:31:21 -06:00
Charles Betros
216d8a3209
Get compiler working.
2016-12-29 00:20:34 -06:00
Charles Betros
10cfcbea73
Progress on netcore.
2016-12-28 00:27:54 -06:00
Suchiman
4425f66984
Remove outdated comments
2016-12-27 17:22:15 +01:00
Suchiman
570dd62085
Added basic Hyper-V support
2016-12-27 01:20:09 +01:00
Charles Betros
8e3046219a
Netcore changes.
2016-12-22 23:02:29 -06:00
Charles Betros
8d4f634d48
Going with PCL for now to make P2P references easier.
2016-12-19 10:45:38 -06:00
fanoI
86ff377084
First release of CGS, really preliminar work.
...
The kernel crashes for stack overflow :-)
2016-12-18 16:33:23 +01:00
Charles Betros
411ce3e872
Create projects and msbuild targets for dotnet core.
2016-12-13 22:39:41 -06:00
kaleb
ef489b0f2f
Dictionary test
2016-12-02 20:00:09 +10:00
José Pedro
8e2aa72d4e
Fix FAT test.
...
Minor changes in ToHexString and the FAT test.
2016-11-19 22:43:15 +00:00
José Pedro
91094a87ca
Fix MemberwiseClone.
...
Fix object sizes in Newobj.
Minor changes in Castclass and VTablesImpl.
2016-11-16 23:49:37 +00:00
José Pedro
e36451b6f9
Fixed try..finally blocks.
...
Added test for try..finally inside a finally.
2016-11-12 18:32:13 +00:00
José Pedro
39ea6ee678
Fixed return on foreach
...
Fixed Array.Clear
Minor changes
2016-11-09 00:08:23 +00:00
Charles Betros
4beeee98ab
Enable some tests and small change to fat allocation.
2016-11-03 14:02:44 -05:00
Charles Betros
ee3a8e7b62
Enable fat tests.
2016-11-02 23:30:30 -05:00
Charles Betros
a887cf87a0
Foreach tests.
2016-11-02 13:34:26 -05:00
Charles Betros
04ca044e34
Add array copy test.
2016-11-02 04:36:13 -05:00
fanoI
a277900369
- Fixed ldarga so it will work again with types > bytes
...
- Fixed typos on DoubleTest
- Restored GetNumberString() as it was on my commit of the end of August
2016-10-10 21:43:38 +02:00
José Pedro
1d6c9ecae8
Tests fixes and minor changes
2016-10-02 18:59:11 +01:00
José Pedro
a860b2373a
Fixed Newobj for string with length parameter.
...
Minor changes in debugging and FAT test messages.
Removed useless "if" in FAT, previously added by me.
2016-09-29 19:48:59 +01:00
Charles Betros
4b67c02f26
Fixed delegates and moved some assemblers.
2016-09-28 23:24:04 -05:00
Charles Betros
73ef14d551
Working on delegates.
2016-09-26 06:55:37 -05:00
Charles Betros
95f4dbad77
More memory work.
2016-09-11 07:53:45 -05:00
Charles Betros
a9cb616f86
Merge from master.
2016-09-07 19:42:40 -05:00
Charles Betros
71dfaac745
Merge from master
2016-09-07 19:24:30 -05:00
Charles Betros
1b18908a2b
working on statics.
2016-09-04 09:57:47 -05:00
Charles Betros
4f13a49a85
Compiler changes for memory.
2016-09-03 00:40:33 -05:00
fanoI
74534282bc
Merge pull request #448 from jp2masa/TestsUpdate
...
Tests Update
2016-08-30 13:56:11 +02:00
José Pedro
b60a78725f
Added Copy Message option. Added autoscroll to the ListView. Fixed ListView column autosize.
2016-08-28 19:41:30 +01:00
José Pedro
479c5ed8ff
Comment failing tests
2016-08-27 17:25:25 +01:00
Charles Betros
85103e9d9b
RAT progress
2016-08-26 07:02:18 -05:00
Charles Betros
4ab093e732
Merge pull request #394 from MichaelTheShifter/fat-stuff
...
Adds plug for System.IO.File.Delete(), and adds deletion capabilities to FAT.
2016-08-24 20:17:55 -05:00
fanoI
b16b034ff9
Restored Int32 tests and added another concat test to String.
2016-08-24 14:21:18 +02:00
José Pedro
92dad7b905
Merge branch 'master' of https://github.com/CosmosOS/Cosmos into TestsUpdate
2016-08-23 16:48:19 +01:00
fanoI
709741d569
Added file DictionaryTests.cs with preliminary not passing test of Dictionary BCL class
2016-08-22 17:18:40 +02:00
fanoI
e2f363a200
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.Bcl/System/DoubleTest.cs
# Tests/Cosmos.Compiler.Tests.Bcl/System/SingleTest.cs
2016-08-22 17:12:59 +02:00
fanoI
ad960c9a1a
Continuation of Float work
...
- Fixed Single.ToString() on special cases (infinities, NaN and 0) and aumented the range of printable values
- Fixed Double.ToString(): it always printed "Double Overrange" for a bug in opcode ldarga
- Fixed opcode ldarga: the displacement of the argument variable was off of 4 bytes
- Fixed opcodes shr, shr_un and shl when the shift was more that 32 bytes, added to BCL relative tests
- Added BLC tests regarding BitConverter and unsafe code
- Moved the meat of the code of Single.ToString() and Double.ToString() to the class StringHelper together with the analogous methods for numer types
- Re-added _floatsignbit to CosmosAssembler.cs so the neg test should not fail anymore
- Removed all code relative to x87 that I had left under #if false
- Clean up
2016-08-22 16:31:22 +02:00
Charles Betros
3f47a50ea0
Comment failing tests.
2016-08-18 23:29:03 -05:00
Charles Betros
045fe549fb
Merge branch 'master'
2016-08-18 16:55:23 -05:00
Charles Betros
565053414d
Merge pull request #369 from fanoI/master
...
- Initial work as for https://github.com/CosmosOS/Cosmos/issues/359
2016-08-18 16:32:23 -05:00
jp2masa
34bd089a69
Small Fix to FAT Test
2016-08-18 20:35:11 +01:00
José Pedro
24ed9f66e3
Fix error in FAT test
2016-08-18 18:55:18 +01:00
José Pedro
153cde7d5e
- CosmosVFS.GetDirectoryListing(DirectoryEntry): "Argument is null or empty" error - Fixed
...
- File.Delete and Directory.Delete implementations - Fully Working
- Change Guess demo references to Project References - Done
2016-08-18 15:32:29 +01:00
Charles Betros
73b81c7bcc
Working on rat.
2016-08-18 07:32:45 -05:00
José Pedro
ed181c503c
Added "Save Log" button to the Test Runner UI. Added tests for StreamReader, StreamWriter, BinaryReader and BinaryWriter for FAT. Added MemoryStream tests.
2016-08-11 17:02:23 +01:00
fanoI
e6143b75df
Source lose some changes... forced them!
2016-07-31 19:55:12 +02:00
fanoI
6e1bfb8d92
- Implemented Neg Opcode for floating point
...
- Added test for Neg OpCode for float and double
- Conv.U8 wrongly changed the sign of double before converting it to ulong
- Div_Un, Add_Ovf and Add_Ovf_Un had code for floating point but they should not have that for ECMA specs
2016-07-17 17:05:00 +02:00
fanoI
790ba2312c
Added test for conversion to float to ulong
2016-07-03 19:28:13 +02:00
fanoI
0af7c5b78f
- Finally the conversion of an ulong to a double works (IL opcode conv.r.un is completed)
...
- TestRunner should not be Run in process!
- Removed all unused 'variables' in CosmosAssembler.cs
- Fixed X#: FloatStoreAndPop() ignored the RegisterSize value
2016-07-03 15:00:04 +02:00
Charles Betros
37a4e71deb
Merge some compiler changes from master.
2016-06-29 23:18:04 -05:00
Charles Betros
b7cd470c33
Merge
2016-06-28 23:36:03 -05:00
Charles Betros
607db8f5ff
Merge missing stuff from plug manager.
2016-06-28 23:32:53 -05:00
Matthijs ter Woord
c74800a073
Merge branch 'master' into rat
2016-06-28 10:29:07 -04:00
Matthijs ter Woord
6161cccd17
Fix test now.
2016-06-28 10:16:35 -04:00
Matthijs ter Woord
c5197f7f09
Build server is fixed now? Seems like a bug in NUnit 3.2.1. Script now installs 3.4.0.
2016-06-28 08:53:24 -04:00
Matthijs ter Woord
e66d787493
.
2016-06-27 08:57:25 -04:00
Matthijs ter Woord
bb7282322d
More attempts to fix appveyor build..
2016-06-27 08:51:30 -04:00
Charles Betros
45e00533f6
Disable run in process for il2cpu in test runner.
2016-06-26 13:50:45 -05:00
Matthijs ter Woord
9ba48ed61f
Test to see if running multiple works ok.
2016-06-26 14:49:49 -04:00
Charles Betros
1bb7d6335f
Merge from master.
2016-06-26 13:44:56 -05:00
Matthijs ter Woord
3f78163e87
Enable all kernels except FAT.
2016-06-26 14:25:39 -04:00
Matthijs ter Woord
858bce5c79
Enable fat test.
2016-06-26 14:02:57 -04:00
Matthijs ter Woord
fba256eeac
Attempt to fix build.
2016-06-26 13:22:33 -04:00
Matthijs ter Woord
785693fe8f
Only for VGA crash and Fat test kernels and improved timeout even more.
2016-06-26 12:01:18 -04:00
fanoI
56beccb8af
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# source/Cosmos.sln
2016-06-26 15:09:13 +02:00
fanoI
4e1c505e52
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.SingleEchoTest/Kernel.cs
# source/Cosmos.Assembler/Assembler.cs
# source/Cosmos.IL2CPU/IL/Add.cs
# source/Cosmos.IL2CPU/IL/Ceq.cs
# source/Cosmos.IL2CPU/IL/Cgt.cs
# source/Cosmos.IL2CPU/IL/Cgt_Un.cs
# source/Cosmos.IL2CPU/IL/Clt.cs
# source/Cosmos.IL2CPU/IL/Clt_Un.cs
# source/Cosmos.IL2CPU/IL/Conv_I2.cs
# source/Cosmos.IL2CPU/IL/Conv_I4.cs
# source/Cosmos.IL2CPU/IL/Conv_I8.cs
# source/Cosmos.IL2CPU/IL/Conv_R4.cs
# source/Cosmos.IL2CPU/IL/Conv_R_Un.cs
# source/Cosmos.IL2CPU/IL/Conv_U1.cs
# source/Cosmos.IL2CPU/IL/Conv_U2.cs
# source/Cosmos.IL2CPU/IL/Div.cs
# source/Cosmos.IL2CPU/IL/Mul.cs
# source/Cosmos.IL2CPU/IL/Sub.cs
2016-06-26 15:02:38 +02:00
Matthijs ter Woord
c083c8f35f
Add kernel panic method to debugstub.
2016-06-25 19:33:26 -04:00
Matthijs ter Woord
6e5d7620a9
Little progress.
2016-06-25 17:37:45 -04:00
Matthijs ter Woord
1433340ba5
Generic plugs work now.
2016-06-25 10:52:50 -04:00
Matthijs ter Woord
a37de93ccb
Enable all tests again.
2016-06-24 10:15:22 -04:00
Matthijs ter Woord
9c3a2dd6d5
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
2016-06-24 10:12:48 -04:00
Matthijs ter Woord
bcf4b08719
Ongoing progress to get z-machine going.
2016-06-24 09:22:43 -04:00
Charles Betros
a18c034163
Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git
2016-06-24 01:47:32 -05:00
Charles Betros
117a4b9053
Created a simple core dump
2016-06-24 01:47:18 -05:00
Matthijs ter Woord
3bc4ea78dd
Some basic improvements.
2016-06-23 16:36:08 -04:00
Matthijs ter Woord
e97100d4e6
More progress.
2016-06-22 11:27:21 -04:00
Matthijs ter Woord
7f94d132be
Even more ongoing progress.
2016-06-21 20:34:27 -04:00
Matthijs ter Woord
1ac8619640
More ongoing progress.
2016-06-21 20:00:33 -04:00
MichaelTheShifter
903860a77d
FAT File Deletion work.
...
Yet again, my hands are typing words. Jokes aside, deleting doesn't work
yet - but at least using System.IO.File.Delete() won't cause a plug
issue.
2016-06-21 19:38:44 -04:00
Matthijs ter Woord
4641286f0f
More progress on ram.
2016-06-21 18:57:38 -04:00
Matthijs ter Woord
5e8a93b0c3
Ongoing work on memory.
2016-06-21 18:34:23 -04:00
fanoI
49192ffa24
- Conv.r.un is now partially implemented: an uint can be converted to double, not working code for ulong to double conversion
...
- Added (not working) test for ulong to double conversion
- Added to Assembler.cs costants needed for floating point conversions
2016-06-21 23:03:37 +02:00
Matthijs ter Woord
65c83f9491
Ongoing changes for memory.
2016-06-20 19:44:16 -04:00
Matthijs ter Woord
6be879d25a
Progress on heap.
2016-06-20 13:10:34 -04:00
Matthijs ter Woord
4bdfbab03c
Merge remote-tracking branch 'origin/master' into rat
2016-06-20 12:51:11 -04:00
Charles Betros
5ded6d3cc1
Make testrunner fail if host shuts down. Also report failed if no results returned.
2016-06-19 10:20:43 -05:00
Charles Betros
1e55f613d8
Build config changes.
2016-06-19 09:18:22 -05:00
Charles Betros
19672c5be5
Fix project reference.
2016-06-19 06:14:30 -05:00
Charles Betros
01124218db
Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git
2016-06-18 21:21:51 -05:00
Charles Betros
54b1f7e19f
Fixed test runner result.
2016-06-18 21:21:43 -05:00
Matthijs ter Woord
030ba36636
Fix loading fields larger than 4 bytes from structs on the stack.
2016-06-18 14:00:58 -04:00
Matthijs ter Woord
ae1b309426
Works now.
2016-06-18 11:40:17 -04:00
Matthijs ter Woord
4e426591d5
Merge branch 'crypto' of git://github.com/MichaelTheShifter/Cosmos into MichaelTheShifter-crypto
2016-06-18 10:34:53 -04:00
MichaelTheShifter
62c8c470c0
re-added sha1 test kernel
...
"MY HANDS ARE TYPING WORDS"
2016-06-17 09:00:34 -04:00
Matthijs ter Woord
8880f00892
Fix tests.
2016-06-17 08:46:28 -04:00
Charles Betros
b7809b0215
Fix string in the debugger locals and fix string test in bcl.
2016-06-16 22:02:12 -05:00
Michael VanOverbeek
843131515a
Added SubString to string tests. ( #382 )
...
* Added ZMachine demo stuff to cosmos sln
* Changed references in frotz kernel to project references
* added substring test to string tests.
* Added more string tests
Added String.Split and $ tests.
* Added more string tests.
* Removed un-needed Substring project.
2016-06-16 21:39:44 -05:00
Matthijs ter Woord
be7b8a2a94
.
2016-06-16 12:30:38 -04:00
Charles Betros
257b9cff36
Change all unit tests to x86.
2016-06-14 23:43:02 -05:00
Charles Betros
280fdead4c
Fix filesystem.
2016-06-14 23:20:10 -05:00
Matthijs ter Woord
d1447458af
Implement Object.MemberwiseClone
2016-06-14 13:51:16 -04:00
Matthijs ter Woord
4d6fceb9e7
First step in improving x# and compiler.
2016-06-11 16:13:13 -04:00
Charles Betros
648ec56a6b
Merge stack overflow check.
2016-06-10 16:42:02 -05:00
Matthijs ter Woord
82330b4b48
Initial work to move out the heap to a separate project.
2016-06-10 11:42:30 -04:00
Matthijs ter Woord
0201b140e8
Add tests for while loops.
2016-06-10 11:09:05 -04:00
Matthijs ter Woord
fe9cbbe9ff
Console.ReadKey should work now as well.
2016-06-09 07:56:29 -04:00
Matthijs ter Woord
df0f38aad8
Add a (disabled) test for Console.ReadKey
2016-06-08 18:16:19 -04:00
Matthijs ter Woord
f17ac8e797
Add test for Int64.Parse
2016-06-08 18:15:57 -04:00
fanoI
a5bd158514
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
# source/Cosmos.Core/CPU.cs
2016-05-28 14:33:11 +02:00
fanoI
58c556f085
- Initial work as for https://github.com/CosmosOS/Cosmos/issues/359
...
- Added Console.Clear() to Guess Demo (the boot text remained on screen)
- Added to BCL test BitConverterTest (all failing), test for single / double arithmetic operations
- Added to TestRunner BCLTest
2016-05-21 18:55:39 +02:00
Charles Betros
720f6187ed
Fixed issue with writing to a new file in a new directory.
2016-05-18 16:08:56 -05:00
Charles Betros
f19063ccc9
Fixed ldelema and disabled float and double tests.
2016-05-15 13:44:09 -05:00
Charles Betros
00ba897866
Enable all test kernels.
2016-05-12 13:13:59 -05:00
Charles Betros
bf6f97756a
Fixed create directory and directory exists.
2016-05-11 22:36:00 -05:00
Charles Betros
ef9282836b
Fixed keyboard interrupt, generics, and double.
2016-04-14 13:26:54 -05:00
Charles Betros
31e5c09885
Aaded methods to the debugger for long, float, and double.
2016-04-08 22:50:33 -05:00
fanoI
66a834bbce
Added Bitconveter test of floats (that have success!)
2016-03-31 01:21:24 +02:00
fanoI
cc9d349b12
- Added Bitconverter tests (fails for Double)
...
- Added to tests of Long and Ulong conversion between them
2016-03-30 22:04:02 +02:00
Charles Betros
653b7a8321
Fixed Get directory listing with subdirectory.
2016-03-24 22:35:59 -05:00
Charles Betros
b283a07631
Update .net versions.
2016-03-13 20:42:09 -05:00
Charles Betros
789db4ea3d
Don't run il2cpu in process.
2016-03-13 16:24:36 -05:00
Charles Betros
2de021685e
Fix up packages.
2016-03-13 13:14:37 -05:00
Charles Betros
ca027b4fc5
Enable all tests.
2016-03-13 13:00:29 -05:00
Charles Betros
8937b5c11a
Merge branch 'master' of https://github.com/CosmosOS/Cosmos.git
2016-03-13 12:49:12 -05:00
Charles Betros
0bef9a8fac
Updating solution config.
2016-03-13 12:27:58 -05:00
fanoI
35583c657a
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
...
# Conflicts:
# Demos/Guess/GuessOS.cs
# Tests/Cosmos.Compiler.Tests.Bcl/Kernel.cs
# source/Cosmos.System.Plugs/Cosmos.System.Plugs.csproj
2016-03-07 21:23:11 +01:00
Charles Betros
4a3b6a50df
Fixed up project and solution configurations and remove jetbrains annotations.
2016-03-06 17:33:21 -06:00
Charles Betros
c12022c893
Got constrained callvirt working.
2016-03-05 23:56:27 -06:00
fanoI
eb533357b0
- Correctly plugged Enum's GetHashCode()
...
- Removed GetHashCode() methods that were not really needed
- Plugged class CultureInfo for GetHashCode()
- Plugged class Runtime.CompilerServices for GetHashCode()
- Plugged class RuntimeTypeImpl for GetHashCode()
- Fixed tests that were failing using true .NET GetHashCode()
- Fixed IL Interpreter added SHIFT, AND, XOR... for sbyte and short
2016-03-05 23:10:06 +01:00
Charles Betros
559ee8570a
Filesystem work.
2016-03-02 15:57:53 -06:00
fanoI
2c745389fe
Trying to Plug GetHashCode() for all ValueTypes.
2016-02-28 22:39:20 +01:00
fanoI
f167ae91e6
Added a lot of tests for Primitive Types there a lot of failure for compiler bug or native methods that need to be implemented. Indeed the commited version is not compiling for GetHashCode() that cannot be plugged...
2016-02-28 16:32:25 +01:00
Charles Betros
5b35e17502
Fixed Path
2016-02-25 12:00:06 -06:00
Charles Betros
a52ea7a514
Fixed invalid enum
2016-02-21 12:23:40 -06:00
Charles Betros
1f104d812b
Revert "Added some globalization and culture plugs. Also added string and struct tests."
...
This reverts commit 815f2f78a4 .
2016-02-21 10:16:00 -06:00
Charles Betros
815f2f78a4
Added some globalization and culture plugs. Also added string and struct tests.
2016-02-21 10:13:29 -06:00
fanoI
dacdd51814
Merge branch 'master' of https://github.com/CosmosOS/Cosmos
2016-02-21 14:19:52 +01:00
Charles Betros
6a0f0b7ea7
Removed duplicate test kernel.
2016-02-16 00:09:29 -06:00
Charles Betros
f5468fe2b0
Path mostly works. Added a bunch of exception strings to environment.
2016-02-15 22:35:08 -06:00
Matthijs ter Woord
8d7bc0336b
Disable tests
2016-02-16 00:15:40 +01:00
Charles Betros
ba6070dbe7
String and simple debugger change
2016-02-15 16:02:23 -06:00
Matthijs ter Woord
016bc6f680
Disable reporting in VS.
2016-02-15 12:13:00 +01:00
Matthijs ter Woord
86c2270b80
Disable UInt64 test.
2016-02-15 11:51:18 +01:00