From 65a4baa17b439e1bdf42b6c0150a52e032562bb5 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 18 Jan 2018 10:28:49 +0100 Subject: Move to version control --- src/Makefile | 113 ++++++++ src/dist/default/production/memoryfile.xml | 17 ++ src/dist/default/production/src.production.cmf | 303 +++++++++++++++++++ src/dist/default/production/src.production.elf | Bin 0 -> 8444 bytes src/dist/default/production/src.production.hex | 9 + src/dist/default/production/src.production.hxl | 30 ++ src/dist/default/production/src.production.lst | 315 ++++++++++++++++++++ src/dist/default/production/src.production.map | 384 +++++++++++++++++++++++++ src/dist/default/production/src.production.mum | 9 + src/dist/default/production/src.production.obj | Bin 0 -> 2674 bytes src/dist/default/production/src.production.rlf | Bin 0 -> 17184 bytes src/dist/default/production/src.production.sdb | 156 ++++++++++ src/dist/default/production/src.production.sym | 220 ++++++++++++++ src/main.c | 91 ++++++ src/nbproject/Makefile-default.mk | 171 +++++++++++ src/nbproject/Makefile-genesis.properties | 9 + src/nbproject/Makefile-impl.mk | 69 +++++ src/nbproject/Makefile-local-default.mk | 37 +++ src/nbproject/Makefile-variables.mk | 13 + src/nbproject/Package-default.bash | 73 +++++ src/nbproject/configurations.xml | 179 ++++++++++++ src/nbproject/private/configurations.xml | 25 ++ src/nbproject/private/private.xml | 11 + src/nbproject/project.xml | 17 ++ src/rs232.c | 40 +++ src/rs232.h | 25 ++ 26 files changed, 2316 insertions(+) create mode 100644 src/Makefile create mode 100644 src/dist/default/production/memoryfile.xml create mode 100644 src/dist/default/production/src.production.cmf create mode 100644 src/dist/default/production/src.production.elf create mode 100644 src/dist/default/production/src.production.hex create mode 100644 src/dist/default/production/src.production.hxl create mode 100644 src/dist/default/production/src.production.lst create mode 100644 src/dist/default/production/src.production.map create mode 100644 src/dist/default/production/src.production.mum create mode 100644 src/dist/default/production/src.production.obj create mode 100644 src/dist/default/production/src.production.rlf create mode 100644 src/dist/default/production/src.production.sdb create mode 100644 src/dist/default/production/src.production.sym create mode 100644 src/main.c create mode 100644 src/nbproject/Makefile-default.mk create mode 100644 src/nbproject/Makefile-genesis.properties create mode 100644 src/nbproject/Makefile-impl.mk create mode 100644 src/nbproject/Makefile-local-default.mk create mode 100644 src/nbproject/Makefile-variables.mk create mode 100644 src/nbproject/Package-default.bash create mode 100644 src/nbproject/configurations.xml create mode 100644 src/nbproject/private/configurations.xml create mode 100644 src/nbproject/private/private.xml create mode 100644 src/nbproject/project.xml create mode 100644 src/rs232.c create mode 100644 src/rs232.h (limited to 'src') diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..fca8e2c --- /dev/null +++ b/src/Makefile @@ -0,0 +1,113 @@ +# +# There exist several targets which are by default empty and which can be +# used for execution of your targets. These targets are usually executed +# before and after some main targets. They are: +# +# .build-pre: called before 'build' target +# .build-post: called after 'build' target +# .clean-pre: called before 'clean' target +# .clean-post: called after 'clean' target +# .clobber-pre: called before 'clobber' target +# .clobber-post: called after 'clobber' target +# .all-pre: called before 'all' target +# .all-post: called after 'all' target +# .help-pre: called before 'help' target +# .help-post: called after 'help' target +# +# Targets beginning with '.' are not intended to be called on their own. +# +# Main targets can be executed directly, and they are: +# +# build build a specific configuration +# clean remove built files from a configuration +# clobber remove all built files +# all build all configurations +# help print help mesage +# +# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and +# .help-impl are implemented in nbproject/makefile-impl.mk. +# +# Available make variables: +# +# CND_BASEDIR base directory for relative paths +# CND_DISTDIR default top distribution directory (build artifacts) +# CND_BUILDDIR default top build directory (object files, ...) +# CONF name of current configuration +# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) +# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) +# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) +# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) +# CND_PACKAGE_NAME_${CONF} name of package (current configuration) +# CND_PACKAGE_PATH_${CONF} path to package (current configuration) +# +# NOCDDL + + +# Environment +MKDIR=mkdir +CP=cp +CCADMIN=CCadmin +RANLIB=ranlib + + +# build +build: .build-post + +.build-pre: +# Add your pre 'build' code here... + +.build-post: .build-impl +# Add your post 'build' code here... + + +# clean +clean: .clean-post + +.clean-pre: +# Add your pre 'clean' code here... +# WARNING: the IDE does not call this target since it takes a long time to +# simply run make. Instead, the IDE removes the configuration directories +# under build and dist directly without calling make. +# This target is left here so people can do a clean when running a clean +# outside the IDE. + +.clean-post: .clean-impl +# Add your post 'clean' code here... + + +# clobber +clobber: .clobber-post + +.clobber-pre: +# Add your pre 'clobber' code here... + +.clobber-post: .clobber-impl +# Add your post 'clobber' code here... + + +# all +all: .all-post + +.all-pre: +# Add your pre 'all' code here... + +.all-post: .all-impl +# Add your post 'all' code here... + + +# help +help: .help-post + +.help-pre: +# Add your pre 'help' code here... + +.help-post: .help-impl +# Add your post 'help' code here... + + + +# include project implementation makefile +include nbproject/Makefile-impl.mk + +# include project make variables +include nbproject/Makefile-variables.mk diff --git a/src/dist/default/production/memoryfile.xml b/src/dist/default/production/memoryfile.xml new file mode 100644 index 0000000..872b3c2 --- /dev/null +++ b/src/dist/default/production/memoryfile.xml @@ -0,0 +1,17 @@ + + + + + bytes + 16384 + 36 + 16348 + + + bytes + 768 + 0 + 768 + + + diff --git a/src/dist/default/production/src.production.cmf b/src/dist/default/production/src.production.cmf new file mode 100644 index 0000000..797b04a --- /dev/null +++ b/src/dist/default/production/src.production.cmf @@ -0,0 +1,303 @@ +%CMF +# %PSECTS Section +# For each object file, details of its psects are enumerated here. +# The begining of the section is indicated by %PSECTS. The first +# line indicates the name of the first object file, e.g. +# $foo.obj +# Each line that follows describes a psect in that object file, until +# the next object file. The lines that describe a psect have the +# format: +# +# All addresses and the length are given in unqualified hexadecimal +# in delta units. Any other numeric values are decimal. +%PSECTS +$C:\Users\_prossn\AppData\Local\Temp\s3s8.obj +idloc IDLOC 0 200000 200000 8 1 +init CODE 0 0 0 4 1 +config CONFIG 0 300000 300000 E 1 +$dist/default/production\src.production.obj +cinit CODE 0 3FE2 3FE2 6 1 +text0 CODE 0 3FDC 3FDC 6 1 +text1 CODE 0 3FE8 3FE8 18 1 +# %UNUSED Section +# This section enumerates the unused ranges of each CLASS. Each entry +# is described on a single line as follows: +# +# Addresses given in the range are in hexadecimal and units of delta. +%UNUSED +RAM 60-2FF 1 +SFR F38-FFF 1 +BANK0 60-FF 1 +BANK1 100-1FF 1 +BANK2 200-2FF 1 +CONST 4-3FDB 1 +STACK 60-2FF 1 +SMALLCONST 300-3FDB 1 +CODE 4-3FDB 1 +BIGRAM 1-2FF 1 +COMRAM 1-5F 1 +EEDATA F00000-F000FF 1 +MEDIUMCONST 300-3FDB 1 +# %LINETAB Section +# This section enumerates the file/line to address mappings. +# The beginning of the section is indicated by %LINETAB. +# The first line indicates the name of the first object file, e.g. +# $foo.obj +# Each line that follows describes a single mapping until the next +# object file. Mappings have the following format: +#
>: +# The address is absolute and given given in unqualified hex +# in delta units of the psect. All mappings within an object file +# are in ascending order of addresses. +# All other numeric values are in decimal. +%LINETAB +$dist/default/production\src.production.obj +3FE8 text1 CODE >4:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FE8 text1 CODE >7:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FEA text1 CODE >8:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FEC text1 CODE >11:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FEE text1 CODE >12:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FF2 text1 CODE >13:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FF4 text1 CODE >14:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FF6 text1 CODE >17:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FF8 text1 CODE >18:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FFA text1 CODE >19:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FFC text1 CODE >20:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FFE text1 CODE >21:Z:\SAMB_4\projects\xilofono\src\rs232.c +3FDC text0 CODE >83:Z:\SAMB_4\projects\xilofono\src\main.c +3FDC text0 CODE >85:Z:\SAMB_4\projects\xilofono\src\main.c +3FE0 text0 CODE >88:Z:\SAMB_4\projects\xilofono\src\main.c +3FE2 cinit CODE >1144:C:\Users\_prossn\AppData\Local\Temp\s3s8. +3FE2 cinit CODE >1146:C:\Users\_prossn\AppData\Local\Temp\s3s8. +3FE2 cinit CODE >1149:C:\Users\_prossn\AppData\Local\Temp\s3s8. +3FE2 cinit CODE >1155:C:\Users\_prossn\AppData\Local\Temp\s3s8. +3FE2 cinit CODE >1157:C:\Users\_prossn\AppData\Local\Temp\s3s8. +3FE4 cinit CODE >1158:C:\Users\_prossn\AppData\Local\Temp\s3s8. +# %SYMTAB Section +# An enumeration of all symbols in the program. +# The beginning of the section is indicated by %SYMTAB. +# Each line describes a single symbol as follows: +#