From d2e65bc52a8a428809219cb0f0401b7a4e4e23f8 Mon Sep 17 00:00:00 2001 From: jede Date: Mon, 28 Oct 2024 22:58:14 +0100 Subject: [PATCH] update with bpm --- Makefile | 18 +++++++++--------- VERSION | 2 +- bpm.tml | 10 ++++++++++ docs/md2hlp.cfg | 2 +- src/{6502 => }/_ch395_check_exist.s | 0 src/{6502 => }/_ch395_clear_recv_buf_sn.s | 0 src/{6502 => }/_ch395_close_socket_sn.s | 0 src/{6502 => }/_ch395_dhcp_enable.s | 0 src/{6502 => }/_ch395_get_cmd_status.s | 0 src/{6502 => }/_ch395_get_dhcp_status.s | 0 src/{6502 => }/_ch395_get_glob_int_status.s | 0 .../_ch395_get_glob_int_status_all.s | 0 src/{6502 => }/_ch395_get_ic_ver.s | 0 src/{6502 => }/_ch395_get_int_status_sn.s | 0 src/{6502 => }/_ch395_get_ip_inf.s | 0 src/{6502 => }/_ch395_get_mac_adress.s | 0 src/{6502 => }/_ch395_get_phy_status.s | 0 src/{6502 => }/_ch395_get_recv_len_sn.s | 0 src/{6502 => }/_ch395_get_remot_ipp_sn.s | 0 src/{6502 => }/_ch395_get_socket_status_sn.s | 0 src/{6502 => }/_ch395_init.s | 0 src/{6502 => }/_ch395_open_socket_sn.s | 0 src/{6502 => }/_ch395_read_recv_buf_sn.s | 0 src/{6502 => }/_ch395_reset_all.s | 0 src/{6502 => }/_ch395_set_des_port_sn.s | 0 src/{6502 => }/_ch395_set_fun_para.s | 0 src/{6502 => }/_ch395_set_gwip_addr.s | 0 src/{6502 => }/_ch395_set_ip_addr.s | 0 src/{6502 => }/_ch395_set_ip_addr_sn.s | 0 src/{6502 => }/_ch395_set_ipraw_pro_sn.s | 0 src/{6502 => }/_ch395_set_mac_adress.s | 0 src/{6502 => }/_ch395_set_phy.s | 0 src/{6502 => }/_ch395_set_proto_type_sn.s | 0 src/{6502 => }/_ch395_set_retran_count.s | 0 src/{6502 => }/_ch395_set_retran_period.s | 0 src/{6502 => }/_ch395_set_sour_port_sn.s | 0 src/{6502 => }/_ch395_set_ttl.s | 0 src/{6502 => }/_ch395_tcp_connect_sn.s | 0 src/{6502 => }/_ch395_tcp_disconnect_sn.s | 0 src/{6502 => }/_ch395_tcp_listen_sn.s | 0 src/{6502 => }/_ch395_write_send_buf_sn.s | 0 src/{6502 => }/ch395_check_exist.s | 0 src/{6502 => }/ch395_clear_recv_buf_sn.s | 0 src/{6502 => }/ch395_close_socket_sn.s | 0 src/{6502 => }/ch395_dhcp_enable.s | 0 src/{6502 => }/ch395_enter_sleep.s | 0 src/{6502 => }/ch395_get_cmd_status.s | 0 src/{6502 => }/ch395_get_dhcp_status.s | 0 src/{6502 => }/ch395_get_glob_int_status.s | 0 src/{6502 => }/ch395_get_glob_int_status_all.s | 0 src/{6502 => }/ch395_get_ic_ver.s | 0 src/{6502 => }/ch395_get_int_status_sn.s | 0 src/{6502 => }/ch395_get_ip_inf.s | 0 src/{6502 => }/ch395_get_mac_adress.s | 0 src/{6502 => }/ch395_get_phy_status.s | 0 src/{6502 => }/ch395_get_recv_len_sn.s | 0 src/{6502 => }/ch395_get_remot_ipp_sn.s | 0 src/{6502 => }/ch395_get_socket_status_sn.s | 0 src/{6502 => }/ch395_get_unreach_ipport.s | 0 src/{6502 => }/ch395_init.s | 0 src/{6502 => }/ch395_open_socket_sn.s | 0 src/{6502 => }/ch395_read_recv_buf_sn.s | 0 src/{6502 => }/ch395_reset_all.s | 0 src/{6502 => }/ch395_set_baudrate.s | 0 src/{6502 => }/ch395_set_des_port_sn.s | 0 src/{6502 => }/ch395_set_fun_para.s | 0 src/{6502 => }/ch395_set_gwip_addr.s | 0 src/{6502 => }/ch395_set_ip_addr.s | 0 src/{6502 => }/ch395_set_ip_addr_sn.s | 0 src/{6502 => }/ch395_set_ipraw_pro_sn.s | 0 src/{6502 => }/ch395_set_mac_adress.s | 0 src/{6502 => }/ch395_set_mac_filt.s | 0 src/{6502 => }/ch395_set_mask_addr.s | 0 src/{6502 => }/ch395_set_phy.s | 0 src/{6502 => }/ch395_set_proto_type_sn.s | 0 src/{6502 => }/ch395_set_retran_count.s | 0 src/{6502 => }/ch395_set_retran_period.s | 0 src/{6502 => }/ch395_set_sour_port_sn.s | 0 src/{6502 => }/ch395_set_ttl.s | 0 src/{6502 => }/ch395_tcp_connect_sn.s | 0 src/{6502 => }/ch395_tcp_disconnect_sn.s | 0 src/{6502 => }/ch395_tcp_listen_sn.s | 0 src/{6502 => }/ch395_write_send_buf_sn.s | 0 83 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 bpm.tml rename src/{6502 => }/_ch395_check_exist.s (100%) rename src/{6502 => }/_ch395_clear_recv_buf_sn.s (100%) rename src/{6502 => }/_ch395_close_socket_sn.s (100%) rename src/{6502 => }/_ch395_dhcp_enable.s (100%) rename src/{6502 => }/_ch395_get_cmd_status.s (100%) rename src/{6502 => }/_ch395_get_dhcp_status.s (100%) rename src/{6502 => }/_ch395_get_glob_int_status.s (100%) rename src/{6502 => }/_ch395_get_glob_int_status_all.s (100%) rename src/{6502 => }/_ch395_get_ic_ver.s (100%) rename src/{6502 => }/_ch395_get_int_status_sn.s (100%) rename src/{6502 => }/_ch395_get_ip_inf.s (100%) rename src/{6502 => }/_ch395_get_mac_adress.s (100%) rename src/{6502 => }/_ch395_get_phy_status.s (100%) rename src/{6502 => }/_ch395_get_recv_len_sn.s (100%) rename src/{6502 => }/_ch395_get_remot_ipp_sn.s (100%) rename src/{6502 => }/_ch395_get_socket_status_sn.s (100%) rename src/{6502 => }/_ch395_init.s (100%) rename src/{6502 => }/_ch395_open_socket_sn.s (100%) rename src/{6502 => }/_ch395_read_recv_buf_sn.s (100%) rename src/{6502 => }/_ch395_reset_all.s (100%) rename src/{6502 => }/_ch395_set_des_port_sn.s (100%) rename src/{6502 => }/_ch395_set_fun_para.s (100%) rename src/{6502 => }/_ch395_set_gwip_addr.s (100%) rename src/{6502 => }/_ch395_set_ip_addr.s (100%) rename src/{6502 => }/_ch395_set_ip_addr_sn.s (100%) rename src/{6502 => }/_ch395_set_ipraw_pro_sn.s (100%) rename src/{6502 => }/_ch395_set_mac_adress.s (100%) rename src/{6502 => }/_ch395_set_phy.s (100%) rename src/{6502 => }/_ch395_set_proto_type_sn.s (100%) rename src/{6502 => }/_ch395_set_retran_count.s (100%) rename src/{6502 => }/_ch395_set_retran_period.s (100%) rename src/{6502 => }/_ch395_set_sour_port_sn.s (100%) rename src/{6502 => }/_ch395_set_ttl.s (100%) rename src/{6502 => }/_ch395_tcp_connect_sn.s (100%) rename src/{6502 => }/_ch395_tcp_disconnect_sn.s (100%) rename src/{6502 => }/_ch395_tcp_listen_sn.s (100%) rename src/{6502 => }/_ch395_write_send_buf_sn.s (100%) rename src/{6502 => }/ch395_check_exist.s (100%) rename src/{6502 => }/ch395_clear_recv_buf_sn.s (100%) rename src/{6502 => }/ch395_close_socket_sn.s (100%) rename src/{6502 => }/ch395_dhcp_enable.s (100%) rename src/{6502 => }/ch395_enter_sleep.s (100%) rename src/{6502 => }/ch395_get_cmd_status.s (100%) rename src/{6502 => }/ch395_get_dhcp_status.s (100%) rename src/{6502 => }/ch395_get_glob_int_status.s (100%) rename src/{6502 => }/ch395_get_glob_int_status_all.s (100%) rename src/{6502 => }/ch395_get_ic_ver.s (100%) rename src/{6502 => }/ch395_get_int_status_sn.s (100%) rename src/{6502 => }/ch395_get_ip_inf.s (100%) rename src/{6502 => }/ch395_get_mac_adress.s (100%) rename src/{6502 => }/ch395_get_phy_status.s (100%) rename src/{6502 => }/ch395_get_recv_len_sn.s (100%) rename src/{6502 => }/ch395_get_remot_ipp_sn.s (100%) rename src/{6502 => }/ch395_get_socket_status_sn.s (100%) rename src/{6502 => }/ch395_get_unreach_ipport.s (100%) rename src/{6502 => }/ch395_init.s (100%) rename src/{6502 => }/ch395_open_socket_sn.s (100%) rename src/{6502 => }/ch395_read_recv_buf_sn.s (100%) rename src/{6502 => }/ch395_reset_all.s (100%) rename src/{6502 => }/ch395_set_baudrate.s (100%) rename src/{6502 => }/ch395_set_des_port_sn.s (100%) rename src/{6502 => }/ch395_set_fun_para.s (100%) rename src/{6502 => }/ch395_set_gwip_addr.s (100%) rename src/{6502 => }/ch395_set_ip_addr.s (100%) rename src/{6502 => }/ch395_set_ip_addr_sn.s (100%) rename src/{6502 => }/ch395_set_ipraw_pro_sn.s (100%) rename src/{6502 => }/ch395_set_mac_adress.s (100%) rename src/{6502 => }/ch395_set_mac_filt.s (100%) rename src/{6502 => }/ch395_set_mask_addr.s (100%) rename src/{6502 => }/ch395_set_phy.s (100%) rename src/{6502 => }/ch395_set_proto_type_sn.s (100%) rename src/{6502 => }/ch395_set_retran_count.s (100%) rename src/{6502 => }/ch395_set_retran_period.s (100%) rename src/{6502 => }/ch395_set_sour_port_sn.s (100%) rename src/{6502 => }/ch395_set_ttl.s (100%) rename src/{6502 => }/ch395_tcp_connect_sn.s (100%) rename src/{6502 => }/ch395_tcp_disconnect_sn.s (100%) rename src/{6502 => }/ch395_tcp_listen_sn.s (100%) rename src/{6502 => }/ch395_write_send_buf_sn.s (100%) diff --git a/Makefile b/Makefile index 46328c5..615fddb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SOURCES8=$(wildcard src/6502/*.s) +SOURCES8=$(wildcard src/*.s) OBJECTS8=$(SOURCES8:.s=.o) @@ -20,24 +20,24 @@ $(OBJECTS8): $(SOURCES8) @mkdir target/telestrat/lib/ -p @$(AS) -ttelestrat $(@:.o=.s) -o $@ --include-dir src/include @echo Generating $@ - @$(AR) r ch395-8.lib $@ + @$(AR) r ch395.lib $@ @mkdir -p build/lib8 @mkdir -p build/usr/include/ @mkdir -p build/usr/include/asm @cp src/include/ch395.h build/usr/include/ @cp src/include/ch395.inc build/usr/include/asm/ - @cp ch395-8.lib build/lib8/ - @cp ch395-8.lib target/telestrat/lib/ + @cp ch395.lib build/lib8/ + @cp ch395.lib target/telestrat/lib/ test: - $(CC) -ttelestrat -I src/include test/ch395.c target/telestrat/lib/ch395-8.lib -o ch395 - cl65 -ttelestrat -I src/include test/getstate.c target/telestrat/lib/ch395-8.lib -o getstate + $(CC) -ttelestrat -I src/include test/ch395.c target/telestrat/lib/ch395.lib -o ch395 + cl65 -ttelestrat -I src/include test/getstate.c target/telestrat/lib/ch395.lib -o getstate tool: @mkdir -p target/telestrat/ch395cfg/ - $(CC) -ttelestrat -I src/include tools/ch395cfg/src/main.c target/telestrat/lib/ch395-8.lib -o target/telestrat/ch395cfg/ch395cfg - #$(CC) -ttelestrat -I src/include tools/ch395cfg/src/telnetd.c target/telestrat/lib/ch395-8.lib -o target/telestrat/ch395cfg/telnetd - $(CC) -ttelestrat -I src/include tools/ch395cfg/src/wget.c target/telestrat/lib/ch395-8.lib -o target/telestrat/ch395cfg/wget + $(CC) -ttelestrat -I src/include tools/ch395cfg/src/main.c target/telestrat/lib/ch395.lib -o target/telestrat/ch395cfg/ch395cfg + #$(CC) -ttelestrat -I src/include tools/ch395cfg/src/telnetd.c target/telestrat/lib/ch395.lib -o target/telestrat/ch395cfg/telnetd + $(CC) -ttelestrat -I src/include tools/ch395cfg/src/wget.c target/telestrat/lib/ch395.lib -o target/telestrat/ch395cfg/wget docs: diff --git a/VERSION b/VERSION index a2a8260..53bb8b1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2024.2 \ No newline at end of file +2024.4 \ No newline at end of file diff --git a/bpm.tml b/bpm.tml new file mode 100644 index 0000000..10d4134 --- /dev/null +++ b/bpm.tml @@ -0,0 +1,10 @@ +[package] +name = "ch395lib" +version = "2024.4" +authors = [ "nobody@nobody.fr",] +license = "MIT OR Apache-2.0" +edition = "2018" +cpu = "6502" +codetype = "lib" + +[dependencies] diff --git a/docs/md2hlp.cfg b/docs/md2hlp.cfg index 6aeea8e..8baf904 100644 --- a/docs/md2hlp.cfg +++ b/docs/md2hlp.cfg @@ -64,7 +64,7 @@ paper_white = ^W ; ; Default for Heading 1 ; -Head = __^J ^Q_Shell 2023.1 ^P___ +Head = __^J ^Q_ORIX 1.0 ^P___ [Heading3] ; diff --git a/src/6502/_ch395_check_exist.s b/src/_ch395_check_exist.s similarity index 100% rename from src/6502/_ch395_check_exist.s rename to src/_ch395_check_exist.s diff --git a/src/6502/_ch395_clear_recv_buf_sn.s b/src/_ch395_clear_recv_buf_sn.s similarity index 100% rename from src/6502/_ch395_clear_recv_buf_sn.s rename to src/_ch395_clear_recv_buf_sn.s diff --git a/src/6502/_ch395_close_socket_sn.s b/src/_ch395_close_socket_sn.s similarity index 100% rename from src/6502/_ch395_close_socket_sn.s rename to src/_ch395_close_socket_sn.s diff --git a/src/6502/_ch395_dhcp_enable.s b/src/_ch395_dhcp_enable.s similarity index 100% rename from src/6502/_ch395_dhcp_enable.s rename to src/_ch395_dhcp_enable.s diff --git a/src/6502/_ch395_get_cmd_status.s b/src/_ch395_get_cmd_status.s similarity index 100% rename from src/6502/_ch395_get_cmd_status.s rename to src/_ch395_get_cmd_status.s diff --git a/src/6502/_ch395_get_dhcp_status.s b/src/_ch395_get_dhcp_status.s similarity index 100% rename from src/6502/_ch395_get_dhcp_status.s rename to src/_ch395_get_dhcp_status.s diff --git a/src/6502/_ch395_get_glob_int_status.s b/src/_ch395_get_glob_int_status.s similarity index 100% rename from src/6502/_ch395_get_glob_int_status.s rename to src/_ch395_get_glob_int_status.s diff --git a/src/6502/_ch395_get_glob_int_status_all.s b/src/_ch395_get_glob_int_status_all.s similarity index 100% rename from src/6502/_ch395_get_glob_int_status_all.s rename to src/_ch395_get_glob_int_status_all.s diff --git a/src/6502/_ch395_get_ic_ver.s b/src/_ch395_get_ic_ver.s similarity index 100% rename from src/6502/_ch395_get_ic_ver.s rename to src/_ch395_get_ic_ver.s diff --git a/src/6502/_ch395_get_int_status_sn.s b/src/_ch395_get_int_status_sn.s similarity index 100% rename from src/6502/_ch395_get_int_status_sn.s rename to src/_ch395_get_int_status_sn.s diff --git a/src/6502/_ch395_get_ip_inf.s b/src/_ch395_get_ip_inf.s similarity index 100% rename from src/6502/_ch395_get_ip_inf.s rename to src/_ch395_get_ip_inf.s diff --git a/src/6502/_ch395_get_mac_adress.s b/src/_ch395_get_mac_adress.s similarity index 100% rename from src/6502/_ch395_get_mac_adress.s rename to src/_ch395_get_mac_adress.s diff --git a/src/6502/_ch395_get_phy_status.s b/src/_ch395_get_phy_status.s similarity index 100% rename from src/6502/_ch395_get_phy_status.s rename to src/_ch395_get_phy_status.s diff --git a/src/6502/_ch395_get_recv_len_sn.s b/src/_ch395_get_recv_len_sn.s similarity index 100% rename from src/6502/_ch395_get_recv_len_sn.s rename to src/_ch395_get_recv_len_sn.s diff --git a/src/6502/_ch395_get_remot_ipp_sn.s b/src/_ch395_get_remot_ipp_sn.s similarity index 100% rename from src/6502/_ch395_get_remot_ipp_sn.s rename to src/_ch395_get_remot_ipp_sn.s diff --git a/src/6502/_ch395_get_socket_status_sn.s b/src/_ch395_get_socket_status_sn.s similarity index 100% rename from src/6502/_ch395_get_socket_status_sn.s rename to src/_ch395_get_socket_status_sn.s diff --git a/src/6502/_ch395_init.s b/src/_ch395_init.s similarity index 100% rename from src/6502/_ch395_init.s rename to src/_ch395_init.s diff --git a/src/6502/_ch395_open_socket_sn.s b/src/_ch395_open_socket_sn.s similarity index 100% rename from src/6502/_ch395_open_socket_sn.s rename to src/_ch395_open_socket_sn.s diff --git a/src/6502/_ch395_read_recv_buf_sn.s b/src/_ch395_read_recv_buf_sn.s similarity index 100% rename from src/6502/_ch395_read_recv_buf_sn.s rename to src/_ch395_read_recv_buf_sn.s diff --git a/src/6502/_ch395_reset_all.s b/src/_ch395_reset_all.s similarity index 100% rename from src/6502/_ch395_reset_all.s rename to src/_ch395_reset_all.s diff --git a/src/6502/_ch395_set_des_port_sn.s b/src/_ch395_set_des_port_sn.s similarity index 100% rename from src/6502/_ch395_set_des_port_sn.s rename to src/_ch395_set_des_port_sn.s diff --git a/src/6502/_ch395_set_fun_para.s b/src/_ch395_set_fun_para.s similarity index 100% rename from src/6502/_ch395_set_fun_para.s rename to src/_ch395_set_fun_para.s diff --git a/src/6502/_ch395_set_gwip_addr.s b/src/_ch395_set_gwip_addr.s similarity index 100% rename from src/6502/_ch395_set_gwip_addr.s rename to src/_ch395_set_gwip_addr.s diff --git a/src/6502/_ch395_set_ip_addr.s b/src/_ch395_set_ip_addr.s similarity index 100% rename from src/6502/_ch395_set_ip_addr.s rename to src/_ch395_set_ip_addr.s diff --git a/src/6502/_ch395_set_ip_addr_sn.s b/src/_ch395_set_ip_addr_sn.s similarity index 100% rename from src/6502/_ch395_set_ip_addr_sn.s rename to src/_ch395_set_ip_addr_sn.s diff --git a/src/6502/_ch395_set_ipraw_pro_sn.s b/src/_ch395_set_ipraw_pro_sn.s similarity index 100% rename from src/6502/_ch395_set_ipraw_pro_sn.s rename to src/_ch395_set_ipraw_pro_sn.s diff --git a/src/6502/_ch395_set_mac_adress.s b/src/_ch395_set_mac_adress.s similarity index 100% rename from src/6502/_ch395_set_mac_adress.s rename to src/_ch395_set_mac_adress.s diff --git a/src/6502/_ch395_set_phy.s b/src/_ch395_set_phy.s similarity index 100% rename from src/6502/_ch395_set_phy.s rename to src/_ch395_set_phy.s diff --git a/src/6502/_ch395_set_proto_type_sn.s b/src/_ch395_set_proto_type_sn.s similarity index 100% rename from src/6502/_ch395_set_proto_type_sn.s rename to src/_ch395_set_proto_type_sn.s diff --git a/src/6502/_ch395_set_retran_count.s b/src/_ch395_set_retran_count.s similarity index 100% rename from src/6502/_ch395_set_retran_count.s rename to src/_ch395_set_retran_count.s diff --git a/src/6502/_ch395_set_retran_period.s b/src/_ch395_set_retran_period.s similarity index 100% rename from src/6502/_ch395_set_retran_period.s rename to src/_ch395_set_retran_period.s diff --git a/src/6502/_ch395_set_sour_port_sn.s b/src/_ch395_set_sour_port_sn.s similarity index 100% rename from src/6502/_ch395_set_sour_port_sn.s rename to src/_ch395_set_sour_port_sn.s diff --git a/src/6502/_ch395_set_ttl.s b/src/_ch395_set_ttl.s similarity index 100% rename from src/6502/_ch395_set_ttl.s rename to src/_ch395_set_ttl.s diff --git a/src/6502/_ch395_tcp_connect_sn.s b/src/_ch395_tcp_connect_sn.s similarity index 100% rename from src/6502/_ch395_tcp_connect_sn.s rename to src/_ch395_tcp_connect_sn.s diff --git a/src/6502/_ch395_tcp_disconnect_sn.s b/src/_ch395_tcp_disconnect_sn.s similarity index 100% rename from src/6502/_ch395_tcp_disconnect_sn.s rename to src/_ch395_tcp_disconnect_sn.s diff --git a/src/6502/_ch395_tcp_listen_sn.s b/src/_ch395_tcp_listen_sn.s similarity index 100% rename from src/6502/_ch395_tcp_listen_sn.s rename to src/_ch395_tcp_listen_sn.s diff --git a/src/6502/_ch395_write_send_buf_sn.s b/src/_ch395_write_send_buf_sn.s similarity index 100% rename from src/6502/_ch395_write_send_buf_sn.s rename to src/_ch395_write_send_buf_sn.s diff --git a/src/6502/ch395_check_exist.s b/src/ch395_check_exist.s similarity index 100% rename from src/6502/ch395_check_exist.s rename to src/ch395_check_exist.s diff --git a/src/6502/ch395_clear_recv_buf_sn.s b/src/ch395_clear_recv_buf_sn.s similarity index 100% rename from src/6502/ch395_clear_recv_buf_sn.s rename to src/ch395_clear_recv_buf_sn.s diff --git a/src/6502/ch395_close_socket_sn.s b/src/ch395_close_socket_sn.s similarity index 100% rename from src/6502/ch395_close_socket_sn.s rename to src/ch395_close_socket_sn.s diff --git a/src/6502/ch395_dhcp_enable.s b/src/ch395_dhcp_enable.s similarity index 100% rename from src/6502/ch395_dhcp_enable.s rename to src/ch395_dhcp_enable.s diff --git a/src/6502/ch395_enter_sleep.s b/src/ch395_enter_sleep.s similarity index 100% rename from src/6502/ch395_enter_sleep.s rename to src/ch395_enter_sleep.s diff --git a/src/6502/ch395_get_cmd_status.s b/src/ch395_get_cmd_status.s similarity index 100% rename from src/6502/ch395_get_cmd_status.s rename to src/ch395_get_cmd_status.s diff --git a/src/6502/ch395_get_dhcp_status.s b/src/ch395_get_dhcp_status.s similarity index 100% rename from src/6502/ch395_get_dhcp_status.s rename to src/ch395_get_dhcp_status.s diff --git a/src/6502/ch395_get_glob_int_status.s b/src/ch395_get_glob_int_status.s similarity index 100% rename from src/6502/ch395_get_glob_int_status.s rename to src/ch395_get_glob_int_status.s diff --git a/src/6502/ch395_get_glob_int_status_all.s b/src/ch395_get_glob_int_status_all.s similarity index 100% rename from src/6502/ch395_get_glob_int_status_all.s rename to src/ch395_get_glob_int_status_all.s diff --git a/src/6502/ch395_get_ic_ver.s b/src/ch395_get_ic_ver.s similarity index 100% rename from src/6502/ch395_get_ic_ver.s rename to src/ch395_get_ic_ver.s diff --git a/src/6502/ch395_get_int_status_sn.s b/src/ch395_get_int_status_sn.s similarity index 100% rename from src/6502/ch395_get_int_status_sn.s rename to src/ch395_get_int_status_sn.s diff --git a/src/6502/ch395_get_ip_inf.s b/src/ch395_get_ip_inf.s similarity index 100% rename from src/6502/ch395_get_ip_inf.s rename to src/ch395_get_ip_inf.s diff --git a/src/6502/ch395_get_mac_adress.s b/src/ch395_get_mac_adress.s similarity index 100% rename from src/6502/ch395_get_mac_adress.s rename to src/ch395_get_mac_adress.s diff --git a/src/6502/ch395_get_phy_status.s b/src/ch395_get_phy_status.s similarity index 100% rename from src/6502/ch395_get_phy_status.s rename to src/ch395_get_phy_status.s diff --git a/src/6502/ch395_get_recv_len_sn.s b/src/ch395_get_recv_len_sn.s similarity index 100% rename from src/6502/ch395_get_recv_len_sn.s rename to src/ch395_get_recv_len_sn.s diff --git a/src/6502/ch395_get_remot_ipp_sn.s b/src/ch395_get_remot_ipp_sn.s similarity index 100% rename from src/6502/ch395_get_remot_ipp_sn.s rename to src/ch395_get_remot_ipp_sn.s diff --git a/src/6502/ch395_get_socket_status_sn.s b/src/ch395_get_socket_status_sn.s similarity index 100% rename from src/6502/ch395_get_socket_status_sn.s rename to src/ch395_get_socket_status_sn.s diff --git a/src/6502/ch395_get_unreach_ipport.s b/src/ch395_get_unreach_ipport.s similarity index 100% rename from src/6502/ch395_get_unreach_ipport.s rename to src/ch395_get_unreach_ipport.s diff --git a/src/6502/ch395_init.s b/src/ch395_init.s similarity index 100% rename from src/6502/ch395_init.s rename to src/ch395_init.s diff --git a/src/6502/ch395_open_socket_sn.s b/src/ch395_open_socket_sn.s similarity index 100% rename from src/6502/ch395_open_socket_sn.s rename to src/ch395_open_socket_sn.s diff --git a/src/6502/ch395_read_recv_buf_sn.s b/src/ch395_read_recv_buf_sn.s similarity index 100% rename from src/6502/ch395_read_recv_buf_sn.s rename to src/ch395_read_recv_buf_sn.s diff --git a/src/6502/ch395_reset_all.s b/src/ch395_reset_all.s similarity index 100% rename from src/6502/ch395_reset_all.s rename to src/ch395_reset_all.s diff --git a/src/6502/ch395_set_baudrate.s b/src/ch395_set_baudrate.s similarity index 100% rename from src/6502/ch395_set_baudrate.s rename to src/ch395_set_baudrate.s diff --git a/src/6502/ch395_set_des_port_sn.s b/src/ch395_set_des_port_sn.s similarity index 100% rename from src/6502/ch395_set_des_port_sn.s rename to src/ch395_set_des_port_sn.s diff --git a/src/6502/ch395_set_fun_para.s b/src/ch395_set_fun_para.s similarity index 100% rename from src/6502/ch395_set_fun_para.s rename to src/ch395_set_fun_para.s diff --git a/src/6502/ch395_set_gwip_addr.s b/src/ch395_set_gwip_addr.s similarity index 100% rename from src/6502/ch395_set_gwip_addr.s rename to src/ch395_set_gwip_addr.s diff --git a/src/6502/ch395_set_ip_addr.s b/src/ch395_set_ip_addr.s similarity index 100% rename from src/6502/ch395_set_ip_addr.s rename to src/ch395_set_ip_addr.s diff --git a/src/6502/ch395_set_ip_addr_sn.s b/src/ch395_set_ip_addr_sn.s similarity index 100% rename from src/6502/ch395_set_ip_addr_sn.s rename to src/ch395_set_ip_addr_sn.s diff --git a/src/6502/ch395_set_ipraw_pro_sn.s b/src/ch395_set_ipraw_pro_sn.s similarity index 100% rename from src/6502/ch395_set_ipraw_pro_sn.s rename to src/ch395_set_ipraw_pro_sn.s diff --git a/src/6502/ch395_set_mac_adress.s b/src/ch395_set_mac_adress.s similarity index 100% rename from src/6502/ch395_set_mac_adress.s rename to src/ch395_set_mac_adress.s diff --git a/src/6502/ch395_set_mac_filt.s b/src/ch395_set_mac_filt.s similarity index 100% rename from src/6502/ch395_set_mac_filt.s rename to src/ch395_set_mac_filt.s diff --git a/src/6502/ch395_set_mask_addr.s b/src/ch395_set_mask_addr.s similarity index 100% rename from src/6502/ch395_set_mask_addr.s rename to src/ch395_set_mask_addr.s diff --git a/src/6502/ch395_set_phy.s b/src/ch395_set_phy.s similarity index 100% rename from src/6502/ch395_set_phy.s rename to src/ch395_set_phy.s diff --git a/src/6502/ch395_set_proto_type_sn.s b/src/ch395_set_proto_type_sn.s similarity index 100% rename from src/6502/ch395_set_proto_type_sn.s rename to src/ch395_set_proto_type_sn.s diff --git a/src/6502/ch395_set_retran_count.s b/src/ch395_set_retran_count.s similarity index 100% rename from src/6502/ch395_set_retran_count.s rename to src/ch395_set_retran_count.s diff --git a/src/6502/ch395_set_retran_period.s b/src/ch395_set_retran_period.s similarity index 100% rename from src/6502/ch395_set_retran_period.s rename to src/ch395_set_retran_period.s diff --git a/src/6502/ch395_set_sour_port_sn.s b/src/ch395_set_sour_port_sn.s similarity index 100% rename from src/6502/ch395_set_sour_port_sn.s rename to src/ch395_set_sour_port_sn.s diff --git a/src/6502/ch395_set_ttl.s b/src/ch395_set_ttl.s similarity index 100% rename from src/6502/ch395_set_ttl.s rename to src/ch395_set_ttl.s diff --git a/src/6502/ch395_tcp_connect_sn.s b/src/ch395_tcp_connect_sn.s similarity index 100% rename from src/6502/ch395_tcp_connect_sn.s rename to src/ch395_tcp_connect_sn.s diff --git a/src/6502/ch395_tcp_disconnect_sn.s b/src/ch395_tcp_disconnect_sn.s similarity index 100% rename from src/6502/ch395_tcp_disconnect_sn.s rename to src/ch395_tcp_disconnect_sn.s diff --git a/src/6502/ch395_tcp_listen_sn.s b/src/ch395_tcp_listen_sn.s similarity index 100% rename from src/6502/ch395_tcp_listen_sn.s rename to src/ch395_tcp_listen_sn.s diff --git a/src/6502/ch395_write_send_buf_sn.s b/src/ch395_write_send_buf_sn.s similarity index 100% rename from src/6502/ch395_write_send_buf_sn.s rename to src/ch395_write_send_buf_sn.s