src/mame/drivers/neodrvr.c
| r14170 | r14171 | |
| 8875 | 8875 | ROM_REGION( 0x100000, "maincpu", 0 ) |
| 8876 | 8876 | ROM_LOAD16_WORD_SWAP( "2a.bin", 0x000000, 0x080000, CRC(d054d264) SHA1(d1b4bc626d000e0679def0545940fa75035921ab) ) |
| 8877 | 8877 | |
| 8878 | | ROM_REGION( 0x80000, "fixed", 0 ) |
| 8879 | | ROM_LOAD( "2b.bin", 0x000000, 0x80000, CRC(2fd04b2a) SHA1(1acb446704ab56d0a33df7c48855aa8d00fd5a3c) ) |
| 8878 | ROM_REGION( 0x20000, "fixed", 0 ) |
| 8879 | ROM_LOAD( "2b.bin", 0x000000, 0x20000, CRC(2fd04b2a) SHA1(1acb446704ab56d0a33df7c48855aa8d00fd5a3c) ) |
| 8880 | ROM_IGNORE(0x20000) |
| 8881 | ROM_IGNORE(0x20000) |
| 8882 | ROM_IGNORE(0x20000) |
| 8883 | |
| 8880 | 8884 | ROM_REGION( 0x20000, "fixedbios", 0 ) |
| 8881 | 8885 | ROM_LOAD( "sfix.sfix", 0x000000, 0x20000, CRC(c2ea0cfd) SHA1(fd4a618cdcdbf849374f0a50dd8efe9dbab706c3) ) |
| 8882 | 8886 | ROM_Y_ZOOM |
| r14170 | r14171 | |
| 9811 | 9815 | DRIVER_INIT_CALL(neogeo); |
| 9812 | 9816 | } |
| 9813 | 9817 | |
| 9818 | static READ16_HANDLER( sbp_lowerrom_r ) |
| 9819 | { |
| 9820 | UINT16* rom = (UINT16*)space->machine().region("maincpu")->base(); |
| 9821 | UINT16 origdata = rom[(offset+(0x200/2))]; |
| 9822 | UINT16 data = BITSWAP16(origdata, 11,10,9,8,15,14,13,12,3,2,1,0,7,6,5,4); |
| 9823 | int realoffset = 0x200+(offset*2); |
| 9824 | logerror("sbp_lowerrom_r offset %08x data %04x\n", realoffset, data ); |
| 9814 | 9825 | |
| 9826 | // there is actually data in the rom here already, maybe we should just return it 'as is' |
| 9827 | if (realoffset==0xd5e) return origdata; |
| 9828 | |
| 9829 | return data; |
| 9830 | } |
| 9831 | |
| 9832 | static WRITE16_HANDLER( sbp_lowerrom_w ) |
| 9833 | { |
| 9834 | int realoffset = 0x200+(offset*2); |
| 9835 | |
| 9836 | // the actual data written is just pulled from the end of the rom, and unused space |
| 9837 | // maybe this is just some kind of watchdog for the protection device and it doesn't |
| 9838 | // matter? |
| 9839 | if (realoffset == 0x1080) |
| 9840 | { |
| 9841 | if (data==0x4e75) |
| 9842 | { |
| 9843 | return; |
| 9844 | } |
| 9845 | else if (data==0xffff) |
| 9846 | { |
| 9847 | return; |
| 9848 | } |
| 9849 | } |
| 9850 | |
| 9851 | printf("sbp_lowerrom_w offset %08x data %04x\n", realoffset, data ); |
| 9852 | } |
| 9853 | |
| 9854 | static DRIVER_INIT(sbp ) |
| 9855 | { |
| 9856 | // there seems to be a protection device living around here.. |
| 9857 | // if you nibble swap the data in the rom the game will boot |
| 9858 | // there are also writes to 0x1080.. |
| 9859 | // |
| 9860 | // other stuff going on as well tho, the main overlay is still missing, and p1 inputs don't work |
| 9861 | machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_read_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_r)); |
| 9862 | machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_write_handler(0x00200, 0x001fff, FUNC(sbp_lowerrom_w)); |
| 9863 | |
| 9864 | |
| 9865 | } |
| 9866 | |
| 9867 | |
| 9815 | 9868 | // handle protected carts |
| 9816 | 9869 | void mvs_install_protection(device_image_interface& image) |
| 9817 | 9870 | { |
| r14170 | r14171 | |
| 10201 | 10254 | GAME( 2000, diggerma, neogeo, neogeo, neogeo, neogeo, ROT0, "Kyle Hodgetts", "Digger Man (prototype)", GAME_SUPPORTS_SAVE ) |
| 10202 | 10255 | |
| 10203 | 10256 | /* Vektorlogic */ |
| 10204 | | GAME( 2004, sbp, neogeo, neogeo, neogeo, neogeo, ROT0, "Vektorlogic", "Super Bubble Pop", GAME_NOT_WORKING ) |
| 10257 | GAME( 2004, sbp, neogeo, neogeo, neogeo, sbp, ROT0, "Vektorlogic", "Super Bubble Pop", GAME_NOT_WORKING ) |
| 10205 | 10258 | |
| 10206 | 10259 | /* NG.DEV.TEAM */ |
| 10207 | 10260 | // Last Hope (c)2006 - AES / NEOCD (has no MVS mode) |
src/mame/drivers/tickee.c
| r14170 | r14171 | |
| 1069 | 1069 | ROM_REGION16_LE( 0x400000, "user1", 0 ) /* 34010 code */ |
| 1070 | 1070 | ROM_LOAD16_BYTE( "rf11.u8", 0x000000, 0x80000, CRC(f7d8df33) SHA1(0abd54bbccfa90d830cbbdbcf2058197af980981) ) |
| 1071 | 1071 | ROM_LOAD16_BYTE( "rf11.u9", 0x000001, 0x80000, CRC(a72af935) SHA1(ed0deb6f51681f70e07ad7c05a92f6a0f2063f7a) ) |
| 1072 | | ROM_LOAD16_BYTE( "rf10.u6", 0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) ) |
| 1073 | | ROM_LOAD16_BYTE( "rf10.u7", 0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) ) |
| 1074 | | ROM_LOAD16_BYTE( "rf10.u4", 0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) ) |
| 1075 | | ROM_LOAD16_BYTE( "rf10.u5", 0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) ) |
| 1072 | ROM_LOAD16_BYTE( "rf10.u6", 0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) ) /* Can be labeled V1.0 or V1.1 */ |
| 1073 | ROM_LOAD16_BYTE( "rf10.u7", 0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) ) /* Can be labeled V1.0 or V1.1 */ |
| 1074 | ROM_LOAD16_BYTE( "rf10.u4", 0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) ) /* Can be labeled V1.0 or V1.1 */ |
| 1075 | ROM_LOAD16_BYTE( "rf10.u5", 0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) ) /* Can be labeled V1.0 or V1.1 */ |
| 1076 | 1076 | ROM_LOAD16_BYTE( "rf11.u2", 0x300000, 0x80000, CRC(ffa0c695) SHA1(bccdefe7cee15999c416fdcb16a65b1bc6e12d13) ) |
| 1077 | 1077 | ROM_LOAD16_BYTE( "rf11.u3", 0x300001, 0x80000, CRC(ac63b863) SHA1(c9160aec6179d1f550279b80fd4c2a14ce94fdab) ) |
| 1078 | 1078 | |
| r14170 | r14171 | |
| 1081 | 1081 | ROM_LOAD( "rf11.u510", 0x080000, 0x80000, CRC(6209c8fe) SHA1(bfbd63445b4ac2d4253c4b5354e1058070290084) ) |
| 1082 | 1082 | ROM_END |
| 1083 | 1083 | |
| 1084 | ROM_START( rapidfira ) /* Version 1.1, test menu shows "Build 238" */ |
| 1085 | ROM_REGION16_LE( 0x400000, "user1", 0 ) /* 34010 code */ |
| 1086 | ROM_LOAD16_BYTE( "rf11.u8", 0x000000, 0x80000, CRC(f7d8df33) SHA1(0abd54bbccfa90d830cbbdbcf2058197af980981) ) |
| 1087 | ROM_LOAD16_BYTE( "rf11.u9", 0x000001, 0x80000, CRC(a72af935) SHA1(ed0deb6f51681f70e07ad7c05a92f6a0f2063f7a) ) |
| 1088 | ROM_LOAD16_BYTE( "rf10.u6", 0x100000, 0x80000, CRC(e8d2e5d2) SHA1(db93014598f7b76785e0fd5c0ac8808a3be06435) ) /* Can be labeled V1.0 or V1.1 */ |
| 1089 | ROM_LOAD16_BYTE( "rf10.u7", 0x100001, 0x80000, CRC(0e33f2ed) SHA1(9b2533e001b94ccc97b95e31762186f59d5a3b9c) ) /* Can be labeled V1.0 or V1.1 */ |
| 1090 | ROM_LOAD16_BYTE( "rf10.u4", 0x200000, 0x80000, CRC(8a088468) SHA1(f94dc78158e5656657d3b26c5b0ca88f39eb5ff4) ) /* Can be labeled V1.0 or V1.1 */ |
| 1091 | ROM_LOAD16_BYTE( "rf10.u5", 0x200001, 0x80000, CRC(593b3df2) SHA1(301fa06031eff54fb2d9e08f80fc3c26e5c51da9) ) /* Can be labeled V1.0 or V1.1 */ |
| 1092 | ROM_LOAD16_BYTE( "rf11-u2", 0x300000, 0x80000, CRC(bcb7195a) SHA1(04b14facfe84973737f94b5278fb59668af0a47c) ) /* Only U2 & U3 differ from Build 239, labeled the same */ |
| 1093 | ROM_LOAD16_BYTE( "rf11-u3", 0x300001, 0x80000, CRC(e455a0b5) SHA1(5568f55ccfd6cba373f4b4f3e61f0a4f391b01c0) ) /* Only U2 & U3 differ from Build 239, labeled the same */ |
| 1084 | 1094 | |
| 1095 | ROM_REGION( 0x100000, "oki", 0 ) |
| 1096 | ROM_LOAD( "rf11.u507", 0x000000, 0x80000, CRC(899d1e15) SHA1(ca22b4ad714a5212bc9347eb3a5b660c02bad7e5) ) |
| 1097 | ROM_LOAD( "rf11.u510", 0x080000, 0x80000, CRC(6209c8fe) SHA1(bfbd63445b4ac2d4253c4b5354e1058070290084) ) |
| 1098 | ROM_END |
| 1099 | |
| 1100 | |
| 1085 | 1101 | ROM_START( rapidfire ) /* Version 1.0, test menu shows "Build 236" */ |
| 1086 | 1102 | ROM_REGION16_LE( 0x400000, "user1", 0 ) /* 34010 code */ |
| 1087 | 1103 | ROM_LOAD16_BYTE( "rf10.u8", 0x000000, 0x80000, CRC(71d42125) SHA1(e34bdb08aa1b85ba4dd219b7f6de6f99a1ed8758) ) |
| r14170 | r14171 | |
| 1135 | 1151 | GAME( 1996, ghoshunt, 0, ghoshunt, ghoshunt, 0, ROT0, "Hanaho Games", "Ghost Hunter", 0 ) |
| 1136 | 1152 | GAME( 1996, tutstomb, 0, ghoshunt, ghoshunt, 0, ROT0, "Island Design", "Tut's Tomb", 0 ) |
| 1137 | 1153 | GAME( 1996, mouseatk, 0, mouseatk, mouseatk, 0, ROT0, "ICE", "Mouse Attack", 0 ) |
| 1138 | | GAME( 1998, rapidfir, 0, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Rapid Fire v1.1", 0 ) |
| 1139 | | GAME( 1998, rapidfire, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Rapid Fire v1.0", 0 ) |
| 1154 | GAME( 1998, rapidfir, 0, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Rapid Fire v1.1 (Build 239)", 0 ) |
| 1155 | GAME( 1998, rapidfira, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Rapid Fire v1.1 (Build 238)", 0 ) |
| 1156 | GAME( 1998, rapidfire, rapidfir, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Rapid Fire v1.0 (Build 236)", 0 ) |
| 1140 | 1157 | GAME( 1999, maletmad, 0, rapidfir, rapidfir, 0, ROT0, "Hanaho Games", "Mallet Madness v2.1", 0 ) |
| 1141 | 1158 | |
src/emu/screen.c
| r14170 | r14171 | |
| 430 | 430 | assert(height > 0); |
| 431 | 431 | assert(visarea.min_x >= 0); |
| 432 | 432 | assert(visarea.min_y >= 0); |
| 433 | // assert(visarea.max_x < width); |
| 434 | // assert(visarea.max_y < height); |
| 433 | 435 | assert(m_type == SCREEN_TYPE_VECTOR || visarea.min_x < width); |
| 434 | 436 | assert(m_type == SCREEN_TYPE_VECTOR || visarea.min_y < height); |
| 435 | 437 | assert(frame_period > 0); |
| r14170 | r14171 | |
| 504 | 506 | |
| 505 | 507 | void screen_device::realloc_screen_bitmaps() |
| 506 | 508 | { |
| 509 | // doesn't apply for vector games |
| 507 | 510 | if (m_type == SCREEN_TYPE_VECTOR) |
| 508 | 511 | return; |
| 512 | |
| 513 | // determine effective size to allocate |
| 514 | INT32 effwidth = MAX(m_width, m_visarea.max_x + 1); |
| 515 | INT32 effheight = MAX(m_height, m_visarea.max_y + 1); |
| 509 | 516 | |
| 510 | 517 | // reize all registered screen bitmaps |
| 511 | 518 | for (auto_bitmap_item *item = m_auto_bitmap_list.first(); item != NULL; item = item->next()) |
| 512 | | item->m_bitmap.resize(m_width, m_height); |
| 519 | item->m_bitmap.resize(effwidth, effheight); |
| 513 | 520 | |
| 514 | 521 | // re-set up textures |
| 515 | 522 | m_texture[0]->set_bitmap(m_bitmap[0], m_visarea, m_bitmap[0].texformat()); |
| r14170 | r14171 | |
| 785 | 792 | m_vblank_start_time = machine().time(); |
| 786 | 793 | m_vblank_end_time = m_vblank_start_time + attotime(0, m_vblank_period); |
| 787 | 794 | |
| 795 | // if this is the primary screen and we need to update now |
| 796 | if (this == machine().primary_screen && !(machine().config().m_video_attributes & VIDEO_UPDATE_AFTER_VBLANK)) |
| 797 | machine().video().frame_update(); |
| 798 | |
| 788 | 799 | // call the screen specific callbacks |
| 789 | 800 | for (callback_item *item = m_callback_list.first(); item != NULL; item = item->next()) |
| 790 | 801 | item->m_callback(*this, true); |
| 791 | 802 | if (!m_screen_vblank.isnull()) |
| 792 | 803 | m_screen_vblank(*this, true); |
| 793 | 804 | |
| 794 | | // if this is the primary screen and we need to update now |
| 795 | | if (this == machine().primary_screen && !(machine().config().m_video_attributes & VIDEO_UPDATE_AFTER_VBLANK)) |
| 796 | | machine().video().frame_update(); |
| 797 | | |
| 798 | 805 | // reset the VBLANK start timer for the next frame |
| 799 | 806 | m_vblank_begin_timer->adjust(time_until_vblank_start()); |
| 800 | 807 | |
src/lib/libflac/libflac.mak
| r14170 | r14171 | |
| 1 | | |
| 2 | | |
| 3 | | |
| 4 | | DEFINES = -DFLAC__NO_ASM -DFLAC__NO_DLL -DFLAC__ALIGN_MALLOC_DATA |
| 5 | | |
| 6 | | INCLUDES = -I./include -I$(LIBSRC)/libflac/include |
| 7 | | |
| 8 | | LIBFLACOBJS = \ |
| 9 | | $(LIBOBJ)/libflac/bitmath.o \ |
| 10 | | $(LIBOBJ)/libflac/bitreader.o \ |
| 11 | | $(LIBOBJ)/libflac/bitwriter.o \ |
| 12 | | $(LIBOBJ)/libflac/cpu.o \ |
| 13 | | $(LIBOBJ)/libflac/crc.o \ |
| 14 | | $(LIBOBJ)/libflac/fixed.o \ |
| 15 | | $(LIBOBJ)/libflac/float.o \ |
| 16 | | $(LIBOBJ)/libflac/format.o \ |
| 17 | | $(LIBOBJ)/libflac/lpc.o \ |
| 18 | | $(LIBOBJ)/libflac/md5.o \ |
| 19 | | $(LIBOBJ)/libflac/memory.o \ |
| 20 | | $(LIBOBJ)/libflac/stream_decoder.o \ |
| 21 | | $(LIBOBJ)/libflac/stream_encoder.o \ |
| 22 | | $(LIBOBJ)/libflac/stream_encoder_framing.o \ |
| 23 | | $(LIBOBJ)/libflac/window.o |
| 24 | | |
| 25 | | VERSION=\"1.2.1\" |
| 26 | | CONFIG_CFLAGS=-DHAVE_INTTYPES_H -DHAVE_ICONV -DFLAC__NO_ASM -DFLAC__NO_DLL -D__MINGW32__ -DHAVE_LANGINFO_CODESET -DHAVE_SOCKLEN_T -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| 27 | | LIBFLACCFLAGS = -O3 -fomit-frame-pointer -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) |
| 28 | | ifdef MSVC_BUILD |
| 29 | | LIBFLACCFLAGS += -DFLaC__INLINE=__inline |
| 30 | | else |
| 31 | | LIBFLACCFLAGS += -DFLaC__INLINE=__inline__ -funroll-loops -finline-functions |
| 32 | | endif |
| 33 | | |
| 34 | | $(LIBOBJ)/libflac/%.o: $(LIBSRC)/libflac/libflac/%.c |
| 35 | | @echo Compiling $<... |
| 36 | | $(CC) $(CDEFS) $(LIBFLACCFLAGS) $(CONLYFLAGS) -c $< -o $@ |
| 37 | | |
| 38 | | |
| 39 | | $(OBJ)/libflac.a: $(LIBFLACOBJS) |