aboutsummaryrefslogtreecommitdiff
path: root/BUG6/bussing.udo
diff options
context:
space:
mode:
Diffstat (limited to 'BUG6/bussing.udo')
-rw-r--r--BUG6/bussing.udo17
1 files changed, 17 insertions, 0 deletions
diff --git a/BUG6/bussing.udo b/BUG6/bussing.udo
index 78755ce..56ea46a 100644
--- a/BUG6/bussing.udo
+++ b/BUG6/bussing.udo
@@ -36,6 +36,7 @@ endop
+
/*
Read from a stereo bus, and then clear the bus
@@ -57,6 +58,22 @@ opcode bus_read, aa, S
endop
+/*
+ Set to a stereo bus
+
+ bus_set Sbus, aL, aR
+
+ Sbus bus name
+ aL left channel
+ aR right channel
+*/
+opcode bus_set, 0, Saa
+ Sbus, aL, aR xin
+ SbusL, SbusR bus_name Sbus
+ chnset aL, SbusL
+ chnset aR, SbusR
+endop
+
#end