summaryrefslogtreecommitdiff
path: root/board/MAI/bios_emulator/scitech/src/v86bios/awk.scr
diff options
context:
space:
mode:
Diffstat (limited to 'board/MAI/bios_emulator/scitech/src/v86bios/awk.scr')
-rwxr-xr-xboard/MAI/bios_emulator/scitech/src/v86bios/awk.scr15
1 files changed, 15 insertions, 0 deletions
diff --git a/board/MAI/bios_emulator/scitech/src/v86bios/awk.scr b/board/MAI/bios_emulator/scitech/src/v86bios/awk.scr
new file mode 100755
index 0000000..9d2a80d
--- /dev/null
+++ b/board/MAI/bios_emulator/scitech/src/v86bios/awk.scr
@@ -0,0 +1,15 @@
+/.*\(0x3da.*/||/.*\(0x3ba.*/ {
+ if (v_3da != 1) print "_v_retrace_";
+ v_3da = 1;
+ next;
+ }
+/.*\(0x42.*/||/.*\(0x43.*/ {
+ if (v_4x != 1) print "_timer_";
+ v_4x = 1;
+ next;
+}
+{
+ print;
+ v_3da = 0;
+ v_4x = 0;
+}