git @ Cat's Eye Technologies BefOS / c6461ea
Note what these are, at least! Chris Pressey 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1111
1212 SEGMENT .text
1313
14 DiscoverVidBase:mov ax, 0500h
14 DiscoverVidBase:mov ax, 0500h ; SELECT ACTIVE DISPLAY PAGE -> 0
1515 int 10h
16 mov ah, 15
16 mov ah, 15 ; GET CURRENT VIDEO MODE, ah -> col, al -> mode, bh -> active page
1717 int 10h
1818 cmp al, 7
1919 jne .UseDefault