From 70e1c59f0e40a1ff2c0eb516792c1153f84582a6 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 10 Jan 2015 14:47:26 +0000 Subject: [PATCH] crt0.s: load $FF into S not $0 --- Kernel/platform-tgl6502/crt0.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-tgl6502/crt0.s b/Kernel/platform-tgl6502/crt0.s index 04a569bf..0b5f8c46 100644 --- a/Kernel/platform-tgl6502/crt0.s +++ b/Kernel/platform-tgl6502/crt0.s @@ -27,7 +27,7 @@ sei ; interrupts off cld ; decimal off - ldx #$00 + ldx #$FF txs ; Stack (6502 not C) ; -- 2.34.1