Author Topic: Colors in Debug.inc  (Read 1305 times)

HSE

  • Member
  • *****
  • Posts: 1131
  • <AMD>< 7-32>
Colors in Debug.inc
« on: September 30, 2018, 04:55:08 AM »
Nothing complex here. Just making easy to change debug colors.

Code: [Select]
...
;Debug colors
$RGBbasico textequ <$RGB(230,230,230)>  ; for dark background
;$RGBbasico textequ <$RGB(  0,  0,  0)>  ; for bright background
$RGBred    textequ <$RGB(255,  0,  0)>
$RGBblue   textequ <$RGB(  0,  0,255)>
$RGBgray1  textequ <$RGB(128,128,128)>
$RGBgreen0 textequ <$RGB(  0,160,  0)>
$RGBgreen1 textequ <$RGB( 50,150, 50)>  ; DbgFPU
$RGBblue1  textequ <$RGB( 64, 64,255)>  ; DbgObject
$RGBblue2  textequ <$RGB( 63, 63,255)>  ; DbgVMT
$RGBorange textequ <$RGB(192, 64, 64)>
...
Regards.

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 383
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: Colors in Debug.inc
« Reply #1 on: September 30, 2018, 05:40:25 AM »
Hi HSE
Good idea!  :t


Thanks, Biterider



Biterider

  • Moderator
  • Member
  • *****
  • Posts: 383
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: Colors in Debug.inc
« Reply #2 on: October 02, 2018, 09:13:07 PM »
Hi HSE
If you have time, can you take a look at this version to check if it fits?  :P
I renamed the colors with names that show their purpose.

Biterider

HSE

  • Member
  • *****
  • Posts: 1131
  • <AMD>< 7-32>
Re: Colors in Debug.inc
« Reply #3 on: October 02, 2018, 10:13:41 PM »
Nice!!

Just now I noted that I don't see lines. DbgLine don't have color. DbgOutCmd use DBG_CMD_INFO structure, wich doesn't have "dcolor" item.

Perhaps that color could be a DebugCenter setting.

Thanks.

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 383
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: Colors in Debug.inc
« Reply #4 on: October 02, 2018, 10:35:39 PM »
Right!
We can extend the coloring for the other features and the window background.
I'll write it down for the next update.


Thanks, Biterider

Biterider

  • Moderator
  • Member
  • *****
  • Posts: 383
  • ObjAsm32 + ObjAsm64 = ObjAsm
    • ObjAsm
Re: Colors in Debug.inc
« Reply #5 on: January 30, 2019, 08:33:22 PM »
Hi HSE
Debug coloring is now available for 32 and 64 bit versions (ObjAsm Fusion project)  ;)
Upcomming improvements like "background coloring" will be common for both ex-subprojects.


Regards, Biterider