1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

Added an implementation of toascii() for the Lynx, contributed by Karri

Kaksonen.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4887 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-12-19 11:49:58 +00:00
parent 72d5d040d8
commit 0d5267fc1a
2 changed files with 18 additions and 1 deletions

View File

@ -52,7 +52,8 @@ OBJS = cgetc.o \
extzp.o \
kbhit.o \
mainargs.o \
sysuname.o
sysuname.o \
toascii.o
#--------------------------------------------------------------------------
# Drivers

16
libsrc/lynx/toascii.s Normal file
View File

@ -0,0 +1,16 @@
;
; unsigned char __fastcall__ toascii (unsigned char c);
; /* Convert a target specific character to ascii */
;
.export _toascii
.proc _toascii
; X must be zero on return
ldx #0
; Done!
rts
.endproc