mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-04 03:22:04 +02:00
- Major source code cleanup - Completely rewrote memory mapper to support runtime MMCs - Updated S-DD1 MMC to use new memory mapping interface - Improved S-DD1 emulation, thanks to information from orwannon - Added support for SameGame -- load via "Load Special -> Load BS-X Slotted Cart" menu option - Completely rewrote cartridge loader to support BS-X, BS-X slotted carts and ST carts - Created custom dialog windows for multicart loading - Improved generic memory mapper, which eliminates the need for cart.db [Nach] - Added BS-X slotted cart detection to generic memory mapper [Nach] - Linux port will now ignore keypresses when window is inactive - Linux port will use much less CPU power when idle - Added detailed compilation instructions to Makefile for Linux port - Added "make install" target and PNG program icon for Linux port - Switched Windows compiler to MinGW/GCC4 - Windows executable is now packed with UPX to decrease filesize - Removed .ufo, .gd7 and .078 ROM extensions; added .bs extension - Added preliminary support for the BS-X base unit, BS-X base cartridge + MMC, and BS-X flash I/O
19 lines
282 B
C++
19 lines
282 B
C++
#include "dsp1emu.h"
|
|
|
|
class DSP1 : public Memory {
|
|
private:
|
|
Dsp1 dsp1;
|
|
bool addr_decode(uint16 addr);
|
|
|
|
public:
|
|
void init();
|
|
void enable();
|
|
void power();
|
|
void reset();
|
|
|
|
uint8 read(uint addr);
|
|
void write(uint addr, uint8 data);
|
|
};
|
|
|
|
extern DSP1 dsp1;
|