English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 12 December 2013, 14:42   #41
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Happy

Thank you, this looks solveable. Did you also try this with the previous version? Is it a new error?

EDIT: Never mind, I fixed it!

(will be uploaded soon)

Last edited by AGS; 12 December 2013 at 14:51.
AGS is offline  
Old 12 December 2013, 16:43   #42
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Floppy disk

Here is a fixed version. It also has now scrollers in the window borders so that you can use it on a screen that is smaller than the oxlibinfo window contet. i hope it does not introduce new bugs.

EDIT: update available: http://images.quicktunnels.net/openxui_latest.zip

Last edited by AGS; 18 December 2013 at 16:06.
AGS is offline  
Old 12 December 2013, 21:27   #43
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Startup hits are gone. New or old?: oxlibinfo freeze when I select a class and then scroll down with the arrow key after last visible class is reached. Also the list don`t move even though it should.
daxb is offline  
Old 13 December 2013, 00:27   #44
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Thanks for this. And did you try this before and did it work? What Do you mean "not move"? With mouse control everything is well?
AGS is offline  
Old 13 December 2013, 12:48   #45
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I`ve checked. It is new (last openxui.zip archive worked, openxui_scrollers.zip freeze). BTW. please add version numbers or a date what makes things easier.

Normal behaviour for a scrollable list is when you move the "cursor" down the list moves up. With "don`t move" I meant the list don`t moves up when I go with the cursor down to reach the lower classes.
daxb is offline  
Old 13 December 2013, 13:07   #46
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Thanks for finding this bug, fortunately it freezes here also, so that I can check myself if I fixed it or not. btw, I added smooth and very fast scrolling. window is no longer drawn completely new but contents are moved. you will see.
AGS is offline  
Old 13 December 2013, 13:48   #47
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
that's a clever logo
Mrs Beanbag is offline  
Old 14 December 2013, 09:32   #48
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Floppy disk

I am happy that you like it, Mrs Beanbag.

Ok, here it is, the smooth scroll version. And the freeze on cursor list move is fixed.

If this works so far, I will try to implement turbo speed.

EDIT: update available: http://images.quicktunnels.net/openxui_latest.zip

Last edited by AGS; 18 December 2013 at 16:06.
AGS is offline  
Old 14 December 2013, 15:47   #49
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Until now it is not fast enough for smooth scroll. Freeze is fixed. Waiting for turbo speed.

BTW. Why are icons used for checkmark, radio button, ... instead of images like for button, menus, slider, ...?
daxb is offline  
Old 14 December 2013, 16:02   #50
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Do you see that it is slow in drawing or is there a reaction delay?

Icons are used because marks and knobs are a basic functionality that should work w/o the overhead of a datatype? I don't know. Actually I coded the icons feature before I learned how to use the datatypes. Maybe I will change th icons into little pictures and change the icons into library internal amiga os images so that for a fallback no external files are needed. now if you do not have these icon files in a correct path the checks and radios stay empty ... thats not nice.

I'm afraid I can't speedup redrawing the whole window but only drawing parts of the GUI, for example a not too big listview or some buttons. So smooth scrolling and turbo will only apply for smaller parts of the GUI. This is achieved by not searching all objects or for those who want to be refreshed, but maintain a chain of only the objects that want refresh. processing this chain is faster a lot because in normal situations there is only one object in that chain.

Last edited by AGS; 14 December 2013 at 16:15.
AGS is offline  
Old 14 December 2013, 18:34   #51
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
List scrolling seems to be in normal speed as far as I can say but pixel by pixel scrolling is of course slower then entry to entry scrolling. I hope you will add a switch to enable/disable "smooth scrolling". What is slow is the horizontal/vertical slider gadget. At least my mouse pointer is faster then slider gadget redrawing if I move it. For example compared to MUI slider.

Icons:
Yes, it is something between skinable GUI and native internal amiga os images. So images for the skins and internal default "images".
daxb is offline  
Old 14 December 2013, 19:15   #52
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Know what? I just included the images now into the lib ... ... for custom (skinnable) radio and check images i would probably need a datatype that can handle transparent png images. No one known to me.

Which slider is slow? The one connected to the list, or also the standalone slider when you select "horizscroll" from the classes list? If both are slow, please try "oxtestclass horizscroll" in shell and then make the opening window bigger and drag the scrollers there. maybe there they will be faster because no other GUI elements there are listening for input.

Last edited by AGS; 14 December 2013 at 19:27.
AGS is offline  
Old 14 December 2013, 21:43   #53
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Yes, both. With "oxtestclass horizscroll" speed is better/good. They are 2x2 slider and if I move one the second is flickering (redrawing), the first not.
daxb is offline  
Old 15 December 2013, 08:17   #54
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Here is the Version "turbo A". More speed is hardly possible, at least I yet don't know any more tricks. I tried with the "approximately 7mhz" setting in the emulator and found that scrolling the list with the mousewheel above it is acceptable now. scrolling the list with slider is slower than that but faster as before.


EDIT: update available: http://images.quicktunnels.net/openxui_latest.zip

in the emulator everything runs soft as butter and reacts immediately on inputs.

Last edited by AGS; 18 December 2013 at 16:07.
AGS is offline  
Old 15 December 2013, 12:01   #55
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Good work. Would be nice to have some other test/opinions from differnt 68k Amigas. Does it still crash on Thorham`s OS3.0 system?
daxb is offline  
Old 15 December 2013, 12:12   #56
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Hmm, is it fast enough now on your System? Thorham, can you test it with Enforcer or such?
AGS is offline  
Old 15 December 2013, 17:16   #57
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Overall speed is good but...

