From 1d4789de1b4179765ca59c93e3949052ebdec0d5 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 23 May 2026 15:36:25 +0200 Subject: [PATCH] tests --- kern_wasm.asm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/kern_wasm.asm b/kern_wasm.asm index 9c8a61a..797d5c0 100644 --- a/kern_wasm.asm +++ b/kern_wasm.asm @@ -221,21 +221,18 @@ Net_Call_ endp ; Experimental VLM entry caller. ; INT 2F AX=7A20 returns ES:BX = VLM entry if AX == 0000. ; -; Registers loaded for VLM entry: +; Register setup for VLM entry: ; AX, BX, CX, DX from function args ; DS:SI = req ; ES:DI = repl ; -; Stack args pushed before call, matching DeveloperNet clndos16 NWCVLMREQ: -; push p3 -; push p2 -; push p1 -; call VLM_entry +; Extra stack args pushed before calling VLM entry: +; p3, p2, p1 ; -; For NWCREQUEST/VLM: +; For NWCREQUEST/VLM test: ; AX=function ; BX=numReqFrags -; CX=conn +; CX=connid ; DX=numReplyFrags ; DS:SI=reqFragList ; ES:DI=replyFragList @@ -260,7 +257,7 @@ Net_Call_VLM_Raw_ proc far jmp short vlm_raw_done vlm_raw_found: - ; save VLM entry ES:BX in stack locals [bp-4]=off [bp-2]=seg + ; save VLM entry ES:BX in stack locals mov [bp-4], bx mov ax, es mov [bp-2], ax