I am trying to get a line drawn in video mode 105h using int 10h
.
When I try:
mov cx, 10 ;col
mov dx, 10 ;row
mov ah, 0ch ; put pixel
nothing is displayed on screen.
The mode I try is 1024x768.
I understand that I need to create a font file to get text on the screen.
But that won’t be a problem when I get the line or a pixel working.
BITS 16
ORG 100h
mov ax, ds
mov es, ax
;Set video mode
mov ax, 4f02h
mov bx, 105h
int 10h
;Wait for key
xor ax, ax
int 16h
;Restore DOS text mode
mov ax, 0003h
int 10h
;Exit
mov ax, 4c00h
int 21h
modeInfo TIMES 256 db 0