diff --git a/common/common.asm b/common/common.asm index c8bbed9..45219b9 100644 --- a/common/common.asm +++ b/common/common.asm @@ -65,11 +65,11 @@ _5 TXA ; get operand RTS ; "return" to routine .) -_INI .( ; initialize common +_INI .( ; initialize common + LDA #0 ; initialize RSI + STA _RSI ; copy system functions (TODO) ; load program (TODO) - LDA #0 ; clear RSI - STA _RSI JMP (_PC) ; go to last loaded block .)