OSDev.org

The Place to Start for Operating System Developers
It is currently Sun Apr 23, 2017 9:48 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: [C]Print a character
PostPosted: Wed Dec 28, 2016 8:38 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 757
Location: Athens, GA, USA
zenzizenzicube wrote:
Schol-R-LEA wrote:
Code:
typedef struct {
    uint8_t attrib;
    unsigned char glyph;
} TEXT_FRAME;


Shouldn't the character be before the attribute byte in the struct?


Erp. I must have reversed them while editing this, somehow.

bauen1 wrote:
Correct me if i'm wrong but should this have the packed attribute ?


You are correct, I spaced on that. Sorry about that. Between these two errors, I feel rather foolish right now.

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
μή εἶναι βασιλικήν ἀτραπόν ἐπί γεωμετρίαν
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 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