From c89a2ae1ba12e4e4482fa390e88c0385fd9e0278 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Fri, 23 Feb 2018 16:36:05 +0100 Subject: [PATCH] Adjusted include file extension to ca65 practice. --- apps/Makefile | 6 +++--- apps/telnet65.s | 8 ++++---- drivers/a2_timer.s | 2 +- drivers/a2filteredinput.s | 2 +- drivers/a2timer.s | 2 +- drivers/atrfilteredinput.s | 2 +- drivers/atrkernal.s | 2 +- drivers/atrprint.s | 2 +- drivers/atrtimer.s | 2 +- drivers/c64filteredinput.s | 2 +- drivers/c64timer.s | 2 +- drivers/clk_timer.s | 2 +- drivers/ethernet.s | 2 +- drivers/ethernetcombo.s | 2 +- drivers/vic20filteredinput.s | 2 +- drivers/vic20timer.s | 2 +- inc/{common.i => common.inc} | 2 +- inc/{commonprint.i => commonprint.inc} | 2 +- inc/{error.i => error.inc} | 2 +- inc/{net.i => net.inc} | 2 +- inc/{printf.i => printf.inc} | 2 +- inc/{version.i => version.inc} | 0 ip65/arithmetic.s | 2 +- ip65/arp.s | 2 +- ip65/config.s | 2 +- ip65/config_c.s | 2 +- ip65/dhcp.s | 4 ++-- ip65/dhcp_c.s | 2 +- ip65/dns.s | 4 ++-- ip65/dns_c.s | 2 +- ip65/dottedquad.s | 2 +- ip65/dottedquad_c.s | 2 +- ip65/eth.s | 2 +- ip65/http.s | 2 +- ip65/http_c.s | 2 +- ip65/httpd.s | 4 ++-- ip65/httpd_c.s | 2 +- ip65/icmp.s | 4 ++-- ip65/icmp_c.s | 2 +- ip65/input_c.s | 2 +- ip65/ip.s | 2 +- ip65/ip65.s | 4 ++-- ip65/ip65_c.s | 2 +- ip65/parser.s | 2 +- ip65/sntp.s | 4 ++-- ip65/sntp_c.s | 2 +- ip65/string_utils.s | 2 +- ip65/tcp.s | 4 ++-- ip65/tcp_c.s | 2 +- ip65/tftp.s | 4 ++-- ip65/timer.s | 2 +- ip65/timer_c.s | 2 +- ip65/udp.s | 4 ++-- ip65/udp_c.s | 2 +- ip65/url.s | 6 +++--- test/Makefile | 6 +++--- test/dns.s | 6 +++--- test/dottedquad.s | 6 +++--- test/geturl.s | 6 +++--- test/httpd.s | 6 +++--- test/math.s | 6 +++--- test/parsequerystring.s | 6 +++--- test/parser.s | 6 +++--- test/ping.s | 6 +++--- test/sntp.s | 6 +++--- test/tftp.s | 6 +++--- test/vt100.s | 4 ++-- 67 files changed, 105 insertions(+), 105 deletions(-) rename inc/{common.i => common.inc} (97%) rename inc/{commonprint.i => commonprint.inc} (99%) rename inc/{error.i => error.inc} (97%) rename inc/{net.i => net.inc} (97%) rename inc/{printf.i => printf.inc} (97%) rename inc/{version.i => version.inc} (100%) diff --git a/apps/Makefile b/apps/Makefile index d82c450..1a60660 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -44,9 +44,9 @@ $(addsuffix .com,$(TCP)): IP65LIB = ../ip65/ip65_tcp.lib $(foreach pgm,$(UDP) $(TCP),$(eval $(pgm): $(pgm).prg $(pgm).bin $(pgm).com)) INCFILES =\ - ../inc/common.i \ - ../inc/commonprint.i \ - ../inc/net.i + ../inc/common.inc \ + ../inc/commonprint.inc \ + ../inc/net.inc prg: $(addsuffix .prg,$(UDP) $(TCP)) diff --git a/apps/telnet65.s b/apps/telnet65.s index c20412b..a9415a2 100644 --- a/apps/telnet65.s +++ b/apps/telnet65.s @@ -1,9 +1,9 @@ ; minimal telnet implementation (dumb terminal emulation only) -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" +.include "../inc/error.inc" .export start diff --git a/drivers/a2_timer.s b/drivers/a2_timer.s index 9ff28e8..e9ac94d 100644 --- a/drivers/a2_timer.s +++ b/drivers/a2_timer.s @@ -6,7 +6,7 @@ ; ; timer_read is meant to return a counter with millisecond resolution -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_read diff --git a/drivers/a2filteredinput.s b/drivers/a2filteredinput.s index b8b4ab6..ba4b3a1 100644 --- a/drivers/a2filteredinput.s +++ b/drivers/a2filteredinput.s @@ -9,7 +9,7 @@ .import print_a .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" allowed_ptr = ptr1 diff --git a/drivers/a2timer.s b/drivers/a2timer.s index 344a718..5f196b5 100644 --- a/drivers/a2timer.s +++ b/drivers/a2timer.s @@ -6,7 +6,7 @@ ; ; timer_read is meant to return a counter with millisecond resolution -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_read diff --git a/drivers/atrfilteredinput.s b/drivers/atrfilteredinput.s index c5d0718..62aaefc 100644 --- a/drivers/atrfilteredinput.s +++ b/drivers/atrfilteredinput.s @@ -9,7 +9,7 @@ .import print_a .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .include "atari.inc" allowed_ptr = ptr1 diff --git a/drivers/atrkernal.s b/drivers/atrkernal.s index dd23cc5..2f07bd7 100644 --- a/drivers/atrkernal.s +++ b/drivers/atrkernal.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export exit_to_basic diff --git a/drivers/atrprint.s b/drivers/atrprint.s index 947c005..91bf216 100644 --- a/drivers/atrprint.s +++ b/drivers/atrprint.s @@ -1,5 +1,5 @@ .include "atari.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export print_a .export print_a_inverse diff --git a/drivers/atrtimer.s b/drivers/atrtimer.s index fda07bf..6b5913d 100644 --- a/drivers/atrtimer.s +++ b/drivers/atrtimer.s @@ -4,7 +4,7 @@ ; 1000 units per second. it doesn't have to be particularly accurate. .include "atari.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_exit diff --git a/drivers/c64filteredinput.s b/drivers/c64filteredinput.s index 640796e..cab14a6 100644 --- a/drivers/c64filteredinput.s +++ b/drivers/c64filteredinput.s @@ -8,7 +8,7 @@ .import get_key .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" allowed_ptr = ptr1 diff --git a/drivers/c64timer.s b/drivers/c64timer.s index d7ae730..2b70e78 100644 --- a/drivers/c64timer.s +++ b/drivers/c64timer.s @@ -3,7 +3,7 @@ ; the timer should be a 16-bit counter that's incremented by about ; 1000 units per second. it doesn't have to be particularly accurate. -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_read diff --git a/drivers/clk_timer.s b/drivers/clk_timer.s index 53a473b..4f3bfd2 100644 --- a/drivers/clk_timer.s +++ b/drivers/clk_timer.s @@ -5,7 +5,7 @@ ; the timer should be a 16-bit counter that's incremented by about ; 1000 units per second. it doesn't have to be particularly accurate. -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_read diff --git a/drivers/ethernet.s b/drivers/ethernet.s index 0ca0231..108cbc2 100644 --- a/drivers/ethernet.s +++ b/drivers/ethernet.s @@ -1,6 +1,6 @@ ; Wrapper for Contiki ethernet driver -.include "../inc/common.i" +.include "../inc/common.inc" .export eth_init .export eth_rx diff --git a/drivers/ethernetcombo.s b/drivers/ethernetcombo.s index e2aff9f..e721c37 100644 --- a/drivers/ethernetcombo.s +++ b/drivers/ethernetcombo.s @@ -1,7 +1,7 @@ ; Wrapper for combination of Contiki ethernet drivers .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export eth_init .export eth_rx diff --git a/drivers/vic20filteredinput.s b/drivers/vic20filteredinput.s index a025477..eab47ce 100644 --- a/drivers/vic20filteredinput.s +++ b/drivers/vic20filteredinput.s @@ -8,7 +8,7 @@ .import get_key .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" allowed_ptr = ptr1 diff --git a/drivers/vic20timer.s b/drivers/vic20timer.s index f3a44da..cd350ed 100644 --- a/drivers/vic20timer.s +++ b/drivers/vic20timer.s @@ -4,7 +4,7 @@ ; 1000 units per second. it doesn't have to be particularly accurate. ; this VIC20 implementation requires the routine timer_vbl_handler be called 60 times per second -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_init .export timer_read diff --git a/inc/common.i b/inc/common.inc similarity index 97% rename from inc/common.i rename to inc/common.inc index 73b8219..e0aa8c6 100644 --- a/inc/common.i +++ b/inc/common.inc @@ -40,7 +40,7 @@ -; -- LICENSE FOR common.i -- +; -- LICENSE FOR common.inc -- ; 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 diff --git a/inc/commonprint.i b/inc/commonprint.inc similarity index 99% rename from inc/commonprint.i rename to inc/commonprint.inc index 198c287..dc25c52 100644 --- a/inc/commonprint.i +++ b/inc/commonprint.inc @@ -384,7 +384,7 @@ press_a_key_to_continue: -; -- LICENSE FOR commonprint.i -- +; -- LICENSE FOR commonprint.inc -- ; 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 diff --git a/inc/error.i b/inc/error.inc similarity index 97% rename from inc/error.i rename to inc/error.inc index f22fb14..c74504f 100644 --- a/inc/error.i +++ b/inc/error.inc @@ -13,7 +13,7 @@ KPR_ERROR_DNS_LOOKUP_FAILED = $A1 -; -- LICENSE FOR error.i -- +; -- LICENSE FOR error.inc -- ; 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 diff --git a/inc/net.i b/inc/net.inc similarity index 97% rename from inc/net.i rename to inc/net.inc index 5f27a3f..e47fd41 100644 --- a/inc/net.i +++ b/inc/net.inc @@ -51,7 +51,7 @@ -; -- LICENSE FOR net.i -- +; -- LICENSE FOR net.inc -- ; 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 diff --git a/inc/printf.i b/inc/printf.inc similarity index 97% rename from inc/printf.i rename to inc/printf.inc index b0f69fe..d075e5c 100644 --- a/inc/printf.i +++ b/inc/printf.inc @@ -46,7 +46,7 @@ -; -- LICENSE FOR printf.i -- +; -- LICENSE FOR printf.inc -- ; 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 diff --git a/inc/version.i b/inc/version.inc similarity index 100% rename from inc/version.i rename to inc/version.inc diff --git a/ip65/arithmetic.s b/ip65/arithmetic.s index 63c2d5b..3c9e626 100644 --- a/ip65/arithmetic.s +++ b/ip65/arithmetic.s @@ -1,7 +1,7 @@ ; helper routines for arithmetic on 32 bit numbers .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .bss diff --git a/ip65/arp.s b/ip65/arp.s index c75c01c..83e0ab5 100644 --- a/ip65/arp.s +++ b/ip65/arp.s @@ -1,7 +1,7 @@ ; ARP address resolution .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export arp_init .export arp_lookup diff --git a/ip65/config.s b/ip65/config.s index ca342dd..9114d56 100644 --- a/ip65/config.s +++ b/ip65/config.s @@ -1,7 +1,7 @@ ; IP configuration defaults ; most of these will be overwritten if dhcp is used for configuration -.include "../inc/common.i" +.include "../inc/common.inc" .export cfg_mac .export cfg_ip diff --git a/ip65/config_c.s b/ip65/config_c.s index 47557e2..b77b5e7 100644 --- a/ip65/config_c.s +++ b/ip65/config_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _cfg_mac .export _cfg_ip diff --git a/ip65/dhcp.s b/ip65/dhcp.s index afd97f9..e88c751 100644 --- a/ip65/dhcp.s +++ b/ip65/dhcp.s @@ -9,8 +9,8 @@ MAX_DHCP_MESSAGES_SENT = 12 ; timeout after sending 12 messages will be about 15 seconds (1+2+3...)/4 -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export dhcp_init .import dhcp_server diff --git a/ip65/dhcp_c.s b/ip65/dhcp_c.s index 28e98e0..51c0280 100644 --- a/ip65/dhcp_c.s +++ b/ip65/dhcp_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _dhcp_init diff --git a/ip65/dns.s b/ip65/dns.s index 95f1c7d..9285d73 100644 --- a/ip65/dns.s +++ b/ip65/dns.s @@ -3,8 +3,8 @@ MAX_DNS_MESSAGES_SENT = 8 ; timeout after sending 8 messages will be about 7 seconds (1+2+3+4+5+6+7+8)/4 .include "zeropage.inc" -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export dns_set_hostname .export dns_resolve diff --git a/ip65/dns_c.s b/ip65/dns_c.s index 68b2d88..021877b 100644 --- a/ip65/dns_c.s +++ b/ip65/dns_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _dns_resolve diff --git a/ip65/dottedquad.s b/ip65/dottedquad.s index 32e9f35..5b8ac0b 100644 --- a/ip65/dottedquad.s +++ b/ip65/dottedquad.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export parse_dotted_quad .export dotted_quad_value diff --git a/ip65/dottedquad_c.s b/ip65/dottedquad_c.s index 6eac97a..9c3c9aa 100644 --- a/ip65/dottedquad_c.s +++ b/ip65/dottedquad_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _dotted_quad .export _parse_dotted_quad diff --git a/ip65/eth.s b/ip65/eth.s index 0931ec8..4ba6b2f 100644 --- a/ip65/eth.s +++ b/ip65/eth.s @@ -1,6 +1,6 @@ ; Common ethernet driver code (independant of host computer or ethernet chipset) -.include "../inc/common.i" +.include "../inc/common.inc" .export eth_set_broadcast_dest .export eth_set_my_mac_src diff --git a/ip65/http.s b/ip65/http.s index 3ad9f8a..a947f9f 100644 --- a/ip65/http.s +++ b/ip65/http.s @@ -4,7 +4,7 @@ ; other ip65 routines between the http_parse_request & http_get_value else odd things will happen. .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export http_parse_request .export http_get_value diff --git a/ip65/http_c.s b/ip65/http_c.s index bc25dbb..b92f07c 100644 --- a/ip65/http_c.s +++ b/ip65/http_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _http_get_value diff --git a/ip65/httpd.s b/ip65/httpd.s index 02472b2..854fffb 100644 --- a/ip65/httpd.s +++ b/ip65/httpd.s @@ -2,8 +2,8 @@ ; to use - call httpd_start with AX pointing at routine to call for each inbound page .include "zeropage.inc" -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" HTTPD_TIMEOUT_SECONDS = 5 ; what's the maximum time we let 1 connection be open for? diff --git a/ip65/httpd_c.s b/ip65/httpd_c.s index 239eed4..4b77b33 100644 --- a/ip65/httpd_c.s +++ b/ip65/httpd_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _httpd_start .export _httpd_send_response diff --git a/ip65/icmp.s b/ip65/icmp.s index 73d9533..6358aa6 100644 --- a/ip65/icmp.s +++ b/ip65/icmp.s @@ -1,7 +1,7 @@ ; ICMP implementation -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export icmp_init .export icmp_process diff --git a/ip65/icmp_c.s b/ip65/icmp_c.s index 91fddbd..96f292a 100644 --- a/ip65/icmp_c.s +++ b/ip65/icmp_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _icmp_ping diff --git a/ip65/input_c.s b/ip65/input_c.s index 78d334a..ae05f36 100644 --- a/ip65/input_c.s +++ b/ip65/input_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _abort_key diff --git a/ip65/ip.s b/ip65/ip.s index b23c683..6a87f15 100644 --- a/ip65/ip.s +++ b/ip65/ip.s @@ -1,5 +1,5 @@ .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" .export ip_init .export ip_process diff --git a/ip65/ip65.s b/ip65/ip65.s index b13b732..d5d1f62 100644 --- a/ip65/ip65.s +++ b/ip65/ip65.s @@ -1,7 +1,7 @@ ; ip65 main routines -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export ip65_init .export ip65_process diff --git a/ip65/ip65_c.s b/ip65/ip65_c.s index af4326f..83c31ab 100644 --- a/ip65/ip65_c.s +++ b/ip65/ip65_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _ip65_init .export _ip65_process diff --git a/ip65/parser.s b/ip65/parser.s index 3ee49f4..55a25a1 100644 --- a/ip65/parser.s +++ b/ip65/parser.s @@ -6,7 +6,7 @@ .export parser_skip_next .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" target_string = ptr1 search_string = ptr2 diff --git a/ip65/sntp.s b/ip65/sntp.s index 94e9c66..7d291ac 100644 --- a/ip65/sntp.s +++ b/ip65/sntp.s @@ -2,8 +2,8 @@ MAX_SNTP_MESSAGES_SENT = 8 -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export sntp_ip .export sntp_utc_timestamp diff --git a/ip65/sntp_c.s b/ip65/sntp_c.s index 16ea9eb..2daf2bd 100644 --- a/ip65/sntp_c.s +++ b/ip65/sntp_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _sntp_get_time diff --git a/ip65/string_utils.s b/ip65/string_utils.s index 9853fa8..76ee90b 100644 --- a/ip65/string_utils.s +++ b/ip65/string_utils.s @@ -7,7 +7,7 @@ .importzp acc16 .include "zeropage.inc" -.include "../inc/common.i" +.include "../inc/common.inc" target_string = ptr2 diff --git a/ip65/tcp.s b/ip65/tcp.s index 2044bd5..0bf8ed0 100644 --- a/ip65/tcp.s +++ b/ip65/tcp.s @@ -8,8 +8,8 @@ MAX_TCP_PACKETS_SENT = 8 ; timeout after sending 8 messages will be about 7 seconds (1+2+3+4+5+6+7+8)/4 .include "zeropage.inc" -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .import ip65_error diff --git a/ip65/tcp_c.s b/ip65/tcp_c.s index a273c78..f39ad99 100644 --- a/ip65/tcp_c.s +++ b/ip65/tcp_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _tcp_listen .export _tcp_connect diff --git a/ip65/tftp.s b/ip65/tftp.s index dcb86a1..413e986 100644 --- a/ip65/tftp.s +++ b/ip65/tftp.s @@ -5,8 +5,8 @@ TFTP_MAX_RESENDS = 10 TFTP_TIMER_MASK = $F8 ; mask lower two bits, means we wait for 8 x1/4 seconds .include "zeropage.inc" -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .export tftp_load_address .export tftp_ip diff --git a/ip65/timer.s b/ip65/timer.s index cb5ab0d..e4b2c91 100644 --- a/ip65/timer.s +++ b/ip65/timer.s @@ -7,7 +7,7 @@ ; ; this is generic timer routines, machine specific code goes in drivers/timer.s -.include "../inc/common.i" +.include "../inc/common.inc" .export timer_timeout .import timer_read diff --git a/ip65/timer_c.s b/ip65/timer_c.s index 6d1a9d9..0ca4186 100644 --- a/ip65/timer_c.s +++ b/ip65/timer_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _timer_read .export _timer_timeout diff --git a/ip65/udp.s b/ip65/udp.s index b19e83c..217fa06 100644 --- a/ip65/udp.s +++ b/ip65/udp.s @@ -1,7 +1,7 @@ ; UDP (user datagram protocol) functions -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" .import ip65_error diff --git a/ip65/udp_c.s b/ip65/udp_c.s index 82c645f..d45c285 100644 --- a/ip65/udp_c.s +++ b/ip65/udp_c.s @@ -1,4 +1,4 @@ -.include "../inc/common.i" +.include "../inc/common.inc" .export _udp_add_listener .export _udp_remove_listener diff --git a/ip65/url.s b/ip65/url.s index 81b92b3..83f6dd5 100644 --- a/ip65/url.s +++ b/ip65/url.s @@ -1,8 +1,8 @@ ; routines for parsing a URL, and downloading an URL .include "zeropage.inc" -.include "../inc/common.i" -.include "../inc/error.i" +.include "../inc/common.inc" +.include "../inc/error.inc" TIMEOUT_SECONDS = 15 @@ -403,7 +403,7 @@ http_preamble: .byte " HTTP/1.0",$0d,$0a .byte "User-Agent: IP65/" -.include "../inc/version.i" +.include "../inc/version.inc" .byte $0d,$0a .byte "Connection: close",$0d,$0a diff --git a/test/Makefile b/test/Makefile index e562710..cc96b0b 100644 --- a/test/Makefile +++ b/test/Makefile @@ -68,9 +68,9 @@ $(foreach pgm,$(C_PGM),$(eval $(pgm): $(pgm).xl.com)) httpd-slotscan.bin: IP65LIB = ../ip65/ip65_tcp.lib INCFILES =\ - ../inc/common.i \ - ../inc/commonprint.i \ - ../inc/net.i + ../inc/common.inc \ + ../inc/commonprint.inc \ + ../inc/net.inc prg: $(addsuffix .prg,$(UDP) $(TCP)) diff --git a/test/dns.s b/test/dns.s index ef1a144..8154b51 100644 --- a/test/dns.s +++ b/test/dns.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/dottedquad.s b/test/dottedquad.s index dbd7ea9..308a38c 100644 --- a/test/dottedquad.s +++ b/test/dottedquad.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/geturl.s b/test/geturl.s index 9507f68..f9deff3 100644 --- a/test/geturl.s +++ b/test/geturl.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/httpd.s b/test/httpd.s index c2f3d16..7ac101c 100644 --- a/test/httpd.s +++ b/test/httpd.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .define HTML "

