Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > IFO/VOB Editors

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd January 2009, 16:29   #1  |  Link
M_Knox
Custom user
 
M_Knox's Avatar
 
Join Date: Jul 2007
Location: Poland
Posts: 70
Hex bit operands plugin v0.8 for PgcEdit (2009.02.05)

As of PgcEdit 9.1 release I may present you my little plugin for this excellent program (as already announced by r0lZ).

Hex bit operands requires PgcEdit version 9.1 or later to function. If you use it with any previous version the plugin will be disabled - in this case upgrading PgcEdit to a supported version will not enable plugin by default, you'll have to do it manually.

The plugin allows to display operands of SET bit operations (|=(or), &=(and), ^=(xor)) and bit comparison (&) in hexadecimal notation.
The second function of the plugin is to display descriptions of bit operations.

A few examples of the plugin-enabled output:

Code:
Set gprm(0) &=(and) 0x0000 (clear all bits)
Set gprm(0) &=(and) 0xFCE2 (preserve bits 1, 5-7, 10-15)
Set gprm(0) &=(and) 0xFFEF (clear bit 4)
Set gprm(0) |=(or) 0xFFEF (set bits 0-3, 5-15)
Set gprm(0) |=(or) 0x0000
Set gprm(0) ^=(xor) 0xFFEF (toggle bits 0-3, 5-15)
Set gprm(0) ^=(xor) 0xFFFF (toggle all bits)
if ( gprm(0) & 0x0314 ) then { Set gprm(0) ^=(xor) gprm(0)}
These description can be turned on and off independent of hexadecimal format (i.e. you may display operands in decimal format while displaying the descriptions and vice versa).

As you can see, the description is not added to bit comparison, because the output would be too cluttered.

To download the plugin go to the "Plugins" section of r0lZ's homepage (http://download.videohelp.com/r0lZ/pgcedit/#plugins)


Please post any feedback in this thread.
Thank you for your attention.

edit:
As in case of any changes to the plugin I will not force r0lZ to update his homepage, I created an alternative link to the latest version of the plugin:
http://members.elysium.pl/morris/pro...plugin_v08.rar
__________________
M.O.R.R.I.S.: Mechanical Obedient Replicant Responsible for Infiltration and Sabotage
morris#rarlab*com

Last edited by M_Knox; 5th February 2009 at 18:44.
M_Knox is offline   Reply With Quote
Old 3rd January 2009, 16:34   #2  |  Link
Wombler
Affable Wanderer
 
Wombler's Avatar
 
Join Date: Apr 2007
Location: Northern Ireland
Posts: 451
Excellent job M_Knox!

Thanks for that.


Wombler
Wombler is offline   Reply With Quote
Old 4th January 2009, 01:44   #3  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Many many thanks for this.

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.

Last edited by blutach; 4th January 2009 at 03:48.
blutach is offline   Reply With Quote
Old 5th February 2009, 18:54   #4  |  Link
M_Knox
Custom user
 
M_Knox's Avatar
 
Join Date: Jul 2007
Location: Poland
Posts: 70
hexbitoperands plugin v0.8

I slightly updated the plugin, so it now allows display descriptions in comparison operations (that one was for you, blutach! ). I've also added an option to enable hexadecimal output for all Set operations (like simple assignment, addition, multiplication, etc.) - but these operations do not have descriptions.

For the download link please see the first post in this thread.

Thank you for your attention.
__________________
M.O.R.R.I.S.: Mechanical Obedient Replicant Responsible for Infiltration and Sabotage
morris#rarlab*com
M_Knox is offline   Reply With Quote
Old 6th February 2009, 00:05   #5  |  Link
blutach
Country Member
 
blutach's Avatar
 
Join Date: Sep 2004
Location: is everything!
Posts: 6,499
Thanks very much!

Regards
__________________
Les

Only use genuine Verbatim or Taiyo Yuden media.
blutach is offline   Reply With Quote
Reply

Tags
hexadecimal, operands, pgcedit, plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.