b2f397c00a
Changes since last version (2.1): * Interrupt system rewritten. * Mapper management rewritten. * Keyboard assignments changed again. Check the documentation! * Made a new MSDOS port of fMSX (still in development). * Integrated modular AY8910 emulation. * Integrated modular SCC emulation. * Integrated SndUnix/SndWin/SndMSDOS sound drivers. * Sound track is now logged to MIDI files. * Added a table of I/O handler functions to Z80 core for easy expansion. * Added ability to load flat (no mapper) 64kB ROMs. * Added automatic MegaROM mapper guessing (-rom 6). * Added standard PAL/NTSC timings. * Added V9958 version flag in MSX2+ mode (VDP S1). * Added correct emulation of HR/VR flags (VDP S2). * Fixed border color in SCREEN8 (VDP R7). * Fixed blinking frequency in TEXT80 (VDP R13). * Added ADJUST register emulation (VDP R18). * Added V9938 character scrolling to SCREEN0 and TEXT80 (VDP R23). * Added scrolling to SCREEN1, SCREEN2, and SCREEN3 (VDP R23). * Fixed scrolling bug in SCREEN6 and SCREEN7 (VDP R23). * Made left/right borders 9/7 pixels in SCREEN0 and TEXT80. * Added -home option to tell fMSX where to find system ROMs. * Added -auto option for auto fire on pressing SPACE. * Fixed information printed on -help. * Fixed crash in fMSX-Windows when switching from 8kB to 16kB MegaROMs. * Fixed trash in MSX2 logo in fMSX-Windows that appeared after reset. * Better resizing in fMSX-Windows Setup panel.
20 lines
617 B
Text
20 lines
617 B
Text
$NetBSD: patch-ac,v 1.2 2000/08/06 14:45:05 wiz Exp $
|
|
|
|
--- Z80.h.orig Thu Aug 3 18:56:00 2000
|
|
+++ Z80.h Sun Aug 6 15:25:54 2000
|
|
@@ -46,6 +46,15 @@
|
|
#endif
|
|
typedef signed char offset;
|
|
|
|
+#include <sys/endian.h>
|
|
+#if (_BYTE_ORDER == _LITTLE_ENDIAN)
|
|
+#define LSB_FIRST
|
|
+#elif (_BYTE_ORDER == _BIG_ENDIAN)
|
|
+#define MSB_FIRST
|
|
+#else
|
|
+#warn Check if your machine is big endian or not and define as appropriate one.
|
|
+#endif
|
|
+
|
|
/** Structured Datatypes *************************************/
|
|
/** NOTICE: #define LSB_FIRST for machines where least **/
|
|
/** signifcant byte goes first. **/
|