Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
mega65
uart_monitor.h
Go to the documentation of this file.
1
/* A work-in-progess MEGA65 (Commodore-65 clone origins) emulator
2
Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3
Copyright (C)2016-2021 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18
19
#ifndef XEMU_MEGA65_UART_MONITOR_H_INCLUDED
20
#define XEMU_MEGA65_UART_MONITOR_H_INCLUDED
21
22
#ifdef HAS_UARTMON_SUPPORT
23
24
#define UMON_SYNTAX_ERROR "?SYNTAX ERROR "
25
26
#define UMON_DEFAULT_PORT ":4510"
27
28
#define UMON_WRITE_BUFFER_SIZE 0x4000
29
#define umon_printf(...) umon_write_size += sprintf(umon_write_buffer + umon_write_size, __VA_ARGS__)
30
31
extern
int
umon_write_size;
32
extern
int
umon_send_ok;
33
extern
char
umon_write_buffer[UMON_WRITE_BUFFER_SIZE];
34
35
extern
int
uartmon_init (
const
char
*
fn
);
36
extern
int
uartmon_is_active (
void
);
37
extern
void
uartmon_update (
void
);
38
extern
void
uartmon_close (
void
);
39
extern
void
uartmon_finish_command (
void
);
40
41
#endif
42
43
#endif
fn
const char * fn
Definition:
roms.c:42
Generated by
1.8.17