English Amiga Board Amiga Lore


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 10 June 2017, 21:50   #1
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Lightbulb Re: Hexaco (colour codes tool)

Guys,
recent few months I've played with AmigaE compiler and MUI autodocs.
I have made a tiny tool intended for easily choosing a colour and copying its code to system clipboard.
There is an older version available on Aminet. Now I try improve my program a bit.
It's AmigaOS 68k binary.
The icon contains few supported tooltypes.
Can you, guys, test it for me? Especially I need tests under AmigaOS 3.x and AmigaOS4.x
The problem is I work with MorphOS and while the program works smoothly on my machine it doesn't mean it can work on real m68k machine the same way. And I don't own a ready to use classic Amiga for now.

To avoid mix-ups I described what parts don't work and what I succesively added.

Dec/hex/bin String field doesn't work as input for now. HTML name String field as well.
Both strings have no limitations as for range of input chars and number of chars.
Hexaco_2017-06-10
icon

Added: HTML String field work as an input while selecting a name from the list as well as while typing in by hand.
Hexaco_2017-06-10_1
icon

Added: hex/dec/bin String field now works as an input. Additional it has limitations of number of chars to input and of range of chars. Limitation change according to the cycle gadget state.
Hexaco_2017-06-10_2
icon
r-tea is offline  
AdSense AdSense  
Old 11 June 2017, 12:04   #2
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 997
Works fine under OS3.5, MUI 3.8 (V19). A3000/060.
phx is offline  
Old 12 June 2017, 15:46   #3
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Here on A1200 040, 3.1, MUI 3.8 hexaco_2017-06-10_2 works, but I get many MuForce hits when use RGB slider or dec/hex/bin cycle gadget:
Code:
12-Jun-17   14:47:37
BYTE READ from 00000030                        PC: 0194764C
USP : 0192DF50 SR: 0000  (U0)(-)(-)  TCB: 01929FC8
Data: 0000FFFF 00000000 00000001 00000021 00000004 00000000 00000000 00000000
Addr: 00000030 00000031 0192DFA4 0192BE20 0192EF0C 0192DFC8 010A4A04 010826EC
Stck: 0194404C FFFFFFFF 00000031 00000030 00000000 001D001D 25303030 30303130
Stck: 302C2530 30303030 3030302C 25303030 30303030 3000AACA 00000000 000B0005
Stck: 342C302C 30000057 00000022 00000000 00070007 23303430 30303000 0192DFA4
Stck: 0192DF68 00000001 00000004 00000000 00000000 0192DF90 01B41680 019423F6
Stck: 01B41688 0206FB48 0192E540 00000004 00000021 00000004 00000000 00000000
Stck: 00000000 0206FB48 019423E2 018F69F8 01B41680 018D507C 018D91D8 0206FB48
----> 0194764C - "Ram:hexaco_2017-06-10_2"  Hunk 0000 Offset 00005524
----> 0194404C - "Ram:hexaco_2017-06-10_2"  Hunk 0000 Offset 00001F24
----> 019423F6 - "Ram:hexaco_2017-06-10_2"  Hunk 0000 Offset 000002CE
----> 019423E2 - "Ram:hexaco_2017-06-10_2"  Hunk 0000 Offset 000002BA
----> 018F69F8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0001 Offset 00000000
----> 018D507C - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 000051A4
----> 018D91D8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00009300
PC-8: FFE84ED0 202F0004 46804E75 7000302F 0006226F 0008206F 000C5280 5380670C
PC *: B308660C 0C280000 FFFF66F0 70FF4E75 70004E75 7000302F 0006226F 0008206F
0194762a :  206c ffe8                  movea.l -$18(a4),a0
0194762e :  4ed0                       jmp (a0)
01947630 :  202f 0004                  move.l $4(a7),d0
01947634 :  4680                       not.l d0
01947636 :  4e75                       rts
01947638 :  7000                       moveq.l #$0,d0
0194763a :  302f 0006                  move.w $6(a7),d0
0194763e :  226f 0008                  movea.l $8(a7),a1
01947642 :  206f 000c                  movea.l $c(a7),a0
01947646 :  5280                       addq.l #$1,d0
01947648 :  5380                       subq.l #$1,d0
0194764a :  670c                       beq.s $1947658
0194764c : *b308                       cmpm.b (a0)+,(a1)+
0194764e :  660c                       bne.s $194765c
01947650 :  0c28 0000 ffff             cmpi.b #$0,-$1(a0)
01947656 :  66f0                       bne.s $1947648
01947658 :  70ff                       moveq.l #-$1,d0
0194765a :  4e75                       rts
0194765c :  7000                       moveq.l #$0,d0
0194765e :  4e75                       rts
01947660 :  7000                       moveq.l #$0,d0
01947662 :  302f 0006                  move.w $6(a7),d0
01947666 :  226f 0008                  movea.l $8(a7),a1
0194766a :  206f 000c                  movea.l $c(a7),a0
Name: "Background CLI"  CLI: "hexaco_2017-06-10_2"  Hunk 0000 Offset 00005524
daxb is offline  
Old 13 June 2017, 01:35   #4
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Thank you, guys!
As to hits while moving sliders, I suspect my comparison way of binary value string.
Here's the quick fix:
Hexaco 0.9.8 2017-06-12
And I had reports that the previous icon doesn't show up on OS30 and 3.1. Here's the fixed version.
icon
r-tea is offline  
Old 13 June 2017, 19:40   #5
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Hits are gone. Maybe I`m wrong but if bin is selected the string will only change when R is changed. G and B have no effekt. If dec is selected I get only 2 or 3 values as string (depends on slider position). I guess it depends on one, two or three digits border. Hex values seems to be ok.
daxb is offline  
Old 14 June 2017, 19:33   #6
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Quote:
Originally Posted by daxb View Post
Hits are gone. Maybe I`m wrong but if bin is selected the string will only change when R is changed. G and B have no effekt. If dec is selected I get only 2 or 3 values as string (depends on slider position). I guess it depends on one, two or three digits border. Hex values seems to be ok.
Can you provide a grab of Hexaco's window. I suspect MUI 3.8 cut strings bin and dec off.
r-tea is offline  
Old 15 June 2017, 01:17   #7
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Here some examples:
Attached Thumbnails
Click image for larger version

