05 October 2013, 01:35 | #741 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Hi Thorham,
indeed, DrawInfo and Screen are already declared as structures in intuition/screens.i, but I don't get any complains from PhxAss here. I can't say why not ? Try option "EXE" or just rename all conflicting symbols in my code. Did you change the ordering of the include files? Try without using the debugging options "DS" or "DL". Last edited by PeterK; 05 October 2013 at 01:56. |
05 October 2013, 01:45 | #742 | ||
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Hi PeterK,
Quote:
Quote:
Another thing. Programs such as IconFramesOff don't work. I've tried with and without Newicons. Because of the libloader hack I'm using I also tried changing the version for OpenLibrary in the source code, but they still don't work. Anything I'm missing? |
||
05 October 2013, 01:55 | #743 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
IconFramesOff needs workbench.library v44+. If you want borderless icons with v39 or v40 then have a look to my IconDemoADF which uses NewIcons, NiPrefs and NiRTGset.
Btw, I don't use the debugging options "DL" or "DS". I'm using Phxass with the following CLI options: ALIGN ERRORS=10 RC=20 VERBOSE QUIET EXE M=2 FPU=1 BUFSIZE=16384 SHOWOPT ZEROPADDING OPT=NRQBLP But in reality I'm using PhxassGUI, which will not work with the current versions of WinUAE. |
05 October 2013, 01:58 | #744 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Quote:
Anyway, your library assembles and works Thanks for the help |
|
05 October 2013, 02:00 | #745 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Quote:
Btw, I'm not on WinUAE, but an A1200 with '030 |
|
05 October 2013, 02:02 | #746 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Usually, I'm compiling my library as an object file and then use PhxLnk from name.o to name DONTSHORTENSECT. This gives you short relocs, the last argument is required to let it work with custom ROMs.
PhxAssGUI may work on a real Amiga, although it has a bug, because it reads from address -4 and WinUAE returns the wrong "result" from non-existing memory (zero instead of -1). Last edited by PeterK; 05 October 2013 at 02:17. |
05 October 2013, 02:05 | #747 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
That might be it. I already tried a bunch of options, so trying the linker first seems more useful.
|
05 October 2013, 02:13 | #748 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Just change the paths in PhxAssGUI for your config. The prefs file goes into S:
|
05 October 2013, 02:13 | #749 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Thanks PeterK, much appreciated
|
05 October 2013, 02:22 | #750 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Alright, now I'm looking forward to the upcoming Thorham turbo version of my icon.library
|
05 October 2013, 02:29 | #751 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Still no luck with the original source code. Strange. Well, it doesn't really matter. Changing those two labels is not a problem, and works properly, so in the end it works, and that's what counts
|
05 October 2013, 02:39 | #752 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
|
05 October 2013, 03:10 | #753 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
If you would like to do something useful then try to finish my zlib stuff, because there is still a lot of awful compiler code left which needs to be replaced. Switch the Adler CRC on in that case.
But if you prefer to use Meynaf's code then you have to start from the beginning again. And his code is really hard to read, but he has warned me when I asked him for his sources. ok, time to have a pizza and some red wine now, cheers Last edited by PeterK; 05 October 2013 at 03:16. |
05 October 2013, 12:13 | #754 | |
Registered User
Join Date: Sep 2013
Location: HK
Posts: 13
|
Quote:
http://i.imgur.com/eq6hmpq.png I assume I missing a step somewhere? Something needs to be loaded into memory? Will do, apologies and thanks for your support. Not sure how to do thumbnails so just did a link. |
|
06 October 2013, 00:05 | #755 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Compare the startup-sequence of the IconDemoADF with your own, plz.
|
06 October 2013, 00:58 | #756 | |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,796
|
Quote:
Currently I've optimized two parts: The first is the remap table generator... I think. It's the part where you have to merge _RGB with _rgb. Not very important speed wise, but it's shorter. The second is the c2p. I replaced the 68020 part with a loop (no more jump table). Makes the code much shorter, and is also a little bit faster on 68020/30 because the whole loop now fits inside the cache. For 68000 this will be slower, so I haven't touched that. By the way, why can the 68000 part of the c2p do eight bit planes? On 68000 based machines there's a maximum of six bit planes. Seems to me that two of the eight blocks can be removed to shorten the code (haven't done that, because I don't know if it's needed). |
|
06 October 2013, 19:10 | #757 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
@PeterK
Is there a way to run IconFramesOFF from workbench rather than only from the startup-sequence? |
07 October 2013, 11:10 | #758 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Yes, of course, just use XIcon or IconX or WbRun in a project-icon which calls IconFramesOff from a script with the same name that the icon has. Use the ToolType MODE=NOWINDOW
Hmm, never done something like this ? |
07 October 2013, 12:47 | #759 |
BoingBagged
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
|
Thank you PeterK.
I have done that a few times, but my question was more if it was okay to do it after workbench has been loaded, wondering if some potential issue could arise from that. Or if there was a special tooltype I had to use to avoid problems. |
07 October 2013, 13:11 | #760 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,378
|
Alright, now I understand ...
The two instructions IconFramesON and IconFramesOFF can be used at any time, but they will only have the desired effect when workbench.library v44 is installed. The old WB 3.0 / 3.1 needs the NewIcon patch, installed as it is on my IconDemoADF, to get borderless / frameless icons. After calling IconFramesON /OFF you will need to call WB-reset from the tools menu in order to redraw the icons (but some icons may stay unchanged even after a refresh). Last edited by PeterK; 07 October 2013 at 19:20. |
Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ClassicWB Full and icon.library 46.4 | Retroplay | project.ClassicWB | 8 | 05 August 2018 13:57 |
WB library conflict/versions | Amiga1992 | support.Apps | 3 | 22 July 2010 18:47 |
PNG Icon to Color Icon Converter? | Leandro Jardim | request.Apps | 1 | 24 May 2010 04:39 |
What's the latest version of icon.library for OS3.9? | NovaCoder | support.Apps | 3 | 30 June 2009 15:43 |
Requesting icon.library v44+... | nikvest | request.Other | 2 | 16 September 2007 01:58 |
|
|