changeset 2983:9b876d8e765e

mnln.asm: Fix obj.status.v command calling format text I also fixed the obj.status.v command (L0BF4). It's a debugging command used to display information about animated objects shown on the screen. The current implementation displays garbled text. The command calls a routine to format a string with arguments (L3ED6). The arguments to format are pushed on the stack before calling the formatting routine but two of them were incorrectly assigned.
author Guillaume Major <guillaume.major@gmail.com>
date Sat, 12 Apr 2014 15:30:29 +0200
parents 83f8f5e29ac5
children e6dfbff80f89
files 3rdparty/packages/sierra/objs_lsl/mnln.asm
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/packages/sierra/objs_lsl/mnln.asm	Sat Apr 12 15:30:16 2014 +0200
+++ b/3rdparty/packages/sierra/objs_lsl/mnln.asm	Sat Apr 12 15:30:29 2014 +0200
@@ -1462,8 +1462,8 @@
          pshs  x
          lbsr  L3ED6            format string
          leas  $08,s
-L0C71    pshs  u
-         leax  >$0192,s
+L0C71    pshs  x
+         ldx   >$0192,s
          pshs  x
          ldu   >$0196,s
          ldd   <$25,u           flags