]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex/demos/c/c_utils.asm
IT WORKS!!!! cannot multipage yet!
[16.git] / src / lib / modex / demos / c / c_utils.asm
index fd4ba6fde3a06f72facdb534dfd059ec85ce9da2..011820134d532a9d394870f84b4c4a2427ce1a11 100755 (executable)
@@ -58,6 +58,8 @@ ENDM
        s               EQU     SHORT\r
        ?x4             EQU <?,?,?,?>\r
        ?x3             EQU <?,?,?>\r
+       ?x2             EQU <?,?>\r
+       ?x1             EQU <?>\r
 \r
 \r
        .Data\r
@@ -82,7 +84,10 @@ CR_LF                DB      13, 10                  ; the CRLF data
        PUBLIC  DOS_PRINT\r
 \r
 DP_Stack       STRUC\r
-                               DW      ?x2     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
                                DD      ?       ; Caller\r
        DP_Text         DD      ?       ; Far Address of Text to print\r
 DP_Stack       ENDS\r
@@ -208,7 +213,10 @@ DOS_PRINTS  ENDP
        PUBLIC  SET_VIDEO_MODE\r
 \r
 SVM_Stack      STRUC\r
-                               DW      ?x2     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
+                               DW      ?x1     ; DI, SI, DS, BP\r
                                DD      ?       ; Caller\r
        SVM_Mode        DB      ?,? ; Desired Video Mode\r
 SVM_Stack      ENDS\r