Name:	Hexaco_x4.png
Views:	62
Size:	4.1 KB
ID:	53436  
daxb is offline  
Old 15 June 2017, 20:50   #8
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Hmmm... you didn't mention that the main element woun't work at all. I mean the colorfield area. It's really strange.
As for strings cut, here's the fixed version:
Hexaco 2017-06-14_1
icon
And I can see there is no HTML name string and the corresponding popup list. There are no lamps as well.
Did you use the icon attached? There are appropriate tooltypes to customize the GUI.
r-tea is offline  
Old 16 June 2017, 14:46   #9
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
I don`t think it is strange that the color field doesn`t show a color. Maybe it is a MUI thing or it needs a special amount of available colors to work (only 16 locked colors here).

If I use the icon to start Hexaco then HTML name string/popup list and lamps are there. Started from CLI then both are not there. Wasn`t needed for the screen grab.
daxb is offline  
Old 16 June 2017, 23:23   #10
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Quote:
Originally Posted by daxb View Post
I don`t think it is strange that the color field doesn`t show a color. Maybe it is a MUI thing or it needs a special amount of available colors to work (only 16 locked colors here).

If I use the icon to start Hexaco then HTML name string/popup list and lamps are there. Started from CLI then both are not there. Wasn`t needed for the screen grab.
Can you test the latest version? Especially editing/entering values/names by hand.
I also need to know what is the minimum number of WB screen colors to get the colorfield activated. Maybe 32? Can you check it out?

Last edited by r-tea; 17 June 2017 at 11:26. Reason: Just remembered something
r-tea is offline  
Old 17 June 2017, 15:35   #11
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Hexaco 0.9.8 (14.06.2017): Editing/entering values/names by hand works. About color field I`ve no idea. Still with a 256 color WB screen no color is shown. Best would be someone else test that.
daxb is offline  
Old 19 June 2017, 19:24   #12
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Quote:
Originally Posted by daxb View Post
Hexaco 0.9.8 (14.06.2017): Editing/entering values/names by hand works. About color field I`ve no idea. Still with a 256 color WB screen no color is shown. Best would be someone else test that.
Do you have Colorfield.mui file in the drawer with all basic MUI classes? If you do what version it is?
And what Kickstart do you own?

Last edited by r-tea; 19 June 2017 at 19:47. Reason: Just remembered something.
r-tea is offline  
Old 20 June 2017, 12:41   #13
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Colorfield.mui 19.8 and OS-/ROM 3.1. Maybe there is something else on my system that let it fail. Do you have reports from other tester?
daxb is offline  
Old 20 June 2017, 15:53   #14
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Quote:
Originally Posted by daxb View Post
Colorfield.mui 19.8 and OS-/ROM 3.1. Maybe there is something else on my system that let it fail. Do you have reports from other tester?
Yes, on Amigaworld.net, I have a report from an Amiga 1200 user (MUI3.8).
The Colorfield gets activated at 16 colours of Workbench at least. If there is 8 colors set the Colorfield stays blank.
I have to ask him about the version of his colorfield.mui class.
r-tea is offline  
Old 21 June 2017, 16:15   #15
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
The colorfield RxMUI example also doesn`t show any color here.
daxb is offline  
Old 26 June 2017, 19:20   #16
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Interesting. Maybe it's because of Fullpalette? Do you use it?

Last edited by r-tea; 26 June 2017 at 19:22. Reason: Aminet link added.
r-tea is offline  
Old 26 June 2017, 23:46   #17
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
Yes, FullPalette is in use. For the time I`m not motivated to track down the problem. If it works on other systems then it is fine for me.
daxb is offline  
Old 15 July 2017, 23:01   #18
r-tea
Registered User

