I've known for a while that it is possible to achieve a pseudo 160 by 100 graphics mode on the IBM CGA by using the CRTC to change line height to two pixels. I've been trying to accomplish this for a few days now, coming to a dead end.
The Intel® Open Source HD Graphics and Intel Iris™ Graphics Programmer's Reference Manual claims I can do this on page 45 (or page 59 in the PDF) by writing to the Maximum Scanline Register, or that's what I interpret from it.
I've tried writing directly to memory address 3B5 with a value of 00000001b, or the code for 2 scanlines, I believe. This did nothing at all when I tested it in DOSBox.
If you want to see the code I wrote which will assemble in NASM:
BITS 16
xor bx,bx
mov ax, 3b5h
mov es, ax
mov ah, 00000001b
mov BYTE [es:bx], ah ; write 00000001b to 0x03b5:0000, right?
cli
hlt
I am not yet very confident with low-level stuff like this, and any help would be appreciated.