Category "dos"

Check for keypress without blocking if no key was pressed

I'm creating an application to view the current time and I created a loop to update the time each second. The loop looks like this UPDATE: ;The code to be re-

Not adding the stack bytes to the .EXE file with MASM 5.0

I'm writing two assembly files for DOS: hm2.asm: .8086 DGROUP group _DATA, STACK ; Required by MASM 3.0 and 4.0. ; MASM 4.0 doesn't support USE16 (but MASM

What does it take for pacman to function correctly?

I'm experiencing 2 problems: the "you win" screen does not show up the pacman has a trail. IDEAL p286 MODEL small STACK 100h DATASEG pacman db " _ __ _

Getting MS-DOS SMARTDrive version from interrupt call 2F/AX=4A10h/BX=0000h

I'm trying to write an assembly procedure to get the SMARTDrive version on a given system. The code to detect if SMARTDrive is loaded works correctly, but I ca