diff ater/dbits.c @ 49:40f781efdbe1

ater: beginning of D144 mode
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 24 Sep 2024 05:59:28 +0000
parents 349fb785a414
children
line wrap: on
line diff
--- a/ater/dbits.c	Fri Sep 13 01:03:43 2024 +0000
+++ b/ater/dbits.c	Tue Sep 24 05:59:28 2024 +0000
@@ -41,6 +41,10 @@
 		fprintf(stderr, "error: subslot %d is not in data mode\n", nr);
 		return;
 	}
+	if (at->is_data_144) {
+		fprintf(stderr, "error: subslot %d is in D144 mode\n", nr);
+		return;
+	}
 	fr = &at->ul_frame;
 	d_offset = atoi(argv[2]);
 	if (d_offset >= 252) {