summaryrefslogtreecommitdiff
path: root/map65/libm65/m65_mod.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-06-22 12:03:55 +0200
committerChristoph Berg <myon@debian.org>2026-06-22 12:03:55 +0200
commitde18fc13175a5bf0e2b48a042d2fc06e87c88d24 (patch)
treef517074cd603d30eb7ba7e2122d38051e4c1439c /map65/libm65/m65_mod.f90
parentb76e8361909e47f0937d4a64a5a4cb5939f51eb7 (diff)
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
Update upstream source from tag 'upstream/3.0.2+dfsg'
Update to upstream version '3.0.2+dfsg' with Debian dir 90381fe7be9f5ea84d9b16c9cccf200a3fbe138b
Diffstat (limited to 'map65/libm65/m65_mod.f90')
-rw-r--r--map65/libm65/m65_mod.f9032
1 files changed, 32 insertions, 0 deletions
diff --git a/map65/libm65/m65_mod.f90 b/map65/libm65/m65_mod.f90
new file mode 100644
index 00000000..7d4cbd3e
--- /dev/null
+++ b/map65/libm65/m65_mod.f90
@@ -0,0 +1,32 @@
+module m65_mod
+
+use iso_c_binding, only: c_int8_t,c_int,c_loc, c_ptr
+use decodes_mod, only: nhsym1,nhsym2,ldecoded
+
+implicit none
+
+contains
+
+subroutine m65c() bind(C)
+ use decode0_mod
+ use npar_ptrs_mod, only: nhsym, nrxlog, datetime
+ integer :: npatience, nstandalone
+
+ npatience=1
+ if(nhsym.eq.nhsym1 .and. iand(nrxlog,1).ne.0) then
+ write(21,1000) datetime(1:17)
+1000 format(/'UTC Date: ', a17, /78('-'))
+ flush(21)
+ endif
+ if(iand(nrxlog,2).ne.0) rewind(21)
+ if(iand(nrxlog,4).ne.0) then
+ if(nhsym.eq.nhsym1) rewind(26)
+ if(nhsym.eq.nhsym2) backspace(26)
+ endif
+
+ nstandalone=0
+
+ call decode0(nstandalone)
+
+end subroutine m65c
+end module m65_mod