Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
xemu
basic_text.h
Go to the documentation of this file.
1
/* Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
2
Copyright (C)2016-2021 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
17
18
#ifndef XEMU_COMMON_BASIC_TEXT_H_INCLUDED
19
#define XEMU_COMMON_BASIC_TEXT_H_INCLUDED
20
21
#ifdef CBM_BASIC_TEXT_SUPPORT
22
#define BASIC_TO_TEXT_FLAG_TEX 1
23
extern
int
xemu_basic_to_text_malloc (
Uint8
**buffer,
int
output_super_limit,
const
Uint8
*
prg
,
int
real_addr,
const
Uint8
*prg_limit,
int
basic_dialect,
int
flags
);
24
extern
int
xemu_basic_to_text (
Uint8
*output,
int
output_size,
const
Uint8
*
prg
,
int
real_addr,
const
Uint8
*prg_limit,
int
basic_dialect,
int
flags
);
25
#endif
26
27
extern
char
*
xemu_cbm_screen_to_text
(
char
*buffer,
const
int
buffer_size,
const
Uint8
*v,
const
int
cols,
const
int
rows,
const
int
lowercase );
28
extern
int
xemu_cbm_text_to_screen
(
Uint8
*v,
const
int
cols,
const
int
rows,
const
char
*buffer,
const
int
lowercase );
29
30
#endif
flags
Uint8 flags
Definition:
z8k1.c:126
xemu_cbm_text_to_screen
int xemu_cbm_text_to_screen(Uint8 *v, const int cols, const int rows, const char *buffer, const int lowercase)
Definition:
basic_text.c:475
Uint8
uint8_t Uint8
Definition:
fat32.c:51
prg
char * prg
Definition:
commodore_vic20.c:96
xemu_cbm_screen_to_text
char * xemu_cbm_screen_to_text(char *buffer, const int buffer_size, const Uint8 *v, const int cols, const int rows, const int lowercase)
Definition:
basic_text.c:419
Generated by
1.8.17