-
Notifications
You must be signed in to change notification settings - Fork 48
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
Michael Chourdakis
committed
Feb 6, 2019
1 parent
04cc6b3
commit 1a6b4f9
Showing
10 changed files
with
67 additions
and
2 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
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 |
---|---|---|
|
@@ -15,6 +15,7 @@ rem cd .. | |
|
||
vdebug debuggee.exe | ||
mdebug debuggee.exe | ||
switcher | ||
|
||
|
||
a: | ||
|
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
FORMAT MZ | ||
HEAP 0 | ||
|
||
macro linear reg,trg,seg = DATA16 | ||
{ | ||
mov reg,seg | ||
shl reg,4 | ||
add reg,trg | ||
} | ||
|
||
segment STACK16 | ||
USE16 | ||
|
||
dw 128 dup(0) | ||
stre: | ||
|
||
segment DATA16 | ||
USE16 | ||
m1 db "Switcher, (C) Chourdakis Michael.",0x0D,0x0A,"$" | ||
|
||
segment CODE16 | ||
USE16 | ||
|
||
include "reqdmmi.asm" | ||
|
||
start16: | ||
mov ax,STACK16 | ||
mov ss,ax | ||
mov eax,stre | ||
mov esp,eax | ||
mov ax,DATA16 | ||
mov ds,ax | ||
mov es,ax | ||
mov ax,0x0900 | ||
mov dx,m1 | ||
int 0x21 | ||
|
||
mov ax,0x4C00 | ||
int 0x21 | ||
|
||
SEGMENT ENDS | ||
entry CODE16:start16 | ||
|
||
|
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
Binary file not shown.