]> git.sur5r.net Git - cc65/blob - libsrc/atari/toascii.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / atari / toascii.s
1 ;
2 ; unsigned char __fastcall__ toascii (unsigned char c);
3 ; /* Convert a target specific character to ascii */
4 ;
5
6 .export _toascii
7
8 .proc _toascii
9
10 ; Clear the inverse video bit
11         and     #$7F
12
13 ; X must be zero on return
14         ldx     #0
15
16 ; Done!
17         rts
18
19 .endproc