OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:00 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: How to print pseudographic symbols?
PostPosted: Wed Apr 22, 2015 11:27 am 
Offline
Member
Member

Joined: Mon Feb 02, 2015 7:11 pm
Posts: 898
Roman wrote:
Thanks! I didn't know about the extended set. I always thought ASCII only takes 7 bits.


ASCII is 7 bits. "Extended ASCII" isn't ASCII but is just a misnomer for the full 8 bits character set available on PC.

_________________
https://github.com/kiznit/rainbow-os


Top
 Profile  
 
 Post subject: Re: How to print pseudographic symbols?
PostPosted: Wed Apr 22, 2015 2:03 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 11:33 pm
Posts: 3882
Location: Eindhoven
If you really want to you can disable the blink ability and use it to switch to a 9-bit "ASCII" mode, where 82% of your characters aren't ASCII. ASCII printable is 32 to 126 inclusive - anything outside that range doesn't technically have a graphical representation in ASCII, but you can of course make a font that displays something for it.

Which is the root of this entire thread; you've got some rendering tool that you don't understand and you're sending it arbitrary font character IDs in the hope to find something that you like.

I suggest finding out what the rendering tool actually uses as a font and then to use that knowledge.


Top
 Profile  
 
 Post subject: Re: How to print pseudographic symbols?
PostPosted: Sun Oct 11, 2015 7:05 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 03, 2015 9:41 am
Posts: 492
I've been so stupid... I'm tried to display characters not in signed char range. Now I'm know it.

_________________
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.


Top
 Profile  
 
 Post subject: Re: How to print pseudographic symbols?
PostPosted: Mon Oct 12, 2015 5:27 am 
Offline
Member
Member

Joined: Sat Nov 18, 2006 9:11 am
Posts: 571
I'm not exactly sure where you got those codes from.
I've always used these extended ascii codes for my window/borders.

179 = │
196 = ─
192 = └
217 = ┘
191 = ┐
218 = ┌

197 = ┼

193 = ┴
194 = ┬

195 = ├

180 = ┤


Top
 Profile  
 
 Post subject: Re: How to print pseudographic symbols?
PostPosted: Sun Sep 24, 2017 6:54 am 
Offline
Member
Member
User avatar

Joined: Fri Apr 03, 2015 9:41 am
Posts: 492
Oh god, I wanna punch myself in the face now.

_________________
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing

OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: belliash, Bing [Bot], SemrushBot [Bot] and 77 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group