diff --git a/doc/.cvsignore b/doc/.cvsignore
index 2630f31b2..3b6e9f01c 100644
--- a/doc/.cvsignore
+++ b/doc/.cvsignore
@@ -1,9 +1,12 @@
.depend
-*.man
+*.aux
*.dvi
*.html
-*.info
+*.info
+*.log
+*.man
*.tex
+*.toc
ar65.txt
ca65.txt
cc65.txt
@@ -11,6 +14,7 @@ cl65.txt
coding.txt
debugging.txt
dio.txt
+funcref.txt
geos.txt
index.txt
intro.txt
diff --git a/doc/Makefile b/doc/Makefile
index 86bcfab38..73660d5cf 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -12,6 +12,7 @@ SGML = ar65.sgml \
coding.sgml \
debugging.sgml \
dio.sgml \
+ funcref.sgml \
geos.sgml \
index.sgml \
intro.sgml \
diff --git a/doc/funcref.sgml b/doc/funcref.sgml
new file mode 100644
index 000000000..9438c7b3c
--- /dev/null
+++ b/doc/funcref.sgml
@@ -0,0 +1,795 @@
+
+
+
+cc65 function reference
+Ullrich von Bassewitz,
+07.11.2002
+
+
+cc65 is a C compiler for 6502 based systems. This function reference describes
+the available C functions supplied by the library.
+
+
+
+
+
+
+
+Introduction
+
+cc65 is a C compiler for 6502 based systems. It implements a subset of the ISO
+C standard plus additional functions specially crafted for 6502 systems or
+just some of the supported machines. This function refrence describes the
+available functions together with any limitations.
+
+
+
+
+
+
+
+Functions by header file
+
+
diff --git a/doc/index.sgml b/doc/index.sgml
index d18542192..ad359e8de 100644
--- a/doc/index.sgml
+++ b/doc/index.sgml
@@ -43,6 +43,9 @@ Main documentation page, contains links to other available stuff.
Low level disk I/O API.
+
+ A (currently incomplete) function reference.
+
GEOSLib manual in several formats.