Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Looking for ASCII ROM table

Status
Not open for further replies.

hill

Full Member level 5
Joined
Jun 17, 2004
Messages
277
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,298
Activity points
2,334
ASCII ROM Table needed

Does anyone have the ROM table for ASCII characters? Say for example 'A' is

0b00000100
0b00001010
0b00010001
0b00010001
0b00011111
0b00010001
0b00010001
0b00000000

This table should be defined for all standard ASCII characters.

Thanks & regards.
 

Re: ASCII ROM Table needed

Do you look for that ?? ;)
regards,
 

ASCII ROM Table needed

Hi manu,
Thanks very much for your response.

But I'm not looking for this. What I meant is a table of bit streams that can be used to construct the character.

For example I plan to make a LED dot matrix display. Then with MPASM, I would define something like

.......
.......
data b'00000100' ; Character A
data b'00001010'
data b'00010001'
data b'00010001'
data b'00011111'
data b'00010001'
data b'00010001'
data b'00000000'
....... ; Character B
.......


What I want is complete ROM table in a kind of what I mention above, defined for all ASCII characters.
 

ASCII ROM Table needed

This Zilog app note contains a 5x7 character set (it looks inverted):
https://www.zilog.com/docs/z8encore/appnotes/an0144.pdf

Here is a larger character set that I snitched it from the BIOS ROM of a PC graphics card, and then changed the special symbols to suit my application:

