mirror of
https://github.com/A2osX/A2osX.git
synced 2024-12-27 18:30:51 +00:00
Kernel 0.92
This commit is contained in:
parent
e92e9ed4d3
commit
360354a8a2
Binary file not shown.
@ -214,7 +214,14 @@ CS.RUN.GETLINE >LDA.G hFile
|
||||
>SYSCALL fgets
|
||||
bcs .9
|
||||
|
||||
ldy #$ff
|
||||
lda (ZPBufPtr)
|
||||
cmp #C.LF
|
||||
bne .11
|
||||
|
||||
lda #C.CR
|
||||
sta (ZPBufPtr)
|
||||
|
||||
.11 ldy #$ff
|
||||
|
||||
.2 iny
|
||||
lda (ZPBufPtr),y
|
||||
@ -278,9 +285,9 @@ OptionVars .DA #bLineNum,#bLineNum,#bHelp,#bHelp,#bPage,#bPage
|
||||
MSG.USAGE .AS "Usage : MORE <File>\r\n"
|
||||
.AS " -H : This help screen\r\n"
|
||||
.AS " -N : Number all output lines\r\n"
|
||||
.AS " -P : Page mode, no scroll"
|
||||
MSG.NUMLINECR .AZ "%5D:%s\r"
|
||||
MSG.LINECR .AZ "%s\r"
|
||||
.AZ " -P : Page mode, no scroll\r\n"
|
||||
MSG.NUMLINECR .AZ "%5D:%s\r\n"
|
||||
MSG.LINECR .AZ "%s\r\n"
|
||||
MSG.Pause .AZ "\r\e[7m --- 'SPACE' for more, 'CR' one line, 'Q' to quit --- \e[0m"
|
||||
MSG.PauseErase .AZ "\r\e[2K"
|
||||
*--------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user