flat assembler
Message board for the users of flat assembler.

Index > DOS > Writing different size text to screen in full screen mode

Author
Thread Post new topic Reply to topic
bougainville



Joined: 27 Mar 2006
Posts: 8
bougainville
I hope this doesn't sound too stupid, but is it possible to easily change the text size, or 'font', and the number of lines per screen and characters per line, so that I can fit more text into a full screen in a DOS environment? Question
Post 29 Mar 2006, 10:50
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7108
Location: Slovakia
vid
yes...

see int 10h i think, setting video modes (ah=0 if i am right), and ralph brown list for available modes
Post 29 Mar 2006, 11:08
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
RedGhost



Joined: 18 May 2005
Posts: 444
Location: BC, Canada
RedGhost
example:

Code:
xor ah, ah  ;set video mode
mov al, $xxx ;the video mode you desire
int $10
    


$03 should provide a 640xXXX screen resolution

for more information see INTERRUP.A of the ralf brown interrupt list, or int $10 of the html version

http://www.ctyme.com/rbrown.htm

or http://www.ctyme.com/intr/rb-0069.htm specifically for set video mode

here you may also set graphics mode (to draw pixels) which i think you also requested in an earlier thread

_________________
redghost.ca
Post 29 Mar 2006, 11:36
View user's profile Send private message AIM Address MSN Messenger Reply with quote
bougainville



Joined: 27 Mar 2006
Posts: 8
bougainville
Thank you for rbrown link. It seems that there are many more int's than I was aware of. I shall experiment with these. Hope that the ones that I want work!!
Very Happy
Post 30 Mar 2006, 06:52
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.