r-tea's Avatar
 
Join Date: Apr 2017
Location: Zdzieszowice / Poland
Posts: 17
Quote:
Originally Posted by daxb View Post
If it works on other systems then it is fine for me.
Thank you for your help. There were some problems on OS4.1, but hopefuly they're solved with this version:
Hexaco_2017-07-15_1
Hexaco_2017-07-15_1.info
Hexaco_2017-07-15_1.e

Are there AmigaOS4 users ready to face with this killer app!? ;-)
If they are I can answer their questions and give few advices how to get through :-)
r-tea is offline  
Old 27 July 2017, 14:12   #19
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 1,725
When I start Hexaco v1.0 (19/07/2017) (Aminet archive) I get some hits before Hexaco Window appears:
Code:
27-Jul-17   12:10:38
BYTE READ from 00000034                        PC: 018EDFFA
USP : 017709A8 SR: 0000  (U0)(-)(-)  TCB: 0199B0E0
Data: 00000034 00000000 00000400 01988328 00000000 00000000 0176E328 00000000
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
Addr: 00000034 01D1F984 01988338 01D1F968 019060C8 00000034 01080CB0 010826EC
Stck: 01D1F984 01080CB0 01D1F984 018EE3FA 00000000 0176E328 00000000 0180D920
Stck: 018EE14C 01988328 010A4A04 018F15B4 018E39E0 0180D920 01770A28 0180D920
Stck: 0180D958 01770A18 0180D958 00000000 018E4082 01989425 019060C8 01988340
Stck: 018E3ECE 01989462 019060C8 00FAECEC 0180D920 00FAC128 0180D920 0180D920
Stck: 00000101 01988328 00000000 FFFFFFFF 00000000 00000000 00000000 01988328
Stck: 00FA8782 0180D920 00000000 01988328 018E2914 01770A74 01770A74 01770F84
----> 018EDFFA - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EA52
----> 018EE3FA - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EE52
----> 018EE14C - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EBA4
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 018F15B4 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0001200C
----> 018E39E0 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004438
----> 018E4082 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004ADA
----> 01989425 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000066ED
----> 019060C8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0001 Offset 00000000
----> 01988340 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 00005608
----> 018E3ECE - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004926
----> 01989462 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 0000672A
----> 019060C8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0001 Offset 00000000
----> 00FAECEC - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 00006C14
----> 00FAC128 - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 00004050
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 00FA8782 - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 000006AA
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 018E2914 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000336C
PC-8: 70004CDF 6C80504F 4E75594F 48E70006 22002A49 22482F48 0008200D 670E204D
PC *: 4A1866FC 538891CD 20080C40 7000D081 52802069 00A02C6C 09906100 35242040
018edfda :  7000                       moveq.l #$0,d0
018edfdc :  4cdf 6c80                  movem.l (a7)+,d7/a2-a3/a5-a6
018edfe0 :  504f                       addq.w #$8,a7
018edfe2 :  4e75                       rts
018edfe4 :  594f                       subq.w #$4,a7
018edfe6 :  48e7 0006                  movem.l a5-a6,-(a7)
018edfea :  2200                       move.l d0,d1
018edfec :  2a49                       movea.l a1,a5
018edfee :  2248                       movea.l a0,a1
018edff0 :  2f48 0008                  move.l a0,$8(a7)
018edff4 :  200d                       move.l a5,d0
018edff6 :  670e                       beq.s $18ee006
018edff8 :  204d                       movea.l a5,a0
018edffa : *4a18                       tst.b (a0)+
018edffc :  66fc                       bne.s $18edffa
018edffe :  5388                       subq.l #$1,a0
018ee000 :  91cd                       suba.l a5,a0
018ee002 :  2008                       move.l a0,d0
018ee004 :  0c40 7000                  cmpi.w #$7000,d0
018ee008 :  d081                       add.l d1,d0
018ee00a :  5280                       addq.l #$1,d0
018ee00c :  2069 00a0                  movea.l $a0(a1),a0
018ee010 :  2c6c 0990                  movea.l $990(a4),a6
018ee014 :  6100 3524                  bsr $18f153a
018ee018 :  2040                       movea.l d0,a0
Name: "Hexaco"  


