Xemu [doxygen]
hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
targets
mega65
hdos.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-2022 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
20
#ifndef XEMU_MEGA65_HDOS_H_INCLUDED
21
#define XEMU_MEGA65_HDOS_H_INCLUDED
22
23
#ifndef XEMU_MEGA65_HDOS_H_ALLOWED
24
#error "You cannot include hdos.h!"
25
#endif
26
27
#define HDOSROOT_SUBDIR_NAME "hdos"
28
29
extern
void
hdos_init
(
const
int
do_virt
,
const
char
*virtroot );
30
extern
void
hdos_enter
(
const
Uint8
func_no );
31
extern
void
hdos_leave
(
const
Uint8
func_no );
32
extern
void
hdos_notify_system_start_begin
(
void
);
33
extern
void
hdos_notify_system_start_end
(
void
);
34
35
#ifdef TRAP_XEMU
36
// though not so much HDOS specfific, it's still Xemu related (Xemu's own trap handler)
37
// so we put it into hdos.c ...
38
extern
void
trap_for_xemu
(
const
int
func_no );
39
#endif
40
41
#endif
hdos_leave
void hdos_leave(const Uint8 func_no)
Definition:
hdos.c:758
Uint8
uint8_t Uint8
Definition:
fat32.c:51
hdos_enter
void hdos_enter(const Uint8 func_no)
Definition:
hdos.c:646
trap_for_xemu
void trap_for_xemu(const int func_no)
Definition:
hdos.c:148
hdos_notify_system_start_begin
void hdos_notify_system_start_begin(void)
Definition:
hdos.c:847
do_virt
int do_virt
Definition:
hdos.c:51
hdos_init
void hdos_init(const int do_virt, const char *virtroot)
Definition:
hdos.c:863
hdos_notify_system_start_end
void hdos_notify_system_start_end(void)
Definition:
hdos.c:855
Generated by
1.8.17