Skip to content

Commit

Permalink
Neo Geo updates
Browse files Browse the repository at this point in the history
* NEO.emu: Add support for the PVC mapper chip and interleaved 68K program ROMs, needed for ROM sets: mslug5, svc, kof2003
* NEO.emu: Fix booting ROM sets: kof2001h, kof2002b, kof2003, kof2003h, mslug5, mslug5h, samsho5h, svc
* NEO.emu: Fix missing tile graphics for ROM sets: bangbead, ganryu, kof2001, nitd, pnyaa, preisle2, s1945p, sengoku3, zupapa
* NEO.emu: Ignore BIOS SFIX data in driver definition and always load from BIOS archive
* NEO.emu: Update CRC in pnyaa.drv
* NEO.emu: Fix missing ')' text in samsh5sp*.drv
* NEO.emu: Code clean up
  • Loading branch information
Robert Broglia committed Apr 3, 2024
1 parent db2c4b4 commit 2fc3e66
Show file tree
Hide file tree
Showing 16 changed files with 397 additions and 342 deletions.
Binary file modified NEO.emu/res/gngeo_data.zip
Binary file not shown.
Binary file modified NEO.emu/res/romsets/pnyaa.drv
Binary file not shown.
Binary file modified NEO.emu/res/romsets/samsh5sp.drv
Binary file not shown.
Binary file modified NEO.emu/res/romsets/samsh5sph.drv
Binary file not shown.
Binary file modified NEO.emu/res/romsets/samsh5spn.drv
Binary file not shown.
5 changes: 0 additions & 5 deletions NEO.emu/src/gngeo/cyclone_interf.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,6 @@ void cpu_68k_interrupt(int a) {
MyCyclone.irq=a;
}

void cpu_68k_bankswitch(Uint32 address) {
//printf("Bankswitch %08x\n",address);
bankaddress = address;
}

void cpu_68k_disassemble(int pc, int nb_instr) {
/* TODO */
}
Expand Down
14 changes: 1 addition & 13 deletions NEO.emu/src/gngeo/emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,14 @@ void neogeo_reset(void) {
memset(memory.ram, 0 , sizeof(memory.ram));
memset(memory.z80_ram, 0 , sizeof(memory.z80_ram));
memcpy(memory.rom.cpu_m68k.p, memory.rom.bios_m68k.p, 0x80);
memset(pvcMem, 0 , sizeof(pvcMem));
memory.current_vector=0;
memory.vid.current_line = 0;
init_timer();
sram_lock = 0;
sound_code = 0;
pending_command = 0;
result_code = 0;
#ifdef ENABLE_940T
shared_ctl->sound_code = sound_code;
shared_ctl->pending_command = pending_command;
shared_ctl->result_code = result_code;
#endif
if (memory.rom.cpu_m68k.size > 0x100000)
cpu_68k_bankswitch(0x100000);
else
Expand All @@ -107,16 +103,8 @@ void init_sound(void)
}

void init_neo(void) {
#ifdef ENABLE_940T
int z80_overclk = CF_VAL(cf_get_item_by_name("z80clock"));
#endif

//neogeo_init_save_state();

#ifdef GP2X
gp2x_ram_ptr_reset();
#endif

cpu_68k_init();
// neogeo_reset();
pd4990a_init();
Expand Down
Loading

0 comments on commit 2fc3e66

Please sign in to comment.