MAMEWorld Central >> News
View all threads Index   Flat Mode Flat  

ShimaPong
MAME Fan
Reged: 03/12/05
Posts: 783
Send PM
Re: MAME 0.141u1
02/07/11 03:38 PM Attachment: MrKicker.png 104 KB (2 downloads)


=== debugsrch3.c ===
- Conveted search_entry with linked list to multidimensional array to improve saerch speed and entry free.
- Built-in search_entry into search_map.
- Changed search_map management from map tag to map index.
- Added description section into search_map. Auto search map creator gets handlers name as description now.
- Eased internal check for dsadd command. Now userdefined region by cheat is in searchable range.
- Added new search type, "range". It takes min and max parameters and picks up a value in that range.
- Added new command, "dsdetach". It detachs requested search_map then delete other maps.
- Refined print format to console and result view.
- Disabled "dsredo" command because it is not often used.
- Version up to 3 because of huge clearned up.

>> multidimensional array
The weakpoint of linked list is that it allocates memory discontinuously.
For exapmple, if you want to add an entry in $000000 - $FFFFFF with a byte, the system will allocate 16777216 entries in a memory with discontinuous address.
Modern CPU can treat with these entries like a shot and giga size memory can allocate even if the request has a lot of entries.
But memory access is still bottleneck so that sometimes it causes freeze for a little. Especially in freeing a memory.
Converting linked list to array will prevent from (or relieve) this problem.
Also changed the timing of back up for previous values/results in searching.
Previously, back up is done before comparing in looping a search_entry. Now backed up in block before started looping.
It requires freeing previous values/results before backing up but memory free is only one action because of multidimensinonal array.

>> range search
For example, "ds r(/range/ran/~),10,80" means "pick up a value with more than 10 and less than 80". So 11 is hit but 81 is not hit.
This search always requires min and max values so that it is impossible to compare previous value though.

>> dsdetach
If current has 10 search maps and you want to pick up No.6 map then delete other maps, input "dsdetach 6" (now requires map number instead of map tag).
It is the same command as previous "dedel !xx" (xx = map tag).
I learn detach() function for simple_list template so that new detaching search_map code is very simple.


=== debugsrchview3.c ===
- Removed the inheritance of debug_view_textbuf class from debug_view_search because this class doesn't support cursor and scroll keys.
- Displayed item select cursor in the viewer.
- Overridden view_char() to enable to move cursor and scroll viewer.
- Also version up synchronized debugsrch.

=== debugwin.c ===
- Hacked Viewer Window Switch key (Ctrl + Tab) to switch other viewer in the debugger.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment


"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow







Entire thread
Subject Posted by Posted on
* MAME 0.141u1 Cypress 01/24/11 08:51 AM
. * Re: MAME 0.141u1 ShimaPong  02/07/11 03:38 PM
. * show us the code -nt- Vas Crabb  02/08/11 12:49 PM
. * he'll never show it. it's easier to ban this troll [nt] abelenki  02/08/11 04:30 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] hap  02/09/11 06:24 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] franciscohs  02/09/11 02:49 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] Kitsune Sniper  02/09/11 03:44 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] SmitdoggAdministrator  02/09/11 03:37 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] franciscohs  02/09/11 01:41 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] R. Belmont  02/09/11 05:24 PM
. * Re: he'll never show it. it's easier to ban this troll [nt] Roman  02/09/11 09:34 AM
. * Re: he'll never show it. it's easier to ban this troll [nt] SmitdoggAdministrator  02/09/11 09:40 AM
. * just ignore him as most people do at this point *nt* etabeta  02/08/11 06:05 PM
. * Re: MAME 0.141u1 CiroConsentino  01/25/11 07:43 PM
. * Re: MAME 0.141u1 etabeta  01/25/11 08:07 PM
. * Re: MAME 0.141u1 CiroConsentino  01/25/11 08:46 PM
. * Re: MAME 0.141u1 etabeta  01/25/11 10:29 PM
. * Re: MAME 0.141u1 CiroConsentino  01/26/11 12:13 AM
. * Re: MAME 0.141u1 Cyberzinho Punk  01/25/11 03:48 AM
. * Re: MAME 0.141u1 bdam  01/25/11 02:21 AM
. * Re: MAME 0.141u1 StilettoAdministrator  01/25/11 05:04 AM
. * Thanks Stiletto - NT bdam  01/25/11 02:45 PM
. * Re: MAME 0.141u1 Naoki  01/25/11 12:11 PM
. * Re: MAME 0.141u1 krick  01/25/11 08:48 AM
. * Re: MAME 0.141u1 russ h.  01/24/11 09:08 PM
. * Re: MAME 0.141u1 TafoidAdministrator  01/24/11 09:27 PM
. * Re: MAME 0.141u1 Derrick Renaud  01/24/11 09:58 PM
. * Re: MAME 0.141u1 russ h.  01/25/11 03:41 PM
. * Re: MAME 0.141u1 AnimalBear  01/24/11 07:40 PM
. * Re: MAME 0.141u1 out. pongplaya  01/24/11 04:56 PM
. * Re: MAME 0.141u1 out. ShimaPong  01/24/11 04:13 PM
. * Excuse me, what the f**k... Lord Nightmare  01/25/11 05:02 AM
. * Re: Excuse me, what the f**k... CrapBoardSoftware  01/25/11 04:13 PM
. * Re: Excuse me, what the f**k... pongplaya  01/25/11 06:54 PM
. * Re: MAME 0.141u1 out. AntoPISA  01/24/11 03:20 PM
. * Re: MAME 0.141u1 out. CiroConsentino  01/24/11 07:51 PM
. * Re: MAME 0.141u1 out. TafoidAdministrator  01/24/11 08:15 PM
. * Re: MAME 0.141u1 out. CiroConsentino  01/25/11 12:28 AM
. * Re: MAME 0.141u1 out. TrevEB  01/24/11 05:26 PM
. * Re: MAME 0.141u1 out. TafoidAdministrator  01/24/11 05:43 PM
. * Re: MAME 0.141u1 out. BIOS-D  01/24/11 09:24 PM
. * Re: MAME 0.141u1 out gregf  01/24/11 12:53 PM
. * Re: MAME 0.141u1 out R. Belmont  01/24/11 05:44 PM
. * Re: MAME 0.141u1 out Ziggy100  01/24/11 06:17 PM
. * MAME0141u1b redk9258  01/24/11 10:26 AM
. * MAME0141u1b_64bit redk9258  01/24/11 10:16 AM
. * Re: MAME0141u1b_64bit Cypress  01/24/11 10:30 AM
. * Re: MAME0141u1b_64bit T-2000  01/24/11 10:57 AM

Extra information Permissions
Moderator:  John IV, Tafoid 
1 registered and 23 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 7635