Hello World

Your Name:
Your Message:
" diff --git a/test/math.s b/test/math.s index 309b6bc..0c38453 100644 --- a/test/math.s +++ b/test/math.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/parsequerystring.s b/test/parsequerystring.s index ae1466c..f3133a6 100644 --- a/test/parsequerystring.s +++ b/test/parsequerystring.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/parser.s b/test/parser.s index bbe4fdf..d164122 100644 --- a/test/parser.s +++ b/test/parser.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/ping.s b/test/ping.s index 250c9d9..39c34a2 100644 --- a/test/ping.s +++ b/test/ping.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/sntp.s b/test/sntp.s index d48b0e4..135f3de 100644 --- a/test/sntp.s +++ b/test/sntp.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/tftp.s b/test/tftp.s index 7408f04..a98e949 100644 --- a/test/tftp.s +++ b/test/tftp.s @@ -1,6 +1,6 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" -.include "../inc/net.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" +.include "../inc/net.inc" .export start diff --git a/test/vt100.s b/test/vt100.s index a8164e5..e475cc4 100644 --- a/test/vt100.s +++ b/test/vt100.s @@ -1,5 +1,5 @@ -.include "../inc/common.i" -.include "../inc/commonprint.i" +.include "../inc/common.inc" +.include "../inc/commonprint.inc" .export start .export telnet_close = $1000