VOGONS


First post, by markot

User metadata
Rank Member
Rank
Member

I'm trying to get the ASCII characters in Turbo Pascal for the second half of the character set.

The characters 0-127 are located at address F000:FA6E but how exactly should I access the characters 128-255?

Is there any working Turbo Pascal source code with example how to do it?

I need to get the characters working in a program I'm making in Turbo Pascal.

Reply 2 of 3, by markot

User metadata
Rank Member
Rank
Member

No, to be more exact, I want to get the address of the second table.

http://www.ctyme.com/intr/rb-0158.htm

For example if using interrupt 10h with AX=1130h and BH=04h, I'm excepting to get a table with characters 128-255, but it is just some garbage that I get on the screen.

But with BH=03h I am able to get the characters 0-127 correctly.

I will be using these fonts in own graphics modes without Borland BGI.

Reply 3 of 3, by Tiido

User metadata
Rank Oldbie
Rank
Oldbie

You're better off reading the charset out of the video BIOS directly or from the memory in video card where the charset gets stored.
https://wiki.osdev.org/VGA_Fonts

T-04YBSC, a new YMF71x based sound card & Official VOGONS thread about it
Newly made 4MB 60ns 30pin SIMMs ~
mida sa loed ? nagunii aru ei saa 😜