From 8eca213d79515920c72fd91f46a827db68ea2970 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Mon, 28 Apr 2014 18:50:02 +0200
Subject: [PATCH] Improved file name consistency.
---
drivers/Makefile | 10 +++++-----
drivers/{a2_zero_page.s => a2zeropage.s} | 11 ++++-------
drivers/{petscii_charconv.s => cbmcharconv.s} | 2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
rename drivers/{a2_zero_page.s => a2zeropage.s} (72%)
rename drivers/{petscii_charconv.s => cbmcharconv.s} (99%)
diff --git a/drivers/Makefile b/drivers/Makefile
index 7542496..60152c1 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -23,19 +23,19 @@ DRIVERS=\
all: $(DRIVERS)
-c64rrnet.lib: rr-net.o cs8900a.o c64zeropage.o c64print.o c64timer.o c64kernal.o c64input.o petscii_charconv.o
+c64rrnet.lib: rr-net.o cs8900a.o c64zeropage.o c64print.o c64timer.o c64kernal.o c64input.o cbmcharconv.o
ar65 a $@ $^
-c64wiznet.lib: w5100.o c64zeropage.o c64print.o c64timer.o c64kernal.o c64input.o petscii_charconv.o
+c64wiznet.lib: w5100.o c64zeropage.o c64print.o c64timer.o c64kernal.o c64input.o cbmcharconv.o
ar65 a $@ $^
-a2lancegs.lib: lan91c96.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o a2_zero_page.o
+a2lancegs.lib: lan91c96.o a2zeropage.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o
ar65 a $@ $^
-a2uther.lib: uthernet.o cs8900a.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o a2_zero_page.o
+a2uther.lib: uthernet.o cs8900a.o a2zeropage.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o
ar65 a $@ $^
-vic20rrnet.lib: vic20-rr-net.o cs8900a.o vic20zeropage.o vic20print.o vic20timer.o vic20kernal.o vic20input.o petscii_charconv.o
+vic20rrnet.lib: vic20-rr-net.o cs8900a.o vic20zeropage.o vic20print.o vic20timer.o vic20kernal.o vic20input.o cbmcharconv.o
ar65 a $@ $^
clean:
diff --git a/drivers/a2_zero_page.s b/drivers/a2zeropage.s
similarity index 72%
rename from drivers/a2_zero_page.s
rename to drivers/a2zeropage.s
index 629e8c7..43149ea 100644
--- a/drivers/a2_zero_page.s
+++ b/drivers/a2zeropage.s
@@ -1,7 +1,4 @@
; zero page definitions
-; On the Apple ][ with AppleSoft running there are not enough contiguous zero page locations
-; to allow LD65 to handle assignment
-; so we need to manually assign ZP pointers to known free locations
.exportzp copy_src
.exportzp copy_dest
@@ -10,11 +7,11 @@
.exportzp buffer_ptr
.exportzp eth_packet
-copy_src = $06 ; also $07
-copy_dest = $08 ; also $09
+copy_src = $06 ; also $07 - source pointer
+copy_dest = $08 ; also $09 - destination pointer
dns_hostname = $18 ; also $19
-tftp_filename = $1D ; also $1E
-buffer_ptr = $EB ; also $EC
+tftp_filename = $1D ; also $1E - name of file to d/l or filemask to get directory listing for
+buffer_ptr = $EB ; also $EC - source pointer
eth_packet = $ED ; also $EE
diff --git a/drivers/petscii_charconv.s b/drivers/cbmcharconv.s
similarity index 99%
rename from drivers/petscii_charconv.s
rename to drivers/cbmcharconv.s
index aa8fd2c..bcb084f 100644
--- a/drivers/petscii_charconv.s
+++ b/drivers/cbmcharconv.s
@@ -57,7 +57,7 @@ petscii_to_ascii_table:
-; -- LICENSE FOR c64charconv.s --
+; -- LICENSE FOR cbmcharconv.s --
; The contents of this file are subject to the Mozilla Public License
; Version 1.1 (the "License"); you may not use this file except in
; compliance with the License. You may obtain a copy of the License at