flat assembler
Message board for the users of flat assembler.

Index > Heap > How would you render the ampersand on a digital display?

Author
Thread Post new topic Reply to topic
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
I want to render the ampersand "&" on a digital display where each character takes up 5x7 pixels/cells/dots.

For instance, "A" is

0000000
0011100
0100010
0100010
0111110
0100010
0100010
0100010
0000000

Would anyone have a good font in mind I can copy the metrics from?

My display is something like this:

http://upload.wikimedia.org/wikipedia/commons/2/26/Card_reader_segfault.jpg
Post 07 Mar 2015, 21:20
View user's profile Send private message Reply with quote
tthsqe



Joined: 20 May 2009
Posts: 729
tthsqe
why don't you look at some fonts that come on calculators
http://merthsoft.com/linkguide/ti89/graphics/chars6x8.gif
Post 07 Mar 2015, 21:42
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
^^Thanks for that. Just what I needed.

I had most of them right except for ',;:@'
Post 07 Mar 2015, 21:59
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4238
Location: 2018
edfed
it is a 8*5 font, but it is very possible to adapt it to a 7*5 grid.

for example, this @ in 8*5:

Code:
.arobaz db 01111110b
        db 10000001b
        db 10111001b
        db 10100101b
        db 10111111b
        db 0 
    


becomes a 7*5 char:

Code:
.arobaz db 01111100b
        db 10000010b
        db 10110010b
        db 10101010b
        db 10111110b
        db 0 
    


Description:
Download
Filename: font85.inc
Filesize: 18.32 KB
Downloaded: 103 Time(s)

Post 09 Mar 2015, 08: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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.