flat assembler
Message board for the users of flat assembler.

Index > Heap > 8x8 font needed

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
anyone has some nice 8x8 bitmap font?

I need to extract it to simple bit array (8 bytes par character), so i would prefer it in some easy to parse format.

thanks
Post 02 Oct 2007, 23:58
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
i have a 6*8 font not finished of course
i know it's not a 8*8 font
i give it with simple text routine for real mode
to call this one you need mode13h and set those variables:
color0 (for zeroes bits)
color1 ( for ones bits)
cinv (invisible color)
txt.x ( x coordinate)
txt.y ( y //)
mov ebx,text to display finished by 0
and then call txt
txt.x is updated so you can set it only one time per line

smooth is for color gradtion you can erase it by ; add ah,[smooth]
in reallity this font is displayed in 9*6

you will get more space for display with a little font

if you really need it i can complete the missing fields


fedit is to show you the font echap to exit
no bugs i promisse
only misfunctions


Description: the routine
Download
Filename: Text.inc
Filesize: 1.7 KB
Downloaded: 130 Time(s)

Description: the font
Download
Filename: chr$.inc
Filesize: 18.3 KB
Downloaded: 137 Time(s)

Post 03 Oct 2007, 00:07
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
I just added some binary font data (8x8 and 8x16) and decoder to my Assembly Utility library. Here's the binary font data and the source to decode the font data and draw on a directdraw surface. use the 'file' directive to get the font data into your data section.


Description: Binary Font and Decode Source.
Download
Filename: Binaryfonts.rar
Filesize: 3.06 KB
Downloaded: 154 Time(s)

Post 03 Oct 2007, 22:33
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
The Commodore 64 charset is 8x8.

I've attached a non finished but still working example

[edit] I've just realized that I forgot to mention in the sources that the author is myself and the commented link at the top of the source is from where I grabbed a copy of the original charset ROM. Anyway, don't blame them for the very bad source code quality because I was the one that wrote it Razz[/edit]


Description:
Download
Filename: Amigos@C64.rar
Filesize: 4.37 KB
Downloaded: 142 Time(s)



Last edited by LocoDelAssembly on 05 Oct 2007, 02:00; edited 1 time in total
Post 03 Oct 2007, 23:03
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
thank you guys, i hope to try these tomorrow.
Post 04 Oct 2007, 00:11
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.