]> git.sur5r.net Git - cc65/commitdiff
Removed an unused module.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 30 Mar 2008 08:41:26 +0000 (08:41 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 30 Mar 2008 08:41:26 +0000 (08:41 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3823 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/lynx/Makefile
libsrc/lynx/cartread.s [deleted file]

index e12db429c71e4bf46b12ef2266fb7a492d92a0e8..eaa52872df17364167b8687d17624b50f8fcd478 100644 (file)
@@ -45,8 +45,7 @@ CFLAGS        = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
 #--------------------------------------------------------------------------
 # Object files
 
-OBJS =  cartread.o      \
-        cgetc.o         \
+OBJS =  cgetc.o         \
         crt0.o          \
        ctype.o         \
         eeprom.o        \
diff --git a/libsrc/lynx/cartread.s b/libsrc/lynx/cartread.s
deleted file mode 100644 (file)
index 9330a08..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-; ***
-; CC65 Lynx Library
-;
-; Originally by Bastian Schick
-; http://www.geocities.com/SiliconValley/Byte/4242/lynx/
-;
-; Ported to cc65 (http://www.cc65.org) by
-; Shawn Jefferson, June 2004
-;
-; ***
-;
-; void __fastcall__ read_cart_block(unsigned char block, char *dest)
-;
-; Reads an entire block (1024 bytes) from the cartridge into the buffer
-; pointed to by dest.
-
-
-               .export     _read_cart_block
-               .import     FileSelectBlock, FileReadBytes
-               .import     popa
-
-        .include    "extzp.inc"
-
-
-.code
-
-;*******************************************
-; void read_cart_block (unsigned char block, char *dest);
-; loads one Block (1024 bytes) to pDest
-
-_read_cart_block:
-               sta     _FileDestPtr            ;  lo
-               stx     _FileDestPtr+1          ;  hi
-
-               jsr     popa                    ; bBlock
-
-               sta     _FileCurrBlock
-               jsr     FileSelectBlock         ; select block# (Accu)
-
-               lda     #<1024                  ; load a whole block (1024 bytes)
-               eor     #$ff
-               tax
-               lda     #>1024
-               eor     #$ff
-               tay
-
-               jmp     FileReadBytes
-
-