2003-03-10 21:21:46 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 2003-03-07
|
|
|
|
;
|
|
|
|
; Setup arguments for main
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
.constructor initmainargs, 24
|
|
|
|
.import __argc, __argv
|
|
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------------
|
2005-02-26 09:28:46 +00:00
|
|
|
; Get possible command-line arguments. Goes into the special INIT segment,
|
|
|
|
; which may be reused after the startup code is run
|
|
|
|
|
|
|
|
.segment "INIT"
|
2003-03-10 21:21:46 +00:00
|
|
|
|
|
|
|
.proc initmainargs
|
|
|
|
|
|
|
|
rts
|
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|