Skip to content

Commit

Permalink
Merge pull request #99 from iss000/master
Browse files Browse the repository at this point in the history
Reverting 'stat.c' to original.
  • Loading branch information
davidgiven authored Aug 21, 2024
2 parents 5d397ef + bafab0a commit 5b88b0e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions apps/stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

#define FCB_COUNT 256

// output lines are overlapped with crlf
// #define EOL "\r\n"
#define EOL "\n"

uint8_t accumulator[4];
uint8_t ibp = 0;
DPB* dpb;
Expand Down Expand Up @@ -65,7 +61,7 @@ void print(const char* s)

void crlf(void)
{
print(EOL);
print("\r\n");
}

void printx(const char* s)
Expand Down Expand Up @@ -527,11 +523,11 @@ void show_help(void)
uint8_t j;

printx(
"Set disk to read only: stat d:=R/O"EOL
"Set file attributes: stat d:filename.typ $R/O / $R/W / $SYS / $DIR"EOL
"Get file attributes: stat d:filename.typ [ $S ]"EOL
"Show disk info: stat DSK: / d: DSK:"EOL
"Show user number usage: stat USR:"EOL
"Set disk to read only: stat d:=R/O\r\n"
"Set file attributes: stat d:filename.typ $R/O / $R/W / $SYS / $DIR\r\n"
"Get file attributes: stat d:filename.typ [ $S ]\r\n"
"Show disk info: stat DSK: / d: DSK:\r\n"
"Show user number usage: stat USR:\r\n"
"Show device mapping: stat DEV:"
);

Expand Down

0 comments on commit 5b88b0e

Please sign in to comment.