27-Jul-17   12:10:38
BYTE READ from 00000034                        PC: 018EE024
USP : 017709A8 SR: 0000  (U0)(-)(-)  TCB: 0199B0E0
Data: 00000034 0000FFFF 00000400 01988328 00000000 00000000 0176E328 00000000
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
Addr: 0163BE80 0163BE80 01988338 01D1F968 019060C8 00000034 01080CB0 010826EC
Stck: 01D1F984 01080CB0 01D1F984 018EE3FA 00000000 0176E328 00000000 0180D920
Stck: 018EE14C 01988328 010A4A04 018F15B4 018E39E0 0180D920 01770A28 0180D920
Stck: 0180D958 01770A18 0180D958 00000000 018E4082 01989425 019060C8 01988340
Stck: 018E3ECE 01989462 019060C8 00FAECEC 0180D920 00FAC128 0180D920 0180D920
Stck: 00000101 01988328 00000000 FFFFFFFF 00000000 00000000 00000000 01988328
Stck: 00FA8782 0180D920 00000000 01988328 018E2914 01770A74 01770A74 01770F84
----> 018EE024 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EA7C
----> 018EE3FA - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EE52
----> 018EE14C - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000EBA4
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 018F15B4 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0001200C
----> 018E39E0 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004438
----> 018E4082 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004ADA
----> 01989425 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000066ED
----> 019060C8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0001 Offset 00000000
----> 01988340 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 00005608
----> 018E3ECE - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 00004926
----> 01989462 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 0000672A
----> 019060C8 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0001 Offset 00000000
----> 00FAECEC - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 00006C14
----> 00FAC128 - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 00004050
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 00FA8782 - "ROM - intuition 40.85 (5.5.93)"  Hunk 0000 Offset 000006AA
----> 01988328 - "Ram:Hexaco/Hexaco"  Hunk 0000 Offset 000055F0
----> 018E2914 - "Tools:System/MUI/Libs/muimaster.library"  Hunk 0000 Offset 0000336C
PC-8: 0C407000 D0815280 206900A0 2C6C0990 61003524 20404A80 670A200D 67062248
PC *: 12DD66FC 20084CDF 6000584F 4E7548E7 03062C01 2E005280 6100356E 723AD081
018ee004 :  0c40 7000                  cmpi.w #$7000,d0
018ee008 :  d081                       add.l d1,d0
018ee00a :  5280                       addq.l #$1,d0
018ee00c :  2069 00a0                  movea.l $a0(a1),a0
018ee010 :  2c6c 0990                  movea.l $990(a4),a6
018ee014 :  6100 3524                  bsr $18f153a
018ee018 :  2040                       movea.l d0,a0
018ee01a :  4a80                       tst.l d0
018ee01c :  670a                       beq.s $18ee028
018ee01e :  200d                       move.l a5,d0
018ee020 :  6706                       beq.s $18ee028
018ee022 :  2248                       movea.l a0,a1
018ee024 : *12dd                       move.b (a5)+,(a1)+
018ee026 :  66fc                       bne.s $18ee024
018ee028 :  2008                       move.l a0,d0
018ee02a :  4cdf 6000                  movem.l (a7)+,a5-a6
018ee02e :  584f                       addq.w #$4,a7
018ee030 :  4e75                       rts
018ee032 :  48e7 0306                  movem.l d6-d7/a5-a6,-(a7)
018ee036 :  2c01                       move.l d1,d6
018ee038 :  2e00                       move.l d0,d7
018ee03a :  5280                       addq.l #$1,d0
018ee03c :  6100 356e                  bsr $18f15ac
018ee040 :  723a                       moveq.l #$3a,d1
018ee042 :  d081                       add.l d1,d0
Name: "Hexaco"
Two example newicons from my fixed 16 color WB scaled down from Hexaco window grabs (incl. non working MUI GUI). This means you can get a much better result. I used SGrab and Image2Icon.

And remove the non PNG grabs from Hexaco archive.
Attached Files
File Type: lha HexacoIcons.lha (7.2 KB, 8 views)
daxb is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cheat codes? DDNI Retrogaming General Discussion 7 09 August 2012 20:09
Level codes Another World HOL contributions 0 25 December 2008 15:49
Worms codes lopos2000 support.Games 13 05 September 2005 11:27
Codes for Breathless Bad Mr Frosty support.Games 2 20 January 2004 08:50
Anstoss codes Walker support.Games 8 01 August 2002 23:21

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 +2. The time now is 15:46.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.23716 seconds with 15 queries