Index: hatari/rem.py
===================================================================
--- hatari/rem.py	(revision cbc2fcf588b296398a02257ef1529ebbc36edbc0)
+++ hatari/rem.py	(revision f40d52b8589ce6f9e2486a896561b3714eb9ae54)
@@ -259,5 +259,5 @@
             send_alnum(c)
 
-        time.sleep(0.1)
+        time.sleep(0.075)
 
 def run_command(command):
@@ -270,5 +270,5 @@
     print("Waiting for completion")
     while not os.path.exists(sig_path):
-        time.sleep(0.5)
+        time.sleep(0.25)
 
     os.unlink(sig_path)
@@ -295,4 +295,23 @@
     send_line("")
 
+def archive_one(arch, base):
+    print("Adding {}.o to {}".format(base, arch))
+    run_command("cp d:\\out\\{}.o {}.o".format(base, base))
+    run_command("ar68 r {} {}.o".format(arch, base))
+    run_command("rm {}.o".format(base))
+    send_line("")
+
+def archive(arch, mod):
+    print("Creating {}".format(arch))
+
+    for path in mod:
+        (dir, file) = path.split("/")
+        (base, ext) = file.split(".")
+        archive_one(arch, base)
+
+    run_command("cp {} d:\\out\\{}".format(arch, arch))
+    run_command("rm {}".format(arch))
+    send_line("")
+
 print("Waiting for Hatari to connect to {}.".format(lis_path))
 hatari_connect()
@@ -323,2 +342,9 @@
         else:
             raise Exception("file {} with invalid extension {}".format(file, ext))
+
+archive("prolog.a", mod_prolog)
+archive("iolib.a", mod_iolib)
+archive("libcio.a", mod_libcio)
+archive("libsm.a", mod_libsm)
+archive("lib700.a", mod_lib700)
+archive("vlib.a", mod_vlib)
