From 635a7f58a7e1c756cad9b35c151982a79ec5294f Mon Sep 17 00:00:00 2001 From: Kyle J Cardoza Date: Fri, 12 Jul 2024 00:24:25 -0400 Subject: [PATCH] combined boot.s into cstartup.s --- src/kernel/cstartup.s | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/kernel/cstartup.s b/src/kernel/cstartup.s index 4e68ff4..92ddf24 100755 --- a/src/kernel/cstartup.s +++ b/src/kernel/cstartup.s @@ -28,6 +28,9 @@ __program_root_section: .asciz "WDC" w65c265s_init: + ; Begin tracing for the emulator. NOP for the real hardware. + wdm #0x80 + ; Disable interrupts sei stz UIER @@ -70,8 +73,6 @@ delay_y tsb PDD6 trb PD6 - - wdm #0x80 clc xce ; native 16-bit mode rep #0x38 ; 16-bit registers, no decimal mode @@ -128,8 +129,6 @@ __call_heap_initialize: lda ##.word0 (.sectionSize heap) jsl long:__heap_initialize - wdm #0x81 - .section boot, root, noreorder lda ##0 ; argc = 0 jsl long:main