VOGONS

Common searches


Search results

Display options

Re: TSR-Programming/Assembler: my TSR program executes (seem to install) and then every other program run crashes dosbox

i don't jump twice/or getting called twice - the call after string-replace only calls the original handler can you explain differently? What I mean is AH=9 is just one of many functions of int 21h. Consider this approach: cmp ah,9 ; is it print je run_print jmp far ptr cs:[tsr_info.old_interrupt_ …

Re: TSR-Programming/Assembler: my TSR program executes (seem to install) and then every other program run crashes dosbox

push cx push dx ... pop cx pop dx First, correct the push/pop sequence. Second you should consider jumping on AH=9 to your code, rather than jumping twice on AH!=9 to old address. It's not a huge issue, the 21h handler is not that fast, but I like doing things properly for performance reasons - …

Re: TSR-Programming/Assembler: my TSR program executes (seem to install) and then every other program run crashes dosbox

run_original: jmp cs:[tsr_info.old_interrupt_21h] ; jump to original int 21h I have not used WASM a lot, back in the day I would use MASM, then TASM, and now NASM - so I'm not 100% sure about this, but shouldn't that jump be explicitly far? As in, "jmp far cs:[...]". The way you have it now it …

Page 1 of 98