Move initialization code into the init segment

git-svn-id: svn://svn.cc65.org/cc65/trunk@3404 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2005-02-26 09:06:46 +00:00
parent 46cb3bb2e8
commit 6ec87c5dd9
4 changed files with 31 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ __heaplast:
; Initialization. Will be called from startup!
.code
.segment "INIT"
initheap:
sec
@@ -39,3 +39,4 @@ initheap:
sta __heapend+1
rts