-
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.
Converted inline assembly to NASM assembly; Makefile refactored to se…
…parate debug and release builds
- Loading branch information
Showing
12 changed files
with
121 additions
and
171 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
- [ ] Remove inline assembly and change it into .asm | ||
- [ ] Refactor Makefile | ||
- [x] Create toolchain script for contribution purposes | ||
- [x] Update README | ||
- [x] Remove inline assembly and change it into .asm | ||
- [x] Replace tabs with spaces | ||
- [x] Create event.h/c and move handle keyboard to event "namespace" | ||
- [x] Create render.h/c and move handle keyboard to render "namespace" |
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,10 @@ | ||
-std=c99 | ||
--target=i686-pc-windows | ||
-I/usr/lib/gcc/i686-w64-mingw32/9.3-win32/include | ||
-I/usr/lib/gcc/i686-w64-mingw32/9.3-win32/include-fixed | ||
-I/usr/lib/gcc/i686-w64-mingw32/9.3-win32/../../../../i686-w64-mingw32/include | ||
-Iinclude | ||
-Wall | ||
-Wextra | ||
-Werror | ||
-pedantic |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Creator: VPR | ||
# Created: December 9, 2021 | ||
# Updated: December 9, 2021 | ||
|
||
# Gets the required mingw compiler | ||
|
||
set -o pipefail | ||
set -o errexit | ||
set -o nounset | ||
set -o xtrace | ||
|
||
apt update && apt upgrade -y | ||
apt install -y --no-install-recommends \ | ||
mingw-w64 \ | ||
mingw-w64-common \ | ||
mingw-w64-i686-dev \ | ||
mingw-w64-x86-64-dev \ |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
segment .text | ||
|
||
global _healthDetour | ||
|
||
_healthDetour: | ||
cmp dword [edi], 0x110E8B50 | ||
je $ + 0x08 | ||
xor eax, eax | ||
mov eax, eax | ||
mov dword [ebx], eax | ||
mov ebx, eax | ||
mov eax, dword [esp + 0x14] | ||
pop esi | ||
mov dword [eax], ebx | ||
pop ebx | ||
pop ecx | ||
ret 0x8 |
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.