Jump to content
IGNORED

cc65 inverse characters


Recommended Posts

Does anyone know how to display inverse characters when using cc65? The only method I've come across involve either using Print #6 (which even if it has an analog in cc65 is useless, since I'm loading the characters directly into screen memory using memcpy). How is this handled in assembler?

Link to comment
Share on other sites

Does anyone know how to display inverse characters when using cc65?

 

You could try something like that:

 

#define INV((a)) ((a)|128)

 

...

 

char inverseString[] ={ INV('H'),INV('e'),INV('l'),INV('l'),INV('o'),INV('!'),0};

 

...

Edited by Irgendwer
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...