forked from rileym65/Basic-02
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathccls.c
More file actions
24 lines (21 loc) · 810 Bytes
/
Copy pathccls.c
File metadata and controls
24 lines (21 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
*******************************************************************
*** This software is copyright 2021 by Michael H Riley ***
*** You have permission to use, modify, copy, and distribute ***
*** this software so long as this copyright notice is retained. ***
*** This software may not be used in commercial applications ***
*** without express written permission from the author. ***
*******************************************************************
*/
#include "header.h"
char* ccls(char* line) {
line = trim(line);
if (*line != ':' && *line != 0) {
showError("Syntax error");
exit(1);
}
Asm(" sep scall ; Display message");
Asm(" dw f_inmsg");
Asm(" db 27,'[H',27,'[2J',0");
return line;
}