Korzystając, jak ostatnio dość często, z tego, że kitajec skompilował repozytoryjną wersję DGEN - emulatora konosli SEGA MEGADRIVE, zerknijmy co też tam nowego. Poprawka w wyświetlaniu tekstur dla maszynek "Big Endian" (np. PowerPC), co kompletnie nas pececiarzy nie dotyczy i poprawka do emulacji 6 przyciskowego gamepada, ważniejsza dla nas.
DGEN posiada całkiem miłe filtrowanie ekranu, możliwość używania kodów GameGenie i przyjemność tworzenia własnych plików konfiguracyjnych;)
Altered Beast (SEGA Enterprises Ltd., 1990)
Author: zamaz <[email protected]> Date: Mon Nov 26 22:51:05 2012 +0100
- sdl: fix OpenGL texture type for 32bpp on big endian machines
- On big endian machines, the 32bpp texture type used by default is reversed, requiring bool_swab to be enabled. The 16bpp texture type doesn't have this problem. It's annoying, so this commit replaces the default GL_UNSIGNED_BYTE type with GL_UNSIGNED_INT_8_8_8_8_REV on big endian machines. Bug: 3588431
Author: zamaz <[email protected]> Date: Sun Nov 25 22:19:18 2012 +0100
- gamepad: fix 6-button pad emulation
- DGen/SDL has always emulated 6-button pads, but some code originally present in DGen (Win32 version) was missing. Most games didn't care about this and were in 3-button mode as a result, however some of them weren't working correctly (no input at all).
Author: zamaz <[email protected]> Date: Sun Nov 25 21:55:21 2012 +0100
- gamepad: initialize with MD_PAD_UNTOUCHED
- This macro replaces all occurences of the 0xf303f constant used to initialize gamepads.
Author: zamaz <[email protected]> Date: Sun Nov 25 21:02:46 2012 +0100
- debug: disassembler-related fixes
- When hitting a breakpoint, the displayed instruction was the next instruction, not the current one (M68K_REG_PC -> M68K_REG_PPC).
- The disassembler assumed instructions were always 4 bytes long, which isn't the case on the M68K. Use the returned value from m68k_disassemble() instead.
- Due to the above, hexadecimal dump has been removed because there was no way to align it nicely. Users can use the "mem" command for this.
- Increased the default number of instructions displayed by "dis" from 8 to 16.
- Many instructions cannot be displayed correctly in pure 68000 mode. Replaced M68K_CPU_TYPE_68000 with M68K_CPU_TYPE_68040 for m68k_disassemble().
- Updated help string to match for the actual behavior of "dis <addr>".