forked from CosmosOS/Cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
113 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,2 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
|
||
DebugStub_MaxBPId dd 0 | ||
|
||
DebugStub_DebugBPs: TIMES 256 dd 0 | ||
|
||
DebugStub_Init: | ||
Call DebugStub_Cls | ||
Call DebugStub_DisplayWaitMsg | ||
Call DebugStub_InitSerial | ||
Call DebugStub_WaitForDbgHandshake | ||
Call DebugStub_Cls | ||
|
||
DebugStub_Init_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Init_Exit | ||
Ret | ||
|
||
|
||
DebugStub_WaitForSignature: | ||
mov dword EBX, 0x0 | ||
|
||
DebugStub_WaitForSignature_Block1_Begin: | ||
cmp dword EBX, DebugStub_Const_Signature | ||
JE near DebugStub_WaitForSignature_Block1_End | ||
Call DebugStub_ComReadAL | ||
mov byte BL, AL | ||
ror dword EBX, 0x8 | ||
Jmp DebugStub_WaitForSignature_Block1_Begin | ||
|
||
DebugStub_WaitForSignature_Block1_End: | ||
|
||
DebugStub_WaitForSignature_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_WaitForSignature_Exit | ||
Ret | ||
|
||
|
||
DebugStub_WaitForDbgHandshake: | ||
mov byte AL, 0x0 | ||
Call DebugStub_ComWriteAL | ||
mov byte AL, 0x0 | ||
Call DebugStub_ComWriteAL | ||
mov byte AL, 0x0 | ||
Call DebugStub_ComWriteAL | ||
push dword DebugStub_Const_Signature | ||
mov dword ESI, ESP | ||
Call DebugStub_ComWrite32 | ||
pop dword EAX | ||
mov byte AL, DebugStub_Const_Ds2Vs_Started | ||
Call DebugStub_ComWriteAL | ||
Call DebugStub_WaitForSignature | ||
Call DebugStub_ProcessCommandBatch | ||
Call DebugStub_Hook_OnHandshakeCompleted | ||
|
||
DebugStub_WaitForDbgHandshake_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_WaitForDbgHandshake_Exit | ||
Ret | ||
|
||
%ifndef Exclude_Dummy_Hooks | ||
|
||
DebugStub_Hook_OnHandshakeCompleted: | ||
|
||
DebugStub_Hook_OnHandshakeCompleted_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Hook_OnHandshakeCompleted_Exit | ||
Ret | ||
|
||
%endif | ||
Object reference not set to an instance of an object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,49 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 14-6-2016 12:37:38 | ||
|
||
DebugWaitMsg db 96, 87, 97, 105, 116, 105, 110, 103, 32, 102, 111, 114, 32, 100, 101, 98, 117, 103, 103, 101, 114, 32, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 46, 46, 96, 0 | ||
|
||
%ifndef Exclude_Memory_Based_Console | ||
DebugStub_Const_VidBase equ 753664 | ||
DebugWaitMsg db 87, 97, 105, 116, 105, 110, 103, 32, 102, 111, 114, 32, 100, 101, 98, 117, 103, 103, 101, 114, 32, 99, 111, 110, 110, 101, 99, 116, 105, 111, 110, 46, 46, 46, 0 | ||
|
||
DebugStub_Cls: | ||
mov dword ESI, DebugStub_Const_VidBase | ||
%ifndef Exclude_Memory_Based_Console | ||
DebugStub_Const_VidBase equ 753664 | ||
|
||
DebugStub_Cls_Block1_Begin: | ||
cmp dword ESI, 0xB8FA0 | ||
JNB near DebugStub_Cls_Block1_End | ||
mov dword [ESI], 0x0 | ||
inc dword ESI | ||
mov dword [ESI], 0xA | ||
inc dword ESI | ||
Jmp DebugStub_Cls_Block1_Begin | ||
DebugStub_Cls: | ||
mov dword ESI, DebugStub_Const_VidBase | ||
|
||
DebugStub_Cls_Block1_End: | ||
DebugStub_Cls_Block1_Begin: | ||
cmp dword ESI, 0xB8FA0 | ||
JNB near DebugStub_Cls_Block1_End | ||
mov dword [ESI], 0x0 | ||
inc dword ESI | ||
mov dword [ESI], 0xA | ||
inc dword ESI | ||
Jmp DebugStub_Cls_Block1_Begin | ||
|
||
DebugStub_Cls_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Cls_Exit | ||
Ret | ||
DebugStub_Cls_Block1_End: | ||
|
||
DebugStub_Cls_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Cls_Exit | ||
Ret | ||
|
||
DebugStub_DisplayWaitMsg: | ||
mov dword ESI, DebugWaitMsg | ||
mov dword EDI, DebugStub_Const_VidBase | ||
add dword EDI, 0x668 | ||
|
||
DebugStub_DisplayWaitMsg_Block1_Begin: | ||
cmp dword [ESI], 0x0 | ||
JE near DebugStub_DisplayWaitMsg_Block1_End | ||
mov byte AL, [ESI] | ||
mov byte [EDI], AL | ||
inc dword ESI | ||
add dword EDI, 0x2 | ||
Jmp DebugStub_DisplayWaitMsg_Block1_Begin | ||
DebugStub_DisplayWaitMsg: | ||
mov dword ESI, DebugWaitMsg | ||
mov dword EDI, DebugStub_Const_VidBase | ||
add dword EDI, 0x668 | ||
|
||
DebugStub_DisplayWaitMsg_Block1_End: | ||
DebugStub_DisplayWaitMsg_Block1_Begin: | ||
cmp byte [ESI], 0x0 | ||
JE near DebugStub_DisplayWaitMsg_Block1_End | ||
mov byte AL, [ESI] | ||
mov byte [EDI], AL | ||
inc dword ESI | ||
add dword EDI, 0x2 | ||
Jmp DebugStub_DisplayWaitMsg_Block1_Begin | ||
|
||
DebugStub_DisplayWaitMsg_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DisplayWaitMsg_Exit | ||
Ret | ||
DebugStub_DisplayWaitMsg_Block1_End: | ||
|
||
DebugStub_DisplayWaitMsg_Exit: | ||
mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DisplayWaitMsg_Exit | ||
Ret | ||
|
||
%endif | ||
|
||
%endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
DebugStub_ComAddr dd 1016 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
; Generated at 6/12/2016 3:34:04 PM | ||
; Generated at 6/14/2016 12:11:29 PM | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.