From 791bffb248d0056d6af03e0cfdcaeb3fe6d67ca5 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Mon, 4 Sep 2023 14:08:52 -0700 Subject: [PATCH] Add copy data back --- hw/efinix_fpga/super6502.xml | 2 +- sw/kernel/boot.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/efinix_fpga/super6502.xml b/hw/efinix_fpga/super6502.xml index e05eba3..5f9b3c7 100644 --- a/hw/efinix_fpga/super6502.xml +++ b/hw/efinix_fpga/super6502.xml @@ -1,5 +1,5 @@ - + diff --git a/sw/kernel/boot.s b/sw/kernel/boot.s index 93bf54b..d762892 100644 --- a/sw/kernel/boot.s +++ b/sw/kernel/boot.s @@ -38,7 +38,7 @@ _init: LDX #$FF ; Initialize stack pointer to $01FF ; Initialize memory storage JSR zerobss ; Clear BSS segment (no longer fails) - ; JSR copydata ; Initialize DATA segment (this also fails. but prints something) + JSR copydata ; Initialize DATA segment (this also fails. but prints something) JSR initlib ; Run constructors (This one works) ; ---------------------------------------------------------------------------