about summary refs log tree commit diff stats
path: root/subx/055trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-05 22:43:28 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-05 22:43:28 -0800
commit0fe9e7b9dcdaf6110da9a4e2a417234faaf3977e (patch)
treefb01e408003dc904ea6071be9cdee65796658c79 /subx/055trace.subx
parent8b0e960dbb2823b48f41c64bd6b1d4f5a6060b33 (diff)
downloadmu-0fe9e7b9dcdaf6110da9a4e2a417234faaf3977e.tar.gz
4742
Diffstat (limited to 'subx/055trace.subx')
-rw-r--r--subx/055trace.subx3
1 files changed, 2 insertions, 1 deletions
diff --git a/subx/055trace.subx b/subx/055trace.subx
index dd187c75..c938f564 100644
--- a/subx/055trace.subx
+++ b/subx/055trace.subx
@@ -66,7 +66,8 @@ initialize-trace-stream:
   c7          0/copy              1/mod/*+disp8   0/rm32/EAX    .           .             .           .           8/disp8         0xff4/imm32       # copy 0xff4 to *(EAX+8)
   c3/return
 
-# Append to the given trace stream.
+# Append a string to the given trace stream.
+# Silently give up if it's already full. Or truncate the string if there isn't enough room.
 trace:  # t : (address trace-stream), line : string
   # prolog
   55/push-EBP