asm6f icon indicating copy to clipboard operation
asm6f copied to clipboard

Character mapping / table support

Open Xkeeper0 opened this issue 6 years ago • 2 comments

Many games on the NES do not have graphics that align with ASCII values. As such, text can be difficult to add/modify.

I propose something like this (name is a suggestion only)

REMAPTABLE font1
  'A' = #$00 
  'B' = #$01
  ...
  ' ' = #$99
  '\'' = #$9A
ENDREMAP

; ...

.db font1!'This is some string', $20, font1!'to be remapped.'
.db font1!'The raw $20 would not be changed.'

Could throw an error or warning if a character that is not in the table is used.

Xkeeper0 avatar Oct 22 '19 18:10 Xkeeper0

See also: Issue #5

freem avatar Oct 23 '19 15:10 freem

welp, i'm a dummy.

Xkeeper0 avatar Oct 23 '19 18:10 Xkeeper0