mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-26 13:49:18 +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
|
>SYSCALL fgets
|
||||||
bcs .9
|
bcs .9
|
||||||
|
|
||||||
ldy #$ff
|
lda (ZPBufPtr)
|
||||||
|
cmp #C.LF
|
||||||
|
bne .11
|
||||||
|
|
||||||
|
lda #C.CR
|
||||||
|
sta (ZPBufPtr)
|
||||||
|
|
||||||
|
.11 ldy #$ff
|
||||||
|
|
||||||
.2 iny
|
.2 iny
|
||||||
lda (ZPBufPtr),y
|
lda (ZPBufPtr),y
|
||||||
@ -278,9 +285,9 @@ OptionVars .DA #bLineNum,#bLineNum,#bHelp,#bHelp,#bPage,#bPage
|
|||||||
MSG.USAGE .AS "Usage : MORE <File>\r\n"
|
MSG.USAGE .AS "Usage : MORE <File>\r\n"
|
||||||
.AS " -H : This help screen\r\n"
|
.AS " -H : This help screen\r\n"
|
||||||
.AS " -N : Number all output lines\r\n"
|
.AS " -N : Number all output lines\r\n"
|
||||||
.AS " -P : Page mode, no scroll"
|
.AZ " -P : Page mode, no scroll\r\n"
|
||||||
MSG.NUMLINECR .AZ "%5D:%s\r"
|
MSG.NUMLINECR .AZ "%5D:%s\r\n"
|
||||||
MSG.LINECR .AZ "%s\r"
|
MSG.LINECR .AZ "%s\r\n"
|
||||||
MSG.Pause .AZ "\r\e[7m --- 'SPACE' for more, 'CR' one line, 'Q' to quit --- \e[0m"
|
MSG.Pause .AZ "\r\e[7m --- 'SPACE' for more, 'CR' one line, 'Q' to quit --- \e[0m"
|
||||||
MSG.PauseErase .AZ "\r\e[2K"
|
MSG.PauseErase .AZ "\r\e[2K"
|
||||||
*--------------------------------------
|
*--------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user