mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-04-09 16:40:38 +00:00
Remove OSX dependency
This commit is contained in:
parent
a061833ef8
commit
22b65573a3
@ -9,7 +9,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <termios.h>
|
||||
#include "plvm.h"
|
||||
|
||||
@ -163,11 +162,6 @@ void sysgets(M6502 *mpu)
|
||||
} while (keyqueue != 0x0D && len < 128);
|
||||
sysputln(mpu);
|
||||
keyqueue = 0;
|
||||
/*
|
||||
len = strlen(gets(instr));
|
||||
if (len > 128)
|
||||
len = 128;
|
||||
*/
|
||||
mem_6502[CMDLINE_STR] = len;
|
||||
memcpy(mem_6502 + CMDLINE_BUF, instr, len);
|
||||
PUSH_ESTK(CMDLINE_STR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user