Good work. I made a little (not harmfull) spyware to display the bits(& bytes) of the 8x16 character font in DosBox memory; but the ASCII itself is not shown. I put all instructions into a batch file and the batch file have to start with segment and offset attached separeted with a space between. Have fun.😊 Example: MEMSPY.BAT C000 1A00 (Exit with escape key and the next character(16 bytes forward) with space key.) @echo off REM MEMSPY.BAT REM Display 16 bytes REM Need two parameter attached REM for segment and offset: like C000 1700 REM Space = next 16 bytes REM ESC = Exit echo a>tmp.deb echo mov ax,b800>>tmp.deb echo mov es,ax>>tmp.deb echo mov bx,%1>>tmp.deb echo mov si,%2>>tmp.deb echo cld>>tmp.deb echo mov ds,bx>>tmp.deb echo xor di,di>>tmp.deb echo mov ch,10>>tmp.deb REM --- Output segment address --- echo mov dx,bx>>tmp.deb echo call 0170>>tmp.deb echo mov al,3A>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb REM --- Output offset address --- echo mov dx,si>>tmp.deb echo call 0170>>tmp.deb echo add di,2>>tmp.deb REM --- Get byte from ds:si --- echo lodsb>>tmp.deb REM --- Output byte --- echo xor dx,dx>>tmp.deb echo mov ah,al>>tmp.deb echo mov dh,al>>tmp.deb echo mov cl,2>>tmp.deb echo call 0172>>tmp.deb echo add di,2>>tmp.deb REM --- Output bits --- echo mov dl,ah>>tmp.deb echo mov cl,8>>tmp.deb echo mov al,31>>tmp.deb echo rol dl,1>>tmp.deb echo test dl,1>>tmp.deb echo jnz 0141>>tmp.deb echo mov al,30>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb echo dec cl>>tmp.deb echo jnz 0136>>tmp.deb REM --- next row --- echo add di,76>>tmp.deb echo dec ch>>tmp.deb echo jnz 0112>>tmp.deb REM --- increase seg address + 64 kb --- echo cmp si,0>>tmp.deb echo jnz 0157>>tmp.deb echo add bx,1000>>tmp.deb REM --- get key from keyboard --- echo mov ah,0>>tmp.deb echo int 16>>tmp.deb echo cmp al, 1b>>tmp.deb echo jz 0187>>tmp.deb echo cmp al,20>>tmp.deb echo jz 010C>>tmp.deb echo jmp 0157>>tmp.deb REM -- Subroutine -- REM --- Output 4 hex ASCII --- echo org 0170>>tmp.deb echo mov cl,4>>tmp.deb echo rol dx,4>>tmp.deb echo mov al,dl>>tmp.deb echo and al,F>>tmp.deb echo cmp al,A>>tmp.deb echo jb 017F>>tmp.deb echo add al,7>>tmp.deb echo add al,30>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb echo dec cl>>tmp.deb echo jnz 0172>>tmp.deb echo ret>>tmp.deb REM echo.>>tmp.deb echo n MEMSPY.COM>>tmp.deb echo rcx>>tmp.deb echo 88>>tmp.deb echo wcs:100>>tmp.deb echo q>>tmp.deb debug<tmp.deb>nul del tmp.deb MEMSPY.COM del MEMSPY.COM
Muy bien amigo Sigue con esa curiosidad tan extraordinaria Y vas a llegar muy lejos Sigue subiendo contenido Y dale un toque más amplio de entretenimiento Felicidades