flat assembler
Message board for the users of flat assembler.

Index > DOS > Switching font in graphics mode without clearing Another fon

Author
Thread Post new topic Reply to topic
amrashraf



Joined: 26 Apr 2022
Posts: 3
amrashraf 26 Apr 2022, 01:57
I need to know and understand how to switch Font without affecting an already printed message
In Graphics mode.

And Also I would be really glad if someone told me how to make text blinking.

Thanks

_________________
Alphaboy16
Post 26 Apr 2022, 01:57
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 26 Apr 2022, 06:46
Define your font to your liking and then copy the pixels to the screen buffer.

To make text blink, set a timer to re-draw the text in a different colour at each time step.
Post 26 Apr 2022, 06:46
View user's profile Send private message Visit poster's website Reply with quote
amrashraf



Joined: 26 Apr 2022
Posts: 3
amrashraf 06 May 2022, 02:44
Making font ain't easy right?

_________________
Alphaboy16
Post 06 May 2022, 02:44
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 06 May 2022, 03:53
Should by easy if a basic bitmap is all you need.
Code:
char_T:
 db 1,1,1,1,1,1,1,0
 db 0,0,0,1,0,0,0,0
 db 0,0,0,1,0,0,0,0
 db 0,0,0,1,0,0,0,0
 db 0,0,0,1,0,0,0,0
 db 0,0,0,1,0,0,0,0
 db 0,0,0,1,0,0,0,0    
Post 06 May 2022, 03:53
View user's profile Send private message Visit poster's website Reply with quote
macomics



Joined: 26 Jan 2021
Posts: 934
Location: Russia
macomics 06 May 2022, 10:08
Code:
char_T:
 db 11111110b
 db 00010000b
 db 00010000b
 db 00010000b
 db 00010000b
 db 00010000b
 db 00010000b    
bitmap!
Post 06 May 2022, 10:08
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20309
Location: In your JS exploiting you and your system
revolution 06 May 2022, 11:47
Bytemap Smile

For 256 colour mode. Razz
Post 06 May 2022, 11:47
View user's profile Send private message Visit poster's website 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.