Skip to content

Commit 1767b12

Browse files
committed
refactor: improve comments in many procedures
1 parent 5cacafd commit 1767b12

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

main.asm

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ endp
764764
; none
765765
;
766766
; Description:
767-
; draws black background
767+
; draws sky background
768768
;
769769
; Register usage:
770770
; none
@@ -856,7 +856,7 @@ endp
856856
; none
857857
;
858858
; Description:
859-
; exit game
859+
; exits game
860860
;
861861
; Register usage:
862862
; none
@@ -1014,7 +1014,7 @@ endp
10141014
; none
10151015
;
10161016
; Description:
1017-
; setups game
1017+
; sets up game
10181018
;
10191019
; Register usage:
10201020
; none
@@ -2059,7 +2059,7 @@ endp
20592059
; di - 1 if collision, 0 if no collision
20602060
;
20612061
; Description:
2062-
; draws mario at given position
2062+
; returns whether two sprites are colliding
20632063
;
20642064
; Registers:
20652065
; none
@@ -2332,7 +2332,7 @@ endp
23322332
; none
23332333
;
23342334
; Description:
2335-
; none
2335+
; draws a horizontal line
23362336
;
23372337
; Registers:
23382338
; cx - loop
@@ -2438,7 +2438,7 @@ endp
24382438
; al - random number in that range
24392439
;
24402440
; Description:
2441-
; generate a random byte using cs and timer
2441+
; generates a random byte using cs and timer
24422442
;
24432443
; Registers:
24442444
; none
@@ -2497,7 +2497,7 @@ endp
24972497
; ax - random number in that range
24982498
;
24992499
; Description:
2500-
; generate a random word using cs and timer
2500+
; generates a random word using cs and timer
25012501
;
25022502
; Registers:
25032503
; none
@@ -2630,7 +2630,7 @@ endp
26302630
; none
26312631
;
26322632
; Description:
2633-
; updates screen data in SCREEN SEGMENT into 0A000h
2633+
; copies screen data in SCREEN SEGMENT into 0A000h
26342634
;
26352635
; Registers:
26362636
; none
@@ -2682,7 +2682,7 @@ endp
26822682
; none
26832683
;
26842684
; Description:
2685-
; print value in ax as decimal
2685+
; prints value in ax as decimal
26862686
;
26872687
; Registers:
26882688
; none

0 commit comments

Comments
 (0)