|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
WIP 2005-11-20 0.72 Beta 4 : Conditional breakpoints, etc
Posted: Sun Nov 20, 2005 9:39 pm
|
Heya,
A new 2005-11-20 snapshot is available: http://www.smspower.org/meka/wip/ For those who were following builds posted on this forum, here's the change list since build 2005-09-19: MEKA 0.72 WIP 20051120
---------------------- - (Win32) Updated Allegro library from WIP 4.1.18 to 4.2.0, including various fixes/improvements: http://www.talula.demon.co.uk/allegro/onlinedocs/en/changes.html - Sound: - Added support for VGM 1.10 header type. [Omar] - GUI: - Added support for horizontal scrollbars. [Omar] - Fixed scrollbars non refreshing when scrolling with keyboard. [Omar] - Added link to debugger documentation in HELP menu. [Omar] - Development: - Debugger: - Fixed various command-line parsing bugs. [Omar] - Added conditionnal breakpoints. [Omar] eg: BREAK r C000.. =01,02,03,04 ; break on read of 01020304 in RAM BREAK x =C9 ; break on CPU execution of RET BREAK x =0,0 ; break on CPU execution of NOP NOP BREAK w pram 0 =03 ; break on PRAM write of color 0 as red - Added display line event breakpoints/watchpoints. [Omar] Useful for debugging line interrupts. eg: BREAK line #13 ; break on display line 13 - Tilemap viewer: - Added support for manually selecting map address. [Omar] - Added (partial) support for overscan video modes (used by CodeMasters games). The bottom of the 32x32 tilemap is not yet shown thought. [Omar] - Removed drawing of horizontal screen border lines on raster effects, was indeed very confusing to understand. [Omar] - Support for top rows horizontal scroll lock bit. [Omar] - Miscellaenous: - Various fixes. - (UN*X) Renamed main executable to 'meka' (instead of 'meka.exe'). - Added and modified entries in the checksum and compatibility lists. [Omar] Some particular renaming includes: SMS - 0e21e6cf - Astro Flash (JP) --> Astro Flash [Hack] (JP) SMS - 5d08e823 - Fushigi no Oshiro Pit Pot (JP) --> Fushigi no Oshiro Pit Pot [Hack] (JP) SMS - a4ac35d8 - Galaxy Force [50 / 60 Hz] --> Galaxy Force SMS - 6c827520 - Galaxy Force [60 Hz] --> Galaxy Force (US) SMS - dabcc054 - Ghost house (JP) --> Ghost House [Hack] (JP) SMS - c1e699db - Great Baseball [JP] (JP) --> Great Baseball [JP] [Hack] (JP) SMS - 84665648 - Great Soccer (JP) --> Great Soccer [Hack] (JP) SMS - 87b9ecb8 - Satellite 7 (JP) --> Satellite 7 [Hack] (JP) SMS - bcd91d78 - Seishun Scandal (JP) --> Seishun Scandal [Hack] (JP) SMS - a71bc542 - Spy vs Spy (JP) --> Spy vs Spy [Hack] (JP) SMS - 95cbf3dd - Super Tennis (JP) --> Great Tennis / Super Tennis (JP) (note: this one is tricky. Official game name is "Great Tennis" but title screen says "Super Tennis"). SMS - 9dfa67ee - Teddy Boy Blues (JP) --> Teddy Boy Blues [Hack] (JP) GG - f6af4b6b - Dynamite Headdy --> Dynamite Headdy (JP) (note: US/EU version is another dump) And here is the full merged change list since MEKA 0.71: MEKA 0.72 WIP 20051120
---------------------- - (Win32) Updated Allegro library from WIP 4.1.18 to 4.2.0, including various fixes/improvements: http://www.talula.demon.co.uk/allegro/onlinedocs/en/changes.html - Video: - Upgraded everything to hi-color video modes and got rid of old, 8-bit indexed video modes. This is a major change in MEKA core. Some of the benefits are: - No more snow and/or color flickering on video card drivers which disliked palette changes. - Better integration with desktop (usually run faster). - Getting possible to use various kind of graphics filters. - No more hassle with color limitation for the programmer (meaning more features implemented for the end-user). - Finally possible to show all Game Gear colors at once, and to implement LCD screen persistence (not yet done). Some of the features above goes hand to hand with the blitter system, which will be improved soon. [Omar] - Sound: - Added support for VGM 1.10 header type. [Omar] - GUI: - KeyPad Enter key now works on input boxes. [Omar] - Added shortcut CTRL-F4: closes current window. [Omar] - Added shortcut CTRL-TAB: cycles thru windows taking inputs. [Omar] - Reworked theme (skin) system from stratch: [Omar] - Changed MEKA.THM file format. - Using explicit names for variables. - Added more variables, making the skin system a little more complicated but also more configurable. - Using de-facto standard of specifying colors in #RRGGBB format. - Rewrote most code since it was all legacy from old MEKA 0.10. - Added link to debugger documentation in HELP menu. [Omar] - Development: - Debugger: - Fixed various command-line parsing bugs. [Omar] - Added line history. Navigate history by pressing Up/Down. List or search in history using HISTORY (HI) command. [Omar] - Added conditionnal breakpoints. [Omar] eg: BREAK r C000.. =01,02,03,04 ; break on read of 01020304 in RAM BREAK x =C9 ; break on CPU execution of RET BREAK x =0,0 ; break on CPU execution of NOP NOP BREAK w pram 0 =03 ; break on PRAM write of color 0 as red - Added display line event breakpoints/watchpoints. [Omar] Useful for debugging line interrupts. eg: BREAK line #13 ; break on display line 13 - REGS (R) command in debugger now display shadow registers as well. [Omar] - Added cursor before current instruction in disassembly. [Omar] - Added access to shadow registers in expression evaluator. [Omar] eg: PRINT AF',BC',DE',HL' - Added SET command to modify Z80 registers. [Omar] eg: SET BC=$1234 ; set BC register to $1234 SET DE=HL,HL=0 ; set DE=HL, then zero HL - Added MEMEDIT command to spawn a new memory editor. [Omar] - Memory Editor: - Added viewing and editing of VDP registers (VREG). [Omar] - Added configuration file directive for resizing window. [Omar] - Fixed cursor position when inputing an address on last page. [Omar] - Tilemap viewer: - Added tilemap viewer. [Omar] Shows tilemap, hovering or clicking a tile shows specific info about it, allows filtering BG/FG, disabling tile flipping, tile flipping, display of scrolling box, with or without raster effects. - Made '$' default prefix for hexadecimal values in various places. [Omar] - Datadump: [Ambil, Omar] - Fixed "palette" dumping. Blue and green components were inverted. Replaced dumping of target host RGB values by actual SMS/GG components. - Added sprite pattern base address in "sprites" dumping. - Cleaned Technical Information Viewer content, renamed a few fields to their official names, removed redundant information. It's not yet all clean. [Omar] - Miscellaenous: - Various fixes. - Updated various tidbits in the configuration file. [Omar] - (Win32) Removed flickering from initialization message console. [Maxim] - (UN*X) Renamed main executable to 'meka' (instead of 'meka.exe'). - Added and modified entries in the checksum and compatibility lists. [Omar] Some particular renaming includes: SMS - 0e21e6cf - Astro Flash (JP) --> Astro Flash [Hack] (JP) SMS - 5d08e823 - Fushigi no Oshiro Pit Pot (JP) --> Fushigi no Oshiro Pit Pot [Hack] (JP) SMS - a4ac35d8 - Galaxy Force [50 / 60 Hz] --> Galaxy Force SMS - 6c827520 - Galaxy Force [60 Hz] --> Galaxy Force (US) SMS - dabcc054 - Ghost house (JP) --> Ghost House [Hack] (JP) SMS - c1e699db - Great Baseball [JP] (JP) --> Great Baseball [JP] [Hack] (JP) SMS - 84665648 - Great Soccer (JP) --> Great Soccer [Hack] (JP) SMS - 87b9ecb8 - Satellite 7 (JP) --> Satellite 7 [Hack] (JP) SMS - bcd91d78 - Seishun Scandal (JP) --> Seishun Scandal [Hack] (JP) SMS - a71bc542 - Spy vs Spy (JP) --> Spy vs Spy [Hack] (JP) SMS - 95cbf3dd - Super Tennis (JP) --> Great Tennis / Super Tennis (JP) (note: this one is tricky. Official game name is "Great Tennis" but title screen says "Super Tennis"). SMS - 9dfa67ee - Teddy Boy Blues (JP) --> Teddy Boy Blues [Hack] (JP) GG - f6af4b6b - Dynamite Headdy --> Dynamite Headdy (JP) (note: US/EU version is another dump) GG - 9f64c2bb - Ichidanto-R (JP) --> Ichidant~R (Puzzle & Action) GG - 09151743 - Tanto-R (JP) --> Tant~R (Puzzle & Action) GG - 3d8d0dd6 - World Series Baseball [A] --> World Series Baseball [v0] GG - bb38cfd7 - World Series Baseball [B] --> World Series Baseball [v1] - Sources/Project - (Win32) Now linking to zlib.lib instead of zlibs.lib (name for standard static build of ZLIB). [Omar] - Removed password encryption from MEKA datafile (became useless). [Omar] - Fixed a bunch of warnings on higher warning levels. [Omar] - Hacked a lot of old GUI code (box, widgets, menus among others), cleaned and renamed various structures, replaced several usage of indexes by pointers, added const qualifiers, rewrote parts of various applets, got rid of some old obsolete code, etc. Hopefully broke nothing. [Omar] - (Win32) Fixed MSVC project to reference LIBPNGDIR. - (Win32) Including statically compiled libpng.lib in package. [Omar] - (UN*X) No more need to manually edit .ASM files to compile. [Omar] Visit http://www.smspower.org/meka/wip/ for download of Win32 build and sources. |
|
|
Posted: Mon Nov 21, 2005 11:07 am |
The problem of menus staying on screen is still present. | |
|
Posted: Wed Nov 23, 2005 3:29 am |
Hello Bock,
I have had various problems, after the first use of the new MEKA it does not save a mekaw.cfg file thus it keeps loosing its controller settings and the like. To rectify the problem I used the old version of mekaw.cfg from MEKA 0.70. MEKA 0.27 found the file and updated itself so that was fixed. I have also been having problems with for example the messages box, controller config box and pallete box staying up eventhough you X them off and quit the program. It is like a bug has developed in the program so it does not write to the config files upon exit. Other than that no problems. Thanks, Jacko |
|
|
Posted: Wed Nov 23, 2005 10:27 am |
Seems like you have the exit procedure of writing configuration files broken. How do you quit? (using menu or pressing F10 ?) Try both way just in case. When you close a window, does it keep showing up OR does it disappear and shows back when you run MEKA again? Thanks for the feedback! |
|
|
Posted: Wed Nov 23, 2005 10:56 am |
I run MEKA in a DirectX Window mode, let me test now...... I find that when you go File -> Exit MEKA does NOT create the .cfg file but when I quit pressing F10 MEKA DOES create the .cfg file. It could have been a mistake I was making. Also I was playing Shanghai before with the FM Chip enabled and the music slowed down gradually (like a record slowly stopping) and then it slowly speed up again, MEKA has only done it once so it is hard to tell if it was my PC doing something or it was MEKA. Thanks for the reply |
|
|
A few bugs??
Posted: Thu Nov 24, 2005 2:25 am
|
Well, I downloaded last copy 2005-11-20 yesterday and had a few problems!!
For some strange reason The message window shows: Current save game slot is 0 Current save game slot is 1 ... Current save game slot is 99 In this midtime, the debug command textbox freeze :( It seems to occur when I press backspace key, which sometimes don't work the right way. If I change window and then set focus again in meka (window-mode) I can use backspace again, but once again the current save message appears... (???) |
|
|
Posted: Thu Nov 24, 2005 2:31 am |
Well, It seems it's the '$' key in debug command textbox that causes this annoying behavior
Best Regards. |
|
|
Posted: Fri Dec 02, 2005 3:57 pm |
Tested under Linux, and compiles fine. I had to change -lseal to -laudio, but I guess that is distribution-specific.
Although, I can confirm the two "bugs": - Menus stay on the screen - Settings aren't saved when quitting via the menu, but they are when using F10. For those who want to test themselves, a Slackware package is available at http://sukkonet.cjb.net/~sukko/slackware/slackbuild/meka/meka-20051120-i486-1suk... PS: Please update the subversion repository, it would be nice if you kept it updated! |
|
|
Posted: Sat Dec 03, 2005 3:52 pm |
OK this is fixed now, it will be in next release.
I'll try to start using it as soon as possible. I'm now using Subversion for my project at work since two months, so I'm getting used to it. For the menu bug.. I'll see what I can do. I'm waiting for Proppy (next room) to compile a Linux build so I can debug it on his machine. |
|
|
Posted: Sat Dec 03, 2005 4:08 pm |
I'm too having keyboard problems since I updated to Allegro 4.2.0. I think they rewrote the keyboard driver for windows, it's now using windows keyboard mapping. How is your keyboard mapping? Is there a brasilian mapping? Can you try switching to US/UK and see how it goes? I'm investigating this. |
|
|
MEKA WIP 2005-12-03
Posted: Sat Dec 03, 2005 5:38 pm
|
MEKA 0.72 WIP 20051203
---------------------- - GUI: - Fixed bug with window closing button widget. [Omar] - Fixed bug when quitting using the menu, configuration files were not saved. (Omar) - (Un*x) Fixed bug where menus would not clear themselves. (Omar) (This was due to Allegro.h defining TRUE as -1 and a 1 value being hardcoded in some part of the code). Win32 Binary: http://www.smspower.org/meka/snapshots/meka-2005-12-03-win32.zip Sources: http://www.smspower.org/meka/snapshots/meka-2005-12-03-srcs.zip |
|
|
Posted: Sun Dec 04, 2005 9:47 am |
Hello Bock,
Thanks for mentioning me in the changes list, although it isn't really necessary. The .cfg problem is now fixed and works properly. One other suggestion though, you may want to update the about info box when you re build MEKA for the next release, this just saves confusion. Thanks Jacko P.S. I am now going back to eating my pasta and obtaining my weekly dosage of Star Trek (yes i'm a trekky) |
|
|
Posted: Tue Dec 06, 2005 10:52 am |
ok, i confirm that now everything seems fine, and i've updated the slackware package: http://sukkonet.cjb.net/~sukko/slackware/slackbuild/meka/meka-20051203-i486-1suk...
one question: is there an _easy_ way to get the emulated screen to match the actual screen size (i mean resizing it to full screen resolution)? @jacko: live long and prosper (i hope it's correct, since i am used to the italian version of it) ;). |
|
|
Posted: Tue Dec 06, 2005 11:06 am |
Add the optional "stretch" setting in meka.blt and see how far you get. I think it is somewhat dependent on the "video_depth" setting. | |
|
Posted: Tue Dec 06, 2005 11:22 am |
This is one thing that has to be improved and will be in future version. Switch to 16/32 bits video depth being a first step toward that, now I must improve configurability and selection of video mode parameters. Too many times I hear people not being able to play Meka in fullscreen properly. :| | |
|
Posted: Tue Dec 06, 2005 11:29 am |
Linux/x86 binary compiled by Proppy:
http://www.smspower.org/meka/snapshots/meka-2005-12-03-linux-x86.tgz Hope it works as is. SukkoPera: I'd be glad if you could test it, even knowing that you can compile it yourself. I'm curious about inter-distribution compatibility of binaries. |
|
|
Posted: Tue Dec 06, 2005 2:28 pm |
Tried it, and works fine both on slackware and fedora. i would be surprised if it didn't, as it's compiled statically :). I guess it will work on any x86 distribution.
Oh, and thanks for your reply about video modes. I will try Maxim's suggestion. |
|
|
Posted: Tue Dec 06, 2005 2:37 pm Last edited by SukkoPera on Tue Dec 06, 2005 2:45 pm; edited 1 time in total |
Mmmh, let me correct: on Fedora it is slow. I don't know whether it's a problem of our machine or not. Anyway precompiled v 0.70 works fine. Any hints? | |
|
Posted: Tue Dec 06, 2005 2:42 pm |
mmmh, I've played a bit with meka.blt but all I got was an even smaller screen :O. Here's how I've got it now:
;-----------------------------------------------------------------------------
; UNIX - Default Modes ;----------------------------------------------------------------------------- [Fullscreen::UNIX] res = 1024x768 blitter = double driver = auto stretch [Windowed::UNIX] res = 256x200 driver = auto stretch [Windowed Double::UNIX] res = 1024x768 blitter = double driver = auto stretch Where am I wrong? Playing with the video_depth setting didn't change anything. PS: Sorry for the three-post-in-a-row thingie |
|
|
Posted: Wed Dec 07, 2005 1:25 am |
I see you know your Star Trek and yes that is what Spok says. Also with MEKA under linux did you use Fedora Core 3?? For some reason Fedora Core 4 does not like to run on my system. It would be curious for me to get MEKA up and running under Linux. Eventhough I only have on-board graphics it should work OK. |
|
|
Posted: Wed Dec 07, 2005 12:57 pm |
Try with video_depth=16/32 and remove blitter=double Did it crash? I recall there was a problem with some version of Allegro and stretching under Linux. |
|
|
Posted: Sun Dec 11, 2005 1:11 pm |
OK, that's good :).
No, it was Fedora 4. I can't say much, except that I just hate it. I am a Slackware fan, and the test under Fedora was done by my colleague. Sorry! |
|
|
Posted: Sun Dec 11, 2005 1:26 pm |
Thanks. No crash at all. It's just a bit slow I guess. Although I must try it at work to say how slower it actually is. About the Italian translation: is it Actively mantained? I'd volunteer to take it over otherwise. |
|
|
Italian
Posted: Mon Dec 12, 2005 10:14 am
|
No it's not. Feel free to catch up with it (remove the WIP tag in MEKA.MSG) to see missing messages. |
|
|
Posted: Mon Dec 12, 2005 5:25 pm |
OK, I'm working on it and will send it over when it's finished (I hope in a couple days). By the way, I found a typo:
You're missing an "o" in "toO small" :). Hope this helps! |
|
|
Posted: Wed Dec 14, 2005 7:55 am |
mmh, I just noticed that someone changed the link to my slackware package to point to smspower's snapshots section, but actually forgot to copy the file there :).
(and btw, you might also want to put slackware packages of allegro and seal there, see the post "mekanix" for links) |
|
|
Posted: Wed Dec 14, 2005 1:09 pm |
??? What post are you referring to? As for Allegro/Seal package, aren't they easily downloadable using distribution specific package tools (ala apt-search apt-get on debian)? |
|
|
Posted: Wed Dec 14, 2005 2:17 pm |
erm, sorry, but this morning i was definitely too sleepy :).
about the other pkgs, slackware doesn't have that kind of tools, but don't worry, it makes no sense if the package is not available in the snapshots dir :). |
|
Qg
|
Posted: Fri Mar 31, 2006 4:02 am |
This loads but consumes so much CPU I can't move the mouse pointer to exit. I had to kill X. Pentium-3 900mhz. Are you migrating away from the SEAL library I hope? Thanks for thinking of us *nix users, though! |
|