const unsigned char charset10[][10] =
{
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, /* blank */
{0x00,0x00,0x00,0x76,0xDC,0xC8,0xDC,0x76,0x00,0x00}, /* alpha */
{0x00,0x78,0xCC,0xCC,0xD8,0xC6,0xC6,0xCC,0x00,0x00}, /* beta */
{0x00,0xFC,0xCC,0xC0,0xC0,0xC0,0xC0,0xC0,0x00,0x00}, /* GAMMA */
{0x00,0x00,0xFE,0x6C,0x6C,0x6C,0x6C,0x6C,0x00,0x00}, /* pi */
{0x00,0xFC,0xCC,0x60,0x30,0x60,0xCC,0xFC,0x00,0x00}, /* SIGMA */
{0x00,0x00,0x00,0x7E,0xD8,0xD8,0xD8,0x70,0x00,0x00}, /* sigma */
{0x00,0x00,0x66,0x66,0x66,0x66,0x7C,0x60,0xC0,0x00}, /* mu */
{0x00,0x00,0x76,0xDC,0x18,0x18,0x18,0x18,0x00,0x00}, /* tau */
{0x00,0xFC,0x30,0x78,0xCC,0xCC,0x78,0x30,0xFC,0x00}, /* PHI */
{0x00,0x38,0x6C,0xC6,0xFE,0xC6,0x6C,0x38,0x00,0x00}, /* theta */
{0x00,0x38,0x6C,0xC6,0xC6,0x6C,0x6C,0xEE,0x00,0x00}, /* OMEGA */
{0x00,0x1C,0x30,0x18,0x7C,0xCC,0xCC,0x78,0x00,0x00}, /* delta */
{0x00,0x00,0x00,0x7E,0xDB,0xDB,0x7E,0x00,0x00,0x00}, /* infinity */
{0x00,0x06,0x0C,0x7E,0xDB,0xDB,0x7E,0x60,0xC0,0x00}, /* phi */
{0x00,0x38,0x60,0xC0,0xF8,0xC0,0x60,0x38,0x00,0x00}, /* epsilon */
{0x00,0x78,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0x00,0x00}, /* intersection */
{0x00,0x00,0xFC,0x00,0xFC,0x00,0xFC,0x00,0x00,0x00}, /* defined to be */
{0x00,0x30,0x30,0xFC,0x30,0x30,0x00,0xFC,0x00,0x00}, /* plus minus */
{0x00,0x60,0x30,0x18,0x30,0x60,0x00,0xFC,0x00,0x00}, /* greater equal */
{0x00,0x18,0x30,0x60,0x30,0x18,0x00,0xFC,0x00,0x00}, /* less equal */
{0x00,0x00,0x18,0x0C,0xFE,0x0C,0x18,0x00,0x00,0x00}, /* right arrow */
{0x00,0x00,0x30,0x60,0xFE,0x60,0x30,0x00,0x00,0x00}, /* left arrow */
{0x00,0x30,0x30,0x00,0xFC,0x00,0x30,0x30,0x00,0x00}, /* divide */
{0x00,0x00,0x76,0xDC,0x00,0x76,0xDC,0x00,0x00,0x00}, /* approx equal */
{0x00,0x38,0x6C,0x6C,0x38,0x00,0x00,0x00,0x00,0x00}, /* degree */
{0x00,0x18,0x3C,0x7E,0x18,0x18,0x18,0x18,0x00,0x00}, /* up arrow */
{0x00,0x18,0x18,0x18,0x18,0x7E,0x3C,0x18,0x00,0x00}, /* down arrow */
{0x00,0x0F,0x0C,0x0C,0x0C,0xEC,0x6C,0x3C,0x1C,0x00}, /* square root */
{0x78,0x6C,0x6C,0x6C,0x6C,0x00,0x00,0x00,0x00,0x00}, /* n-th power */
{0x70,0x18,0x30,0x60,0x78,0x00,0x00,0x00,0x00,0x00}, /* squared */
{0x70,0x18,0x30,0x18,0x70,0x00,0x00,0x00,0x00,0x00}, /* cubed */
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, /* space */
{0x00,0x30,0x78,0x78,0x30,0x30,0x00,0x30,0x00,0x00}, /* ! */
{0x00,0x6C,0x6C,0x6C,0x00,0x00,0x00,0x00,0x00,0x00}, /* " */
{0x00,0x6C,0x6C,0xFE,0x6C,0xFE,0x6C,0x6C,0x00,0x00}, /* # */
{0x00,0x30,0x7C,0xC0,0x78,0x0C,0xF8,0x30,0x00,0x00}, /* $ */
{0x00,0x00,0xC6,0xCC,0x18,0x30,0x66,0xC6,0x00,0x00}, /* % */
{0x00,0x38,0x6C,0x38,0x76,0xDC,0xCC,0x76,0x00,0x00}, /* & */
{0x00,0x60,0x60,0xC0,0x00,0x00,0x00,0x00,0x00,0x00}, /* ' */
{0x00,0x18,0x30,0x60,0x60,0x60,0x30,0x18,0x00,0x00}, /* ( */
{0x00,0x60,0x30,0x18,0x18,0x18,0x30,0x60,0x00,0x00}, /* ) */
{0x00,0x00,0x66,0x3C,0xFF,0x3C,0x66,0x00,0x00,0x00}, /* * */
{0x00,0x00,0x30,0x30,0xFC,0x30,0x30,0x00,0x00,0x00}, /* + */
{0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x60,0x00}, /* , */
{0x00,0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00}, /* - */
{0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x00,0x00}, /* . */
{0x00,0x06,0x0C,0x18,0x30,0x60,0xC0,0x80,0x00,0x00}, /* / */
{0x00,0x7C,0xC6,0xC6,0xC6,0xC6,0xC6,0x7C,0x00,0x00}, /* 0 */
{0x00,0x30,0x70,0x30,0x30,0x30,0x30,0xFC,0x00,0x00}, /* 1 */
{0x00,0x78,0xCC,0x0C,0x38,0x60,0xCC,0xFC,0x00,0x00}, /* 2 */
{0x00,0x78,0xCC,0x0C,0x38,0x0C,0xCC,0x78,0x00,0x00}, /* 3 */
{0x00,0x1C,0x3C,0x6C,0xCC,0xFE,0x0C,0x1E,0x00,0x00}, /* 4 */
{0x00,0xFC,0xC0,0xF8,0x0C,0x0C,0xCC,0x78,0x00,0x00}, /* 5 */
{0x00,0x38,0x60,0xC0,0xF8,0xCC,0xCC,0x78,0x00,0x00}, /* 6 */
{0x00,0xFC,0xCC,0x0C,0x18,0x30,0x30,0x30,0x00,0x00}, /* 7 */
{0x00,0x78,0xCC,0xCC,0x78,0xCC,0xCC,0x78,0x00,0x00}, /* 8 */
{0x00,0x78,0xCC,0xCC,0x7C,0x0C,0x18,0x70,0x00,0x00}, /* 9 */
{0x00,0x00,0x30,0x30,0x00,0x00,0x30,0x30,0x00,0x00}, /* : */
{0x00,0x00,0x30,0x30,0x00,0x00,0x30,0x30,0x60,0x00}, /* ; */
{0x00,0x18,0x30,0x60,0xC0,0x60,0x30,0x18,0x00,0x00}, /* < */
{0x00,0x00,0x00,0xFC,0x00,0x00,0xFC,0x00,0x00,0x00}, /* = */
{0x00,0x60,0x30,0x18,0x0C,0x18,0x30,0x60,0x00,0x00}, /* > */
{0x00,0x78,0xCC,0x0C,0x18,0x30,0x00,0x30,0x00,0x00}, /* ? */
{0x00,0x7C,0xC6,0xDE,0xDE,0xDE,0xC0,0x78,0x00,0x00}, /* @ */
{0x00,0x30,0x78,0xCC,0xCC,0xFC,0xCC,0xCC,0x00,0x00}, /* A */
{0x00,0xFC,0x66,0x66,0x7C,0x66,0x66,0xFC,0x00,0x00}, /* B */
{0x00,0x3C,0x66,0xC0,0xC0,0xC0,0x66,0x3C,0x00,0x00}, /* C */
{0x00,0xF8,0x6C,0x66,0x66,0x66,0x6C,0xF8,0x00,0x00}, /* D */
{0x00,0xFE,0x62,0x68,0x78,0x68,0x62,0xFE,0x00,0x00}, /* E */
{0x00,0xFE,0x62,0x68,0x78,0x68,0x60,0xF0,0x00,0x00}, /* F */
{0x00,0x3C,0x66,0xC0,0xC0,0xCE,0x66,0x3E,0x00,0x00}, /* G */
{0x00,0xCC,0xCC,0xCC,0xFC,0xCC,0xCC,0xCC,0x00,0x00}, /* H */
{0x00,0x78,0x30,0x30,0x30,0x30,0x30,0x78,0x00,0x00}, /* I */
{0x00,0x1E,0x0C,0x0C,0x0C,0xCC,0xCC,0x78,0x00,0x00}, /* J */
{0x00,0xE6,0x66,0x6C,0x78,0x6C,0x66,0xE6,0x00,0x00}, /* K */
{0x00,0xF0,0x60,0x60,0x60,0x62,0x66,0xFE,0x00,0x00}, /* L */

{0x00,0xC6,0xEE,0xFE,0xFE,0xD6,0xC6,0xC6,0x00,0x00}, /* M */
{0x00,0xC6,0xE6,0xF6,0xDE,0xCE,0xC6,0xC6,0x00,0x00}, /* N */
{0x00,0x38,0x6C,0xC6,0xC6,0xC6,0x6C,0x38,0x00,0x00}, /* O */
{0x00,0xFC,0x66,0x66,0x7C,0x60,0x60,0xF0,0x00,0x00}, /* P */
{0x00,0x78,0xCC,0xCC,0xCC,0xDC,0x78,0x1C,0x00,0x00}, /* Q */
{0x00,0xFC,0x66,0x66,0x7C,0x6C,0x66,0xE6,0x00,0x00}, /* R */
{0x00,0x78,0xCC,0xE0,0x70,0x1C,0xCC,0x78,0x00,0x00}, /* S */
{0x00,0xFC,0xB4,0x30,0x30,0x30,0x30,0x78,0x00,0x00}, /* T */
{0x00,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xFC,0x00,0x00}, /* U */
{0x00,0xCC,0xCC,0xCC,0xCC,0xCC,0x78,0x30,0x00,0x00}, /* V */
{0x00,0xC6,0xC6,0xC6,0xD6,0xFE,0xEE,0xC6,0x00,0x00}, /* W */
{0x00,0xC6,0xC6,0x6C,0x38,0x38,0x6C,0xC6,0x00,0x00}, /* X */
{0x00,0xCC,0xCC,0xCC,0x78,0x30,0x30,0x78,0x00,0x00}, /* Y */
{0x00,0xFE,0xC6,0x8C,0x18,0x32,0x66,0xFE,0x00,0x00}, /* Z */
{0x00,0x78,0x60,0x60,0x60,0x60,0x60,0x78,0x00,0x00}, /* [ */
{0x00,0xC0,0x60,0x30,0x18,0x0C,0x06,0x02,0x00,0x00}, /* backslash */
{0x00,0x78,0x18,0x18,0x18,0x18,0x18,0x78,0x00,0x00}, /* ] */
{0x00,0x10,0x38,0x6C,0xC6,0x00,0x00,0x00,0x00,0x00}, /* ^ */
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00}, /* _ */
{0x00,0x30,0x30,0x18,0x00,0x00,0x00,0x00,0x00,0x00}, /* ` */
{0x00,0x00,0x00,0x78,0x0C,0x7C,0xCC,0x76,0x00,0x00}, /* a */
{0x00,0xE0,0x60,0x60,0x7C,0x66,0x66,0xDC,0x00,0x00}, /* b */
{0x00,0x00,0x00,0x78,0xCC,0xC0,0xCC,0x78,0x00,0x00}, /* c */
{0x00,0x1C,0x0C,0x0C,0x7C,0xCC,0xCC,0x76,0x00,0x00}, /* d */
{0x00,0x00,0x00,0x78,0xCC,0xFC,0xC0,0x78,0x00,0x00}, /* e */
{0x00,0x38,0x6C,0x60,0xF0,0x60,0x60,0xF0,0x00,0x00}, /* f */
{0x00,0x00,0x00,0x76,0xCC,0xCC,0x7C,0x0C,0xF8,0x00}, /* g */
{0x00,0xE0,0x60,0x6C,0x76,0x66,0x66,0xE6,0x00,0x00}, /* h */
{0x00,0x30,0x00,0x70,0x30,0x30,0x30,0x78,0x00,0x00}, /* i */
{0x00,0x0C,0x00,0x0C,0x0C,0x0C,0xCC,0xCC,0x78,0x00}, /* j */
{0x00,0xE0,0x60,0x66,0x6C,0x78,0x6C,0xE6,0x00,0x00}, /* k */
{0x00,0x70,0x30,0x30,0x30,0x30,0x30,0x78,0x00,0x00}, /* l */
{0x00,0x00,0x00,0xCC,0xFE,0xFE,0xD6,0xC6,0x00,0x00}, /* m */
{0x00,0x00,0x00,0xF8,0xCC,0xCC,0xCC,0xCC,0x00,0x00}, /* n */
{0x00,0x00,0x00,0x78,0xCC,0xCC,0xCC,0x78,0x00,0x00}, /* o */
{0x00,0x00,0x00,0xDC,0x66,0x66,0x7C,0x60,0xF0,0x00}, /* p */
{0x00,0x00,0x00,0x76,0xCC,0xCC,0x7C,0x0C,0x1E,0x00}, /* q */
{0x00,0x00,0x00,0xDC,0x76,0x66,0x60,0xF0,0x00,0x00}, /* r */
{0x00,0x00,0x00,0x7C,0xC0,0x78,0x0C,0xF8,0x00,0x00}, /* s */
{0x00,0x10,0x30,0x7C,0x30,0x30,0x34,0x18,0x00,0x00}, /* t */
{0x00,0x00,0x00,0xCC,0xCC,0xCC,0xCC,0x76,0x00,0x00}, /* u */
{0x00,0x00,0x00,0xCC,0xCC,0xCC,0x78,0x30,0x00,0x00}, /* v */
{0x00,0x00,0x00,0xC6,0xD6,0xFE,0xFE,0x6C,0x00,0x00}, /* w */
{0x00,0x00,0x00,0xC6,0x6C,0x38,0x6C,0xC6,0x00,0x00}, /* x */
{0x00,0x00,0x00,0xCC,0xCC,0xCC,0x7C,0x0C,0xF8,0x00}, /* y */
{0x00,0x00,0x00,0xFC,0x98,0x30,0x64,0xFC,0x00,0x00}, /* z */
{0x00,0x1C,0x30,0x30,0xE0,0x30,0x30,0x1C,0x00,0x00}, /* { */
{0x00,0x18,0x18,0x18,0x00,0x18,0x18,0x18,0x00,0x00}, /* | */
{0x00,0xE0,0x30,0x30,0x1C,0x30,0x30,0xE0,0x00,0x00}, /* } */
{0x00,0x76,0xDC,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, /* ~ */
{0x00,0xEA,0x4E,0x4A,0x4A,0x00,0x00,0x00,0x00,0x00}, /* trade mark */
};
 

