Kartik K. Agaram 11 months ago
parent
commit
c0db806820
  1. 1
      mu-init.subx
  2. 2
      shell/global.mu

1
mu-init.subx

@ -14,7 +14,6 @@ Entry:
bd/copy-to-ebp 0/imm32
#
#? (main 0 0 Primary-bus-secondary-drive)
#? (test-definition-in-environment)
# always first run tests
(run-tests)
(num-test-failures) # => eax

2
shell/global.mu

@ -158,7 +158,7 @@ fn render-globals screen: (addr screen), _self: (addr global-table), show-cursor
var global-id-a/eax: (addr int) <- index render-list, curr-index
var global-id/eax: int <- copy *global-id-a
compare global-id, 0
break-if-= $render-globals:loop
break-if-=
var global-offset/edx: (offset global) <- compute-offset data, global-id
var curr/edx: (addr global) <- index data, global-offset
var curr-input-ah/eax: (addr handle gap-buffer) <- get curr, input

Loading…
Cancel
Save