diff options
-rw-r--r-- | mu-init.subx | 26 | ||||
-rw-r--r-- | shell/sandbox.mu | 2 |
2 files changed, 14 insertions, 14 deletions
diff --git a/mu-init.subx b/mu-init.subx index b60249ba..749cf785 100644 --- a/mu-init.subx +++ b/mu-init.subx @@ -12,19 +12,19 @@ Entry: # initialize stack bd/copy-to-ebp 0/imm32 -#? (main 0 0 Primary-bus-secondary-drive) - # always first run tests - (run-tests) - (num-test-failures) # => eax - # call main if tests all passed - { - 3d/compare-eax-and 0/imm32 - 75/jump-if-!= break/disp8 - (clear-real-screen) - c7 0/subop/copy *Real-screen-cursor-x 0/imm32 - c7 0/subop/copy *Real-screen-cursor-y 0/imm32 - (main 0 0 Primary-bus-secondary-drive) - } + (main 0 0 Primary-bus-secondary-drive) +#? # always first run tests +#? (run-tests) +#? (num-test-failures) # => eax +#? # call main if tests all passed +#? { +#? 3d/compare-eax-and 0/imm32 +#? 75/jump-if-!= break/disp8 +#? (clear-real-screen) +#? c7 0/subop/copy *Real-screen-cursor-x 0/imm32 +#? c7 0/subop/copy *Real-screen-cursor-y 0/imm32 +#? (main 0 0 Primary-bus-secondary-drive) +#? } # hang indefinitely { diff --git a/shell/sandbox.mu b/shell/sandbox.mu index 1d9e2289..944bc88d 100644 --- a/shell/sandbox.mu +++ b/shell/sandbox.mu @@ -29,7 +29,7 @@ fn initialize-sandbox _self: (addr sandbox), screen-and-keyboard?: boolean { } # var trace-ah/eax: (addr handle trace) <- get self, trace - allocate trace-ah +#? allocate trace-ah var trace/eax: (addr trace) <- lookup *trace-ah initialize-trace trace, 0x8000/lines, 0x80/visible-lines var cursor-in-data?/eax: (addr boolean) <- get self, cursor-in-data? |