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: 14
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: 952
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,629
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: 14
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,629
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: 14
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,629
Here some examples:
Attached Thumbnails
Click image for larger version

Name:	Hexaco_x4.png
Views:	47
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: 14
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,629
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: 14
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,629
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: 14
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,629
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: 14
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,629
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: 14
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,629
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  
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 07:24.


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