Made elf2aout compilable for windows under linux
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
* only. IE: A is equivalent to A0 ... Z$ is equivalent to Z0$
|
||||
*
|
||||
* Statements:
|
||||
* BEEP freq,ms - Generate a BEEP on the PC speaker
|
||||
* CLEAR - Erase variables only
|
||||
* CLOSE#n - Close file (0-9) opened with OPEN
|
||||
* DATA - Enter "inline" data statements
|
||||
@@ -155,7 +154,7 @@
|
||||
#define SAVE 25
|
||||
#define LOAD 26
|
||||
#define DELAY 27
|
||||
#define BEEP 28
|
||||
//#define BEEP 28
|
||||
#define DOS 29
|
||||
#define OUT 30
|
||||
|
||||
@@ -279,11 +278,6 @@ int eval_sub(void);
|
||||
|
||||
WINDOW *win;
|
||||
|
||||
void beep (int i, int t)
|
||||
{
|
||||
printf("BEEP not implemented yet, at line %u\n", line);
|
||||
}
|
||||
|
||||
void delay (int msec)
|
||||
{
|
||||
usleep (msec * 1000);
|
||||
@@ -1371,11 +1365,6 @@ input: if (ii == -1)
|
||||
case SRND:
|
||||
srandom(eval_num());
|
||||
break;
|
||||
case BEEP:
|
||||
i = eval_num();
|
||||
expect(',');
|
||||
beep(i, eval_num());
|
||||
break;
|
||||
case DOS:
|
||||
eval_char();
|
||||
fflush(stdout);
|
||||
|
||||
Reference in New Issue
Block a user