URL
https://opencores.org/ocsvn/copyblaze/copyblaze/trunk
Subversion Repositories copyblaze
Compare Revisions
- This comparison shows the changes necessary to convert path
/copyblaze/trunk/copyblaze
- from Rev 49 to Rev 50
- ↔ Reverse comparison
Rev 49 → Rev 50
/sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/makebin.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/makebin.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygreadline7.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygreadline7.dll
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygreadline7.dll (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygreadline7.dll (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygreadline7.dll
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygintl-8.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygintl-8.dll
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygintl-8.dll (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygintl-8.dll (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygintl-8.dll
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas8051.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas8051.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas8051.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas8051.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas8051.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcpp.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcpp.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcpp.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcpp.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcpp.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cyggcc_s-1.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cyggcc_s-1.dll
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cyggcc_s-1.dll (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cyggcc_s-1.dll (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cyggcc_s-1.dll
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygiconv-2.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygiconv-2.dll
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygiconv-2.dll (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygiconv-2.dll (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygiconv-2.dll
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sh.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sh.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sh.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sh.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sh.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcc.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcc.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcc.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcc.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcc.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/as2gbmap
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/as2gbmap (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/as2gbmap (nonexistent)
@@ -1,177 +0,0 @@
-#!/usr/bin/env python
-
-# as2gbmap - asxxxx to gb map file converter
-#
-# Copyright (c) 2010 Borut Razem
-#
-# This file is part of sdcc.
-#
-# This software is provided 'as-is', without any express or implied
-# warranty. In no event will the authors be held liable for any damages
-# arising from the use of this software.
-#
-# Permission is granted to anyone to use this software for any purpose,
-# including commercial applications, and to alter it and redistribute it
-# freely, subject to the following restrictions:
-#
-# 1. The origin of this software must not be misrepresented; you must not
-# claim that you wrote the original software. If you use this software
-# in a product, an acknowledgment in the product documentation would be
-# appreciated but is not required.
-# 2. Altered source versions must be plainly marked as such, and must not be
-# misrepresented as being the original software.
-# 3. This notice may not be removed or altered from any source distribution.
-#
-# Borut Razem
-# borut.razem@siol.net
-
-import sys
-import os
-import re
-from optparse import OptionParser
-import operator
-
-def main():
- '''asxxxx to gb map file converter'''
- usage = "usage: %prog [options] [ []]"
- parser = OptionParser(usage = usage, version = "1.0")
- parser.set_defaults(no_gmb = False)
- parser.add_option("-j", "--no$gmb", action = "store_true", dest = "no_gmb", help = "generate no$gmb symbol file (default: rrgb)")
- (options, args) = parser.parse_args()
-
- if len(args) > 0 and args[0] != "-":
- try:
- fin = open(args[0], "r")
- except IOError, (errno, strerror):
- print >> sys.stderr, "%s: can't open %s: %s" % (os.path.basename(sys.argv[0]), args[0], strerror)
- return 1
- else:
- fin = sys.stdin
-
- if len(args) > 1 and args[1] != "-":
- try:
- fout = open(args[1], "w")
- except IOError, (errno, strerror):
- print >> sys.stderr, "%s: can't create %s: %s" % (os.path.basename(sys.argv[1]), args[1], strerror)
- return 1
- else:
- fout = sys.stdout;
-
- areas = []
- modules = []
- libraries = []
- ubads = []
-
- radix = 'HEX'
- state = None
- area = None
-
- # process asxxxx map file
- for line in fin:
- if re.match(r"^Hexadecimal$", line):
- radix = 'HEX';
- continue
-
- if re.match(r"^Area +Addr +Size +Decimal +Bytes +\(Attributes\)$", line):
- line = fin.next()
- if re.match(r"^[- ]+$", line):
- line = fin.next()
- m = re.match(r"^([^ ]+) +([0-9A-Fa-f]{4}) +([0-9A-Fa-f]{4}) += +\d+\. +\w+ +\(([^\)]+)\)$", line)
- if m:
- if area:
- if m.group(1) != area['area']:
- areas.append(area)
- area = {'area': m.group(1), 'radix': radix, 'base': int(m.group(2), 16), 'size': int(m.group(3), 16), 'attrib': m.group(4).replace(',', ' '), 'globals': []}
- else:
- area = {'area': m.group(1), 'radix': radix, 'base': int(m.group(2), 16), 'size': int(m.group(3), 16), 'attrib': m.group(4).replace(',', ' '), 'globals': []}
- state = 'IN_AREA'
- continue
-
- m = re.match(r"^ +([0-9A-Fa-f]{4}) +([^ ]+) +$", line)
- if state == 'IN_AREA' and m:
- area['globals'].append({'value': int(m.group(1), 16), 'global': m.group(2)})
- continue
-
- m = re.match(r"Files Linked +\[ module\(s\) \]$", line)
- if m:
- state = 'IN_MODULES'
- continue
-
- m = re.match(r"Libraries Linked +\[ object file \]$", line)
- if m:
- state = 'IN_LIBRARIES'
- continue
-
- m = re.match(r"User Base Address Definitions$", line)
- if m:
- state = 'IN_UBAD'
- continue
-
- m = re.match(r"^([^ ]+) +\[ ([^ ]*) \]$", line)
- if m:
- if state == 'IN_MODULES':
- modules.append({'file': m.group(1), 'name': m.group(2)})
- continue
-
- if state == 'IN_LIBRARIES':
- libraries.append({'library': m.group(1), 'module': m.group(2)})
- continue
-
- m = re.match(r"^([^ ]+) += +0x([0-9A-Fa-f]{4})$", line)
- if state == 'IN_UBAD' and m:
- ubads.append({'symbol': m.group(1), 'value': m.group(2)})
- continue
-
- if area:
- areas.append(area)
-
-
- if options.no_gmb:
- # generate no$gmp map file
- print >> fout, '; no$gmb format .sym file'
- print >> fout, '; Generated automagically by %s' % os.path.basename(sys.argv[0])
- for e in areas:
- print >> fout, '; Area: %s' % e['area']
- if e['globals']:
- e['globals'].sort(key = operator.itemgetter('value'))
- for g in e['globals']:
- if g['global'][0:3] != 'l__':
- if g['value'] > 0x7FFF:
- print >> fout, '00:%04X %s' % (g['value'], g['global'])
- else:
- print >> fout, '%02X:%04X %s' % (g['value'] // 16384, g['value'], g['global'])
- else:
- # generate rrgb map file
- for e in areas:
- print >> fout, 'AREA %s' % e['area']
- print >> fout, '\tRADIX %s' % e['radix']
- print >> fout, '\tBASE %04X' % e['base']
- print >> fout, '\tSIZE %04X' % e['size']
- print >> fout, '\tATTRIB %s' % e['attrib']
- if e['globals']:
- e['globals'].sort(key = operator.itemgetter('value'))
- print >> fout, '\tGLOBALS'
- for g in e['globals']:
- print >> fout, '\t\t%s\t%04X' % (g['global'], g['value'])
-
- if modules:
- print >> fout, 'MODULES'
- for m in modules:
- print >> fout, '\tFILE %s' % m['file']
- if m['name']:
- print >> fout, '\t\tNAME %s' % m['name']
-
- if libraries:
- print >> fout, 'LIBRARIES'
- for m in libraries:
- print >> fout, '\tLIBRARY %s' % m['library']
- print >> fout, '\t\tMODULE %s' % m['module']
-
- if ubads:
- print >> fout, 'USERBASEDEF'
- for m in ubads:
- print >> fout, '\t%s = 0x%04X' % (m['symbol'], int(m['value'], 16))
- return 0
-
-if __name__ == '__main__':
- sys.exit(main())
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld6808.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld6808.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld6808.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld6808.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld6808.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/README
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/README (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/README (nonexistent)
@@ -1,4 +0,0 @@
-sdcc/bin
---------
-
-Where binary files end up.
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcdb.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcdb.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcdb.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcdb.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcdb.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas6808.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas6808.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas6808.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas6808.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdas6808.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygncurses-9.dll
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygncurses-9.dll
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygncurses-9.dll (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygncurses-9.dll (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/cygncurses-9.dll
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdld.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/packihx.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/packihx.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/packihx.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/packihx.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/packihx.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldz80.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldz80.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldz80.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldz80.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldz80.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/asranlib.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/asranlib.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/asranlib.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/asranlib.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/asranlib.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasz80.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasz80.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasz80.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasz80.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasz80.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldgb.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldgb.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldgb.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldgb.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdldgb.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcclib.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcclib.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcclib.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcclib.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdcclib.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasgb.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasgb.exe
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasgb.exe (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasgb.exe (nonexistent)
sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/bin/sdasgb.exe
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/README
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/README (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/README (nonexistent)
@@ -1,5 +0,0 @@
-sdcc/device
------------
-
-This directory contains all device only files i.e. a basic C library,
-headers, and set of examples.
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/math.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/math.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/math.h (nonexistent)
@@ -1,106 +0,0 @@
-/*-------------------------------------------------------------------------
- math.h: Floating point math function declarations
-
- Copyright (C) 2001, Jesus Calvino-Fraga, jesusc@ieee.org
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-/* Version 1.0 - Initial release */
-
-#ifndef _INC_MATH
-#define _INC_MATH
-
-#define HUGE_VALF 3.402823466e+38
-
-#define PI 3.1415926536
-#define TWO_PI 6.2831853071
-#define HALF_PI 1.5707963268
-#define QUART_PI 0.7853981634
-#define iPI 0.3183098862
-#define iTWO_PI 0.1591549431
-#define TWO_O_PI 0.6366197724
-
-/* EPS=B**(-t/2), where B is the radix of the floating-point representation
- and there are t base-B digits in the significand. Therefore, for floats
- EPS=2**(-12). Also define EPS2=EPS*EPS. */
-#define EPS 244.14062E-6
-#define EPS2 59.6046E-9
-
-union float_long
-{
- float f;
- long l;
-};
-
-#if defined(SDCC_MATH_LIB) && defined(SDCC_mcs51) && !defined(SDCC_USE_XSTACK) && !defined(SDCC_STACK_AUTO) && !defined(_SDCC_NO_ASM_LIB_FUNCS)
-/* Compile the mcs51 assembly version only when all these
- conditions are met. Since not all the functions are
- reentrant, do not compile with --stack-auto is used. */
-#define MATH_ASM_MCS51
-#endif
-
-
-/* Functions on the z80 & gbz80 are always reentrant and so the "reentrant" */
-/* keyword is not defined. */
-#if defined(SDCC_z80) || defined(SDCC_gbz80)
-#define _FLOAT_FUNC_REENTRANT
-#else
-#define _FLOAT_FUNC_REENTRANT __reentrant
-#endif
-
-/**********************************************
- * Prototypes for float ANSI C math functions *
- **********************************************/
-
-/* Trigonometric functions */
-float sinf(const float x) _FLOAT_FUNC_REENTRANT;
-float cosf(const float x) _FLOAT_FUNC_REENTRANT;
-float tanf(const float x) _FLOAT_FUNC_REENTRANT;
-float cotf(const float x) _FLOAT_FUNC_REENTRANT;
-float asinf(const float x) _FLOAT_FUNC_REENTRANT;
-float acosf(const float x) _FLOAT_FUNC_REENTRANT;
-float atanf(const float x) _FLOAT_FUNC_REENTRANT;
-float atan2f(const float x, const float y);
-
-/* Hyperbolic functions */
-float sinhf(const float x) _FLOAT_FUNC_REENTRANT;
-float coshf(const float x) _FLOAT_FUNC_REENTRANT;
-float tanhf(const float x) _FLOAT_FUNC_REENTRANT;
-
-/* Exponential, logarithmic and power functions */
-float expf(const float x);
-float logf(const float x) _FLOAT_FUNC_REENTRANT;
-float log10f(const float x) _FLOAT_FUNC_REENTRANT;
-float powf(const float x, const float y);
-float sqrtf(const float a) _FLOAT_FUNC_REENTRANT;
-
-/* Nearest integer, absolute value, and remainder functions */
-float fabsf(const float x) _FLOAT_FUNC_REENTRANT;
-float frexpf(const float x, int *pw2);
-float ldexpf(const float x, const int pw2);
-float ceilf(float x) _FLOAT_FUNC_REENTRANT;
-float floorf(float x) _FLOAT_FUNC_REENTRANT;
-float modff(float x, float * y);
-
-#endif /* _INC_MATH */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile.in
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile.in (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile.in (nonexistent)
@@ -1,128 +0,0 @@
-#
-#
-#
-
-VERSION = @VERSION@
-VERSIONHI = @VERSIONHI@
-VERSIONLO = @VERSIONLO@
-VERSIONP = @VERSIONP@
-
-SHELL = /bin/sh
-CPP = @CPP@
-INSTALL = @INSTALL@
-CP = @CP@
-
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-bindir = @bindir@
-libdir = @libdir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-includedir = @includedir@
-mandir = @mandir@
-man1dir = $(mandir)/man1
-man2dir = $(mandir)/man2
-infodir = @infodir@
-VPATH = @srcdir@
-srcdir = @srcdir@
-
-include_dir_suffix = @include_dir_suffix@
-
-sdcc_includedir = $(DESTDIR)$(datadir)/$(include_dir_suffix)
-
-CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)
-
-
-# Compiling entire program or any subproject
-# ------------------------------------------
-all:
-
-# Compiling and installing everything and running test
-# ----------------------------------------------------
-install: all installdirs
- $(CP) -r $(srcdir)/asm $(srcdir)/*.h $(sdcc_includedir)
- if [ "`grep mcs51 $(top_builddir)/ports.build`" = mcs51 ]; then \
- $(CP) $(srcdir)/mcs51/*.h $(sdcc_includedir)/mcs51; \
- fi
- if [ "`grep ds390 $(top_builddir)/ports.build`" = ds390 ]; then \
- $(CP) $(srcdir)/ds390/*.h $(sdcc_includedir)/ds390; \
- fi
- if [ "`grep ds400 $(top_builddir)/ports.build`" = ds400 ]; then \
- $(CP) $(srcdir)/ds400/*.h $(sdcc_includedir)/ds400; \
- fi
- if [ "`grep xa51 $(top_builddir)/ports.build`" = xa51 ]; then \
- $(CP) $(srcdir)/xa51/*.h $(sdcc_includedir)/xa51; \
- fi
- if [ "`grep pic14 $(top_builddir)/ports.build`" = pic14 ]; then \
- $(CP) $(srcdir)/pic14/*.h $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/*.inc $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/*.txt $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/pic14devices.txt $(sdcc_includedir)/pic14; \
- fi
- if [ "`grep pic16 $(top_builddir)/ports.build`" = pic16 ]; then \
- $(CP) $(srcdir)/pic16/*.h $(sdcc_includedir)/pic16; \
- $(CP) $(srcdir)/pic16/*.txt $(sdcc_includedir)/pic16; \
- fi
- if [ "`grep z80 $(top_builddir)/ports.build`" = z80 ]; then \
- $(CP) $(srcdir)/z80/*.h $(sdcc_includedir)/z80; \
- fi
- if [ "`grep hc08 $(top_builddir)/ports.build`" = hc08 ]; then \
- $(CP) $(srcdir)/hc08/*.h $(sdcc_includedir)/hc08; \
- fi
- rm -rf `find $(sdcc_includedir) -type d -name '.svn'`
- # some files in CVS are executable :-(
- find $(sdcc_includedir) -type f -exec chmod 644 {} \;
-
-
-# Deleting all the installed files
-# --------------------------------
-uninstall:
- rm -rf $(sdcc_includedir)
-
-
-# Performing self-test
-# --------------------
-check:
-
-
-# Performing installation test
-# ----------------------------
-installcheck:
-
-
-# Creating installation directories
-# ---------------------------------
-installdirs:
- [ -d $(sdcc_includedir) ] || mkdir -p $(sdcc_includedir)
- [ -d $(sdcc_includedir)/mcs51 ] || mkdir -p $(sdcc_includedir)/mcs51
- [ -d $(sdcc_includedir)/ds390 ] || mkdir -p $(sdcc_includedir)/ds390
- [ -d $(sdcc_includedir)/ds400 ] || mkdir -p $(sdcc_includedir)/ds400
- [ -d $(sdcc_includedir)/xa51 ] || mkdir -p $(sdcc_includedir)/xa51
- [ -d $(sdcc_includedir)/pic14 ] || mkdir -p $(sdcc_includedir)/pic14
- [ -d $(sdcc_includedir)/pic16 ] || mkdir -p $(sdcc_includedir)/pic16
- [ -d $(sdcc_includedir)/z80 ] || mkdir -p $(sdcc_includedir)/z80
- [ -d $(sdcc_includedir)/hc08 ] || mkdir -p $(sdcc_includedir)/hc08
-
-
-# Creating dependencies
-# ---------------------
-dep:
-
-include $(srcdir)/clean.mk
-
-# My rules
-# --------
-
-
-# Remaking configuration
-# ----------------------
-checkconf:
- @if [ -f $(top_builddir)/devel ]; then \
- $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" \
- freshconf; \
- fi
-
-# End of main_in.mk/main.mk
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/time.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/time.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/time.h (nonexistent)
@@ -1,75 +0,0 @@
-/*-------------------------------------------------------------------------
- time.h
-
- Copyright (C) 2001, Johan Knol
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef TIME_H
-#define TIME_H
-
-#ifndef __TIME_UNSIGNED
-#define __TIME_UNSIGNED 1
-#endif
-
-#if __TIME_UNSIGNED
-struct tm
-{
- unsigned char tm_sec; /* Seconds. [0-60] */
- unsigned char tm_min; /* Minutes. [0-59] */
- unsigned char tm_hour; /* Hours. [0-23] */
- unsigned char tm_mday; /* Day. [1-31] */
- unsigned char tm_mon; /* Month. [0-11] */
- int tm_year; /* Year since 1900 */
- unsigned char tm_wday; /* Day of week. [0-6] */
- int tm_yday; /* Days in year.[0-365] */
- unsigned char tm_isdst; /* Daylight saving time */
- unsigned char tm_hundredth; /* not standard 1/100th sec */
-};
-#else
-struct tm
-{
- int tm_sec; /* Seconds. [0-60] */
- int tm_min; /* Minutes. [0-59] */
- int tm_hour; /* Hours. [0-23] */
- int tm_mday; /* Day. [1-31] */
- int tm_mon; /* Month. [0-11] */
- int tm_year; /* Year since 1900 */
- int tm_wday; /* Day of week. [0-6] */
- int tm_yday; /* Days in year.[0-365] */
- int tm_isdst; /* Daylight saving time */
- char *tm_zone; /* Abbreviated timezone */
-};
-#endif
-
-typedef unsigned long time_t;
-
-time_t time(time_t *t);
-struct tm *gmtime(time_t *timep);
-struct tm *localtime(time_t *timep);
-time_t mktime(struct tm *timeptr);
-char *asctime(struct tm *timeptr);
-char *ctime(time_t *timep);
-
-#endif /* TIME_H */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/limits.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/limits.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/limits.h (nonexistent)
@@ -1,64 +0,0 @@
-/*-------------------------------------------------------------------------
- limits.h - ANSI defines constants for sizes of integral types
-
- Copyright (C) 1999, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_LIMITS_H
-#define __SDC51_LIMITS_H 1
-
-#define CHAR_BIT 8 /* bits in a char */
-#define SCHAR_MAX 127
-#define SCHAR_MIN -128
-#define UCHAR_MAX 0xff
-#define UCHAR_MIN 0
-#ifdef SDCC_CHAR_UNSIGNED
-#define CHAR_MAX UCHAR_MAX
-#define CHAR_MIN UCHAR_MIN
-#else
-#define CHAR_MAX SCHAR_MAX
-#define CHAR_MIN SCHAR_MIN
-#endif
-#define INT_MIN -32768
-#define INT_MAX 32767
-#define SHRT_MAX INT_MAX
-#define SHRT_MIN INT_MIN
-#define UINT_MAX 0xffff
-#define UINT_MIN 0
-#define USHRT_MAX UINT_MAX
-#define USHRT_MIN UINT_MIN
-#define LONG_MIN -2147483648
-#define LONG_MAX 2147483647
-#define ULONG_MAX 0xffffffff
-#define ULONG_MIN 0
-
-
-#endif
-
-
-
-
-
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/assert.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/assert.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/assert.h (nonexistent)
@@ -1,42 +0,0 @@
-/*-------------------------------------------------------------------------
- assert.h - header file for assert ANSI routine
-
- Copyright (C) 1999, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#undef assert
-
-#ifdef NDEBUG
-
-/* Debugging disabled -- do not evaluate assertions. */
-#define assert(x) ((void)0)
-
-#else
-
-/* Debugging enabled -- verify assertions at run time. */
-void _assert(char *, const char *, unsigned int);
-#define assert(x) ((x) == 0 ? _assert(#x, __FILE__, __LINE__):(void)0)
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/setjmp.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/setjmp.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/setjmp.h (nonexistent)
@@ -1,65 +0,0 @@
-/*-------------------------------------------------------------------------
- setjmp.h - header file for setjmp & longjmp ANSI routines
-
- Copyright (C) 1999, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef SDCC_SETJMP_H
-#define SDCC_SETJMP_H
-
-#define SP_SIZE 1
-
-#ifdef SDCC_STACK_AUTO
-#define BP_SIZE SP_SIZE
-#else
-#define BP_SIZE 0
-#endif
-
-#ifdef SDCC_USE_XSTACK
-#define SPX_SIZE 1
-#else
-#define SPX_SIZE 0
-#endif
-
-#define BPX_SIZE SPX_SIZE
-
-#ifdef SDCC_MODEL_HUGE
-#define RET_SIZE 3
-#else
-#define RET_SIZE 2
-#endif
-
-typedef unsigned char jmp_buf[RET_SIZE + SP_SIZE + BP_SIZE + SPX_SIZE + BPX_SIZE];
-
-int setjmp (jmp_buf);
-int longjmp(jmp_buf, int);
-
-#undef RET_SIZE
-#undef SP_SIZE
-#undef BP_SIZE
-#undef SPX_SIZE
-#undef BPX_SIZE
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/clean.mk
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/clean.mk (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/clean.mk (nonexistent)
@@ -1,22 +0,0 @@
-# Deleting all files created by building the program
-# --------------------------------------------------
-clean:
- rm -f *core *[%~] *.[oa]
- rm -f .[a-z]*~
-
-
-# Deleting all files created by configuring or building the program
-# -----------------------------------------------------------------
-distclean: clean
- rm -f Makefile *.dep
-
-
-# Like clean but some files may still exist
-# -----------------------------------------
-mostlyclean: clean
-
-
-# Deleting everything that can reconstructed by this Makefile. It deletes
-# everything deleted by distclean plus files created by bison, etc.
-# -----------------------------------------------------------------------
-realclean: distclean
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdint.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdint.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdint.h (nonexistent)
@@ -1,181 +0,0 @@
-/*-------------------------------------------------------------------------
- stdint.h - ISO C99 7.18 Integer types
-
- Copyright (C) 2005, Maarten Brock, sourceforge.brock@dse.nl
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef _STDINT_H
-#define _STDINT_H 1
-
-/* Exact integral types. */
-
-/* Signed. */
-
-typedef signed char int8_t;
-typedef short int int16_t;
-typedef long int int32_t;
-
-/* Unsigned. */
-typedef unsigned char uint8_t;
-typedef unsigned short int uint16_t;
-typedef unsigned long int uint32_t;
-
-
-/* Small types. */
-
-/* Signed. */
-typedef signed char int_least8_t;
-typedef short int int_least16_t;
-typedef long int int_least32_t;
-
-/* Unsigned. */
-typedef unsigned char uint_least8_t;
-typedef unsigned short int uint_least16_t;
-typedef unsigned long int uint_least32_t;
-
-
-/* Fast types. */
-
-/* Signed. */
-typedef signed char int_fast8_t;
-typedef int int_fast16_t;
-typedef long int int_fast32_t;
-
-/* Unsigned. */
-typedef unsigned char uint_fast8_t;
-typedef unsigned int uint_fast16_t;
-typedef unsigned long int uint_fast32_t;
-
-
-/* Types for `void *' pointers. */
-#if defined (SDCC_mcs51) || defined (SDCC_ds390)
- typedef long int intptr_t;
- typedef unsigned long int uintptr_t;
-#else
- typedef int intptr_t;
- typedef unsigned int uintptr_t;
-#endif
-
-
-/* Largest integral types. */
-typedef long int intmax_t;
-typedef unsigned long int uintmax_t;
-
-
-/* Limits of integral types. */
-
-/* Minimum of signed integral types. */
-# define INT8_MIN (-128)
-# define INT16_MIN (-32767-1)
-# define INT32_MIN (-2147483647L-1)
-/* Maximum of signed integral types. */
-# define INT8_MAX (127)
-# define INT16_MAX (32767)
-# define INT32_MAX (2147483647L)
-
-/* Maximum of unsigned integral types. */
-# define UINT8_MAX (255)
-# define UINT16_MAX (65535)
-# define UINT32_MAX (4294967295UL)
-
-/* Minimum of signed integral types having a minimum size. */
-# define INT_LEAST8_MIN (-128)
-# define INT_LEAST16_MIN (-32767-1)
-# define INT_LEAST32_MIN (-2147483647L-1)
-/* Maximum of signed integral types having a minimum size. */
-# define INT_LEAST8_MAX (127)
-# define INT_LEAST16_MAX (32767)
-# define INT_LEAST32_MAX (2147483647L)
-
-/* Maximum of unsigned integral types having a minimum size. */
-# define UINT_LEAST8_MAX (255)
-# define UINT_LEAST16_MAX (65535)
-# define UINT_LEAST32_MAX (4294967295UL)
-
-/* Minimum of fast signed integral types having a minimum size. */
-# define INT_FAST8_MIN (-128)
-# define INT_FAST16_MIN (-32767-1)
-# define INT_FAST32_MIN (-2147483647L-1)
-
-/* Maximum of fast signed integral types having a minimum size. */
-# define INT_FAST8_MAX (127)
-# define INT_FAST16_MAX (32767)
-# define INT_FAST32_MAX (2147483647L)
-
-/* Maximum of fast unsigned integral types having a minimum size. */
-# define UINT_FAST8_MAX (255)
-# define UINT_FAST16_MAX (65535)
-# define UINT_FAST32_MAX (4294967295UL)
-
-/* Values to test for integral types holding `void *' pointer. */
-#if defined (SDCC_mcs51) || defined (SDCC_ds390)
-# define INTPTR_MIN (-2147483647L-1)
-# define INTPTR_MAX (2147483647L)
-# define UINTPTR_MAX (4294967295UL)
-#else
-# define INTPTR_MIN (-32767-1)
-# define INTPTR_MAX (32767)
-# define UINTPTR_MAX (65535)
-#endif
-
-/* Minimum for largest signed integral type. */
-# define INTMAX_MIN (-__INT32_C(-2147483647L)-1)
-/* Maximum for largest signed integral type. */
-# define INTMAX_MAX (__INT32_C(2147483647L))
-
-/* Maximum for largest unsigned integral type. */
-# define UINTMAX_MAX (__UINT32_C(4294967295UL))
-
-
-/* Limits of other integer types. */
-
-/* Limits of `ptrdiff_t' type. */
-#if defined (SDCC_mcs51) || defined (SDCC_ds390)
-# define PTRDIFF_MIN (-2147483647L-1)
-# define PTRDIFF_MAX (2147483647L)
-#else
-# define PTRDIFF_MIN (-32767-1)
-# define PTRDIFF_MAX (32767)
-#endif
-
-/* Limit of `size_t' type. */
-# define SIZE_MAX (65535)
-
-/* Signed. */
-# define INT8_C(c) c
-# define INT16_C(c) c
-# define INT32_C(c) c ## L
-
-/* Unsigned. */
-# define UINT8_C(c) c ## U
-# define UINT16_C(c) c ## U
-# define UINT32_C(c) c ## UL
-
-/* Maximal type. */
-# define INTMAX_C(c) c ## L
-# define UINTMAX_C(c) c ## UL
-
-
-#endif /* stdint.h */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/float.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/float.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/float.h (nonexistent)
@@ -1,102 +0,0 @@
-/*-------------------------------------------------------------------------
- float.h - ANSI functions forward declarations
-
- Copyright (C) 1998, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_FLOAT_H
-#define __SDC51_FLOAT_H 1
-
-#include
-
-#define FLT_RADIX 2
-#define FLT_MANT_DIG 24
-#define FLT_EPSILON 1.192092896E-07F
-#define FLT_DIG 6
-#define FLT_MIN_EXP (-125)
-#define FLT_MIN 1.175494351E-38F
-#define FLT_MIN_10_EXP (-37)
-#define FLT_MAX_EXP (+128)
-#define FLT_MAX 3.402823466E+38F
-#define FLT_MAX_10_EXP (+38)
-
-/* the following deal with IEEE single-precision numbers */
-#define EXCESS 126
-#define SIGNBIT ((unsigned long)0x80000000)
-#define __INFINITY ((unsigned long)0x7F800000)
-#define HIDDEN (unsigned long)(1ul << 23)
-#define SIGN(fp) (((unsigned long)(fp) >> (8*sizeof(fp)-1)) & 1)
-#define EXP(fp) (((unsigned long)(fp) >> 23) & (unsigned int) 0x00FF)
-#define MANT(fp) (((fp) & (unsigned long)0x007FFFFF) | HIDDEN)
-#define NORM 0xff000000
-#define PACK(s,e,m) ((s) | ((unsigned long)(e) << 23) | (m))
-
-float __uchar2fs (unsigned char);
-float __schar2fs (signed char);
-float __uint2fs (unsigned int);
-float __sint2fs (signed int);
-float __ulong2fs (unsigned long);
-float __slong2fs (signed long);
-unsigned char __fs2uchar (float);
-signed char __fs2schar (float);
-unsigned int __fs2uint (float);
-signed int __fs2sint (float);
-unsigned long __fs2ulong (float);
-signed long __fs2slong (float);
-
-float __fsadd (float, float);
-float __fssub (float, float);
-float __fsmul (float, float);
-float __fsdiv (float, float);
-
-char __fslt (float, float);
-char __fseq (float, float);
-char __fsgt (float, float);
-
-
-#if defined(SDCC_FLOAT_LIB) && defined(SDCC_mcs51) && !defined(SDCC_USE_XSTACK) && !defined(_SDCC_NO_ASM_LIB_FUNCS)
-
-#define FLOAT_ASM_MCS51
-
-/* This adds extra code for proper round-off, in
- an attempt to match the results from gcc. */
-#define FLOAT_FULL_ACCURACY
-
-/* This adds about 66 bytes to the code size and
- significantly speeds up shift operations more
- than 8 bits (common when subtracting numbers
- of significantly different magnitude and scaling
- to fixed point) */
-#define FLOAT_SHIFT_SPEEDUP
-
-#define sign_a psw.1
-#define sign_b psw.5
-#define exp_a dpl
-#define exp_b dph
-#endif /* using mcs51 assembly */
-
-
-#endif /* __SDC51_FLOAT_H */
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/conf.mk
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/conf.mk (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/conf.mk (nonexistent)
@@ -1,10 +0,0 @@
-#
-# Makefile targets to remake configuration
-#
-
-freshconf: Makefile
-
-Makefile: $(srcdir)/Makefile.in $(top_srcdir)/configure.in
- cd $(top_builddir) && $(SHELL) ./config.status
-
-# End of conf.mk
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/string.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/string.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/string.h (nonexistent)
@@ -1,87 +0,0 @@
-/*-------------------------------------------------------------------------
- string.h - ISO header for string library functions
-
- Copyright (C) 1998, Sandeep Dutta
- Copyright (C) 2009, Philipp Klaus Krause . pkk@spth.de
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDCC_STRING_H
-#define __SDCC_STRING_H 1
-
-#ifndef NULL
-# define NULL (void *)0
-#endif
-
-#ifndef _SIZE_T_DEFINED
-# define _SIZE_T_DEFINED
- typedef unsigned int size_t;
-#endif
-
-/* The function prototypes are ordered as in the ISO C99 standard. */
-
-/* Todo: fix the "restrict" stuff for C99 compliance. */
-
-/* Copying functions: */
-extern void *memcpy (void * /*restrict */ dest, const void * /*restrict*/ src, size_t n);
-extern void *memmove (void *dest, const void *src, size_t n);
-extern char *strcpy (char * /*restrit*/ dest, const char * /*restrict*/ src);
-extern char *strncpy(char * /*restrict*/ dest, const char * /*restrict*/ src, size_t n);
-
-/* Concatenation functions: */
-extern char *strcat (char * /*restrict*/ dest, const char * /*restrict*/ src);
-extern char *strncat(char * /*restrict*/ dest, const char * /*restrict*/ src, size_t n);
-
-/* Comparison functions: */
-extern int memcmp (const void *s1, const void *s2, size_t n);
-extern int strcmp (const char *s1, const char *s2);
-/*inline int strcoll(const char *s1, const char *s2) {return strcmp(s1, s2);}*/
-extern int strncmp(const char *s1, const char *s2, size_t n);
-/*inline size_t strxfrm(char *dest, const char *src, size_t n) {strncpy(dest, src, n); return strlen(src);}*/
-
-/* Search functions: */
-extern void *memchr (const void *s, int c, size_t n);
-extern char *strchr (const char *s, char c); /* c should be int according to standard. */
-extern size_t strcspn(const char *s, const char *reject);
-extern char *strpbrk(const char *s, const char *accept);
-extern char *strrchr(const char *s, char c); /* c should be int according to standard. */
-extern size_t strspn (const char *s, const char *accept);
-extern char *strstr (const char *haystack, const char *needle);
-extern char *strtok (char * /* restrict*/ str, const char * /*restrict*/ delim);
-
-/* Miscanelleous functions: */
-extern void *memset (void *s, unsigned char c, size_t n); /* c should be int according to standard. */
-/* extern char *strerror(int errnum); */
-extern size_t strlen (const char *s);
-
-#ifdef SDCC_ds390
-extern void __xdata * memcpyx(void __xdata *, void __xdata *, int) __naked;
-#endif
-
-#ifdef SDCC_z80
-#define memcpy(dst, src, n) __builtin_memcpy(dst, src, n)
-#endif
-
-#endif
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdbool.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdbool.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdbool.h (nonexistent)
@@ -1,54 +0,0 @@
-/*-------------------------------------------------------------------------
- stdbool.h - ANSI functions forward declarations
-
- Copyright (C) 2004, Maarten Brock, sourceforge.brock@dse.nl
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_STDBOOL_H
-#define __SDC51_STDBOOL_H 1
-
-#define true 1
-#define false 0
-
-#if defined (SDCC_hc08) || defined (SDCC_pic14) || defined (SDCC_pic16)
- /* The ports that don't have anything worthy of being bool */
- #define BOOL char
- #define __SDCC_WEIRD_BOOL 2
-#elif defined (SDCC_ds390) || defined (SDCC_mcs51) || defined (SDCC_xa51)
- /* The ports that have __bit and use it as an imperfect substitute for bool */
- #define _Bool __bit
- #define BOOL __bit
- #define bool _Bool
- #define __bool_true_false_are_defined 1
- #define __SDCC_WEIRD_BOOL 1
-#else
- /* The ports that have bool */
- #define bool _Bool
- #define BOOL _Bool
- #define __bool_true_false_are_defined 1
-#endif
-
-#endif
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/typeof.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/typeof.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/typeof.h (nonexistent)
@@ -1,54 +0,0 @@
-/*-------------------------------------------------------------------------
- typeof.h - Contains enumerations of values returned by __typeof
-
- Copyright (C) 2001, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_TYPEOF_H
-#define __SDC51_TYPEOF_H 1
-
-#define TYPEOF_INT 1
-#define TYPEOF_SHORT 2
-#define TYPEOF_CHAR 3
-#define TYPEOF_LONG 4
-#define TYPEOF_FLOAT 5
-#define TYPEOF_FIXED16X16 6
-#define TYPEOF_BIT 7
-#define TYPEOF_BITFIELD 8
-#define TYPEOF_SBIT 9
-#define TYPEOF_SFR 10
-#define TYPEOF_VOID 11
-#define TYPEOF_STRUCT 12
-#define TYPEOF_ARRAY 13
-#define TYPEOF_FUNCTION 14
-#define TYPEOF_POINTER 15
-#define TYPEOF_FPOINTER 16
-#define TYPEOF_CPOINTER 17
-#define TYPEOF_GPOINTER 18
-#define TYPEOF_PPOINTER 19
-#define TYPEOF_IPOINTER 20
-#define TYPEOF_EEPPOINTER 21
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/malloc.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/malloc.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/malloc.h (nonexistent)
@@ -1,50 +0,0 @@
-/*-------------------------------------------------------------------------
- malloc.h - malloc header file
-
- Copyright (C) 1997, Dmitry S. Obukhov
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDCC51_MALLOC_H
-#define __SDCC51_MALLOC_H
-#include
-#include
-
-#if _SDCC_MALLOC_TYPE_MLH
-
-void * calloc (size_t nmemb, size_t size);
-void * malloc (size_t size);
-void * realloc (void * ptr, size_t size);
-void free (void * ptr);
-
-#else
-
-extern void __xdata * calloc (size_t nmemb, size_t size);
-extern void __xdata * malloc (size_t size);
-extern void __xdata * realloc (void * ptr, size_t size);
-extern void free (void * ptr);
-
-#endif
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stddef.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stddef.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stddef.h (nonexistent)
@@ -1,43 +0,0 @@
-/*-------------------------------------------------------------------------
- stddef.h - ANSI functions forward declarations
-
- Copyright (C) 2004, Maarten Brock / sourceforge.brock@dse.nl
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDCC_STDDEF_H
-#define __SDCC_STDDEF_H 1
-
-#ifndef NULL
- #define NULL (void *)0
-#endif
-
-#ifndef _SIZE_T_DEFINED
-#define _SIZE_T_DEFINED
- typedef unsigned int size_t;
-#endif
-
-#define offsetof(s, m) __builtin_offsetof (s, m)
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ds80c390.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ds80c390.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ds80c390.h (nonexistent)
@@ -1,194 +0,0 @@
-/*-------------------------------------------------------------------------
- ds80c390.h - Register Declarations for the DALLAS DS80C390 Processor
- far from complete, e.g. no CAN
-
- Copyright (C) 2000, Johan Knol
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef DS80C390_H
-#define DS80C390_H
-
-__sfr __at 0x80 P4; /* ce3..ce0, a19..a16 */
-__sfr __at 0x81 SP; /* stack pointer */
-__sfr __at 0x82 DPL; /* data pointer 0 lsb */
-__sfr __at 0x83 DPH; /* data pointer 0 msb */
-__sfr __at 0x84 DPL1; /* data pointer 1 lsb */
-__sfr __at 0x85 DPH1; /* data pointer 1 msb */
-__sfr __at 0x86 DPS; /* data pointer select */
-__sfr __at 0x87 PCON; /* power control */
-__sfr __at 0x88 TCON; /* timer/counter control */
- __sbit __at 0x88 IT0;
- __sbit __at 0x89 IE0;
- __sbit __at 0x8a IT1;
- __sbit __at 0x8b IE1;
- __sbit __at 0x8c TR0;
- __sbit __at 0x8d TF0;
- __sbit __at 0x8e TR1;
- __sbit __at 0x8f TF1;
-__sfr __at 0x89 TMOD; /* timer mode control */
-__sfr __at 0x8a TL0; /* timer 0 lsb */
-__sfr __at 0x8b TL1; /* timer 1 msb */
-__sfr __at 0x8c TH0; /* timer 0 msb */
-__sfr __at 0x8d TH1; /* timer 1 msb */
-__sfr __at 0x8e CKCON; /* clock control */
-__sfr __at 0x90 P1;
- __sbit __at 0x90 T2;
- __sbit __at 0x91 T2EX;
- __sbit __at 0x92 RXD1;
- __sbit __at 0x93 TXD1;
- __sbit __at 0x94 INT2;
- __sbit __at 0x95 INT3;
- __sbit __at 0x96 INT4;
- __sbit __at 0x97 INT5;
-__sfr __at 0x91 EXIF; /* external interrupt flag */
-__sfr __at 0x92 P4CNT;
-__sfr __at 0x93 DPX; /* extended datapointer 0 */
-__sfr __at 0x95 DPX1; /* extended datapointer 1 */
-__sfr __at 0x98 SCON0; /* serial 0 control */
- __sbit __at 0x98 RI_0;
- __sbit __at 0x99 TI_0;
- __sbit __at 0x9a RB8_0;
- __sbit __at 0x9b TB8_0;
- __sbit __at 0x9c REN_0;
- __sbit __at 0x9d SM2_0;
- __sbit __at 0x9e SM1_0;
- __sbit __at 0x9f SM0_0;
- __sbit __at 0x9f FE_0; /* depending on SMOD0 */
-__sfr __at 0x99 SBUF0; /* serial 0 data buffer */
-__sfr __at 0x9b ESP; /* extended stack pointer */
-__sfr __at 0x9c AP; /* address page */
-__sfr __at 0x9d ACON; /* address control */
-__sfr __at 0xa0 P2; /* never mind the sbits */
-__sfr __at 0xa1 P5;
-__sfr __at 0xa2 P5CNT;
-__sfr __at 0xa8 IE; /* interrupt enable */
- __sbit __at 0xa8 EX0;
- __sbit __at 0xa9 ET0;
- __sbit __at 0xaa EX1;
- __sbit __at 0xab ET1;
- __sbit __at 0xac ES0;
- __sbit __at 0xad ET2;
- __sbit __at 0xae ES1;
- __sbit __at 0xaf EA;
-__sfr __at 0xb0 P3;
- __sbit __at 0xb0 RXD0;
- __sbit __at 0xb1 TXD0;
- __sbit __at 0xb2 INT0;
- __sbit __at 0xb3 INT1;
- __sbit __at 0xb4 T0;
- __sbit __at 0xb5 T1;
- __sbit __at 0xb6 WR;
- __sbit __at 0xb7 RD;
-__sfr __at 0xb8 IP; /* interupt priority */
- __sbit __at 0xb8 PX0; /* external 0 */
- __sbit __at 0xb9 PT0; /* timer 0 */
- __sbit __at 0xba PX1; /* external 1 */
- __sbit __at 0xbb PT1; /* timer 1 */
- __sbit __at 0xbc PS0; /* serial port 0 */
- __sbit __at 0xbd PT2; /* timer 2 */
- __sbit __at 0xbe PS1; /* serial port 1 */
-__sfr __at 0xc0 SCON1; /* serial 1 control */
- __sbit __at 0xc0 RI_1;
- __sbit __at 0xc1 TI_1;
- __sbit __at 0xc2 RB8_1;
- __sbit __at 0xc3 TB8_1;
- __sbit __at 0xc4 REN_1;
- __sbit __at 0xc5 SM2_1;
- __sbit __at 0xc6 SM1_1;
- __sbit __at 0xc7 SM0_1;
- __sbit __at 0xc7 FE_1; /* depending on SMOD0 */
-__sfr __at 0xc1 SBUF1; /* serial 1 data buffer */
-__sfr __at 0xc4 PMR; /* power managment */
-__sfr __at 0xc6 MCON; /* memory control register */
-__sfr __at 0xc7 TA; /* timed access register */
-__sfr __at 0xc8 T2CON; /* timer 2 control */
- __sbit __at 0xc8 CP_RL; /* capture/reload */
- __sbit __at 0xc9 C_T; /* count/timer */
- __sbit __at 0xca TR2; /* stop/run */
- __sbit __at 0xcb EXEN2;
- __sbit __at 0xcc TCLK;
- __sbit __at 0xcd RCLK;
- __sbit __at 0xce EXF2;
- __sbit __at 0xcf TF2; /* overflow flag */
-__sfr __at 0xc9 T2MOD; /* timer 2 mode */
-__sfr __at 0xca RCAP2L; /* timer 2 capture/reload */
-__sfr __at 0xca RTL2; /* depends on CP_RL */
-__sfr __at 0xcb RCAP2H;
-__sfr __at 0xcb RTH2;
-__sfr __at 0xcc TL2; /* timer 2 lsb */
-__sfr __at 0xcd TH2; /* timer 2 msb */
-__sfr __at 0xd0 PSW; /* program status word (byte actually) */
- __sbit __at 0xd0 P; /* parity */
- __sbit __at 0xd1 F1; /* user flag 1 */
- __sbit __at 0xd2 OV; /* overflow flag */
- __sbit __at 0xd3 RS0; /* register select l */
- __sbit __at 0xd4 RS1; /* register select h */
- __sbit __at 0xd5 F0; /* user flag 0 */
- __sbit __at 0xd6 AC; /* auxiliary carry flag */
- __sbit __at 0xd7 CY; /* carry flag */
-__sfr __at 0xd1 MCNT0; /* arithmetic accellerator */
-__sfr __at 0xd2 MCNT1;
-__sfr __at 0xd3 MA;
-__sfr __at 0xd4 MB;
-__sfr __at 0xd5 MC;
-__sfr __at 0xd8 WDCON; /* watch dog */
- __sbit __at 0xd8 RWT;
- __sbit __at 0xd9 EWT;
- __sbit __at 0xda WDRF;
- __sbit __at 0xdb WDIF;
- __sbit __at 0xdc PFI;
- __sbit __at 0xdd EPFI;
- __sbit __at 0xde POR;
- __sbit __at 0xdf SMOD_1;
-__sfr __at 0xe0 ACC; /* accumulator */
-__sfr __at 0xe8 EIE; /* extended interrupt enable */
- __sbit __at 0xe8 EX2;
- __sbit __at 0xe9 EX3;
- __sbit __at 0xea EX4;
- __sbit __at 0xeb EX5;
- __sbit __at 0xec EWDI;
- __sbit __at 0xed C1IE;
- __sbit __at 0xee C0IE;
- __sbit __at 0xef CANBIE;
-__sfr __at 0xea MXAX; /* extended address register */
-__sfr __at 0xf0 B; /* aux accumulator */
-__sfr __at 0xf8 EIP; /* extended interrupt priority */
- __sbit __at 0xf8 PX2;
- __sbit __at 0xf9 PX3;
- __sbit __at 0xfa PX4;
- __sbit __at 0xfb PX5;
- __sbit __at 0xfc PWDI;
- __sbit __at 0xfd C1IP;
- __sbit __at 0xfe C0IP;
- __sbit __at 0xff CANBIP;
-
-/* WORD/DWORD Registers */
-
-__sfr16 __at (0x8C8A) TMR0; /* TIMER 0 COUNTER */
-__sfr16 __at (0x8D8B) TMR1; /* TIMER 1 COUNTER */
-__sfr16 __at (0xCDCC) TMR2; /* TIMER 2 COUNTER */
-__sfr16 __at (0xCBCA) RCAP2; /* TIMER 2 CAPTURE REGISTER WORD */
-
-#endif /* DS80C390_H */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/tinibios.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/tinibios.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/tinibios.h (nonexistent)
@@ -1,153 +0,0 @@
-/*-------------------------------------------------------------------------
- time.h
-
- Copyright (C) 2001, Johan Knol
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef TINIBIOS_H
-
-#define TINIBIOS_H
-
-#include
-#include
-
-void Serial0Init (unsigned long baud, unsigned char buffered);
-char Serial0GetChar(void);
-void Serial0PutChar(char);
-char Serial0CharArrived(void);
-void Serial0Baud(unsigned long baud);
-void Serial0SendBreak(void);
-void Serial0Flush(void);
-
-void Serial0SwitchToBuffered(void); /* ds400 only. */
-
-void Serial1Init (unsigned long baud, unsigned char buffered);
-char Serial1GetChar(void);
-void Serial1PutChar(char);
-char Serial1CharArrived(void);
-void Serial1Baud(unsigned long baud);
-void Serial1SendBreak(void);
-void Serial1Flush(void);
-
-unsigned long ClockTicks();
-void ClockMilliSecondsDelay(unsigned long ms);
-void ClockMicroSecondsDelay(unsigned int us);
-
-#define SERIAL_0_BAUD 115200L
-#define SERIAL_1_BAUD 9600L
-
-/* these need to be binary numbers */
-#define SERIAL_0_RECEIVE_BUFFER_SIZE 1024
-#define SERIAL_1_RECEIVE_BUFFER_SIZE 64
-
-/* I know someone is fooling with the crystals */
-#if defined(SDCC_ds400)
-# define OSCILLATOR 14745600L
-#else
-# define OSCILLATOR 18432000L
-#endif
-
-/* Set the cpu speed in clocks per machine cycle, valid values are:
- 1024: Divide-by-1024 (power management) mode (screws ALL timers and serial)
- 4: Standard 8051 divide-by-4 mode
- 2: Use 2x xtal multiplier
- 1: Use 4x xtal multiplier (Don't do this with a TINI at 18.432MHz)
-*/
-#define CPU_SPEED 2
-void CpuSpeed(unsigned int speed);
-
-/* The MOVX stretch cycles, see datasheet */
-#define CPU_MOVX_STRETCH 0x01
-
-/* from rtc390.c */
-#define HAVE_RTC
-unsigned char RtcRead(struct tm *rtcDate);
-void RtcWrite(struct tm *rtcDate);
-
-/* from lcd390.c */
-extern void LcdInit(void);
-extern void LcdOn(void);
-extern void LcdOff(void);
-extern void LcdClear(void);
-extern void LcdHome(void);
-extern void LcdGoto(unsigned int collumnRow);
-extern void LcdPutChar(char c);
-extern void LcdPutString(char *string);
-extern void LcdLPutString(unsigned int collumnRow, char *string);
-extern void LcdPrintf(const char *format, ...) __reentrant;
-extern void LcdLPrintf(unsigned int collumnRow, const char *format, ...) __reentrant;
-
-/* from i2c390.c */
-#define I2C_BUFSIZE 128
-extern char I2CReset(void);
-extern char I2CStart(void);
-extern char I2CStop(void);
-extern char I2CSendStop(char addr, char count,
- char send_stop);
-extern char I2CReceive(char addr, char count);
-extern char I2CSendReceive(char addr, char tx_count,
- char rx_count);
-/*extern char I2CByteOut(char);*/
-/*extern void I2CDumpError(char);*/
-
-/* global transfer buffers */
-extern char i2cTransmitBuffer[I2C_BUFSIZE];
-extern char i2cReceiveBuffer[I2C_BUFSIZE];
-
-/* Macro for normal send transfer ending with a stop condition */
-#define I2CSend(addr, count) I2CSendStop(addr, count, 1)
-
-
-/* internal functions used by tinibios.c */
-unsigned char _sdcc_external_startup(void);
-void Serial0IrqHandler (void) __interrupt 4;
-void Serial1IrqHandler (void) __interrupt 7;
-
-#if !defined(SDCC_ds400)
-void ClockInit();
-void ClockIrqHandler (void) __interrupt 1 __naked;
-#endif
-
-#if defined(SDCC_ds400)
-/* functions for dealing with the ds400 ROM firmware. */
-
-/* A wrapper which calls rom_init allocating all available RAM in CE0
- to the heap, sets the serial port to SERIAL_0_BAUD, sets up the
- millisecond timer, and diddles the clock multiplier. */
-
-/* Values for the romInit "speed" parameter. */
-#define SPEED_1X 0 /* no clock multiplier, normal speed. */
-#define SPEED_2X 1 /* 2x clock multiplier. */
-#define SPEED_4X 2 /* 4x clock, DOESN'T WORK ON TINIm400! */
-
-unsigned char romInit(unsigned char noisy,
- char speed);
-
-/* Install an interrupt handler. */
-void installInterrupt(void (*isrPtr)(void), unsigned char offset);
-#endif
-
-
-#endif /* TINIBIOS_H */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/sdcc-lib.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/sdcc-lib.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/sdcc-lib.h (nonexistent)
@@ -1,51 +0,0 @@
-/*-------------------------------------------------------------------------
- sdcc-lib.h - Top level header file for the sdcc libraries that enables
- target specific features.
-
- Copyright (C) 2004, Maarten Brock, sourceforge.brock@dse.nl
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_SDCC_LIB_H
-#define __SDC51_SDCC_LIB_H 1
-
-#if defined(__z80)
-#include
-
-#elif defined(__gbz80)
-#include
-
-#elif defined(__mcs51)
-#include
-
-#elif defined(__ds390)
-#include
-
-#else
-/* PENDING */
-#include
-
-#endif
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdlib.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdlib.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdlib.h (nonexistent)
@@ -1,55 +0,0 @@
-/*-------------------------------------------------------------------------
- stdlib.h - ANSI functions forward declarations
-
- Copyright (C)1998, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_STDLIB_H
-#define __SDC51_STDLIB_H 1
-
-#ifndef NULL
-# define NULL (void *)0
-#endif
-
-#include
-
-int abs(int j);
-long int labs(long int j);
-
-extern float atof (const char *);
-extern int atoi (const char *);
-extern long atol (const char *);
-
-extern void _uitoa(unsigned int, char*, unsigned char);
-extern void _itoa(int, char*, unsigned char);
-
-extern void _ultoa(unsigned long, char*, unsigned char);
-extern void _ltoa(long, char*, unsigned char);
-
-#define RAND_MAX 32767
-
-int rand(void);
-void srand(unsigned int seed);
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdio.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdio.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdio.h (nonexistent)
@@ -1,71 +0,0 @@
-/*-------------------------------------------------------------------------
- stdio.h - ANSI functions forward declarations
-
- Copyright (C) 1998, Sandeep Dutta . sandeep.dutta@usa.net
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_STDIO_H
-#define __SDC51_STDIO_H 1
-
-#include
-
-#ifdef __ds390
-#include
-#endif
-
-#include
-
-#ifndef NULL
- #define NULL (void *)0
-#endif
-
-#ifndef _SIZE_T_DEFINED
-#define _SIZE_T_DEFINED
- typedef unsigned int size_t;
-#endif
-
-typedef void (*pfn_outputchar)(char c, void* p) _REENTRANT;
-
-extern int _print_format (pfn_outputchar pfn, void* pvoid, const char *format, va_list ap);
-
-/*-----------------------------------------------------------------------*/
-
-extern void printf_small (char *,...) _REENTRANT;
-extern int printf (const char *,...);
-extern int vprintf (const char *, va_list);
-extern int sprintf (char *, const char *, ...);
-extern int vsprintf (char *, const char *, va_list);
-extern int puts(const char *);
-extern char *gets(char *);
-extern char getchar(void);
-extern void putchar(char);
-
-#if defined(SDCC_mcs51) && !defined(SDCC_USE_XSTACK)
-extern void printf_fast(__code const char *fmt, ...) _REENTRANT;
-extern void printf_fast_f(__code const char *fmt, ...) _REENTRANT;
-extern void printf_tiny(__code const char *fmt, ...) _REENTRANT;
-#endif
-
-#endif /* __SDC51_STDIO_H */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdarg.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdarg.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/stdarg.h (nonexistent)
@@ -1,60 +0,0 @@
-/*-------------------------------------------------------------------------
- stdarg.h - ANSI macros for variable parameter list
-
- Copyright (C) 2000, Michael Hope
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_STDARG_H
-#define __SDC51_STDARG_H 1
-
-#if defined(__z80) || defined(__gbz80) || defined(__hc08)
-
-typedef unsigned char * va_list;
-#define va_start(marker, last) { marker = (va_list)&last + sizeof(last); }
-#define va_arg(marker, type) *((type *)((marker += sizeof(type)) - sizeof(type)))
-
-#elif defined(__ds390) || defined(__ds400)
-
-typedef unsigned char * va_list;
-#define va_start(marker, first) { marker = (va_list)&first; }
-#define va_arg(marker, type) *((type *)(marker -= sizeof(type)))
-
-#elif defined(SDCC_USE_XSTACK)
-
-typedef unsigned char __pdata * va_list;
-#define va_start(marker, first) { marker = (va_list)&first; }
-#define va_arg(marker, type) *((type __pdata *)(marker -= sizeof(type)))
-
-#else
-
-typedef unsigned char __data * va_list;
-#define va_start(marker, first) { marker = (va_list)&first; }
-#define va_arg(marker, type) *((type __data * )(marker -= sizeof(type)))
-
-#endif
-
-#define va_end(marker) marker = (va_list) 0;
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ctype.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ctype.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/ctype.h (nonexistent)
@@ -1,67 +0,0 @@
-/*-------------------------------------------------------------------------
- ctype.h - ANSI functions forward declarations
-
- Copyright (C) 1998, Sandeep Dutta . sandeep.dutta@usa.net
-
- Revisions:
- 1.0 - June.1.2000 1.0 - Bela Torok / bela.torok@kssg.ch
- order: function definitions -> macros
- corretced macro: isalpha(c)
- added macros: _tolower(c), _toupper(c), tolower(c), toupper(c) toascii(c)
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-#ifndef __SDC51_CTYPE_H
-#define __SDC51_CTYPE_H 1
-
-#include
-
-extern char iscntrl (unsigned char ) ;
-extern char isdigit (unsigned char ) ;
-extern char isgraph (unsigned char ) ;
-extern char islower (unsigned char ) ;
-extern char isupper (unsigned char ) ;
-extern char isprint (unsigned char ) ;
-extern char ispunct (unsigned char ) ;
-extern char isspace (unsigned char ) ;
-extern char isxdigit (unsigned char ) ;
-
-#define isalnum(c) (isalpha(c) || isdigit(c))
-#define isalpha(c) (isupper(c) || islower(c))
-
-/* ANSI versions of _tolower & _toupper
-#define _tolower(c) ((c) - ('a' - 'A'))
-#define _toupper(c) ((c) + ('a' - 'A'))
-*/
-
-/* The _tolower & _toupper functions below can applied to any
- alpha characters regardless of the case (upper or lower) */
-#define _tolower(c) (char)(((c) | (char)('a' - 'A')))
-#define _toupper(c) (char)(((c) & ~(char)('a' - 'A')))
-
-#define tolower(c) ((isupper(c)) ? _tolower(c) : (c))
-#define toupper(c) ((islower(c)) ? _toupper(c) : (c))
-#define toascii(c) ((c) & 0x7F)
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/errno.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/errno.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/errno.h (nonexistent)
@@ -1,41 +0,0 @@
-/*-------------------------------------------------------------------------
- errno.h: Error codes used in the math functions
-
- Copyright (C) 2001, Jesus Calvino-Fraga, jesusc@ieee.org
-
- This library is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2.1, or (at your option) any
- later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this library; see the file COPYING. If not, write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA.
-
- As a special exception, if you link this library with other files,
- some of which are compiled with SDCC, to produce an executable,
- this library does not by itself cause the resulting executable to
- be covered by the GNU General Public License. This exception does
- not however invalidate any other reasons why the executable file
- might be covered by the GNU General Public License.
--------------------------------------------------------------------------*/
-
-/* Version 1.0 - Initial release */
-
-#ifndef _INC_ERRNO
-#define _INC_ERRNO
-
-extern int errno;
-
-/* Error Codes: */
-
-#define EDOM 33 /* Math argument out of domain of functions */
-#define ERANGE 34 /* Math result not representable */
-
-#endif /* _INC_ERRNO */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/intr.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/intr.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/intr.h (nonexistent)
@@ -1,59 +0,0 @@
-/*
- * intr.h - Interrupts functions header file for FITKit
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
-*/
-
-#ifndef __INTR_H__
-#define __INTR_H__
-
-#define KCPSM
-
-#ifdef KCPSM
-#define EINT ENABLE INTERRUPT
-#define DINT DISABLE INTERRUPT
-#else
-#define EINT EINT
-#define DINT DINT
-#endif
-
-#define BOOL unsigned char
-
-void pbcc_enable_interrupt(void);
-void pbcc_disable_interrupt(void);
-//inline bool pbcc_enabled_interrupt();
-//void pbcc_set_interrupt_handler(void *(void))
-//void pbcc_set_interrupt(BOOL enable);
-
-
-void pbcc_enable_interrupt(void)
-{
- __asm
- EINT
- __endasm;
-}
-
-void pbcc_disable_interrupt(void)
-{
- __asm;
- DINT
- __endasm;
-}
-/*
-void pbcc_set_interrupt(BOOL enable)
-{
- if (enable)
- {
- pbcc_enable_interrupt();
- }
- else
- {
- pbcc_disable_interrupt();
- }
-
-}
-*/
-#endif
-
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/delay.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/delay.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/delay.h (nonexistent)
@@ -1,75 +0,0 @@
-
-/*
- * delay.h - delay functions header file
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#ifndef __DELAY_H__
-#define __DELAY_H__
-
-
-//#pragma library c
-
-/*
- * the delayNNtcy family of functions performs a
- * delay of NN cycles. Possible values for NN are:
- * 10 10*n cycles delay
- * 100 100*n cycles delay
- * 1k 1000*n cycles delay
- * 10k 10000*n cycles delay
- * 100k 100000*n cycles delay
- * 1m 1000000*n cycles delay
- */
-
-/*
-void delay10tcy(unsigned char) __wparam;
-void delay100tcy(unsigned char) __wparam;
-void delay1ktcy(unsigned char) __wparam;
-void delay10ktcy(unsigned char) __wparam;
-void delay100ktcy(unsigned char) __wparam;
-void delay1mtcy(unsigned char) __wparam;
-*/
-
-void delay(unsigned char time);
-//TODO: void delay(unsigned int time);
-
-void delay(unsigned char time)
-{
- volatile unsigned char i = time;
- for(; i > 0; i--)
- {
- __asm
- LOAD s2, 00
- ADD s2, 01
-
- LOAD s1, 00
-rpt22:
- ADD s1, 01
-
- LOAD s0, 00
-rpt11:
- ADD s0, 01
- JUMP NZ, rpt11
-
- COMPARE s1, 00
- JUMP NZ, rpt22
-
- __endasm;
- }
-}
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblaze3.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblaze3.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblaze3.h (nonexistent)
@@ -1,1070 +0,0 @@
-
-/*
- * pblaze.h - PicoBlaze3 Device Library Header
- *
- * This file is part of the GNU PIC Library.
- *
- * January, 2004
- * The GNU PIC Library is maintained by,
- * Vangelis Rokas
- *
- * $Id: pic18f452.h 3769 2005-05-24 11:22:24Z tecodev $
- *
- */
-
-#ifndef __PBLAZE3_H__
-#define __PBLAZE3_H__
-
-extern __sfr __at (0xf80) PORTA;
-typedef union {
- struct {
- unsigned RA0:1;
- unsigned RA1:1;
- unsigned RA2:1;
- unsigned RA3:1;
- unsigned RA4:1;
- unsigned RA5:1;
- unsigned RA6:1;
- unsigned :1;
- };
-
- struct {
- unsigned AN0:1;
- unsigned AN1:1;
- unsigned AN2:1;
- unsigned AN3:1;
- unsigned :1;
- unsigned AN4:1;
- unsigned OSC2:1;
- unsigned :1;
- };
-
- struct {
- unsigned :1;
- unsigned :1;
- unsigned VREFM:1;
- unsigned VREFP:1;
- unsigned T0CKI:1;
- unsigned SS:1;
- unsigned CLK0:1;
- unsigned :1;
- };
-
- struct {
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned LVDIN:1;
- unsigned :1;
- unsigned :1;
- };
-} __PORTAbits_t;
-
-extern volatile __PORTAbits_t __at (0xf80) PORTAbits;
-
-extern __sfr __at (0xf81) PORTB;
-typedef union {
- struct {
- unsigned RB0:1;
- unsigned RB1:1;
- unsigned RB2:1;
- unsigned RB3:1;
- unsigned RB4:1;
- unsigned RB5:1;
- unsigned RB6:1;
- unsigned RB7:1;
- };
-
- struct {
- unsigned INT0:1;
- unsigned INT1:1;
- unsigned INT2:1;
- unsigned INT3:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __PORTBbits_t;
-
-extern volatile __PORTBbits_t __at (0xf81) PORTBbits;
-
-extern __sfr __at (0xf82) PORTC;
-typedef union {
- struct {
- unsigned RC0:1;
- unsigned RC1:1;
- unsigned RC2:1;
- unsigned RC3:1;
- unsigned RC4:1;
- unsigned RC5:1;
- unsigned RC6:1;
- unsigned RC7:1;
- };
-
- struct {
- unsigned T1OSO:1;
- unsigned T1OSI:1;
- unsigned :1;
- unsigned SCK:1;
- unsigned SDI:1;
- unsigned SDO:1;
- unsigned TX:1;
- unsigned RX:1;
- };
-
- struct {
- unsigned T1CKI:1;
- unsigned CCP2:1;
- unsigned CCP1:1;
- unsigned SCL:1;
- unsigned SDA:1;
- unsigned :1;
- unsigned CK:1;
- unsigned DT:1;
- };
-} __PORTCbits_t;
-
-extern volatile __PORTCbits_t __at (0xf82) PORTCbits;
-
-extern __sfr __at (0xf83) PORTD;
-typedef union {
- struct {
- unsigned RD0:1;
- unsigned RD1:1;
- unsigned RD2:1;
- unsigned RD3:1;
- unsigned RD4:1;
- unsigned RD5:1;
- unsigned RD6:1;
- unsigned RD7:1;
- };
-
- struct {
- unsigned AD0:1;
- unsigned AD1:1;
- unsigned AD2:1;
- unsigned AD3:1;
- unsigned AD4:1;
- unsigned AD5:1;
- unsigned AD6:1;
- unsigned AD7:1;
- };
-} __PORTDbits_t;
-
-extern volatile __PORTDbits_t __at (0xf83) PORTDbits;
-
-extern __sfr __at (0xf84) PORTE;
-typedef union {
- struct {
- unsigned RE0:1;
- unsigned RE1:1;
- unsigned RE2:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-
- struct {
- unsigned ALE:1;
- unsigned OE:1;
- unsigned WRL:1;
- unsigned WRH:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned CCP2:1;
- };
-
- struct {
- unsigned AN5:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __PORTEbits_t;
-
-extern volatile __PORTEbits_t __at (0xf84) PORTEbits;
-
-extern __sfr __at (0xf89) LATA;
-typedef union {
- struct {
- unsigned LATA0:1;
- unsigned LATA1:1;
- unsigned LATA2:1;
- unsigned LATA3:1;
- unsigned LATA4:1;
- unsigned LATA5:1;
- unsigned LATA6:1;
- unsigned :1;
- };
-} __LATAbits_t;
-
-extern volatile __LATAbits_t __at (0xf89) LATAbits;
-
-extern __sfr __at (0xf8a) LATB;
-typedef union {
- struct {
- unsigned LATB0:1;
- unsigned LATB1:1;
- unsigned LATB2:1;
- unsigned LATB3:1;
- unsigned LATB4:1;
- unsigned LATB5:1;
- unsigned LATB6:1;
- unsigned LATB7:1;
- };
-} __LATBbits_t;
-
-extern volatile __LATBbits_t __at (0xf8a) LATBbits;
-
-extern __sfr __at (0xf8b) LATC;
-typedef union {
- struct {
- unsigned LATC0:1;
- unsigned LATC1:1;
- unsigned LATC2:1;
- unsigned LATC3:1;
- unsigned LATC4:1;
- unsigned LATC5:1;
- unsigned LATC6:1;
- unsigned LATC7:1;
- };
-} __LATCbits_t;
-
-extern volatile __LATCbits_t __at (0xf8b) LATCbits;
-
-extern __sfr __at (0xf8c) LATD;
-typedef union {
- struct {
- unsigned LATD0:1;
- unsigned LATD1:1;
- unsigned LATD2:1;
- unsigned LATD3:1;
- unsigned LATD4:1;
- unsigned LATD5:1;
- unsigned LATD6:1;
- unsigned LATD7:1;
- };
-} __LATDbits_t;
-
-extern volatile __LATDbits_t __at (0xf8c) LATDbits;
-
-extern __sfr __at (0xf8d) LATE;
-typedef union {
- struct {
- unsigned LATE0:1;
- unsigned LATE1:1;
- unsigned LATE2:1;
- unsigned LATE3:1;
- unsigned LATE4:1;
- unsigned LATE5:1;
- unsigned LATE6:1;
- unsigned LATE7:1;
- };
-} __LATEbits_t;
-
-extern volatile __LATEbits_t __at (0xf8d) LATEbits;
-
-extern __sfr __at (0xf92) TRISA;
-typedef union {
- struct {
- unsigned TRISA0:1;
- unsigned TRISA1:1;
- unsigned TRISA2:1;
- unsigned TRISA3:1;
- unsigned TRISA4:1;
- unsigned TRISA5:1;
- unsigned TRISA6:1;
- unsigned :1;
- };
-} __TRISAbits_t;
-
-extern volatile __TRISAbits_t __at (0xf92) TRISAbits;
-
-extern __sfr __at (0xf93) TRISB;
-typedef union {
- struct {
- unsigned TRISB0:1;
- unsigned TRISB1:1;
- unsigned TRISB2:1;
- unsigned TRISB3:1;
- unsigned TRISB4:1;
- unsigned TRISB5:1;
- unsigned TRISB6:1;
- unsigned TRISB7:1;
- };
-} __TRISBbits_t;
-
-extern volatile __TRISBbits_t __at (0xf93) TRISBbits;
-
-extern __sfr __at (0xf94) TRISC;
-typedef union {
- struct {
- unsigned TRISC0:1;
- unsigned TRISC1:1;
- unsigned TRISC2:1;
- unsigned TRISC3:1;
- unsigned TRISC4:1;
- unsigned TRISC5:1;
- unsigned TRISC6:1;
- unsigned TRISC7:1;
- };
-} __TRISCbits_t;
-
-extern volatile __TRISCbits_t __at (0xf94) TRISCbits;
-
-extern __sfr __at (0xf95) TRISD;
-typedef union {
- struct {
- unsigned TRISD0:1;
- unsigned TRISD1:1;
- unsigned TRISD2:1;
- unsigned TRISD3:1;
- unsigned TRISD4:1;
- unsigned TRISD5:1;
- unsigned TRISD6:1;
- unsigned TRISD7:1;
- };
-} __TRISDbits_t;
-
-extern volatile __TRISDbits_t __at (0xf95) TRISDbits;
-
-extern __sfr __at (0xf96) TRISE;
-typedef union {
- struct {
- unsigned TRISE0:1;
- unsigned TRISE1:1;
- unsigned TRISE2:1;
- unsigned :1;
- unsigned PSPMODE:1;
- unsigned IBOV:1;
- unsigned OBF:1;
- unsigned IBF:1;
- };
-} __TRISEbits_t;
-
-extern volatile __TRISEbits_t __at (0xf96) TRISEbits;
-
-extern __sfr __at (0xf9d) PIE1;
-typedef union {
- struct {
- unsigned TMR1IE:1;
- unsigned TMR2IE:1;
- unsigned CCP1IE:1;
- unsigned SSPIE:1;
- unsigned TXIE:1;
- unsigned RCIE:1;
- unsigned ADIE:1;
- unsigned PSPIE:1;
- };
-} __PIE1bits_t;
-
-extern volatile __PIE1bits_t __at (0xf9d) PIE1bits;
-
-extern __sfr __at (0xf9e) PIR1;
-typedef union {
- struct {
- unsigned TMR1IF:1;
- unsigned TMR2IF:1;
- unsigned CCP1IF:1;
- unsigned SSPIF:1;
- unsigned TXIF:1;
- unsigned RCIF:1;
- unsigned ADIF:1;
- unsigned PSPIF:1;
- };
-} __PIR1bits_t;
-
-extern volatile __PIR1bits_t __at (0xf9e) PIR1bits;
-
-extern __sfr __at (0xf9f) IPR1;
-typedef union {
- struct {
- unsigned TMR1IP:1;
- unsigned TMR2IP:1;
- unsigned CCP1IP:1;
- unsigned SSPIP:1;
- unsigned TXIP:1;
- unsigned RCIP:1;
- unsigned ADIP:1;
- unsigned PSPIP:1;
- };
-} __IPR1bits_t;
-
-extern volatile __IPR1bits_t __at (0xf9f) IPR1bits;
-
-extern __sfr __at (0xfa0) PIE2;
-typedef union {
- struct {
- unsigned CCP2IE:1;
- unsigned TMR3IE:1;
- unsigned LVDIE:1;
- unsigned BCLIE:1;
- unsigned EEIE:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __PIE2bits_t;
-
-extern volatile __PIE2bits_t __at (0xfa0) PIE2bits;
-
-extern __sfr __at (0xfa1) PIR2;
-typedef union {
- struct {
- unsigned CCP2IF:1;
- unsigned TMR3IF:1;
- unsigned LVDIF:1;
- unsigned BCLIF:1;
- unsigned EEIF:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __PIR2bits_t;
-
-extern volatile __PIR2bits_t __at (0xfa1) PIR2bits;
-
-extern __sfr __at (0xfa2) IPR2;
-typedef union {
- struct {
- unsigned CCP2IP:1;
- unsigned TMR3IP:1;
- unsigned LVDIP:1;
- unsigned BCLIP:1;
- unsigned EEIP:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __IPR2bits_t;
-
-extern volatile __IPR2bits_t __at (0xfa2) IPR2bits;
-
-extern __sfr __at (0xfa6) EECON1;
-typedef union {
- struct {
- unsigned RD:1;
- unsigned WR:1;
- unsigned WREN:1;
- unsigned WRERR:1;
- unsigned FREE:1;
- unsigned :1;
- unsigned CFGS:1;
- unsigned EEPGD:1;
- };
-} __EECON1bits_t;
-
-extern volatile __EECON1bits_t __at (0xfa6) EECON1bits;
-
-extern __sfr __at (0xfa7) EECON2;
-extern __sfr __at (0xfa8) EEDATA;
-extern __sfr __at (0xfa9) EEADR;
-extern __sfr __at (0xfab) RCSTA;
-typedef union {
- struct {
- unsigned RX9D:1;
- unsigned OERR:1;
- unsigned FERR:1;
- unsigned ADDEN:1;
- unsigned CREN:1;
- unsigned SREN:1;
- unsigned RX9:1;
- unsigned SPEN:1;
- };
-} __RCSTAbits_t;
-
-extern volatile __RCSTAbits_t __at (0xfab) RCSTAbits;
-
-extern __sfr __at (0xfac) TXSTA;
-typedef union {
- struct {
- unsigned TX9D:1;
- unsigned TRMT:1;
- unsigned BRGH:1;
- unsigned :1;
- unsigned SYNC:1;
- unsigned TXEN:1;
- unsigned TX9:1;
- unsigned CSRC:1;
- };
-} __TXSTAbits_t;
-
-extern volatile __TXSTAbits_t __at (0xfac) TXSTAbits;
-
-extern __sfr __at (0xfad) TXREG;
-extern __sfr __at (0xfae) RCREG;
-extern __sfr __at (0xfaf) SPBRG;
-extern __sfr __at (0xfb1) T3CON;
-typedef union {
- struct {
- unsigned TMR3ON:1;
- unsigned TMR3CS:1;
- unsigned T3SYNC:1;
- unsigned T3CCP1:1;
- unsigned T3CKPS0:1;
- unsigned T3CKPS1:1;
- unsigned T3CCP2:1;
- unsigned RD16:1;
- };
-} __T3CONbits_t;
-
-extern volatile __T3CONbits_t __at (0xfb1) T3CONbits;
-
-extern __sfr __at (0xfb2) TMR3L;
-extern __sfr __at (0xfb3) TMR3H;
-extern __sfr __at (0xfba) CCP2CON;
-typedef union {
- struct {
- unsigned CCP2M0:1;
- unsigned CCP2M1:1;
- unsigned CCP2M2:1;
- unsigned CCP2M3:1;
- unsigned DCCP2Y:1;
- unsigned DCCP2X:1;
- unsigned :1;
- unsigned :1;
- };
-} __CCP2CONbits_t;
-
-extern volatile __CCP2CONbits_t __at (0xfba) CCP2CONbits;
-
-extern __sfr __at (0xfbb) CCPR2L;
-extern __sfr __at (0xfbc) CCPR2H;
-extern __sfr __at (0xfbd) CCP1CON;
-typedef union {
- struct {
- unsigned CCP1M0:1;
- unsigned CCP1M1:1;
- unsigned CCP1M2:1;
- unsigned CCP1M3:1;
- unsigned DCCP1Y:1;
- unsigned DCCP1X:1;
- unsigned :1;
- unsigned :1;
- };
-} __CCP1CONbits_t;
-
-extern volatile __CCP1CONbits_t __at (0xfbd) CCP1CONbits;
-
-extern __sfr __at (0xfbe) CCPR1L;
-extern __sfr __at (0xfbf) CCPR1H;
-extern __sfr __at (0xfc1) ADCON1;
-typedef union {
- struct {
- unsigned PCFG0:1;
- unsigned PCFG1:1;
- unsigned PCFG2:1;
- unsigned PCFG3:1;
- unsigned :1;
- unsigned :1;
- unsigned ADCS2:1;
- unsigned ADFM:1;
- };
-} __ADCON1bits_t;
-
-extern volatile __ADCON1bits_t __at (0xfc1) ADCON1bits;
-
-extern __sfr __at (0xfc2) ADCON0;
-typedef union {
- struct {
- unsigned ADON:1;
- unsigned :1;
- unsigned GO:1;
- unsigned CHS0:1;
- unsigned CHS1:1;
- unsigned CHS2:1;
- unsigned ADCS0:1;
- unsigned ADCS1:1;
- };
-} __ADCON0bits_t;
-
-extern volatile __ADCON0bits_t __at (0xfc2) ADCON0bits;
-
-extern __sfr __at (0xfc3) ADRESL;
-extern __sfr __at (0xfc4) ADRESH;
-extern __sfr __at (0xfc5) SSPCON2;
-typedef union {
- struct {
- unsigned SEN:1;
- unsigned RSEN:1;
- unsigned PEN:1;
- unsigned RCEN:1;
- unsigned ACKEN:1;
- unsigned ACKDT:1;
- unsigned ACKSTAT:1;
- unsigned GCEN:1;
- };
-} __SSPCON2bits_t;
-
-extern volatile __SSPCON2bits_t __at (0xfc5) SSPCON2bits;
-
-extern __sfr __at (0xfc6) SSPCON1;
-typedef union {
- struct {
- unsigned SSPM0:1;
- unsigned SSPM1:1;
- unsigned SSPM2:1;
- unsigned SSPM3:1;
- unsigned CKP:1;
- unsigned SSPEN:1;
- unsigned SSPOV:1;
- unsigned WCOL:1;
- };
-} __SSPCON1bits_t;
-
-extern volatile __SSPCON1bits_t __at (0xfc6) SSPCON1bits;
-
-extern __sfr __at (0xfc7) SSPSTAT;
-typedef union {
- struct {
- unsigned BF:1;
- unsigned UA:1;
- unsigned R_W:1;
- unsigned S:1;
- unsigned P:1;
- unsigned D_A:1;
- unsigned CKE:1;
- unsigned SMP:1;
- };
-} __SSPSTATbits_t;
-
-extern volatile __SSPSTATbits_t __at (0xfc7) SSPSTATbits;
-
-extern __sfr __at (0xfc8) SSPADD;
-extern __sfr __at (0xfc9) SSPBUF;
-extern __sfr __at (0xfca) T2CON;
-typedef union {
- struct {
- unsigned T2CKPS0:1;
- unsigned T2CKPS1:1;
- unsigned TMR2ON:1;
- unsigned TOUTPS0:1;
- unsigned TOUTPS1:1;
- unsigned TOUTPS2:1;
- unsigned TOUTPS3:1;
- unsigned :1;
- };
-} __T2CONbits_t;
-
-extern volatile __T2CONbits_t __at (0xfca) T2CONbits;
-
-extern __sfr __at (0xfcb) PR2;
-extern __sfr __at (0xfcc) TMR2;
-extern __sfr __at (0xfcd) T1CON;
-typedef union {
- struct {
- unsigned TMR1ON:1;
- unsigned TMR1CS:1;
- unsigned NOT_T1SYNC:1;
- unsigned T1OSCEN:1;
- unsigned T1CKPS0:1;
- unsigned T1CKPS1:1;
- unsigned :1;
- unsigned RD16:1;
- };
-} __T1CONbits_t;
-
-extern volatile __T1CONbits_t __at (0xfcd) T1CONbits;
-
-extern __sfr __at (0xfce) TMR1L;
-extern __sfr __at (0xfcf) TMR1H;
-extern __sfr __at (0xfd0) RCON;
-typedef union {
- struct {
- unsigned BOR:1;
- unsigned POR:1;
- unsigned PD:1;
- unsigned TO:1;
- unsigned RI:1;
- unsigned :1;
- unsigned :1;
- unsigned IPEN:1;
- };
-} __RCONbits_t;
-
-extern volatile __RCONbits_t __at (0xfd0) RCONbits;
-
-extern __sfr __at (0xfd1) WDTCON;
-typedef union {
- struct {
- unsigned SWDTEN:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-
- struct {
- unsigned SWDTE:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __WDTCONbits_t;
-
-extern volatile __WDTCONbits_t __at (0xfd1) WDTCONbits;
-
-extern __sfr __at (0xfd2) LVDCON;
-typedef union {
- struct {
- unsigned LVDL0:1;
- unsigned LVDL1:1;
- unsigned LVDL2:1;
- unsigned LVDL3:1;
- unsigned LVDEN:1;
- unsigned VRST:1;
- unsigned :1;
- unsigned :1;
- };
-
- struct {
- unsigned LVV0:1;
- unsigned LVV1:1;
- unsigned LVV2:1;
- unsigned LVV3:1;
- unsigned :1;
- unsigned BGST:1;
- unsigned :1;
- unsigned :1;
- };
-} __LVDCONbits_t;
-
-extern volatile __LVDCONbits_t __at (0xfd2) LVDCONbits;
-
-extern __sfr __at (0xfd3) OSCCON;
-typedef union {
- struct {
- unsigned SCS:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __OSCCONbits_t;
-
-extern volatile __OSCCONbits_t __at (0xfd3) OSCCONbits;
-
-extern __sfr __at (0xfd5) T0CON;
-typedef union {
- struct {
- unsigned T0PS0:1;
- unsigned T0PS1:1;
- unsigned T0PS2:1;
- unsigned PSA:1;
- unsigned T0SE:1;
- unsigned T0CS:1;
- unsigned T08BIT:1;
- unsigned TMR0ON:1;
- };
-} __T0CONbits_t;
-
-extern volatile __T0CONbits_t __at (0xfd5) T0CONbits;
-
-extern __sfr __at (0xfd6) TMR0L;
-extern __sfr __at (0xfd7) TMR0H;
-extern __sfr __at (0xfd8) STATUS;
-typedef union {
- struct {
- unsigned C:1;
- unsigned DC:1;
- unsigned Z:1;
- unsigned OV:1;
- unsigned N:1;
- unsigned :1;
- unsigned :1;
- unsigned :1;
- };
-} __STATUSbits_t;
-
-extern volatile __STATUSbits_t __at (0xfd8) STATUSbits;
-
-extern __sfr __at (0xfd9) FSR2L;
-extern __sfr __at (0xfda) FSR2H;
-extern __sfr __at (0xfdb) PLUSW2;
-extern __sfr __at (0xfdc) PREINC2;
-extern __sfr __at (0xfdd) POSTDEC2;
-extern __sfr __at (0xfde) POSTINC2;
-extern __sfr __at (0xfdf) INDF2;
-extern __sfr __at (0xfe0) BSR;
-extern __sfr __at (0xfe1) FSR1L;
-extern __sfr __at (0xfe2) FSR1H;
-extern __sfr __at (0xfe3) PLUSW1;
-extern __sfr __at (0xfe4) PREINC1;
-extern __sfr __at (0xfe5) POSTDEC1;
-extern __sfr __at (0xfe6) POSTINC1;
-extern __sfr __at (0xfe7) INDF1;
-extern __sfr __at (0xfe8) WREG;
-extern __sfr __at (0xfe9) FSR0L;
-extern __sfr __at (0xfea) FSR0H;
-extern __sfr __at (0xfeb) PLUSW0;
-extern __sfr __at (0xfec) PREINC0;
-extern __sfr __at (0xfed) POSTDEC0;
-extern __sfr __at (0xfee) POSTINC0;
-extern __sfr __at (0xfef) INDF0;
-extern __sfr __at (0xff0) INTCON3;
-typedef union {
- struct {
- unsigned INT1F:1;
- unsigned INT2F:1;
- unsigned :1;
- unsigned INT1E:1;
- unsigned INT2E:1;
- unsigned :1;
- unsigned INT1P:1;
- unsigned INT2P:1;
- };
-
- struct {
- unsigned INT1IF:1;
- unsigned INT2IF:1;
- unsigned :1;
- unsigned INT1IE:1;
- unsigned INT2IE:1;
- unsigned :1;
- unsigned INT1IP:1;
- unsigned INT2IP:1;
- };
-} __INTCON3bits_t;
-
-extern volatile __INTCON3bits_t __at (0xff0) INTCON3bits;
-
-extern __sfr __at (0xff1) INTCON2;
-typedef union {
- struct {
- unsigned RBIP:1;
- unsigned :1;
- unsigned T0IP:1;
- unsigned :1;
- unsigned INTEDG2:1;
- unsigned INTEDG1:1;
- unsigned INTEDG0:1;
- unsigned RBPU:1;
- };
-} __INTCON2bits_t;
-
-extern volatile __INTCON2bits_t __at (0xff1) INTCON2bits;
-
-extern __sfr __at (0xff2) INTCON;
-typedef union {
- struct {
- unsigned RBIF:1;
- unsigned INT0F:1;
- unsigned T0IF:1;
- unsigned RBIE:1;
- unsigned INT0E:1;
- unsigned T0IE:1;
- unsigned PEIE:1;
- unsigned GIE:1;
- };
-} __INTCONbits_t;
-
-extern volatile __INTCONbits_t __at (0xff2) INTCONbits;
-
-extern __sfr __at (0xff3) PRODL;
-extern __sfr __at (0xff4) PRODH;
-extern __sfr __at (0xff5) TABLAT;
-extern __sfr __at (0xff6) TBLPTRL;
-extern __sfr __at (0xff7) TBLPTRH;
-extern __sfr __at (0xff8) TBLPTRU;
-extern __sfr __at (0xff9) PCL;
-extern __sfr __at (0xffa) PCLATH;
-extern __sfr __at (0xffb) PCLATU;
-extern __sfr __at (0xffc) STKPTR;
-typedef union {
- struct {
- unsigned STKPTR0:1;
- unsigned STKPTR1:1;
- unsigned STKPTR2:1;
- unsigned STKPTR3:1;
- unsigned STKPTR4:1;
- unsigned :1;
- unsigned STKUNF:1;
- unsigned STKFUL:1;
- };
-} __STKPTRbits_t;
-
-extern volatile __STKPTRbits_t __at (0xffc) STKPTRbits;
-
-extern __sfr __at (0xffd) TOSL;
-extern __sfr __at (0xffe) TOSH;
-extern __sfr __at (0xfff) TOSU;
-
-
-/* Configuration registers locations */
-#define __CONFIG1H 0x300001
-#define __CONFIG2L 0x300002
-#define __CONFIG2H 0x300003
-#define __CONFIG3H 0x300005
-#define __CONFIG4L 0x300006
-#define __CONFIG5L 0x300008
-#define __CONFIG5H 0x300009
-#define __CONFIG6L 0x30000A
-#define __CONFIG6H 0x30000B
-#define __CONFIG7L 0x30000C
-#define __CONFIG7H 0x30000D
-
-
-
-/* Oscillator 1H options */
-#define _OSC_RC_OSC2_1H 0xFF /* RC-OSC2 as RA6 */
-#define _OSC_HS_PLL_1H 0xFE /* HS-PLL Enabled */
-#define _OSC_EC_OSC2_RA6_1H 0xFD /* EC-OSC2 as RA6 */
-#define _OSC_EC_OSC2_Clock_Out_1H 0xFC /* EC-OSC2 as Clock_Out */
-#define _OSC_RC_1H 0xFB /* RC */
-#define _OSC_HS_1H 0xFA /* HS */
-#define _OSC_XT_1H 0xF9 /* XT */
-#define _OSC_LP_1H 0xF8 /* LP */
-
-/* Osc. Switch Enable 1H options */
-#define _OSCS_OFF_1H 0xFF /* Disabled */
-#define _OSCS_ON_1H 0xDF /* Enabled */
-
-/* Power Up Timer 2L options */
-#define _PUT_OFF_2L 0xFF /* Disabled */
-#define _PUT_ON_2L 0xFE /* Enabled */
-
-/* Brown Out Detect 2L options */
-#define _BODEN_ON_2L 0xFF /* Enabled */
-#define _BODEN_OFF_2L 0xFD /* Disabled */
-
-/* Brown Out Voltage 2L options */
-#define _BODENV_2_0V_2L 0xFF /* 2.0V */
-#define _BODENV_2_7V_2L 0xFB /* 2.7V */
-#define _BODENV_4_2V_2L 0xF7 /* 4.2V */
-#define _BODENV_4_5V_2L 0xF3 /* 4.5V */
-
-/* Watchdog Timer 2H options */
-#define _WDT_ON_2H 0xFF /* Enabled */
-#define _WDT_OFF_2H 0xFE /* Disabled */
-
-/* Watchdog Postscaler 2H options */
-#define _WDTPS_1_128_2H 0xFF /* 1:128 */
-#define _WDTPS_1_64_2H 0xFD /* 1:64 */
-#define _WDTPS_1_32_2H 0xFB /* 1:32 */
-#define _WDTPS_1_16_2H 0xF9 /* 1:16 */
-#define _WDTPS_1_8_2H 0xF7 /* 1:8 */
-#define _WDTPS_1_4_2H 0xF5 /* 1:4 */
-#define _WDTPS_1_2_2H 0xF3 /* 1:2 */
-#define _WDTPS_1_1_2H 0xF1 /* 1:1 */
-
-/* CCP2 Mux 3H options */
-#define _CCP2MUX_RC1_3H 0xFF /* RC1 */
-#define _CCP2MUX_RB3_3H 0xFE /* RB3 */
-
-/* Low Voltage Program 4L options */
-#define _LVP_ON_4L 0xFF /* Enabled */
-#define _LVP_OFF_4L 0xFB /* Disabled */
-
-/* Background Debug 4L options */
-#define _BACKBUG_OFF_4L 0xFF /* Disabled */
-#define _BACKBUG_ON_4L 0x7F /* Enabled */
-
-/* Stack Overflow Reset 4L options */
-#define _STVR_ON_4L 0xFF /* Enabled */
-#define _STVR_OFF_4L 0xFE /* Disabled */
-
-/* Code Protect 00200-01FFF 5L options */
-#define _CP_0_OFF_5L 0xFF /* Disabled */
-#define _CP_0_ON_5L 0xFE /* Enabled */
-
-/* Code Protect 02000-03FFF 5L options */
-#define _CP_1_OFF_5L 0xFF /* Disabled */
-#define _CP_1_ON_5L 0xFD /* Enabled */
-
-/* Code Protect 04000-05FFF 5L options */
-#define _CP_2_OFF_5L 0xFF /* Disabled */
-#define _CP_2_ON_5L 0xFB /* Enabled */
-
-/* Code Protect 06000-07FFF 5L options */
-#define _CP_3_OFF_5L 0xFF /* Disabled */
-#define _CP_3_ON_5L 0xF7 /* Enabled */
-
-/* Data EE Read Protect 5H options */
-#define _CPD_OFF_5H 0xFF /* Disabled */
-#define _CPD_ON_5H 0x7F /* Enabled */
-
-/* Code Protect Boot 5H options */
-#define _CPB_OFF_5H 0xFF /* Disabled */
-#define _CPB_ON_5H 0xBF /* Enabled */
-
-/* Table Write Protect 00200-01FFF 6L options */
-#define _WRT_0_OFF_6L 0xFF /* Disabled */
-#define _WRT_0_ON_6L 0xFE /* Enabled */
-
-/* Table Write Protect 02000-03FFF 6L options */
-#define _WRT_1_OFF_6L 0xFF /* Disabled */
-#define _WRT_1_ON_6L 0xFD /* Enabled */
-
-/* Table Write Protect 04000-05FFF 6L options */
-#define _WRT_2_OFF_6L 0xFF /* Disabled */
-#define _WRT_2_ON_6L 0xFB /* Enabled */
-
-/* Table Write Protect 06000-07FFF 6L options */
-#define _WRT_3_OFF_6L 0xFF /* Disabled */
-#define _WRT_3_ON_6L 0xF7 /* Enabled */
-
-/* Data EE Write Protect 6H options */
-#define _WRTD_OFF_6H 0xFF /* Disabled */
-#define _WRTD_ON_6H 0x7F /* Enabled */
-
-/* Table Write Protect Boot 6H options */
-#define _WRTB_OFF_6H 0xFF /* Disabled */
-#define _WRTB_ON_6H 0xBF /* Enabled */
-
-/* Config. Write Protect 6H options */
-#define _WRTC_OFF_6H 0xFF /* Disabled */
-#define _WRTC_ON_6H 0xDF /* Enabled */
-
-/* Table Read Protect 00200-01FFF 7L options */
-#define _EBTR_0_OFF_7L 0xFF /* Disabled */
-#define _EBTR_0_ON_7L 0xFE /* Enabled */
-
-/* Table Read Protect 02000-03FFF 7L options */
-#define _EBTR_1_OFF_7L 0xFF /* Disabled */
-#define _EBTR_1_ON_7L 0xFD /* Enabled */
-
-/* Table Read Protect 04000-05FFF 7L options */
-#define _EBTR_2_OFF_7L 0xFF /* Disabled */
-#define _EBTR_2_ON_7L 0xFB /* Enabled */
-
-/* Table Read Protect 06000-07FFF 7L options */
-#define _EBTR_3_OFF_7L 0xFF /* Disabled */
-#define _EBTR_3_ON_7L 0xF7 /* Enabled */
-
-/* Table Read Protect Boot 7H options */
-#define _EBTRB_OFF_7H 0xFF /* Disabled */
-#define _EBTRB_ON_7H 0xBF /* Enabled */
-
-
-/* Device ID locations */
-#define __IDLOC0 0x200000
-#define __IDLOC1 0x200001
-#define __IDLOC2 0x200002
-#define __IDLOC3 0x200003
-#define __IDLOC4 0x200004
-#define __IDLOC5 0x200005
-#define __IDLOC6 0x200006
-#define __IDLOC7 0x200007
-
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/kbd.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/kbd.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/kbd.h (nonexistent)
@@ -1,169 +0,0 @@
-/*
- * kbd.h - Keyboarch (16 keys) peripheral functions header file for FITKit
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
-*/
-
-#ifndef __KBD_H__
-#define __KBD_H__
-
-#include "delay.h"
-#include "port.h"
-
-#define port_kb_low 60
-#define port_kb_high 61
-
-#define CHAR_SPACE 0x20
-#define CHAR_0 0x30
-#define CHAR_1 0x31
-#define CHAR_2 0x32
-#define CHAR_3 0x33
-#define CHAR_4 0x34
-#define CHAR_5 0x35
-#define CHAR_6 0x36
-#define CHAR_7 0x37
-#define CHAR_8 0x38
-#define CHAR_9 0x39
-#define CHAR_A 0x41
-#define CHAR_B 0x42
-#define CHAR_C 0x43
-#define CHAR_D 0x44
-#define CHAR_STAR 0x2A
-#define CHAR_HASH 0x23
-
-#define ASM_CHAR_SPACE 20
-#define ASM_CHAR_0 30
-#define ASM_CHAR_1 31
-#define ASM_CHAR_2 32
-#define ASM_CHAR_3 33
-#define ASM_CHAR_4 34
-#define ASM_CHAR_5 35
-#define ASM_CHAR_6 36
-#define ASM_CHAR_7 37
-#define ASM_CHAR_8 38
-#define ASM_CHAR_9 39
-#define ASM_CHAR_A 41
-#define ASM_CHAR_B 42
-#define ASM_CHAR_C 43
-#define ASM_CHAR_D 44
-#define ASM_CHAR_STAR 2A
-#define ASM_CHAR_HASH 23
-
-
-unsigned char readkey()
-{
- volatile unsigned char key = 0;
- __asm
- INPUT _key, port_kb_low
-xch1:
- SRA _key
- JUMP NC, xch4
- LOAD _key, ASM_CHAR_1
- JUMP xchno
-
-xch4:
- SRA _key
- JUMP NC, xch7
- LOAD _key, ASM_CHAR_4
- JUMP xchno
-
-xch7:
- SRA _key
- JUMP NC, xchs
- LOAD _key, ASM_CHAR_7
- JUMP xchno
-
-xchs:
- SRA _key
- JUMP NC, xch2
- LOAD _key, ASM_CHAR_STAR
- JUMP xchno
-
-xch2:
- SRA _key
- JUMP NC, xch5
- LOAD _key, ASM_CHAR_2
- JUMP xchno
-
-xch5:
- SRA _key
- JUMP NC, xch8
- LOAD _key, ASM_CHAR_5
- JUMP xchno
-
-xch8:
- SRA _key
- JUMP NC, xch0
- LOAD _key, ASM_CHAR_8
- JUMP xchno
-
-xch0:
- SRA _key
- JUMP NC, xch3
- LOAD _key, ASM_CHAR_0
- JUMP xchno
-
-xch3:
- INPUT _key, port_kb_high
- SRA _key
- JUMP NC, xch6
- LOAD _key, ASM_CHAR_3
- JUMP xchno
-
-xch6:
- SRA _key
- JUMP NC, xch9
- LOAD _key, ASM_CHAR_6
- JUMP xchno
-
-xch9:
- SRA _key
- JUMP NC, xchm
- LOAD _key, ASM_CHAR_9
- JUMP xchno
-
-xchm:
- SRA _key
- JUMP NC, xcha
- LOAD _key, ASM_CHAR_HASH
- JUMP xchno
-
-xcha:
- SRA _key
- JUMP NC, xchb
- LOAD _key, ASM_CHAR_A
- JUMP xchno
-
-xchb:
- SRA _key
- JUMP NC, xchc
- LOAD _key, ASM_CHAR_B
- JUMP xchno
-
-xchc:
- SRA _key
- JUMP NC, xchd
- LOAD _key, ASM_CHAR_C
- JUMP xchno
-
-xchd:
- SRA _key
- JUMP NC, xchno
- LOAD _key, ASM_CHAR_D
-
-xchno:
-
- __endasm;
-
- return key;
-}
-
-
-
-
-
-
-
-
-#endif
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/limits.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/limits.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/limits.h (nonexistent)
@@ -1,51 +0,0 @@
-/*-------------------------------------------------------------------------
- limits.h - ANSI defines constants for sizes of integral types
-
- Adopted for the picoBlaze port by Zbynek Krivka
- [ krivka @ fit.vutbr.cz ] 2010
-
- Written By - Sandeep Dutta . sandeep.dutta@usa.net (1999)
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
- In other words, you are welcome to use, share and improve this program.
- You are forbidden to forbid anyone else to use, share and improve
- what you give them. Help stamp out software-hoarding!
--------------------------------------------------------------------------*/
-
-#ifndef __LIMITS_H
-#define __LIMITS_H 1
-
-#define CHAR_BIT 8 /* bits in a char */
-#define CHAR_MAX 127
-#define CHAR_MIN -128
-#define SCHAR_MAX CHAR_MAX
-#define SCHAR_MIN CHAR_MIN
-#define UCHAR_MAX 0xff
-#define UCHAR_MIN 0
-#define INT_MIN -32768
-#define INT_MAX 32767
-#define SHRT_MAX INT_MAX
-#define SHRT_MIN INT_MIN
-#define UINT_MAX 0xffff
-#define UINT_MIN 0
-#define USHRT_MAX UINT_MAX
-#define USHRT_MIN UINT_MIN
-#define LONG_MIN -2147483648
-#define LONG_MAX 2147483647
-#define ULONG_MAX 0xffffffff
-#define ULONG_MIN 0
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/lcd.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/lcd.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/lcd.h (nonexistent)
@@ -1,96 +0,0 @@
-/*
- * lcd.h - LCD peripheral functions header file for FITKit
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
-*/
-
-#ifndef __LCD_H__
-#define __LCD_H__
-
-#include "delay.h"
-#include "port.h"
-
-#define port_lcd_high 41
-#define port_lcd_low 40
-#define LCD_CLEAR_DISPLAY 01
-#define LCD_wr(arg) __port_write(0x40, (arg)); __port_write(0x41, 01)
-#define MIN_PAUSE 10
-
-void LCD_clear(void);
-void LCD_init(void);
-void LCD_set_cursor(void);
-void LCD_write(unsigned char ch);
-
-void LCD_clear(void)
-{
- __asm
- ; LCD clear
- LOAD s6, LCD_CLEAR_DISPLAY
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
- delay(MIN_PAUSE);
-}
-
-void LCD_set_cursor()
-{
- __asm;
- ; LCD - set cursor at the line beginning
- LOAD s6, 80
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
- delay(MIN_PAUSE);
-}
-
-void LCD_init()
-{
- __asm
- ; LCD clear
- LOAD s6, LCD_CLEAR_DISPLAY
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
- delay(MIN_PAUSE);
- __asm
- ; LCD function set - 8-bit carry, display consists of 2 parts, font 5x8
- LOAD s6, 38
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
- delay(MIN_PAUSE);
- __asm
- ; LCD display - show the cursor, turn the display ON
- LOAD s6, 0E
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
- delay(MIN_PAUSE);
- __asm
- ; LCD entry mode - increment cursor address automatically
- LOAD s6, 06
- OUTPUT s6, port_lcd_low
- LOAD s6, 00
- OUTPUT s6, port_lcd_high
- __endasm;
-
- LCD_set_cursor();
-
- delay(MIN_PAUSE);
-}
-
-void LCD_write(unsigned char ch)
-{
- __port_write(0x40, ch);
- __port_write(0x41, 01);
-}
-
-#endif
-
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/ctype.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/ctype.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/ctype.h (nonexistent)
@@ -1,74 +0,0 @@
-/*-------------------------------------------------------------------------
- ctype.h - ANSI functions forward declarations
-
- Modified for pic16 port by Vangelis Rokas, 2004, vrokas@otenet.gr
-
- Written By - Sandeep Dutta . sandeep.dutta@usa.net (1998)
-
- Revisions:
- 1.0 - June.1.2000 1.0 - Bela Torok / bela.torok@kssg.ch
- order: function definitions -> macros
- corretced macro: isalpha(c)
- added macros: _tolower(c), _toupper(c), tolower(c), toupper(c) toascii(c)
-
-
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
- In other words, you are welcome to use, share and improve this program.
- You are forbidden to forbid anyone else to use, share and improve
- what you give them. Help stamp out software-hoarding!
--------------------------------------------------------------------------*/
-
-/*
-** $Id: ctype.h 3648 2005-01-22 18:02:16Z vrokas $
-*/
-
-
-#ifndef __CTYPE_H
-#define __CTYPE_H 1
-
-/* link the C libarary */
-#pragma library c
-
-#include
-
-extern char iscntrl (unsigned char ) ;
-extern char isdigit (unsigned char ) ;
-extern char isgraph (unsigned char ) ;
-extern char islower (unsigned char ) ;
-extern char isupper (unsigned char ) ;
-extern char isprint (unsigned char ) ;
-extern char ispunct (unsigned char ) ;
-extern char isspace (unsigned char ) ;
-extern char isxdigit (unsigned char ) ;
-
-#define isalnum(c) (isalpha(c) || isdigit(c))
-#define isalpha(c) (isupper(c) || islower(c))
-
-/* ANSI versions of _tolower & _toupper
-#define _tolower(c) ((c) - ('a' - 'A'))
-#define _toupper(c) ((c) + ('a' - 'A'))
-*/
-
-// The _tolower & _toupper functions below can applied to any
-// alpha characters regardless of the case (upper or lower)
-#define _tolower(c) ((c) | ('a' - 'A'))
-#define _toupper(c) ((c) & ~('a' - 'A'))
-
-#define tolower(c) ((isupper(c)) ? _tolower(c) : (c))
-#define toupper(c) ((islower(c)) ? _toupper(c) : (c))
-#define toascii(c) ((c) & 0x7F)
-
-#endif
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/port.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/port.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/port.h (nonexistent)
@@ -1,39 +0,0 @@
-#ifndef __PORT_H__
-#define __PORT_H__
-
-#define MIN_PAUSE 10
-
-#include "delay.h"
-/*
- * port.h - port communication functions header file
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
-*/
-void __port_write(unsigned char, unsigned char);
-unsigned char __port_read(volatile unsigned char);
-
-void __port_write(unsigned char port, unsigned char arg)
-{
- unsigned volatile char p;
- unsigned volatile char a;
- p = port;
- a = arg;
- __asm
- OUTPUT _a, _p
- __endasm;
- delay(MIN_PAUSE);
-}
-
-unsigned char __port_read(volatile unsigned char port)
-{
- volatile unsigned char d = 0;
- volatile unsigned char p = port;
- __asm
- INPUT _d, _p
- __endasm;
- delay(MIN_PAUSE);
- return d;
-}
-
-#endif
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/stdint.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/stdint.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/stdint.h (nonexistent)
@@ -1,157 +0,0 @@
-/*-------------------------------------------------------------------------
- stdint.h - ISO C99 7.18 Integer types
-
- Written By - Maarten Brock, sourceforge.brock@dse.nl (2005)
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------*/
-
-#ifndef _STDINT_H
-#define _STDINT_H 1
-
-/* Exact integral types. */
-
-/* Signed. */
-
-typedef signed char int8_t;
-typedef short int int16_t;
-typedef long int int32_t;
-
-/* Unsigned. */
-typedef unsigned char uint8_t;
-typedef unsigned short int uint16_t;
-typedef unsigned long int uint32_t;
-
-
-/* Small types. */
-
-/* Signed. */
-typedef signed char int_least8_t;
-typedef short int int_least16_t;
-typedef long int int_least32_t;
-
-/* Unsigned. */
-typedef unsigned char uint_least8_t;
-typedef unsigned short int uint_least16_t;
-typedef unsigned long int uint_least32_t;
-
-
-/* Fast types. */
-
-/* Signed. */
-typedef signed char int_fast8_t;
-typedef int int_fast16_t;
-typedef long int int_fast32_t;
-
-/* Unsigned. */
-typedef unsigned char uint_fast8_t;
-typedef unsigned int uint_fast16_t;
-typedef unsigned long int uint_fast32_t;
-
-
-/* Types for `void *' pointers. */
-typedef long int intptr_t;
-typedef unsigned long int uintptr_t;
-
-
-/* Largest integral types. */
-typedef long int intmax_t;
-typedef unsigned long int uintmax_t;
-
-
-/* Limits of integral types. */
-
-/* Minimum of signed integral types. */
-# define INT8_MIN (-128)
-# define INT16_MIN (-32767-1)
-# define INT32_MIN (-2147483647L-1)
-/* Maximum of signed integral types. */
-# define INT8_MAX (127)
-# define INT16_MAX (32767)
-# define INT32_MAX (2147483647L)
-
-/* Maximum of unsigned integral types. */
-# define UINT8_MAX (255)
-# define UINT16_MAX (65535)
-# define UINT32_MAX (4294967295UL)
-
-/* Minimum of signed integral types having a minimum size. */
-# define INT_LEAST8_MIN (-128)
-# define INT_LEAST16_MIN (-32767-1)
-# define INT_LEAST32_MIN (-2147483647L-1)
-/* Maximum of signed integral types having a minimum size. */
-# define INT_LEAST8_MAX (127)
-# define INT_LEAST16_MAX (32767)
-# define INT_LEAST32_MAX (2147483647L)
-
-/* Maximum of unsigned integral types having a minimum size. */
-# define UINT_LEAST8_MAX (255)
-# define UINT_LEAST16_MAX (65535)
-# define UINT_LEAST32_MAX (4294967295UL)
-
-/* Minimum of fast signed integral types having a minimum size. */
-# define INT_FAST8_MIN (-128)
-# define INT_FAST16_MIN (-32767-1)
-# define INT_FAST32_MIN (-2147483647L-1)
-
-/* Maximum of fast signed integral types having a minimum size. */
-# define INT_FAST8_MAX (127)
-# define INT_FAST16_MAX (32767)
-# define INT_FAST32_MAX (2147483647L)
-
-/* Maximum of fast unsigned integral types having a minimum size. */
-# define UINT_FAST8_MAX (255)
-# define UINT_FAST16_MAX (65535)
-# define UINT_FAST32_MAX (4294967295UL)
-
-/* Values to test for integral types holding `void *' pointer. */
-# define INTPTR_MIN (-2147483647L-1)
-# define INTPTR_MAX (2147483647L)
-# define UINTPTR_MAX (4294967295UL)
-
-/* Minimum for largest signed integral type. */
-# define INTMAX_MIN (-__INT32_C(-2147483647L)-1)
-/* Maximum for largest signed integral type. */
-# define INTMAX_MAX (__INT32_C(2147483647L))
-
-/* Maximum for largest unsigned integral type. */
-# define UINTMAX_MAX (__UINT32_C(4294967295UL))
-
-
-/* Limits of other integer types. */
-
-/* Limits of `ptrdiff_t' type. */
-# define PTRDIFF_MIN (-2147483647L-1)
-# define PTRDIFF_MAX (2147483647L)
-
-/* Limit of `size_t' type. */
-# define SIZE_MAX (65535)
-
-/* Signed. */
-# define INT8_C(c) c
-# define INT16_C(c) c
-# define INT32_C(c) c ## L
-
-/* Unsigned. */
-# define UINT8_C(c) c ## U
-# define UINT16_C(c) c ## U
-# define UINT32_C(c) c ## UL
-
-/* Maximal type. */
-# define INTMAX_C(c) c ## L
-# define UINTMAX_C(c) c ## UL
-
-
-#endif /* stdint.h */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblazedevices.txt
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblazedevices.txt (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/pblazedevices.txt (nonexistent)
@@ -1,53 +0,0 @@
-#
-# Specification of devices supported by the PIC16 target of the
-# Small Devices C Compiler (SDCC).
-#
-# Lines starting with a hash '#' are ignored.
-# A new device specification must begin with a 'name' command.
-# Numbers can be given in any way acceptable for scanf's %d,
-# i.e., octal (0[0-7]*), decimal ([1-9][0-9]*), or hexadecimal
-# (0[xX][0-9a-fA-F]+).
-# Strings must not be quoted and may not contain whitespace!
-#
-# Valid commands are:
-# name
-# Begin specification of device type , e.g. 18f6720.
-# Aliases 'p' and 'pic' will be recognized as well.
-# using
-# Import specification from the named entry, which must be defined
-# earlier. Later commands overrule imported ones.
-# ramsize
-# This device has bytes of RAM.
-# split
-# Addresses below refer to bank 0, addresses above
-# refer to SFRs in bank 15 for references via the access bank.
-# configrange
-# Configuration registers occupy addresses to (both
-# included).
-# configword
-# The config word at address only implements the bits
-# indicated via (all others will be forced to 0 by the
-# compiler).
-# Unless overridden in C code, use the given default .
-# idlocrange
-# ID locations occupy addresses to (both included).
-# idword
-# Unless overridden in C code, use the given default .
-#
-
-name picoBlaze3
-ramsize 64
-split 0x40
-configrange 0x300001 0x30000d
-configword 0x300001 0x27 0xff
-configword 0x300002 0x0f 0xff
-configword 0x300003 0x0f 0xff
-configword 0x300005 0x01 0xff
-configword 0x300006 0x85 0xff
-configword 0x300008 0x0f 0xff
-configword 0x300009 0xc0 0xff
-configword 0x30000a 0x0f 0xff
-configword 0x30000b 0xe0 0xff
-configword 0x30000c 0x0f 0xff
-configword 0x30000d 0x40 0xff
-idlocrange 0x200000 0x200007
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/math.h
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/math.h (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/pblaze/math.h (nonexistent)
@@ -1,80 +0,0 @@
-/*
- * math.h - Basic Mathematical (decimal only) functions header file
- *
- * adopted for SDCC and picoBlaze port by Zbynek Krivka, 2010
- *
-*/
-
-#ifndef __MATH_H__
-#define __MATH_H__
-
-/*
-#pragma library math
-
-#include
-
-#define PI 3.1415926536
-#define TWO_PI 6.2831853071
-#define HALF_PI 1.5707963268
-#define QUART_PI 0.7853981634
-#define iPI 0.3183098862
-#define iTWO_PI 0.1591549431
-#define TWO_O_PI 0.6366197724
-
-// EPS=B**(-t/2), where B is the radix of the floating-point representation
-// and there are t base-B digits in the significand. Therefore, for floats
-// EPS=2**(-12). Also define EPS2=EPS*EPS.
-#define EPS 244.14062E-6
-#define EPS2 59.6046E-9
-#define XMAX 3.402823466E+38
-
-union float_long
-{
- float f;
- long l;
-};
-*/
-
-/**********************************************
- * Prototypes for float ANSI C math functions *
- **********************************************/
-
-/* Trigonometric functions */
-/*
-float sinf(const float x) _MATH_REENTRANT;
-float cosf(const float x) _MATH_REENTRANT;
-float tanf(const float x) _MATH_REENTRANT;
-float cotf(const float x) _MATH_REENTRANT;
-float asinf(const float x) _MATH_REENTRANT;
-float acosf(const float x) _MATH_REENTRANT;
-float atanf(const float x) _MATH_REENTRANT;
-float atan2f(const float x, const float y);
-*/
-/* Hyperbolic functions */
-/*
-float sinhf(const float x) _MATH_REENTRANT;
-float coshf(const float x) _MATH_REENTRANT;
-float tanhf(const float x) _MATH_REENTRANT;
-
-/* Exponential, logarithmic and power functions */
-/*
-float expf(const float x);
-float logf(const float x) _MATH_REENTRANT;
-float log10f(const float x) _MATH_REENTRANT;
-float powf(const float x, const float y);
-float sqrtf(const float a) _MATH_REENTRANT;
-*/
-/* Nearest integer, absolute value, and remainder functions */
-/*
-float fabsf(const float x) _MATH_REENTRANT;
-float frexpf(const float x, int *pw2);
-float ldexpf(const float x, const int pw2);
-float ceilf(float x) _MATH_REENTRANT;
-float floorf(float x) _MATH_REENTRANT;
-float modff(float x, float * y);
-*/
-
-unsigned int pow(const unsigned int x, const unsigned int y);
-unsigned int sqrt(const unsigned int a); //_MATH_REENTRANT;
-
-#endif /* __MATH_H */
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/device/include/Makefile (nonexistent)
@@ -1,128 +0,0 @@
-#
-#
-#
-
-VERSION = 3.0.1
-VERSIONHI = 3
-VERSIONLO = 0
-VERSIONP = 1
-
-SHELL = /bin/sh
-CPP = gcc -E
-INSTALL = /usr/bin/install -c
-CP = cp
-
-top_builddir = ../..
-top_srcdir = ../..
-
-prefix = /usr/local
-exec_prefix = ${prefix}
-bindir = ${exec_prefix}/bin
-libdir = ${exec_prefix}/lib
-datadir = ${datarootdir}
-datarootdir = ${prefix}/share
-includedir = ${prefix}/include
-mandir = ${datarootdir}/man
-man1dir = $(mandir)/man1
-man2dir = $(mandir)/man2
-infodir = ${datarootdir}/info
-
-srcdir = .
-
-include_dir_suffix = sdcc/include
-
-sdcc_includedir = $(DESTDIR)$(datadir)/$(include_dir_suffix)
-
-CPPFLAGS = -I$(top_builddir)
-
-
-# Compiling entire program or any subproject
-# ------------------------------------------
-all:
-
-# Compiling and installing everything and running test
-# ----------------------------------------------------
-install: all installdirs
- $(CP) -r $(srcdir)/asm $(srcdir)/*.h $(sdcc_includedir)
- if [ "`grep mcs51 $(top_builddir)/ports.build`" = mcs51 ]; then \
- $(CP) $(srcdir)/mcs51/*.h $(sdcc_includedir)/mcs51; \
- fi
- if [ "`grep ds390 $(top_builddir)/ports.build`" = ds390 ]; then \
- $(CP) $(srcdir)/ds390/*.h $(sdcc_includedir)/ds390; \
- fi
- if [ "`grep ds400 $(top_builddir)/ports.build`" = ds400 ]; then \
- $(CP) $(srcdir)/ds400/*.h $(sdcc_includedir)/ds400; \
- fi
- if [ "`grep xa51 $(top_builddir)/ports.build`" = xa51 ]; then \
- $(CP) $(srcdir)/xa51/*.h $(sdcc_includedir)/xa51; \
- fi
- if [ "`grep pic14 $(top_builddir)/ports.build`" = pic14 ]; then \
- $(CP) $(srcdir)/pic14/*.h $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/*.inc $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/*.txt $(sdcc_includedir)/pic14; \
- $(CP) $(srcdir)/pic14/pic14devices.txt $(sdcc_includedir)/pic14; \
- fi
- if [ "`grep pic16 $(top_builddir)/ports.build`" = pic16 ]; then \
- $(CP) $(srcdir)/pic16/*.h $(sdcc_includedir)/pic16; \
- $(CP) $(srcdir)/pic16/*.txt $(sdcc_includedir)/pic16; \
- fi
- if [ "`grep z80 $(top_builddir)/ports.build`" = z80 ]; then \
- $(CP) $(srcdir)/z80/*.h $(sdcc_includedir)/z80; \
- fi
- if [ "`grep hc08 $(top_builddir)/ports.build`" = hc08 ]; then \
- $(CP) $(srcdir)/hc08/*.h $(sdcc_includedir)/hc08; \
- fi
- rm -rf `find $(sdcc_includedir) -type d -name '.svn'`
- # some files in CVS are executable :-(
- find $(sdcc_includedir) -type f -exec chmod 644 {} \;
-
-
-# Deleting all the installed files
-# --------------------------------
-uninstall:
- rm -rf $(sdcc_includedir)
-
-
-# Performing self-test
-# --------------------
-check:
-
-
-# Performing installation test
-# ----------------------------
-installcheck:
-
-
-# Creating installation directories
-# ---------------------------------
-installdirs:
- [ -d $(sdcc_includedir) ] || mkdir -p $(sdcc_includedir)
- [ -d $(sdcc_includedir)/mcs51 ] || mkdir -p $(sdcc_includedir)/mcs51
- [ -d $(sdcc_includedir)/ds390 ] || mkdir -p $(sdcc_includedir)/ds390
- [ -d $(sdcc_includedir)/ds400 ] || mkdir -p $(sdcc_includedir)/ds400
- [ -d $(sdcc_includedir)/xa51 ] || mkdir -p $(sdcc_includedir)/xa51
- [ -d $(sdcc_includedir)/pic14 ] || mkdir -p $(sdcc_includedir)/pic14
- [ -d $(sdcc_includedir)/pic16 ] || mkdir -p $(sdcc_includedir)/pic16
- [ -d $(sdcc_includedir)/z80 ] || mkdir -p $(sdcc_includedir)/z80
- [ -d $(sdcc_includedir)/hc08 ] || mkdir -p $(sdcc_includedir)/hc08
-
-
-# Creating dependencies
-# ---------------------
-dep:
-
-include $(srcdir)/clean.mk
-
-# My rules
-# --------
-
-
-# Remaking configuration
-# ----------------------
-checkconf:
- @if [ -f $(top_builddir)/devel ]; then \
- $(MAKE) -f $(srcdir)/conf.mk srcdir="$(srcdir)" top_builddir="$(top_builddir)" \
- freshconf; \
- fi
-
-# End of main_in.mk/main.mk
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.c (nonexistent)
@@ -1,23 +0,0 @@
-// test array of ints
-
-#define ARRAY_SIZE 10
-
-volatile short numbers[ARRAY_SIZE] = {9,8,7,6,5,4,3,2,1,0};
-
-void main()
-{
- short i, j, temp;
-
- for (i = (ARRAY_SIZE - 1); i > 0; i--)
- {
- for (j = 1; j <= i; j++)
- {
- if (numbers[j-1] > numbers[j])
- {
- temp = numbers[j-1];
- numbers[j-1] = numbers[j];
- numbers[j] = temp;
- }
- }
- }
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.c (nonexistent)
@@ -1,17 +0,0 @@
-// test of inserted asm code into C code
-int i;
-
-/*
-asm
-ENABLE_INTERRUPT;
-endasm
-*/
-
-int main(void)
-{
-__asm
-INPUT s0
-__endasm;
-i = 10;
-return i;
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.c (nonexistent)
@@ -1,89 +0,0 @@
-// definice portu
-extern char PBLAZEPORT[];
-
-#define port_led 0x80
-#define port_lcd_low 0x70 // Port address
-#define port_lcd_high 0x71 // Port address 71 + 70 LE|LRS LD
-
-// INFO:
-// PORT[x] = y se mapuje automaticky na dvojici instrukci LOAD s?, y; OUTPUT s?, x
-// alokace registru se provadi dle aktualniho obsazeni
-#define set_led(val) PBLAZEPORT[port_led] = val
-
-#define led_on() set_led(0)
-#define led_off() set_led(1)
-
-volatile unsigned char x;
-/*
-
-#define lcd_cmd(cmd) { PBLAZEPORT[port_lcd_high] = 0; PBLAZEPORT[port_lcd_low] = cmd; delayms(); PBLAZEPORT[port_lcd_high] = 2; delayms(); PBLAZEPORT[port_lcd_high] = 0;}
-#define lcd_wr(cmd) { x=1; PBLAZEPORT[port_lcd_high] = x; x=cmd; PBLAZEPORT[port_lcd_low] = x; delayms(); x=3; PBLAZEPORT[port_lcd_high] = x; delayms(); x=1; PBLAZEPORT[port_lcd_high] = x;}
-
-*/
-#define lcd_cmd(cmd) { PBLAZEPORT[port_lcd_high] = 0; PBLAZEPORT[port_lcd_low] = cmd; delayms(); PBLAZEPORT[port_lcd_high] = 2; delayms(); PBLAZEPORT[port_lcd_high] = 0;}
-#define lcd_wr(cmd) { PBLAZEPORT[port_lcd_high] = 0; PBLAZEPORT[port_lcd_low] = cmd; delayms(); PBLAZEPORT[port_lcd_high] = 3; delayms(); PBLAZEPORT[port_lcd_high] = 1;}
-
-#define LCD_CLEAR_DISPLAY 0x01
-#define LCD_CURSOR_AT_HOME 0x02
-
-//cekaci smycka ~ 1ms
-void delayms() {
- volatile unsigned char i;
- volatile unsigned char j;
-
- for (i = 0; i < 100; i++)
- for (j = 0; j < 255; j++);
-
-}
-
-//cekaci smycka ~ 1s
-void delay1s() {
- volatile unsigned char i;
-
- for (i = 0; i < 100; i++)
- delayms();
-}
-
-
-void lcd_init() {
- lcd_cmd(LCD_CLEAR_DISPLAY);
- lcd_cmd(LCD_CURSOR_AT_HOME);
- lcd_cmd(0x38); // LCD function set - osmibitovy prenos, displej slozen ze dvou polovin, font 5x8
- lcd_cmd(0x0E); // LCD display - zobrazeni kurzoru, zapnuti displeje
- lcd_cmd(0x06); // LCD entry mode - automaticka inkrementace adresy kurzoru
-
-}
-
-void lcd_upd(unsigned char val) {
- lcd_cmd(0x80); //cursor zac
- lcd_wr('V');
- lcd_wr('L');
- lcd_wr('A');
- lcd_wr('M');
- lcd_wr(' ');
- val = val & 0xF;
- val = (val > 9) ? 55 + val : 48 + val;
- lcd_wr(val);
-}
-
-// hlavni program
-// blikani s LED, perioda 1 sekunda
-void main() {
- unsigned char val = 0;
-
- lcd_init();
-
- while (1) {
- lcd_upd(val);
- set_led(val++);
- delay1s();
-/*
- led_on();
- delay1s();
- led_off();
- delay1s();
-*/
- }
-}
-
-
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funargs.psm
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funargs.psm (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funargs.psm (nonexistent)
@@ -1,60 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.0.1 #6227 (Oct 24 2011) (CYGWIN)
-; This file was generated Mon Nov 28 08:43:45 2011
-;--------------------------------------------------------
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
-
- LOAD sF, 3f
- JUMP __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
-__sdcc_program_startup:
- CALL _main
-; return from main will lock up
-__sdcc_loop:
- JUMP __sdcc_loop
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- ; funargs.c:1: char f(char arg, char arg2)
-_f:
- LOAD s0, sB
- LOAD s1, sC
- ; funargs.c:3: return arg+arg2;
- ADD s0, s1
- LOAD sB, s0
- RETURN
- ; funargs.c:7: void main()
-_main:
- ; funargs.c:9: char i = 0;
- LOAD s0, 00
-_L00103:
- ; funargs.c:10: for(; i < 10; i++)
- TEST s0, 80
- JUMP C, _LC00111
- COMPARE s0, 0a
- JUMP C, _LC00111
- JUMP _L00107
-_LC00111:
- ; funargs.c:12: i++;
- ADD s0, 01
- ; funargs.c:13: f(i, 17);
- STORE s0, (sF)
- SUB sF, 01
- LOAD sB, s0
- LOAD sC, 11
- CALL _f
- ADD sF, 01
- FETCH s0, (sF)
- ; funargs.c:10: for(; i < 10; i++)
- ADD s0, 01
- JUMP _L00103
-_L00107:
- RETURN
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/build.bat
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/build.bat (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/build.bat (nonexistent)
@@ -1,8 +0,0 @@
-@REM Compile-only (no assembling and linking)
-..\..\bin\sdcc.exe %1 -mpblaze -S -I"..\..\device\include\pblaze"
-
-@REM Compile and assemble only (no linking)
-@REM ..\..\bin\sdcc.exe %1 -mpblaze -c -I"..\..\device\include\pblaze"
-
-@REM Compile, assemble and link
-@REM ..\..\bin\sdcc.exe %1 -mpblaze -I"..\..\device\include\pblaze"
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/demo.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/demo.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/demo.c (nonexistent)
@@ -1,42 +0,0 @@
-//#include
-
-void __port_write(char port, char arg) { }
-char __port_read(char port) { }
-void __nop() { }
-
-#define LCD_wr(arg) __port_write(0x01, (arg))
-#define LCD_rd() __port_read(0x01)
-#define LCD_busy() (LCD_rd() & 0x80) == 0x80
-
-void delay_ms(int ms)
-{
- int i;
- for (;;) {
- for (i=0; i < 10000; i++) __nop();
- }
-}
-
-void LCD_init()
-{
- LCD_wr(0x42);
- while (LCD_rd()) { __nop();}
- LCD_wr(0x43);
- delay_ms(10);
- LCD_wr(0x44);
- LCD_wr(0x45);
-}
-
-void LCD_write(char ch)
-{
- LCD_wr(0x46);
- LCD_wr(0x47);
-}
-
-int main(void) {
- char ch = 0x31;
- LCD_init();
- while (1) {
- LCD_write(ch);
- delay_ms(1000);
- }
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funstruct.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funstruct.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funstruct.c (nonexistent)
@@ -1,31 +0,0 @@
-struct s {
- int a;
- char b;
-} struktura;
-
-int sum(char nnn1, short n2, int n3)
-{
- return (int)nnn1 + n2 + n3;
-}
-
-void main()
-{
- char c = 29;
- short d = 57;
- int e = 113;
-
-
- if (sum(1, 2, 3) > 5)
- {
- sum(2, 3, c + d);
- return;
- }
- else
- {
- struktura.a = 99;
- }
- struktura.a = 2*e;
- struktura.b = c;
- sum (struktura.b, d, e);
-
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.psm
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.psm (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/asm.psm (nonexistent)
@@ -1,40 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.0.1 #6227 (Oct 24 2011) (CYGWIN)
-; This file was generated Sun Nov 27 22:27:30 2011
-;--------------------------------------------------------
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
- CONSTANT _i_1, 00
- CONSTANT _i_0, 01
-
- LOAD sF, 3f
- JUMP __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
-__sdcc_program_startup:
- CALL _main
-; return from main will lock up
-__sdcc_loop:
- JUMP __sdcc_loop
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- ; asm.c:10: int main(void)
-_main:
- ; asm.c:14: __endasm;
- INPUT s0
- ; asm.c:15: i = 10;
- LOAD s0, 0a
- LOAD s1, 00
- ; asm.c:16: return i;
- LOAD sC, 00
- LOAD sB, 0a
- STORE s1, _i_1
- STORE s0, _i_0
- RETURN
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.psm
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.psm (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test10.psm (nonexistent)
@@ -1,221 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.0.1 #6227 (Oct 24 2011) (CYGWIN)
-; This file was generated Sun Nov 27 22:31:09 2011
-;--------------------------------------------------------
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
- CONSTANT _numbers_19, 00
- CONSTANT _numbers_18, 01
- CONSTANT _numbers_17, 02
- CONSTANT _numbers_16, 03
- CONSTANT _numbers_15, 04
- CONSTANT _numbers_14, 05
- CONSTANT _numbers_13, 06
- CONSTANT _numbers_12, 07
- CONSTANT _numbers_11, 08
- CONSTANT _numbers_10, 09
- CONSTANT _numbers_9, 0a
- CONSTANT _numbers_8, 0b
- CONSTANT _numbers_7, 0c
- CONSTANT _numbers_6, 0d
- CONSTANT _numbers_5, 0e
- CONSTANT _numbers_4, 0f
- CONSTANT _numbers_3, 10
- CONSTANT _numbers_2, 11
- CONSTANT _numbers_1, 12
- CONSTANT _numbers_0, 13
-
- ; test10.c:5: volatile short numbers[ARRAY_SIZE] = {9,8,7,6,5,4,3,2,1,0};
- LOAD s0, _numbers_19
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 09
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 02
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 08
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 04
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 07
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 06
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 06
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 08
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 05
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 0a
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 04
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 0c
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 03
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 0e
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 02
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 10
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 01
- STORE s1, (s0)
- LOAD s0, _numbers_19
- ADD s0, 12
- LOAD s1, 00
- STORE s1, (s0)
- ADD s0, 01
- LOAD s1, 00
- STORE s1, (s0)
- LOAD sF, 3f
- JUMP __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
-__sdcc_program_startup:
- CALL _main
-; return from main will lock up
-__sdcc_loop:
- JUMP __sdcc_loop
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- ; test10.c:7: void main()
-_main:
- ; test10.c:11: for (i = (ARRAY_SIZE - 1); i > 0; i--)
- LOAD s0, 09
- LOAD s1, 00
-_L00107:
- TEST s1, 80
- JUMP C, _L00119
- LOAD s2, 00
- COMPARE s2, s1
- JUMP C, _LC00120
- LOAD s2, 00
- COMPARE s2, s0
- JUMP C, _LC00120
- JUMP _L00119
-_LC00120:
- ; test10.c:13: for (j = 1; j <= i; j++)
- LOAD s2, 01
- LOAD s3, 00
-_L00103:
- LOAD s4, s1
- XOR s4, s3
- AND s4, 80
- JUMP Z, _LC00122
- TEST s1, 80
- JUMP C, _L00118
- JUMP _LC00121
-_LC00122:
- COMPARE s1, s3
- JUMP C, _L00118
- COMPARE s0, s2
- JUMP C, _L00118
-_LC00121:
- ; test10.c:15: if (numbers[j-1] > numbers[j])
- LOAD s4, _numbers_19
- LOAD s5, s2
- SUB s5, 01
- SL0 s5
- ADD s4, s5
- FETCH s6, (s4)
- ADD s4, 01
- FETCH s7, (s4)
- LOAD s4, _numbers_19
- LOAD s8, s2
- LOAD s9, s3
- SL0 s8
- SLA s9
- ADD s4, s8
- FETCH sA, (s4)
- ADD s4, 01
- STORE s8, 14
- FETCH s8, (s4)
- LOAD s4, sA
- XOR s4, s6
- AND s4, 80
- JUMP Z, _LC00124
- TEST sA, 80
- JUMP NC, _L00105
- JUMP _LC00123
-_LC00124:
- COMPARE sA, s6
- JUMP C, _LC00123
- COMPARE s8, s7
- JUMP C, _LC00123
- JUMP _L00105
-_LC00123:
- ; test10.c:17: temp = numbers[j-1];
- LOAD s4, _numbers_19
- ADD s4, s5
- FETCH s6, (s4)
- ADD s4, 01
- FETCH s7, (s4)
- LOAD s4, s7
- LOAD s8, s6
- ; test10.c:18: numbers[j-1] = numbers[j];
- LOAD s6, _numbers_19
- ADD s6, s5
- LOAD s5, _numbers_19
- FETCH s7, 14
- ADD s5, s7
- FETCH sA, (s5)
- ADD s5, 01
- STORE s4, 14
- FETCH s4, (s5)
- STORE sA, (s6)
- ADD s6, 01
- STORE s4, (s6)
- ; test10.c:19: numbers[j] = temp;
- LOAD s4, _numbers_19
- ADD s4, s7
- STORE s8, (s4)
- ADD s4, 01
- FETCH s5, 14
- STORE s5, (s4)
-_L00105:
- ; test10.c:13: for (j = 1; j <= i; j++)
- ADD s2, 01
- ADDCY s3, 00
- JUMP _L00103
-_L00118:
- ; test10.c:11: for (i = (ARRAY_SIZE - 1); i > 0; i--)
- SUB s0, 01
- SUBCY s1, 00
- JUMP _L00107
-_L00119:
- RETURN
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testINOUT.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testINOUT.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testINOUT.c (nonexistent)
@@ -1,20 +0,0 @@
-// test INPUT/OUTPUT instrukci
-volatile char gl = 5;
-
-// definice portu
-extern char PBLAZEPORT[];
-
-void fun(char *a)
-{
- char i;
- for(i = 0; i < *a; i++) {
- PBLAZEPORT[i] = gl;
- }
-}
-
-void main()
-{
- char a = PBLAZEPORT[5];
- fun(&a);
-
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.psm
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.psm (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/vlam_lcd.psm (nonexistent)
@@ -1,303 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.0.1 #6227 (Oct 24 2011) (CYGWIN)
-; This file was generated Sun Nov 27 22:32:29 2011
-;--------------------------------------------------------
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
-
- LOAD sF, 3f
- JUMP __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
-__sdcc_program_startup:
- CALL _main
-; return from main will lock up
-__sdcc_loop:
- JUMP __sdcc_loop
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- ; vlam_lcd.c:30: void delayms() {
-_delayms:
- ; vlam_lcd.c:34: for (i = 0; i < 100; i++)
- LOAD s0, 00
-_L00105:
- LOAD s1, s0
- COMPARE s1, 64
- JUMP C, _LC00136
- JUMP _L00109
-_LC00136:
- ; vlam_lcd.c:35: for (j = 0; j < 255; j++);
- LOAD s1, 00
-_L00101:
- LOAD s2, s1
- COMPARE s2, ff
- JUMP C, _LC00137
- JUMP _L00107
-_LC00137:
- ADD s1, 01
- JUMP _L00101
-_L00107:
- ; vlam_lcd.c:34: for (i = 0; i < 100; i++)
- ADD s0, 01
- JUMP _L00105
-_L00109:
- RETURN
- ; vlam_lcd.c:40: void delay1s() {
-_delay1s:
- ; vlam_lcd.c:43: for (i = 0; i < 100; i++)
- LOAD s0, 00
-_L00115:
- LOAD s1, s0
- COMPARE s1, 64
- JUMP C, _LC00138
- JUMP _L00119
-_LC00138:
- ; vlam_lcd.c:44: delayms();
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- ; vlam_lcd.c:43: for (i = 0; i < 100; i++)
- ADD s0, 01
- JUMP _L00115
-_L00119:
- RETURN
- ; vlam_lcd.c:48: void lcd_init() {
-_lcd_init:
- ; vlam_lcd.c:49: lcd_cmd(LCD_CLEAR_DISPLAY);
- LOAD s0, 00
- OUTPUT s0, 71
- LOAD s0, 01
- OUTPUT s0, 70
- CALL _delayms
- LOAD s0, 02
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 00
- OUTPUT s0, 71
- ; vlam_lcd.c:50: lcd_cmd(LCD_CURSOR_AT_HOME);
- LOAD s0, 00
- OUTPUT s0, 71
- LOAD s0, 02
- OUTPUT s0, 70
- CALL _delayms
- LOAD s0, 02
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 00
- OUTPUT s0, 71
- ; vlam_lcd.c:51: lcd_cmd(0x38); // LCD function set - osmibitovy prenos, displej slozen ze dvou polovin, font 5x8
- LOAD s0, 00
- OUTPUT s0, 71
- LOAD s0, 38
- OUTPUT s0, 70
- CALL _delayms
- LOAD s0, 02
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 00
- OUTPUT s0, 71
- ; vlam_lcd.c:52: lcd_cmd(0x0E); // LCD display - zobrazeni kurzoru, zapnuti displeje
- LOAD s0, 00
- OUTPUT s0, 71
- LOAD s0, 0e
- OUTPUT s0, 70
- CALL _delayms
- LOAD s0, 02
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 00
- OUTPUT s0, 71
- ; vlam_lcd.c:53: lcd_cmd(0x06); // LCD entry mode - automaticka inkrementace adresy kurzoru
- LOAD s0, 00
- OUTPUT s0, 71
- LOAD s0, 06
- OUTPUT s0, 70
- CALL _delayms
- LOAD s0, 02
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 00
- OUTPUT s0, 71
- RETURN
- ; vlam_lcd.c:57: void lcd_upd(unsigned char val) {
-_lcd_upd:
- LOAD s0, sB
- ; vlam_lcd.c:58: lcd_cmd(0x80); //cursor zac
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 80
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 02
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 00
- OUTPUT s1, 71
- ; vlam_lcd.c:59: lcd_wr('V');
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 56
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 03
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 01
- OUTPUT s1, 71
- ; vlam_lcd.c:60: lcd_wr('L');
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 4c
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 03
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 01
- OUTPUT s1, 71
- ; vlam_lcd.c:61: lcd_wr('A');
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 41
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 03
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 01
- OUTPUT s1, 71
- ; vlam_lcd.c:62: lcd_wr('M');
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 4d
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 03
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 01
- OUTPUT s1, 71
- ; vlam_lcd.c:63: lcd_wr(' ');
- LOAD s1, 00
- OUTPUT s1, 71
- LOAD s1, 20
- OUTPUT s1, 70
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 03
- OUTPUT s1, 71
- STORE s0, (sF)
- SUB sF, 01
- CALL _delayms
- ADD sF, 01
- FETCH s0, (sF)
- LOAD s1, 01
- OUTPUT s1, 71
- ; vlam_lcd.c:64: val = val & 0xF;
- LOAD s1, s0
- AND s1, 0f
- ; vlam_lcd.c:65: val = (val > 9) ? 55 + val : 48 + val;
- LOAD s0, 09
- COMPARE s0, s1
- JUMP C, _LC00139
- JUMP _L00127
-_LC00139:
- LOAD s0, s1
- ADD s0, 37
- LOAD s2, s0
- JUMP _L00128
-_L00127:
- LOAD s0, s1
- ADD s0, 30
- LOAD s2, s0
-_L00128:
- LOAD s1, s2
- ; vlam_lcd.c:66: lcd_wr(val);
- LOAD s0, 00
- OUTPUT s0, 71
- OUTPUT s1, 70
- CALL _delayms
- LOAD s0, 03
- OUTPUT s0, 71
- CALL _delayms
- LOAD s0, 01
- OUTPUT s0, 71
- RETURN
- ; vlam_lcd.c:71: void main() {
-_main:
- ; vlam_lcd.c:74: lcd_init();
- CALL _lcd_init
- ; vlam_lcd.c:76: while (1) {
- LOAD s0, 00
-_L00131:
- ; vlam_lcd.c:77: lcd_upd(val);
- STORE s0, (sF)
- SUB sF, 01
- LOAD sB, s0
- CALL _lcd_upd
- ADD sF, 01
- FETCH s0, (sF)
- ; vlam_lcd.c:78: set_led(val++);
- LOAD s1, s0
- ADD s0, 01
- OUTPUT s1, 80
- ; vlam_lcd.c:79: delay1s();
- STORE s0, (sF)
- SUB sF, 01
- CALL _delay1s
- ADD sF, 01
- FETCH s0, (sF)
- JUMP _L00131
- RETURN
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/stubs.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/stubs.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/stubs.c (nonexistent)
@@ -1,5 +0,0 @@
-void main()
-{
-int i = 42;
-for (;;) {i--;};
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.c (nonexistent)
@@ -1,31 +0,0 @@
-// test bitových operací všeho druhu (pBlazeIDE)
-#include "port.h"
-
-void main()
-{
- volatile unsigned char c = 1;
- volatile unsigned char d = 1;
- volatile unsigned char e = 15;
-
- c <<= 4;
-
- c >>= 3;
-
- c |= c;
-
- c |= d + 1;
-
- c = c & d;
-
- d = ~e;
-
- e = c ^ d;
-
- c = !c && d || e;
- c = c || e;
-
- if (!c)
- {
- c = -e;
- }
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funvar.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funvar.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funvar.c (nonexistent)
@@ -1,11 +0,0 @@
-char globvar = 13;
-
-char test(char x)
-{
- return x;
-}
-
-void main()
-{
- test(globvar);
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funlit.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funlit.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/funlit.c (nonexistent)
@@ -1,14 +0,0 @@
-char sum(char nnn1, char n2, char n3)
-{
- return nnn1 + n2 + n3;
-}
-
-
-void main()
-{
- char c = 29;
- char d = 57;
- char e = 113;
- sum (c, d, e);
-
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/lcd.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/lcd.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/lcd.c (nonexistent)
@@ -1,56 +0,0 @@
-//#include
-
-void __port_write(char port, char arg) { }
-char __port_read(char port) { }
-void __nop() { }
-
-#define LED_wr(arg) __port_write(0x80, (arg))
-
-#define LCD_wr(arg) __port_write(0x01, (arg))
-#define LCD_rd() __port_read(0x01)
-#define LCD_busy() (LCD_rd() & 0x80) == 0x80
-
-void delay_ms(int ms)
-{
- int i;
- for (i=0;i>= 3;
-
- c |= c;
-
- c |= d + 1;
-
- c = c & d;
-
- d = ~e;
-
- e = c ^ d;
-
- c = !c && d || e;
- c = c || e;
-
- if (!c)
- {
- c = -e;
- }
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test8.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test8.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test8.c (nonexistent)
@@ -1,31 +0,0 @@
-// switch test
-
-void main()
-{
- volatile char c = 5;
-
- // JUMPTABLE generated
- switch(c)
- {
- case 10: c = 11; break;
- case 11: c = 22; break;
- case 12: c = 33; break;
- case 13: c = 44; break;
- case 14: c = 55; break;
- default: c = 99;
- break;
- }
-
- // sequence of IFXs generated
- switch(c)
- {
- case 10: c = 11; break;
- case 23: c = 22; break;
- case 31: c = 33; break;
- case 4: c = 44; break;
- case 59: c = 55; break;
- default: c = 99;
- break;
- }
-
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test9.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test9.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/test9.c (nonexistent)
@@ -1,17 +0,0 @@
-// test bitových operací - problem with NOT_OP (pBlazeIDE)
-
-/* link the C libarary */
-
-//#pragma library c
-
-void main()
-{
- volatile char c = 1;
- c = !c;
- c = 0;
- c = !c;
- c = c && c;
- c = c || c;
- c = 29;
- c = c % 13;
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/intr.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/intr.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/intr.c (nonexistent)
@@ -1,18 +0,0 @@
-// test of inserted asm code into C code
-int i;
-
-void ihandler() __interrupt (3) __using (7)
-{
- _asm
- DISALBE INTERRUPT
- _endasm;
-}
-
-int main(int x, int y)
-{
-_asm
-INPUT s0
-_endasm;
-i = 10;
-return i;
-}
\ No newline at end of file
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.psm
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.psm (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/inctest7.psm (nonexistent)
@@ -1,228 +0,0 @@
-;--------------------------------------------------------
-; File Created by SDCC : free open source ANSI-C Compiler
-; Version 3.0.1 #6227 (Oct 24 2011) (CYGWIN)
-; This file was generated Sun Nov 27 22:30:15 2011
-;--------------------------------------------------------
-;--------------------------------------------------------
-; global & static initialisations
-;--------------------------------------------------------
-
- LOAD sF, 3f
- JUMP __sdcc_program_startup
-;--------------------------------------------------------
-; Home
-;--------------------------------------------------------
-__sdcc_program_startup:
- CALL _main
-; return from main will lock up
-__sdcc_loop:
- JUMP __sdcc_loop
-;--------------------------------------------------------
-; code
-;--------------------------------------------------------
- ; ../../device/include/pblaze/delay.h:51: void delay(unsigned char time)
-_delay:
- LOAD s0, sB
- ; ../../device/include/pblaze/delay.h:53: volatile unsigned char i = time;
- LOAD s1, s0
-_L00101:
- ; ../../device/include/pblaze/delay.h:54: for(; i > 0; i--)
- LOAD s0, s1
- COMPARE s0, 00
- JUMP NZ, _LC00135
- JUMP _L00107
-_LC00135:
- LOAD s0, 01
- JUMP _L00108
-_L00107:
- LOAD s0, 00
-_L00108:
- COMPARE s0, 00
- JUMP NZ, _LC00136
- JUMP _L00105
-_LC00136:
- ; ../../device/include/pblaze/delay.h:72: __endasm;
- LOAD s2, 00
- ADD s2, 01
- LOAD s1, 00
- rpt22:
- ADD s1, 01
- LOAD s0, 00
- rpt11:
- ADD s0, 01
- JUMP NZ, rpt11
- COMPARE s1, 00
- JUMP NZ, rpt22
- ; ../../device/include/pblaze/delay.h:54: for(; i > 0; i--)
- SUB s1, 01
- JUMP _L00101
-_L00105:
- RETURN
- ; ../../device/include/pblaze/port.h:16: void __port_write(unsigned char port, unsigned char arg)
-___port_write:
- LOAD s0, sB
- LOAD s1, sC
- ; ../../device/include/pblaze/port.h:20: p = port;
- LOAD s2, s0
- ; ../../device/include/pblaze/port.h:21: a = arg;
- LOAD s0, s1
- ; ../../device/include/pblaze/port.h:24: __endasm;
- OUTPUT _a, _p
- ; ../../device/include/pblaze/port.h:25: delay(MIN_PAUSE);
- STORE s0, (sF)
- SUB sF, 01
- STORE s2, (sF)
- SUB sF, 01
- LOAD sB, 0a
- CALL _delay
- ADD sF, 01
- FETCH s2, (sF)
- ADD sF, 01
- FETCH s0, (sF)
- RETURN
- ; ../../device/include/pblaze/port.h:28: unsigned char __port_read(volatile unsigned char port)
-___port_read:
- LOAD s0, sB
- ; ../../device/include/pblaze/port.h:30: volatile unsigned char d = 0;
- LOAD s1, 00
- ; ../../device/include/pblaze/port.h:31: volatile unsigned char p = port;
- LOAD s2, s0
- LOAD s3, s2
- ; ../../device/include/pblaze/port.h:34: __endasm;
- INPUT _d, _p
- ; ../../device/include/pblaze/port.h:35: delay(MIN_PAUSE);
- STORE s0, (sF)
- SUB sF, 01
- STORE s1, (sF)
- SUB sF, 01
- STORE s3, (sF)
- SUB sF, 01
- LOAD sB, 0a
- CALL _delay
- ADD sF, 01
- FETCH s3, (sF)
- ADD sF, 01
- FETCH s1, (sF)
- ADD sF, 01
- FETCH s0, (sF)
- ; ../../device/include/pblaze/port.h:36: return d;
- LOAD s2, s1
- LOAD sB, s2
- RETURN
- ; inctest7.c:4: void main()
-_main:
- ; inctest7.c:6: volatile unsigned char c = 1;
- LOAD s0, 01
- ; inctest7.c:7: volatile unsigned char d = 1;
- LOAD s1, 01
- ; inctest7.c:8: volatile unsigned char e = 15;
- LOAD s2, 0f
- ; inctest7.c:10: c <<= 4;
- LOAD s3, s0
- SL0 s3
- SL0 s3
- SL0 s3
- SL0 s3
- LOAD s0, s3
- ; inctest7.c:12: c >>= 3;
- LOAD s3, s0
- SR0 s3
- SR0 s3
- SR0 s3
- LOAD s0, s3
- ; inctest7.c:14: c |= c;
- LOAD s3, s0
- LOAD s4, s0
- OR s4, s3
- LOAD s0, s4
- ; inctest7.c:16: c |= d + 1;
- LOAD s3, s1
- ADD s3, 01
- LOAD s4, s0
- OR s4, s3
- LOAD s0, s4
- ; inctest7.c:18: c = c & d;
- LOAD s3, s0
- LOAD s4, s1
- AND s3, s4
- LOAD s0, s3
- ; inctest7.c:20: d = ~e;
- LOAD s3, s2
- XOR s3, ff
- LOAD s1, s3
- ; inctest7.c:22: e = c ^ d;
- LOAD s3, s1
- LOAD s4, s0
- XOR s4, s3
- LOAD s2, s4
- ; inctest7.c:24: c = !c && d || e;
- LOAD s3, s0
- LOAD s4, 00
- COMPARE s3, 00
- JUMP NZ, _LC00137
- LOAD s4, 01
-_LC00137:
- COMPARE s4, 00
- JUMP NZ, _LC00138
- JUMP _L00123
-_LC00138:
- LOAD s3, s1
- COMPARE s3, 00
- JUMP Z, _LC00139
- JUMP _L00124
-_LC00139:
-_L00123:
- LOAD s3, 00
- JUMP _L00125
-_L00124:
- LOAD s3, 01
-_L00125:
- COMPARE s3, 00
- JUMP Z, _LC00140
- JUMP _L00121
-_LC00140:
- LOAD s3, s2
- COMPARE s3, 00
- JUMP Z, _LC00141
- JUMP _L00121
-_LC00141:
- LOAD s3, 00
- JUMP _L00122
-_L00121:
- LOAD s3, 01
-_L00122:
- LOAD s0, s3
- ; inctest7.c:25: c = c || e;
- LOAD s3, s0
- COMPARE s3, 00
- JUMP Z, _LC00142
- JUMP _L00127
-_LC00142:
- LOAD s3, s2
- COMPARE s3, 00
- JUMP Z, _LC00143
- JUMP _L00127
-_LC00143:
- LOAD s3, 00
- JUMP _L00128
-_L00127:
- LOAD s3, 01
-_L00128:
- LOAD s0, s3
- ; inctest7.c:27: if (!c)
- LOAD s3, s0
- COMPARE s3, 00
- JUMP Z, _LC00144
- JUMP _L00118
-_LC00144:
- ; inctest7.c:29: c = -e;
- LOAD s3, s2
- LOAD s4, s3
- XOR s4, ff
- ADD s4, 01
- LOAD s0, s4
-_L00118:
- RETURN
-;--------------------------------------------------------
-; interrupt vector
-;--------------------------------------------------------
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testM2.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testM2.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/testM2.c (nonexistent)
@@ -1,35 +0,0 @@
-// test ruzne typy ukazatelu
-
-int pole[] = {100,200,300,400};
-char text[] = "Pepa";
-int nepole = 6;
-volatile int *vgptr;
-int *gptr;
-
-
-char fun( volatile char *a, int b, char c, char *d)
-{
- volatile char val = 0;
- char t1 = *d;
-
- val = val * c;
- b = pole[3] & pole[1];
- text[2] = 'R';
- *d = text[3];
- return t1 + b + nepole;
-}
-
-void main()
-{
- volatile char a = 10;
- volatile char b = 20;
- char c = 30;
- gptr = &nepole;
- vgptr = &nepole;
- pole[1] = 150;
- pole[0] = *gptr;
- *vgptr = 18;
- fun(&a,555,c, &c);
- nepole = c;
-
-}
Index: sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/operators.c
===================================================================
--- sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/operators.c (revision 49)
+++ sw/tools/comp/pbcc/pbccv2-bin-win32-cygwin-2011-10-24/tests/pblaze/operators.c (nonexistent)
@@ -1,11 +0,0 @@
-int main()
-{
- int i = 0;
- int j = 13;
-zkouska:
- i += 2;
- j -= i;
- i |= j;
- goto zkouska;
- return i*j;
-}
\ No newline at end of file