Commit graph

1122 commits

Author SHA1 Message Date
kudzu_cp
04738d1f1b 2008-05-07 02:44:52 +00:00
kudzu_cp
fe40179b82 2008-05-07 02:41:51 +00:00
kudzu_cp
67405de5fa Eliminated obsoleted IOSpace 2008-05-07 02:26:49 +00:00
kudzu_cp
21044004a6 Init rework 2008-05-07 01:43:06 +00:00
kudzu_cp
b5cc20a8d1 Merging of Global in Hardware 2008-05-07 01:40:14 +00:00
kudzu_cp
60a57a1ac5 Processor merge 2008-05-07 01:34:31 +00:00
kudzu_cp
10f917cf34 2008-05-07 01:01:06 +00:00
kudzu_cp
546ad829db 2008-05-07 00:50:21 +00:00
kudzu_cp
2495630bde 2008-05-07 00:49:11 +00:00
kudzu_cp
fef34dae02 2008-05-07 00:30:49 +00:00
kudzu_cp
fc23b5b0c0 2008-05-06 22:51:43 +00:00
kudzu_cp
b81f0ead71 2008-05-06 22:50:34 +00:00
kudzu_cp
3feea45797 2008-05-06 22:49:22 +00:00
kudzu_cp
dd29eb9218 2008-05-06 22:49:01 +00:00
kudzu_cp
c8ea6b2608 2008-05-06 22:44:52 +00:00
kudzu_cp
b8da96730b More code removal. Removed Stages. They were not used in most projects and required too many calls in default Init program.cs sections affecting future compatibilities. 2008-05-06 22:43:04 +00:00
kudzu_cp
e31ef7f89e 2008-05-06 22:23:11 +00:00
kudzu_cp
217a96770a 2008-05-06 22:20:15 +00:00
kudzu_cp
1e44f0f37a 2008-05-06 22:18:50 +00:00
kudzu_cp
4d5a587d9a 2008-05-06 22:08:45 +00:00
kudzu_cp
6b8190a695 2008-05-06 22:05:21 +00:00
kudzu_cp
4c59f25ce7 2008-05-06 22:01:43 +00:00
kudzu_cp
0716eabb9e 2008-05-05 18:22:38 +00:00
kudzu_cp
c5dda33758 Removal of dead code 2008-05-05 18:17:44 +00:00
kudzu_cp
489a85a485 2008-05-05 18:13:09 +00:00
kudzu_cp
7b029ab390 2008-05-05 17:56:45 +00:00
kudzu_cp
a97eab0b16 DebugStub suspend/resume 2008-05-05 16:12:43 +00:00
kudzu_cp
16f504be27 Fix for IRQ/STI issue 2008-05-05 15:18:11 +00:00
kudzu_cp
4bb5d162cb Fix for nasm compile error - m's breakage :) 2008-05-05 14:58:28 +00:00
mterwoord_cp
850a19e124 2008-05-03 16:24:41 +00:00
mterwoord_cp
a47c7a679b forgotten to remove todo comment 2008-05-03 16:11:46 +00:00
mterwoord_cp
012a1a8c47 added a flag for determining whether interrupts are enabled 2008-05-03 16:11:02 +00:00
Scalpel_cp
93059552f8 IPv4 - Endian changes 2008-05-02 17:24:33 +00:00
kudzu_cp
2e8677c2b2 2008-04-30 18:31:56 +00:00
kudzu_cp
7267a7fb48 2008-04-30 16:15:46 +00:00
kudzu_cp
53b54cdfd7 2008-04-30 16:02:38 +00:00
kudzu_cp
babeb1d290 2008-04-30 15:51:37 +00:00
kudzu_cp
0be619ddd2 2008-04-30 14:17:50 +00:00
kudzu_cp
589c9f6e50 2008-04-29 02:58:07 +00:00
Scalpel_cp
a648a28a3f Added method for calculating total remaining build time. 2008-04-28 19:56:56 +00:00
Scalpel_cp
5f98e739a0 Added Ethernet2Frame testing 2008-04-28 17:56:39 +00:00
Scalpel_cp
6be64fc11a IPv4 reorganized 2008-04-28 17:22:30 +00:00
kudzu_cp
9739ca604c Tracing works, but stepping is broken currently. 2008-04-28 15:27:14 +00:00
kudzu_cp
afcf944ff1 2008-04-28 14:01:51 +00:00
kudzu_cp
3faf96b6cd 2008-04-28 13:36:16 +00:00
mterwoord_cp
96fdf95b3a Added hooks for adding code on MethodHeaders and Footers 2008-04-28 13:05:02 +00:00
kudzu_cp
c554282786 DebugSuspend/Resume stubs 2008-04-28 12:29:49 +00:00
kudzu_cp
0ada62e530 2008-04-28 03:56:41 +00:00
kudzu_cp
248e068a35 2008-04-28 03:24:05 +00:00
kudzu_cp
9f7c6b5bf1 2008-04-28 02:09:24 +00:00
kudzu_cp
517186b7df 2008-04-28 01:55:29 +00:00
kudzu_cp
d28e87baf8 2008-04-27 19:51:23 +00:00
kudzu_cp
9c190531a7 More X# 2008-04-27 18:13:19 +00:00
mterwoord_cp
8f3675fc84 Added a progress bar 2008-04-27 07:52:14 +00:00
kudzu_cp
788b6cdb5d 2008-04-27 06:31:13 +00:00
kudzu_cp
f95db75e67 2008-04-27 01:12:06 +00:00
kudzu_cp
8b07d5daac Final move of Debug Stub to DumbAssembler 2008-04-27 00:57:57 +00:00
kudzu_cp
88ec002e35 2008-04-26 22:32:08 +00:00
kudzu_cp
170f30b447 2008-04-26 22:27:50 +00:00
kudzu_cp
304871eb68 2008-04-26 22:17:35 +00:00
kudzu_cp
77285dd477 Partial move to DumbAssembler 2008-04-26 21:49:56 +00:00
mterwoord_cp
27294eec09 some leftovers from the .Native removal, also made it possible to use nested assemblers using the DumbAssembler class 2008-04-26 17:17:08 +00:00
mterwoord_cp
f6d4550e0f Dont emit debug stub call for NOP ops 2008-04-26 14:47:02 +00:00
mterwoord_cp
9a3a5bbcb1 fix bug with debugger not working due to registry setting 2008-04-26 13:05:43 +00:00
kudzu_cp
f4d2f49a84 2008-04-26 12:54:24 +00:00
kudzu_cp
c1b9a77d0e 2008-04-26 12:22:22 +00:00
Scalpel_cp
01633fb297 RTL - fixed RxBufferOverflow 2008-04-26 10:34:14 +00:00
Scalpel_cp
9357483d13 RTL - removed some obsolete references and added rxbuffer changes 2008-04-26 10:09:53 +00:00
mterwoord_cp
c5646eb92c Removed .Native 2008-04-26 07:45:27 +00:00
kudzu_cp
71c4655e7f Stepping complete. 2008-04-25 22:30:47 +00:00
Scalpel_cp
dfa240f2bf RTL - RxBuffer changes 2008-04-25 22:11:05 +00:00
kudzu_cp
7fb2b38e78 Now scrolls for tracing. 2008-04-25 18:05:14 +00:00
kudzu_cp
d72358a3e8 2008-04-25 17:58:08 +00:00
kudzu_cp
6e9394cc33 2008-04-25 17:47:10 +00:00
kudzu_cp
25bddc20dc 2008-04-25 15:39:32 +00:00
kudzu_cp
4ebe025071 Merge of source window to debug window 2008-04-25 15:08:20 +00:00
mterwoord_cp
872df5cc71 move debug log to com2 2008-04-25 15:08:02 +00:00
kudzu_cp
2f20e192ab 2008-04-25 14:08:48 +00:00
kudzu_cp
dcefefc7ff 2008-04-25 13:43:20 +00:00
Scalpel_cp
2cb7bc0527 RTL - More cleanup 2008-04-24 21:03:28 +00:00
Scalpel_cp
2a154fc616 RTL - Code cleanup 2008-04-24 21:01:05 +00:00
Scalpel_cp
1818642393 RTL - fixed IRQ 2008-04-24 19:56:55 +00:00
kudzu_cp
52e26e8983 Fixed build error caused by last checkin. 2008-04-24 16:05:42 +00:00
kudzu_cp
a3a7f110ca Removed numerous warnings. 2008-04-24 16:03:26 +00:00
kudzu_cp
53840fd825 More debug UI progress 2008-04-24 01:10:26 +00:00
kudzu_cp
f6e26512db New source debug window, WPF based 2008-04-23 02:22:37 +00:00
Scalpel_cp
4ebc8e2c76 RTL - several Transmit Status Descriptor changes 2008-04-22 20:33:47 +00:00
Scalpel_cp
d14afa3988 MBT - Removed unused list, and found where the HTC Shift crashes. 2008-04-21 20:53:01 +00:00
Scalpel_cp
0dbd154155 RTL - Transmit Status Descriptor changes 2008-04-21 15:29:32 +00:00
kudzu_cp
944517c19a Debug expansion preparation 2008-04-21 00:45:29 +00:00
kudzu_cp
21782aba11 1) Saving and loading of Debug Mode
2) Fix for debugger - Com ports were reversed
2008-04-20 19:00:11 +00:00
LostTheBlack_cp
7dc7dac965 [!] Tests doesn't actually work. Need ilasmed code. 2008-04-18 13:51:20 +00:00
LostTheBlack_cp
1af5ac6f34 [+] MoveAndSignExtend & MoveAndZeroExtend added to assmebler
[+] SignExtendAX to handle AX -> DX:AX & EAX -> EDX:EAX
[+] Conversion to int8
[*] Fixed conversion to int16
[*] Fixed conversion to int64
[+] Added conversion
[*] AddWithOverflow code fixed.
2008-04-18 13:29:13 +00:00
LostTheBlack_cp
6dd9d872ba [*] Fixed Interrupt to generate int 4 unconditionally 2008-04-18 13:18:11 +00:00
LostTheBlack_cp
60f807ecd8 [+] Clt & Clt_Un both should work with 64bit operands. 2008-04-18 12:33:00 +00:00
LostTheBlack_cp
175ad54c3f [+] Cgt & Cgt_Un both should work with 64bit operands now. 2008-04-18 12:09:13 +00:00
LostTheBlack_cp
d3460ad173 [+] ConditionalMove class to handle CMOVcc
[*] Fixed comment on JumpIfAbove
[+] JumpIfAboveOrEqual to handle jae
[*] Fixed comment on JumpOnGreater
2008-04-18 12:08:30 +00:00
LostTheBlack_cp
233e4fc76f [+] Brtrue and Brfalse both support 64-bit operands. 2008-04-17 23:57:56 +00:00
LostTheBlack_cp
c5c5fd4ad9 [+] All conditional branches now pass my 64bit operand tests. 2008-04-17 23:45:08 +00:00
LostTheBlack_cp
884ce0834f [*] Bne_Un works with 64bit. 2008-04-17 23:28:13 +00:00
LostTheBlack_cp
16604e7387 [+] Blt_Un now works with 64bit operands.
[+] JumpIfBelow to support this.
2008-04-17 23:20:12 +00:00
LostTheBlack_cp
842b4f5ddf [+] Blt now works with 64-bit arguments. 2008-04-17 23:11:53 +00:00
LostTheBlack_cp
d3468ba2ae [+] Ble_Un works with 64bit operands. 2008-04-17 23:06:02 +00:00
LostTheBlack_cp
f91e9c6fe7 [*] Conditional jumps code handling 64bit operands slightly commented. 2008-04-17 22:59:54 +00:00
LostTheBlack_cp
51bcc6e008 [*] Slightly fixed code of Bge_Un for better readability. 2008-04-17 22:58:12 +00:00
LostTheBlack_cp
b4af2611c6 [+] Ble works with 64-bit. 2008-04-17 22:54:21 +00:00
LostTheBlack_cp
199e15b1da [+] Bgt_Un 64bit + tests. 2008-04-17 22:44:20 +00:00
LostTheBlack_cp
436762e62f [+] JumpIfAbove instruction. 2008-04-17 22:40:06 +00:00
LostTheBlack_cp
c8865cc9fe [+] Tests for Bgt. 2008-04-17 22:35:51 +00:00
LostTheBlack_cp
492fcb6189 [+] Bgt works with 64-bit values now. 2008-04-17 22:29:21 +00:00
LostTheBlack_cp
45377fd9e6 [+] JumpOnGreater class created to replace strange class JumpIfGreater. 2008-04-17 22:27:12 +00:00
LostTheBlack_cp
8991489489 [!] JumpIfGreaterOrEqual produces the same opcode as JumpIfGreaterOrEqual, but it's opcode in attribute is jbe. 2008-04-17 22:26:16 +00:00
LostTheBlack_cp
262ba8ca84 [!] Class JumpIfGreater writes jb code instead of jg. 2008-04-17 22:24:56 +00:00
Scalpel_cp
c48970b4b8 RTL - Added InterruptStatusRegister 2008-04-17 22:01:27 +00:00
LostTheBlack_cp
539933db9c [*] Fixed error with bge.
[+] Bge_Un works with 64-bit values.
2008-04-17 22:00:58 +00:00
LostTheBlack_cp
062a1f46b6 [+] bge works with 64 bits. 2008-04-17 20:34:24 +00:00
LostTheBlack_cp
e9f99f9b2b [*] Removed unnecessary noops from beq. 2008-04-17 19:57:27 +00:00
LostTheBlack_cp
8bf7d8cbac [+] Beq (branch on equal) works with 64-bit values. 2008-04-17 19:51:46 +00:00
LostTheBlack_cp
5e542fd849 [+] Int64 and works.
[*] Removed LastIndexOf test from StringTest as it is still not implemented.
2008-04-17 08:34:06 +00:00
LostTheBlack_cp
e874433127 [+] Fixed Add_Ovf_Un to throw an exception as it's not supported. 2008-04-17 08:18:39 +00:00
LostTheBlack_cp
861e8910cd [+] Add_Ovf instruction now generates int 4 on overflow. 2008-04-17 08:17:29 +00:00
LostTheBlack_cp
2210f66a8c [+] LastIndexOf checking in TestSuite. 2008-04-17 07:43:57 +00:00
Scalpel_cp
e1ac073197 RTL - Added more IRQ masks 2008-04-16 19:31:41 +00:00
kudzu_cp
e7d18baa0e 2008-04-16 17:42:32 +00:00
rsenk330_cp
2ee2a96dd8 Fixed spelling error 2008-04-15 03:29:02 +00:00
rsenk330_cp
8ef6c907d1 Added some new features to test project 2008-04-14 03:25:10 +00:00
Scalpel_cp
1f44287626 RTL - changes to InterruptMaskRegister. IRQ is now raised. 2008-04-13 21:47:53 +00:00
rsenk330_cp
f072142eaa 2008-04-13 19:02:36 +00:00
Scalpel_cp
f4f6e2b24f Added Plug for PadHelper for Strings. 2008-04-13 16:42:25 +00:00
mterwoord_cp
a8b78342bc Some fixes in Build message handling 2008-04-13 11:48:14 +00:00
Scalpel_cp
26d8a9edae Added Checksum in IPv4 2008-04-13 10:43:51 +00:00
Scalpel_cp
cd1f3ce333 IPv4 source and destination fixed 2008-04-13 09:13:03 +00:00
Scalpel_cp
512524fcca IPv4 - big-endian changes in RawBytes 2008-04-13 01:58:29 +00:00
Scalpel_cp
37ae389a7a Convert from binary string
IPv4Test cleanup
Changes to IPv4's RawBytes.
2008-04-13 00:18:58 +00:00
rsenk330_cp
4104c87c99 Started work on a custom shell for me to test things with. 2008-04-12 21:24:17 +00:00
Scalpel_cp
4513e4144d Added EthernetII Frame 2008-04-12 15:34:29 +00:00
Scalpel_cp
9821ea665a Fixed build error in GetBuildPath, and made further improvements. 2008-04-12 12:41:41 +00:00
LostTheBlack_cp
687192671a [*] Fixed error, reported by Ryan: builder now should correctly work under dev kit without registry values. 2008-04-12 06:06:24 +00:00
LostTheBlack_cp
cae590ed5e [*] Fixed GetBuildPath to search for last word "source" in current directory full path. 2008-04-12 06:04:21 +00:00
LostTheBlack_cp
dea99107fb [*] I've marked some ops as not implemented as their implementation was incorrect. (Add_Ovf & Mul_Ovf). 2008-04-11 16:49:44 +00:00
LostTheBlack_cp
9ec9bcdd41 [+] Now Bgt_Un works too. 2008-04-11 16:38:23 +00:00
LostTheBlack_cp
e554b4c2ad [+] It seems that blt_un now works fine on 64-bit operands.
[+] Added JumpIfCarry.
[*] Corrected spelling error: JumpNotCary -> JumpNotCarry.
2008-04-11 16:31:50 +00:00
LostTheBlack_cp
59494f83ae [+] Added RET instruction. 2008-04-11 15:51:46 +00:00
LostTheBlack_cp
72c9e41b13 [+] Added WriteUShort to stream extensions.
[*] WriteShort's error is fixed.
2008-04-11 15:51:27 +00:00
LostTheBlack_cp
8bd2ce3e31 [*] Fixed RSP index. 2008-04-11 15:15:12 +00:00
LostTheBlack_cp
eb8d1401f3 [!] I've discovered a problem with RSP as index in SIB. Needs to be fixed. 2008-04-11 12:43:21 +00:00
LostTheBlack_cp
8eea67169b [+] Added WriteOperands(reg, memory, destStream) 2008-04-11 12:42:29 +00:00
LostTheBlack_cp
79676a9283 [*] Fixed converting to FASM code.
[+] Added support for MOV reg/mem, reg (MOV reg, reg/mem)
2008-04-11 12:40:21 +00:00
LostTheBlack_cp
70ef86f086 [+] Added some code to support MOV instruction 2008-04-11 11:48:20 +00:00
LostTheBlack_cp
53093456a6 [*] DestSourceInstruction renamed to AluInstruction 2008-04-11 11:47:47 +00:00
LostTheBlack_cp
5286e448ce [*] Fixed error with new register operands in DestSourceInstruction.Compile
[+] Added support for INSTR reg, reg to DestSourceInstruction
2008-04-11 11:46:34 +00:00
LostTheBlack_cp
256bbafc8e [+] Added WriteOperands(register, register, destStream) 2008-04-11 11:45:00 +00:00
LostTheBlack_cp
9897e9695d [+] Added Rex.NewRegRM for better readability. 2008-04-11 11:43:50 +00:00
LostTheBlack_cp
c2cf1cefcb [+] Every instruction supports converting to FASM code now. 2008-04-11 10:24:33 +00:00
Scalpel_cp
10c45343bf IPv4 changes 2008-04-10 20:22:33 +00:00
LostTheBlack_cp
9ad3da7d1d [*] Now ATA can be disabled. 2008-04-10 07:56:14 +00:00
LostTheBlack_cp
06aae07a91 [*] Now TestSuite starts without ATA 2008-04-10 07:55:34 +00:00
LostTheBlack_cp
483d92128a [*] Fixed incorrect VMWare directories. 2008-04-10 07:36:20 +00:00
LostTheBlack_cp
3cdedc3658 [*] Fixed to use new builder. 2008-04-10 07:35:34 +00:00
LostTheBlack_cp
7ecd84cb74 [*] Fixed Int64 negatives test (it tested Int32's...) 2008-04-10 06:13:09 +00:00
Scalpel_cp
ef294105a0 Added basic ICMPv4 2008-04-09 22:53:27 +00:00
LostTheBlack_cp
8a8cd62a4b [+] Basic tests passed by all classes. 2008-04-09 11:21:47 +00:00
LostTheBlack_cp
b4de77243e [+] Added extension to check if the value fits in specified type. 2008-04-09 11:20:40 +00:00
LostTheBlack_cp
5d0e820374 [+] Added writting SByte to stream. 2008-04-09 11:19:16 +00:00
LostTheBlack_cp
d7a08b3fad [+] Conditional Jump instruction base handler. 2008-04-09 11:18:44 +00:00
LostTheBlack_cp
e8057e02fa [+] Added call instruction. 2008-04-09 11:18:06 +00:00
LostTheBlack_cp
d08636d0bd [+] Added break-like instrcution. (int 3) 2008-04-09 11:17:47 +00:00
LostTheBlack_cp
ab9b804e9e [+] Added add instruction. 2008-04-09 11:17:21 +00:00
LostTheBlack_cp
735f4ac04c [*] small code improvement 2008-04-09 11:17:04 +00:00
LostTheBlack_cp
00fcc21f39 [+] Added unconditional jmp instruction. (only immediate operands are supported) 2008-04-09 11:16:25 +00:00
LostTheBlack_cp
2dd4858218 [+] Added je instruction. 2008-04-09 11:15:41 +00:00
LostTheBlack_cp
9d4a1428f5 [+] Added function to write ModRM for instructions which take one register operand. 2008-04-09 11:15:05 +00:00
LostTheBlack_cp
ad77460ba8 [+] push and pop instructions passed tests.
[*] ModRM, Rex & SIB code is refactored slightly.
2008-04-09 09:22:12 +00:00
Scalpel_cp
3a2975ee12 IPv4 packet header changes 2008-04-08 21:29:06 +00:00
Scalpel_cp
e2b16cc3b0 Fixed bug in IPv4Packet.RawData() 2008-04-08 19:57:52 +00:00
LostTheBlack_cp
7a17688f08 [+] Alu dest<-source instructions are almost complete (at least I've no tests that fail) 2008-04-08 16:44:05 +00:00
LostTheBlack_cp
145bd67a19 [+] Almost done alu instructions 2008-04-08 13:52:11 +00:00
Scalpel_cp
2708634ec9 Renaming IPv4 2008-04-07 21:02:47 +00:00
Scalpel_cp
604157d4c4 IPv4 changes 2008-04-07 20:47:34 +00:00
Scalpel_cp
a2fdd70af5 Added basics for UDP and IPv4 2008-04-06 21:55:21 +00:00
Scalpel_cp
91f99fe599 RTL - CBR register 2008-04-06 19:32:32 +00:00
Scalpel_cp
d706caa0c1 Removed network testing Qemu setting 2008-04-05 19:56:54 +00:00
Scalpel_cp
3b7cac07df RTL - Added several registers 2008-04-05 19:56:26 +00:00
LostTheBlack_cp
88a7ee78f3 [+] Rip-based addressing (not tested, no checks) in my assembler 2008-04-05 18:44:10 +00:00
Scalpel_cp
885a26fef2 Added method to convert to Binary 2008-04-05 15:07:55 +00:00
Scalpel_cp
280b6834ea Added ExtensionMethod for Hex 2008-04-05 14:01:02 +00:00
Scalpel_cp
71adcc46c0 Changed from .NET 2.0 to .NET 3.5 for projects Cosmos.Kernel and Cosmos.Kernel.Plugs 2008-04-05 12:55:09 +00:00
Scalpel_cp
cbbf94df3f Initial work to add numbersystems as Extension Methods 2008-04-05 12:52:39 +00:00
Scalpel_cp
6b5e8c1de6 Added ExtensionMethodsTest 2008-04-05 09:53:24 +00:00
Scalpel_cp
8d3496f821 Several small changes. 2008-04-04 22:27:27 +00:00
Scalpel_cp
542687b58e Fix Recieve => Receive typo 2008-04-04 21:59:26 +00:00
Scalpel_cp
c5cde85ea8 RTL - Reworked TransmitStatusDescriptor 2008-04-04 21:43:28 +00:00
kudzu_cp
e3cf86ab9a Options Window Changes 2008-04-04 13:47:58 +00:00
Scalpel_cp
60ca15c417 RTL - unsafe memory access refactored 2008-04-03 21:13:26 +00:00
Scalpel_cp
43f0f76574 RTL - reworked CommandRegister 2008-04-03 21:02:09 +00:00
Scalpel_cp
2b0f5e1a07 RTL - Able to receive packet in loopback mode.
Marked IOSpace as obsolete.
Several changes to use new MemoryAddressSpace.
2008-04-03 19:01:48 +00:00
mterwoord_cp
f4a6e26085 DebugMode None is implemented 2008-04-03 14:38:43 +00:00
mterwoord_cp
51fabd161c source-level tracing works now 2008-04-03 14:08:17 +00:00
mterwoord_cp
b16eaf1dda debug fixes 2008-04-02 17:16:09 +00:00
LostTheBlack_cp
d382dfbdc8 [+] Added some mnemonics for registers.
[+] Immediate operand instantination.
2008-03-31 11:26:30 +00:00