From 65975d61fbbfbb0eb4818b0ba22fc96fb51df011 Mon Sep 17 00:00:00 2001 From: Kyle J Cardoza Date: Thu, 11 Jul 2024 22:36:52 -0400 Subject: [PATCH] init work --- src/kernel/cstartup.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kernel/cstartup.s b/src/kernel/cstartup.s index 89149ae..b5ed82e 100755 --- a/src/kernel/cstartup.s +++ b/src/kernel/cstartup.s @@ -60,14 +60,14 @@ __data_initialization_needed: sta dp:.tiny(_Dp+2) lda ##.word0 (.sectionStart data_init_table) sta dp:.tiny(_Dp+0) - call __initialize_sections + jsl long:__initialize_sections ;;; **** Initialize streams if needed. .section code, noroot, noreorder .pubweak __call_initialize_global_streams .extern __initialize_global_streams __call_initialize_global_streams: - call __initialize_global_streams + jsl long:__initialize_global_streams ;;; **** Initialize heap if needed. .section code, noroot, noreorder @@ -84,9 +84,9 @@ __call_heap_initialize: sta dp:.tiny(_Dp+0) ldx ##.word2 (.sectionSize heap) lda ##.word0 (.sectionSize heap) - call __heap_initialize + jsl long:__heap_initialize .section code, root, noreorder lda ##0 ; argc = 0 jsl long:main - jump exit \ No newline at end of file + jmp long:exit \ No newline at end of file