menu class:
Sometimes it works as expected and sometimes the dropdown menus just disappear after about 0,5 seconds. No difference if mouse ist moved or not.

filerequester class:
The listview is not really fast. You may can speedup a bit. Seems that mouse moves are slow down. When I click throw the device list and then exit I get an exception (don`t know how to reproduce):

Code:
15-Dez-13   16:50:47
Exception !!   00000004     TCB: 01999438     CTX: 011E0DF8     SSP: 01082720
USP : 019A147A SR: 0004  (U0)(-)(-)  TCB: 01999438
Data: 00000000 00002001 00000060 00000000 00000000 00000000 00000097 00000000
Addr: 0196BFB9 0193E456 0196C072 0196BFB8 01971550 00000000 018C45CC 01082720
----> 0171FB8C - "System:Libs/amigaguide.library"  Hunk 0000 Offset FFFFFFFC
Stck: 019EE18C 00002000 00000013 00000000 00000000 00000000 00000000 00000000
Stck: 0193E456 0196C072 0196BFB8 0193E456 0180B8D8 018C45CC 20000196 BFB80193
Stck: E4560193 E3C00000 00000000 0000019E E30C0196 BFB80191 AF580000 20000000
Stck: 00130193 E4560193 E3C0018C 45CC019E E3460196 CD78018C 87D00000 00000000
Stck: 10010000 00130193 E4560193 E3C0018C 45CC0193 E37C0193 DF4A00FE C3260000
Stck: 80004F58 20544553 54204120 434C4153 53000000 00000000 29000000 000070FF
----> 019EE18C - "Ram:openxui_turbo_a_(15.12.2013)/libs/oxmaster.library"  Hunk 0000 Offset 00001D6C
----> 0193E456 - "Ram:openxui_turbo_a_(15.12.2013)/oxtestclass"  Hunk 0000 Offset 0000064E
----> 0193E456 - "Ram:openxui_turbo_a_(15.12.2013)/oxtestclass"  Hunk 0000 Offset 0000064E
PC-8: F0F3DD5F C8D48D40 59578501 D380462B 1EB8E228 52C58418 74600CEB A4400605
PC *: 71D21E04 73704021 42DAC760 74202624 70F2024C 80D281A8 01B0C0C2 10102106
00182ffa :  f0f3 dd5f c8d4             pb??.l -$22880730 ;illegal opcode
00183000 :  8d40 5957                  pack.w d0,d6,#$5957 ;extended opcode
00183004 :  8501                       sbcd.b d1,d2
00183006 :  d380                       addx.l d0,d1
00183008 :  462b 1eb8                  not.b $1eb8(a3)
0018300c :  e228                       lsr.b d1,d0
0018300e :  52c5                       shi.b d5
00183010 :  8418                       or.b (a0)+,d2
00183012 :  7460                       moveq.l #$60,d2
00183014 :  0ceb a440 0605             cas.w d0,a¹,$605(a3) ;illegal amiga opcode
0018301a : *71d2                       moveq.l #-$2e,d0 ;illegal opcode
0018301c :  1e04                       move.b d4,d7
0018301e :  7370                       moveq.l #$70,d1 ;illegal opcode
00183020 :  4021                       negx.b -(a1)
00183022 :  42da                       move.w ccr,(a2)+ ;extended opcode
00183024 :  c760                       and.w d3,-(a0)
00183026 :  7420                       moveq.l #$20,d2
00183028 :  2624                       move.l -(a4),d3
0018302a :  70f2                       moveq.l #-$e,d0
0018302c :  024c 80d2                  andi.w #-$7f2e,a4 ;illegal opcode
00183030 :  81a8 01b0                  or.l d0,$1b0(a0)
00183034 :  c0c2                       mulu.w d2,d0
00183036 :  1010                       move.b (a0),d0
00183038 :  2106                       move.l d6,-(a0)
Name: "OX TEST A CLASS"
I also got this hit (guru followed: Corrupt memory list...) after exit playing with oxlibinfo (menu, filerequester, ...):

Code:
15-Dez-13   17:09:14
LONG WRITE to  000002C0        data=019E4650   PC: 019ACBF6
USP : 019D3DF0 SR: 0010  (U0)(-)(-)  TCB: 019CBD60
Data: 00000000 00002000 00000000 00000001 00000001 019E1448 FFFFFFFE 00000009
Addr: 019E4650 000002C0 01972F94 019A9BA1 019A9BA6 01117540 01948D54 010826EC
Stck: 019AD6B8 019E4368 0195DDE0 00002000 00000000 019E1638 01972F94 01948D54
Stck: 019AD6AE 019E4650 01931BA0 00000000 00001003 00000000 019E1638 01972F94
Stck: 01948D54 019A9706 019A9154 00FEC326 00008000 4F70656E 20585549 20507265
Stck: 66732061 6E642049 6E666F00 00000000 019E1CB8 0000DE18 019D3E6C 00000000
Stck: 019D3E68 00000000 0195DE9A 01950DA8 00000000 019CBCD8 00000000 019CBD18
Stck: 00000002 00000000 00000000 019CACF8 00000000 00000000 00000000 00000000
----> 019ACBF6 - "Ram:openxui_turbo_a_(15.12.2013)/libs/oxmaster.library"  Hunk 0000 Offset 0000146E
----> 019AD6B8 - "Ram:openxui_turbo_a_(15.12.2013)/libs/oxmaster.library"  Hunk 0000 Offset 00001F30
----> 01972F94 - "Ram:openxui_turbo_a_(15.12.2013)/libs/ox/menu"  Hunk 0000 Offset 000000B4
----> 019AD6AE - "Ram:openxui_turbo_a_(15.12.2013)/libs/oxmaster.library"  Hunk 0000 Offset 00001F26
----> 01972F94 - "Ram:openxui_turbo_a_(15.12.2013)/libs/ox/menu"  Hunk 0000 Offset 000000B4
----> 019A9706 - "Ram:openxui_turbo_a_(15.12.2013)/oxlibinfo"  Hunk 0000 Offset 000006FE
----> 019A9154 - "Ram:openxui_turbo_a_(15.12.2013)/oxlibinfo"  Hunk 0000 Offset 0000014C
----> 00FEC326 - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 000005B2
----> 0000DE18 - "Tools:Opus5/DirectoryOpus"  Hunk 0004 Offset 00000000
PC-8: 4E752029 0014670A 42A90014 20407213 61404A91 670A2059 22512288 21490004
PC *: 4E7548E7 00222C7A 620C45EE 00502C78 00042452 4A926712 226A006A 7000122A
019acbd6 :  4e75                       rts
019acbd8 :  2029 0014                  move.l $14(a1),d0
019acbdc :  670a                       beq.s $19acbe8
019acbde :  42a9 0014                  clr.l $14(a1)
019acbe2 :  2040                       movea.l d0,a0
019acbe4 :  7213                       moveq.l #$13,d1
019acbe6 :  6140                       bsr.s $19acc28
019acbe8 :  4a91                       tst.l (a1)
019acbea :  670a                       beq.s $19acbf6
019acbec :  2059                       movea.l (a1)+,a0
019acbee :  2251                       movea.l (a1),a1
019acbf0 :  2288                       move.l a0,(a1)
019acbf2 :  2149 0004                  move.l a1,$4(a0)
019acbf6 : *4e75                       rts
019acbf8 :  48e7 0022                  movem.l a2/a6,-(a7)
019acbfc :  2c7a 620c                  movea.l $19b2e0a(pc),a6
019acc00 :  45ee 0050                  lea.l $50(a6),a2
019acc04 :  2c78 0004                  movea.l $4.w,a6
019acc08 :  2452                       movea.l (a2),a2
019acc0a :  4a92                       tst.l (a2)
019acc0c :  6712                       beq.s $19acc20
019acc0e :  226a 006a                  movea.l $6a(a2),a1
019acc12 :  7000                       moveq.l #$0,d0
019acc14 :  122a 0076                  move.b $76(a2),d1
Name: "Open XUI Prefs and Info"
You can set "elements color" in preferences but not the internal images for radio button, checkmark, ... . That may look ugly. Especially for people like me who have switched pen 0 and 1. Don`t know if it is a good idea to more element colors in prefs to set?
daxb is offline  
Old 15 December 2013, 17:38   #58
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Hi there daxb,

thanks for playing around. That bug with the filerequester, does it only occur when you close the oxlibinfo window, or does it occur when you close the filerequester itself (before closing oxlibinfo!!)?

And what exactly is slow about the fileslist? Reading in the files or also when scrolling it a bit?

The internal radio/checkmark images yet are only used when no icons for that purpose exist in prefs:presets/ox/icons/default/ ... filenames must be "radio" and "check". these files may also reside (and are found) in progdir:presets/ox/icons/default

What element colors are you looking for?
AGS is offline  
Old 15 December 2013, 18:42   #59
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by AGS View Post
That bug with the filerequester, does it only occur when you close the oxlibinfo window, or does it occur when you close the filerequester itself (before closing oxlibinfo!!)?
When I close the oxlibinfo window or oxtestclass filereq window.

Quote:
And what exactly is slow about the fileslist? Reading in the files or also when scrolling it a bit?
Both.

Quote:
The internal radio/checkmark images yet are only used when no icons for that purpose exist in prefsresets/ox/icons/default/ ... filenames must be "radio" and "check". these files may also reside (and are found) in progdirresets/ox/icons/default
I know that no images/icons (presets) exists then the fallback internal images are used.

Quote:
What element colors are you looking for?
To enter the colors of this example pic but I don`t know it it is really necessary:
Attached Thumbnails
Click image for larger version

Name:	Pic_000_246x113x4.png
Views:	238
Size:	1.4 KB
ID:	38189  
daxb is offline  
Old 15 December 2013, 19:51   #60
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 48
Posts: 450
Post

Thanks daxb, this helps a lot.

@all

Here is one full demo sourcecode, the cross-window colorpicker app: http://images.quicktunnels.net/xuitest_colorpicker.asm , that makes use of the colorpicker class. The colorpicker class itself makes use of some other classes.

If someone is interested to play around with it, please ask me for the required includes and a matching version of the binaries.
AGS is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open-source dos.library Don_Adan Coders. System 273 02 September 2020 00:42
Misc Amiga Assembler Source Code copse Coders. General 14 20 October 2019 02:05
Open-source graphics library Don_Adan Coders. System 32 15 January 2013 22:15
NewsRog goes Open Source Paul News 0 04 December 2004 16:37
BlitzBasic - Is now open source Djay Amiga scene 2 08 February 2003 01:09

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 03:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13058 seconds with 14 queries