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
10 changed files
with
2,039 additions
and
1,006 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
@echo off | ||
copy moire.asm+tables.asm combined.asm | ||
nasm -o moire.com -f bin combined.asm | ||
yasm -o moire.com -f bin combined.asm | ||
copy moire_xtserver.asm+tables.asm combined_xtserver.asm | ||
yasm -o moire_xtserver.bin -f bin combined_xtserver.asm | ||
|
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,18 @@ | ||
cpu 8086 | ||
org 0x100 | ||
|
||
pop ax ; 58 | ||
xor ax,[bp+12] ; 33 46 xx | ||
stosb ; AA | ||
inc di ; 47 | ||
mov al,ah ; 88 E0 | ||
stosb ; AA | ||
inc di ; 47 | ||
|
||
add sp,10 ; 83 C4 xx | ||
add bp,10 ; 83 C4 xx | ||
|
||
|
||
To remove both bytes, replace "xor ax,[bp+12]" with "mov ax,0" | ||
|
||
|
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
Oops, something went wrong.