static volatile int akiko_thread_running;
static uae_sem_t akiko_sem, sub_sem, cda_sem;
-static void checkint (void)
+static void akiko_checkint(void)
{
if (cdrom_intreq & cdrom_intena) {
- irq ();
+ irq();
#if AKIKO_DEBUG_IRQ
write_log(_T("CD32: Akiko INT %08x\n"), cdrom_intreq & cdrom_intena);
#endif
}
}
-static void set_status (uae_u32 status)
+static void set_status(uae_u32 status)
{
#if AKIKO_DEBUG_IO
if (log_cd32 > 1) {
if (!(cdrom_intreq & status))
- write_log (_T("CD32: Akiko IRQ %08x | %08x = %08x\n"), status, cdrom_intreq, cdrom_intreq | status);
+ write_log(_T("CD32: Akiko IRQ %08x | %08x = %08x\n"), status, cdrom_intreq, cdrom_intreq | status);
}
#endif
cdrom_intreq |= status;
- checkint ();
+ akiko_checkint();
cdrom_led ^= LED_CD_ACTIVE2;
}
static void rethink_akiko(void)
{
- checkint ();
+ akiko_checkint();
}
static void cdaudiostop_do (void)
{
cfg_dowrite(f, option, optionext, value, 0, 0, 0);
}
-static void cfgfile_write_str_escape(struct zfile *f, const TCHAR *option, const TCHAR *value)
+#if 0
+void cfgfile_write_str_escape(struct zfile *f, const TCHAR *option, const TCHAR *value)
{
cfg_dowrite(f, option, value, 0, 0, 1);
}
+#endif
void cfgfile_dwrite_str(struct zfile *f, const TCHAR *option, const TCHAR *value)
{
cfg_dowrite(f, option, value, 1, 0, 0);
#endif
break;
case 1:
+ {
#if DONGLE_DEBUG > 0
if (notinrom ())
write_log(_T("BFE101 W %02X %s\n"), val, debuginfo(0));
alg_parallel_port(c->drb, val);
#endif
#ifdef PARALLEL_PORT
- if (isprinter()) {
- if (isprinter() > 0) {
+ int printermode = isprinter();
+ if (printermode) {
+ if (printermode > 0) {
doprinter(val);
cia_parallelack();
- } else if (isprinter() < 0) {
+ } else if (printermode) {
parallel_direct_write_data(val, c->drb);
cia_parallelack();
}
}
+#else
+ int printermode = 0;
#endif
#ifdef ARCADIA
- if (!isprinter() && arcadia_bios) {
+ if (!printermode && arcadia_bios) {
arcadia_parport(1, c->prb, c->drb);
}
#endif
#ifdef PARALLEL_PORT
- if (!isprinter() && parallel_port_scsi) {
+ if (!printermode && parallel_port_scsi) {
parallel_port_scsi_write(0, c->prb, c->drb);
}
#endif
- break;
+ }
+ break;
case 2:
#if DONGLE_DEBUG > 0
if (notinrom ())
#include "options.h"
#include "uae.h"
+#include "uae/io.h"
#include "memory.h"
#include "custom.h"
#include "newcpu.h"
static void floppybridge_getsetprofile(int i)
{
+#ifdef FLOPPYBRIDGE
if (currprefs.floppyslots[i].dfxsubtype == 0 || currprefs.floppyslots[i].dfxsubtypeid[0] == 0) {
int sub = currprefs.floppyslots[i].dfxsubtype;
if (sub == 0) {
_tcscpy(currprefs.floppyslots[i].dfxsubtypeid, changed_prefs.floppyslots[i].dfxsubtypeid);
}
}
+#endif
}
static void DISK_check_change (void)
#endif
/* Network */
+#ifdef A2065
{
_T("a2065"), _T("A2065"), _T("Commodore"),
NULL, a2065_init, NULL, NULL, ROMTYPE_A2065 | ROMTYPE_NOT, 0, 0, BOARD_AUTOCONFIG_Z2, true,
false, 0, ethernet_settings,
{ 0xc1, 0xc9, 0x00, 0x00, 2167 >> 8, 2167 & 255, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
},
+#endif
#ifdef WITH_QEMU_CPU
{
_T("ariadne2"), _T("Ariadne II"), _T("Village Tronic"),
#define UAE_BSDSOCKET_H
#include "uae/types.h"
+#include "threaddep/thread.h"
#define BSD_TRACING_ENABLED 0
#define UAE_CUSTOM_H
#include "uae/types.h"
+#include "uae/time.h"
#include "machdep/rpt.h"
#define BEAMCON0_HARDDIS 0x4000
#define TAG_IGNORE 1
#define TAG_MORE 2
#define TAG_SKIP 3
-#define TAG_USER (1 << 31)
+#define TAG_USER (1UL << 31)
#define NSDEVTYPE_UNKNOWN 0
#define NSDEVTYPE_GAMEPORT 1
#define UAE
#endif
-#if defined(_M_ARM64) || defined(_M_ARM64EC)
+#if defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
#define CPU_arm 1
#define ARM_ASSEMBLY 1
#define CPU_64_BIT 1
#define UAE_XWIN_H
#include "uae/types.h"
+#include "uae/time.h"
#include "machdep/rpt.h"
typedef uae_u32 xcolnr;
+
+#include "sysconfig.h"
+#include "sysdeps.h"
+
#include "uae/log.h"
#include <stdio.h>
#include <stdarg.h>
#include "sysconfig.h"
#include "sysdeps.h"
+#include "uae.h"
#include "options.h"
#include "zfile.h"
#include "disk.h"