From 3c8b02b307323ae82722fa459c9702120fa87a6d Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Mon, 22 Oct 2018 16:41:59 -0400 Subject: [PATCH] megaload: RTS code had a lo/hi swap that made > 30k files not load qkumba fixed this, was an issue when reading next indirect table --- megademo/megaload.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/megademo/megaload.s b/megademo/megaload.s index e342808b..aac23062 100644 --- a/megademo/megaload.s +++ b/megademo/megaload.s @@ -266,9 +266,11 @@ L6: ; restore current address readdone: pla - sta adrhi +; sta adrhi +; pla + sta adrlo ; code originally had this backwards pla - sta adrlo + sta adrhi bcc readfirst lda $c0e8