1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 06:29:36 +00:00

don't call __getdevdef in crt0.s, but make it a constructor of getdefdev.s

git-svn-id: svn://svn.cc65.org/cc65/trunk@4473 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2009-11-19 22:12:51 +00:00
parent 38901e1614
commit 61b2834508
2 changed files with 1 additions and 6 deletions

View File

@ -16,9 +16,6 @@
.import _main, __filetab, getfd
.import __STARTUP_LOAD__, __ZPSAVE_LOAD__
.import __RESERVED_MEMORY__
.ifdef DYNAMIC_DD
.import __getdefdev
.endif
.include "zeropage.inc"
.include "atari.inc"
@ -78,9 +75,6 @@ L1: lda sp,x
; Call module constructors
jsr initlib
.ifdef DYNAMIC_DD
jsr __getdefdev
.endif
; set left margin to 0

View File

@ -19,6 +19,7 @@
.export __getdefdev ; get default device (e.g. "D1:")
.ifdef DYNAMIC_DD
.export __defdev
.constructor __getdefdev,24
.endif
; Get default device (LBUF will be destroyed!!)