Just include m68kops.c in the directory. It's fine.

The only thing is that you'll need to re-run the makefile if you change a
config option. But really, it's fine.
This commit is contained in:
InvisibleUp 2023-04-01 16:52:57 -07:00
parent 98db4595f1
commit 33d075812a
4 changed files with 36584 additions and 30 deletions

View File

@ -24,9 +24,6 @@ mkdir subprojects/
meson wrap install sdl2
```
Also, for now, for the M68K core to work, you need to compile Musashi yourself. Follow the instructions in that project's README for details.
## Supported Platforms
µvMac *absolutely requires* SDL2. There are no plans to support platforms that SDL2 does not target. For 99% of users, this should not be a concern. Dropping support for esoteric platforms and exclusively using SDL2 vastly simplifies the complexity of the code.

27
lib/M68K/.gitignore vendored
View File

@ -1,27 +0,0 @@
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
profile
*.moved-aside
DerivedData
.DS_Store
Thumbs.db
.svn
.BridgeSort
*.bak
.~*
*.orig
# Make output
*.o
m68kmake
m68kops.?
sim
tags

36562
lib/M68K/m68kops.c Normal file

File diff suppressed because it is too large Load Diff

22
lib/M68K/m68kops.h Normal file
View File

@ -0,0 +1,22 @@
#ifndef M68KOPS__HEADER
#define M68KOPS__HEADER
/* ======================================================================== */
/* ============================ OPCODE HANDLERS =========================== */
/* ======================================================================== */
/* Build the opcode handler table */
void m68ki_build_opcode_table(void);
extern void (*m68ki_instruction_jump_table[0x10000])(void); /* opcode handler jump table */
extern unsigned char m68ki_cycles[][0x10000];
/* ======================================================================== */
/* ============================== END OF FILE ============================= */
/* ======================================================================== */
#endif /* M68KOPS__HEADER */