2016-07-11 02:27:21 +00:00
|
|
|
//
|
|
|
|
// GSOSConsole.h
|
|
|
|
// 2Term
|
|
|
|
//
|
|
|
|
// Created by Kelvin Sherlock on 7/9/2016.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import "Emulator.h"
|
|
|
|
#include "iGeometry.h"
|
|
|
|
#include "Screen.h"
|
|
|
|
|
2017-02-17 03:54:52 +00:00
|
|
|
struct gsos_context : public context {
|
|
|
|
bool consWrap = true;
|
|
|
|
bool consAdvance = true;
|
|
|
|
bool consLF = true;
|
|
|
|
bool consScroll = true;
|
|
|
|
bool consVideo = true;
|
|
|
|
bool consDLE = true;
|
|
|
|
bool consMouse = false;
|
|
|
|
uint8_t consFill = 0xa0;
|
|
|
|
};
|
|
|
|
|
2016-07-11 02:27:21 +00:00
|
|
|
@interface GSOSConsole : NSObject <Emulator> {
|
2017-02-17 03:54:52 +00:00
|
|
|
|
2016-07-11 02:27:21 +00:00
|
|
|
|
2017-02-17 03:54:52 +00:00
|
|
|
gsos_context _context;
|
|
|
|
std::vector<gsos_context> _context_stack;
|
|
|
|
|
|
|
|
unsigned cs;
|
2016-09-17 17:39:30 +00:00
|
|
|
int _scratch[4];
|
2016-07-11 02:27:21 +00:00
|
|
|
int _cursorType;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|