mirror of
https://github.com/cc65/cc65.git
synced 2024-09-27 04:54:54 +00:00
Allow up 127 chars of cmdline for programs started by the loader.
This commit is contained in:
parent
c3bec9368b
commit
24e902059c
@ -34,12 +34,12 @@
|
||||
MAXARGS = 10
|
||||
|
||||
; ProDOS stores the filename in the second half of BASIC's input buffer, so
|
||||
; there are 128 characters left. At least 7 characters are necessary for the
|
||||
; CALLxxxx:REM so 121 characters may be used before overwriting the ProDOS
|
||||
; filename. As we don't want to put further restrictions on the command-line
|
||||
; length we reserve those 121 characters terminated by a zero.
|
||||
; there are 128 characters left. At least 1 characters is necessary for the
|
||||
; REM so 127 characters may be used before overwriting the ProDOS filename.
|
||||
; As we don't want to put further restrictions on the command-line length
|
||||
; we reserve those 127 characters terminated by a zero.
|
||||
|
||||
BUF_LEN = 122
|
||||
BUF_LEN = 128
|
||||
|
||||
BASIC_BUF = $200
|
||||
FNAM_LEN = $280
|
||||
|
@ -95,8 +95,8 @@ PRESS_ANY_KEY:
|
||||
jmp :+
|
||||
.byte $EE
|
||||
.byte $EE
|
||||
.byte 65
|
||||
STARTUP:.res 65
|
||||
.byte $80
|
||||
STARTUP:.res $80
|
||||
|
||||
; Reset stack
|
||||
: ldx #$FF
|
||||
|
Loading…
Reference in New Issue
Block a user