summaryrefslogtreecommitdiff
path: root/map65/libm65/graycode.f90
blob: 2074241a6502779a1a183f993ef9b0547e5fc6bd (plain)
1
2
3
4
5
6
7
8
9
10
subroutine graycode(dat,n,idir)

  integer dat(n)
  do i=1,n
     dat(i)=igray(dat(i),idir)
  enddo

  return
end subroutine graycode