Adjusted include file extension to ca65 practice.

This commit is contained in:
Oliver Schmidt 2018-02-23 16:36:05 +01:00
parent b84527c8a3
commit c89a2ae1ba
67 changed files with 105 additions and 105 deletions

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -9,7 +9,7 @@
.import print_a
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
allowed_ptr = ptr1

View File

@ -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

View File

@ -9,7 +9,7 @@
.import print_a
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
.include "atari.inc"
allowed_ptr = ptr1

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export exit_to_basic

View File

@ -1,5 +1,5 @@
.include "atari.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
.export print_a
.export print_a_inverse

View File

@ -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

View File

@ -8,7 +8,7 @@
.import get_key
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
allowed_ptr = ptr1

View File

@ -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

View File

@ -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

View File

@ -1,6 +1,6 @@
; Wrapper for Contiki ethernet driver
.include "../inc/common.i"
.include "../inc/common.inc"
.export eth_init
.export eth_rx

View File

@ -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

View File

@ -8,7 +8,7 @@
.import get_key
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
allowed_ptr = ptr1

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,7 +1,7 @@
; helper routines for arithmetic on 32 bit numbers
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
.bss

View File

@ -1,7 +1,7 @@
; ARP address resolution
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
.export arp_init
.export arp_lookup

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _cfg_mac
.export _cfg_ip

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _dhcp_init

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _dns_resolve

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export parse_dotted_quad
.export dotted_quad_value

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _dotted_quad
.export _parse_dotted_quad

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _http_get_value

View File

@ -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?

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _httpd_start
.export _httpd_send_response

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _icmp_ping

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _abort_key

View File

@ -1,5 +1,5 @@
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
.export ip_init
.export ip_process

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _ip65_init
.export _ip65_process

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _sntp_get_time

View File

@ -7,7 +7,7 @@
.importzp acc16
.include "zeropage.inc"
.include "../inc/common.i"
.include "../inc/common.inc"
target_string = ptr2

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _tcp_listen
.export _tcp_connect

View File

@ -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

View File

@ -7,7 +7,7 @@
;
; this is generic timer routines, machine specific code goes in drivers/<machinename>timer.s
.include "../inc/common.i"
.include "../inc/common.inc"
.export timer_timeout
.import timer_read

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _timer_read
.export _timer_timeout

View File

@ -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

View File

@ -1,4 +1,4 @@
.include "../inc/common.i"
.include "../inc/common.inc"
.export _udp_add_listener
.export _udp_remove_listener

View File

@ -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

View File

@ -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))

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 "<h1>Hello World</h1><form>Your Name: <input name=n type=text length=20><br>Your Message: <input name=m type=text lengh=60><br><input type=submit></form>"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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