Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Directives for Non-ASCII Text Formatting via tables (character codes) #5

Open
TheRealHamtaro126 opened this issue Apr 10, 2017 · 2 comments

Comments

@TheRealHamtaro126
Copy link

This is relating to how strings written for NES, C64, and other game systems not exactly supporting the ASCII Standard for Text.

The character mapping feature is to be made from how Thingy and ASAR (XKAS 6) uses them, using the table format standard

These are the directives:

.RTLTABLE "Include.File" - Include a Table for Non-Standard Text, Formatted Right To Left.
.LTRTABLE "Include.File" - Include a Table for Non-Standard Text, Formatted Left To Right.
.TEXT "String" - Adds Non-Standard Text, uses ASCII by Default.
.CLRTABLE - Clears and Resets the table back to the Default ASCII standard

Support is REALLY appreciated!

@freem freem added the request label Apr 10, 2017
@gitjeff2
Copy link

I second @TheRealHamtaro126 on this.

The 64tass assembler has very good support for this and asm6f could benefit from this feature as well. See 64tass Reference Manual, Sec. 4.3 Text Encoding for details.

@koitsu
Copy link
Contributor

koitsu commented Oct 25, 2019

For a different way to go about this, or just for overall ideas, consider checking out the assembler manual for x816, pseudo-ops .ASCTABLE, CLEARTABLE or CLEAR, and .ASC. Be sure to note scope of where some of those directives are allowed. (Edit 2023/01/05: updated link to x816 manual)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants