summaryrefslogtreecommitdiff
path: root/map65/libm65/graycode.f90
diff options
context:
space:
mode:
Diffstat (limited to 'map65/libm65/graycode.f90')
-rw-r--r--map65/libm65/graycode.f9010
1 files changed, 10 insertions, 0 deletions
diff --git a/map65/libm65/graycode.f90 b/map65/libm65/graycode.f90
new file mode 100644
index 00000000..2074241a
--- /dev/null
+++ b/map65/libm65/graycode.f90
@@ -0,0 +1,10 @@
+subroutine graycode(dat,n,idir)
+
+ integer dat(n)
+ do i=1,n
+ dat(i)=igray(dat(i),idir)
+ enddo
+
+ return
+end subroutine graycode
+