25 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
135
views
DOS TSR program using int 27h [closed]
I need to write a program in Assembly for DOSBOX using MASM.
Task:
Write a resident (TSR) program for DOS that changes the keyboard repeat rate every second in a cyclic manner, from the slowest to the ...
1
vote
1
answer
64
views
Resident Program structure and logic
Using 8086 microprocesor and DOSBox.
This resident program is done with those 2 commands:
TASM.exe program.asm &
TLINK.exe /t program.obj
Why is it not working when I run another .exe which has to ...
1
vote
0
answers
22
views
How to combine weekly and daily observational variables for time series analysis?
I'm in the middle of the data cleaning for TSR, and my problem is as to binding, joining, or merging daily confounders and exposure variables to weekly case report darasetes for TSR.
In the first ...
0
votes
0
answers
133
views
INT 21H, AH=031H - Not supported yet
pusha macro ;macro to push
pushf ;all registers
push ax
push bx
push cx
push dx
push si
push di
push ds
push es
endm
popa ;macro to pop
pop es ;all program
pop ds
pop di
pop si
pop dx
pop cx
pop bx
...
1
vote
0
answers
271
views
How to scan for keys in C for a TSR (MS-DOS)
I am trying to make somewhat a TSR program (background process) for MS-DOS in C. I want the program to print "It works" and kill itself when a user press F2. But my code doesn't work. When I ...
0
votes
1
answer
914
views
Create a simple memory resident program
I was always intrigued on how TSR programs worked so I decided to begin creating an extremely primitive one.
This C program reads keyboard keystrokes and prints them on console screen unless you type ...
1
vote
1
answer
363
views
My TSR program freezes when executed a second time
I have got some experience with FASM and I learned that so well.
Now, I wanted to learn TASM syntax.
I wrote an example program which is TSR.
Here`s my code
.model tiny
.8086
.stack 200h
.data
...
0
votes
0
answers
387
views
creating a keylogger in Fasm
I make a keylogger in Fasm for MS-DOS however when i run that freeze my computer because are some thing wrong at segment:offset memory used by my keylogger. This is the source that i code:
cli
push ...
1
vote
2
answers
186
views
Error after releasing memory allocated for .EXE residential program
I'm trying to get answers for a week. :)
But, maybe i ask wrong question. So here is it: I need to load and then unload residential program (set some vector and then get back to standard), i do that ...
1
vote
1
answer
548
views
running PHP as a service that listen to serial ports
(how) Can I execute a PHP code, that will stay a live and listen to a serial port?
Currently I use python and other stand-alone environments.
Please note: my problem is not reading the port, but ...
yossi's user avatar
- 3,174
-2
votes
1
answer
1k
views
How to remove TSR (Terminate-stay-resident) program
I have created a tsr program in nasm. It is working fine but i also have to remove it from memmory and restore all hooked interupts to original when i press 'ESC' button. This is my part of the code ...
0
votes
1
answer
984
views
How to remove TSR(Terminate-Stay-Resident) program from memory
I have a very basic TSR code. What it does is, when I type "D" key, it will print "E" on the screen, nothing else. What I want to do is: when i press "ESC" button I want to remove my TSR and return to ...
0
votes
1
answer
682
views
Assembly TSR(Terminate-Stay-Resident) on interupt 9h
I created program that changes basic INT 9h in assembly with my own routine called "tastatura".
_inst_09:
cli
xor ax, ax
mov es, ax
mov bx, [es:09h*4]
mov [stari_int09_off], bx
mov ...
0
votes
1
answer
562
views
Screensaver program in tasm
I am working on program of screensaver in tasm and i used int 21h
Code:
mov ah,35h
mov al,08h
int 21h
i searched about this and i found that 35h is used to transfer the control of the resident ...
1
vote
2
answers
2k
views
interrupt 21 h function 31 h DX value
I am writing my first TSR. I know I have to use function 31H of INT 21H. When i looked it up, I found out that the value in DX is the "memory size in paragraphs". I don't know how to calculate that ...