diff --git a/libsrc/lynx/Makefile b/libsrc/lynx/Makefile index e2582291e..7225ebddb 100644 --- a/libsrc/lynx/Makefile +++ b/libsrc/lynx/Makefile @@ -52,7 +52,8 @@ OBJS = cgetc.o \ extzp.o \ kbhit.o \ mainargs.o \ - sysuname.o + sysuname.o \ + toascii.o #-------------------------------------------------------------------------- # Drivers diff --git a/libsrc/lynx/toascii.s b/libsrc/lynx/toascii.s new file mode 100644 index 000000000..b1437d8a9 --- /dev/null +++ b/libsrc/lynx/toascii.s @@ -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