ASCII ROM Table needed

Dear all,

Seem like what I was looking for. I think this would be useful.

Thanks.
 

ASCII ROM Table needed

Also, an 8 X 8 font table for the first 128 characters is located in the 0x400 bytes at 0xFFA6E in the PC ROM, easily accessible by debugger, but not as easy to convert to a useable source file as echo47 has so kindly done above.
 

ASCII ROM Table needed

Hi cherrytart,

Can you say more about that. You mean I can read the ROM content of the PC, which I was using to write this massage? And what debugger should I use?
 

Re: ASCII ROM Table needed

Hi,

You can use windows\system32\debug.exe. The command "?" is for help.

Regards
 

ASCII ROM Table needed

do a dump starting at 0xFFA6E for 0x400 bytes with

D ff00:a6e L400

to save it to a file, in this case named B in the root

N \B
RCX
:400

W FF00:A6E

this is a binary image of the 1024 bytes making up the character table
 

Re: ASCII ROM Table needed

i want in reverse format, like 5codes for each character, i mean, 1 code out of 5 will signify 1 of 5 columns.:cry:


do a dump starting at 0xFFA6E for 0x400 bytes with

D ff00:a6e L400

to save it to a file, in this case named B in the root

N \B
RCX
:400

W FF00:A6E

this is a binary image of the 1024 bytes making up the character table
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top