Hossein Mobasher
Hossein Mobasher

Reputation: 4472

Print Unicode Characters in 8086

As you know, the print function in 8086, puts character in 8bits ( db ) and shows it in screen. Now, i want to print the Unicode character in 8086emu environment not ASCII. So, my challenge is how to use Unicode character in my program ? Does 8086 support Unicode characters?

Thanks in advance :)

Upvotes: 1

Views: 459

Answers (1)

DarkDust
DarkDust

Reputation: 92335

If you mean printing in text mode, via interrupt 10h: you can't, as you only have a character map with just 256 characters available. You can redefine how these characters look like (load your custom font), but that still gives you only 256 characters. So you would need to identify the ones you need and then first somehow "render" the ones you need into the character table and for printing you would need to map the Unicode glyph to you character table indexes.

See also my answer to a similar question for more details.

Upvotes: 3

Related Questions