Skip to content

Commit

Permalink
two PCs, 50%
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafa-wael committed Jan 11, 2021
1 parent 589a9f0 commit 7476bb5
Show file tree
Hide file tree
Showing 8 changed files with 353 additions and 317 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

*.EXE
*.OBJ
Binary file modified Development/Mostafa/APP.EXE
Binary file not shown.
8 changes: 4 additions & 4 deletions Development/Mostafa/APP.MAP
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

Start Stop Length Name Class

00000H 01E8BH 01E8CH _TEXT CODE
01E90H 10388H 0E4F9H _DATA DATA
10390H 107CFH 00440H STACK STACK
107D0H 1B6F1H 0AF22H EXTRA
00000H 020C3H 020C4H _TEXT CODE
020D0H 106A6H 0E5D7H _DATA DATA
106B0H 10AEFH 00440H STACK STACK
10AF0H 1BA11H 0AF22H EXTRA

Program entry point at 0000:0000

Binary file modified Development/Mostafa/APP.OBJ
Binary file not shown.
Binary file modified Development/Mostafa/CHAT.OBJ
Binary file not shown.
6 changes: 4 additions & 2 deletions Development/Mostafa/MACROS.inc
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,10 @@ editDrawPrams MACRO shape, sizeX, sizeY, offsetX, offsetY ; modifies the draw p
MOV AX, offsetX
MOV shapeOffsetX, AX
ENDM
inputToMoveShip macro UP, DOWN, LEFT, RIGHT, FIRE_BTN, movShip_label ; pass the keys and the label to jump to
cmp ah,UP
inputToMoveShip macro char, UP, DOWN, LEFT, RIGHT, FIRE_BTN, movShip_label ; pass the keys and the label to jump to
mov ah, char
cmp ah,UP
jz movShip_label

cmp ah,DOWN
Expand Down
652 changes: 342 additions & 310 deletions Development/Mostafa/app.asm

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion Development/Mostafa/chat.asm
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ inGameChat PROC NEAR
colorScreen GC_BF_upper, GC_topLeftX_upper, GC_topLeftY_upper, GC_bottomRightX_upper, GC_bottomRightY_upper
colorScreen GC_BF_lower, GC_topLeftX_lower, GC_topLeftY_lower, GC_bottomRightX_lower, GC_bottomRightY_lower

initializaPort
;//////////////////////////////
GC_startChat:
;//////////////////////////////
Expand Down

0 comments on commit 7476bb5

Please sign in to comment.