Welcome, Guest. Please login or register.

Author Topic: FBlit hates me  (Read 3026 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TheGooseTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
FBlit hates me
« on: November 27, 2009, 05:46:42 PM »
NovaCoder started a great thread here on WB performance here:

http://www.amiga.org/forums/showthread.php?t=50414


I was trying to take a few baby steps, installing FBlit. I added it to the startup-sequence like the guide says. When I re-boot a requester pops up and informs me that "FBlit is not an executable file."

Unbelievable said I! Any clues / ideas? I downloaded it from the links in the that thread, and the files all seems fine, .guide, icon and so forth. Does not appear to be a corruption thing.
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline lauri.lotvonen

  • Full Member
  • ***
  • Join Date: Sep 2009
  • Posts: 249
    • Show only replies by lauri.lotvonen
Re: FBlit hates me
« Reply #1 on: November 27, 2009, 05:50:37 PM »
The same thing here, also insipired by Novacoders post. :madashell:
I just don't get it, "file is not executable" ? I has to be ?!
A1200, Blizzard 1260 + 64mb, Indivision AGA, Subway USB, 8GB CF-HD, PCMCIA network card, OS 3.9.
And a couple of A600\'s :).
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: FBlit hates me
« Reply #2 on: November 27, 2009, 06:02:36 PM »
What format was the archive?  I think Unzip doesn't recognize the protection bits of Amiga file formats.

From Workbench highlight FBlit and then select Infomation from the Icons menu.  It will allow you to activate the Execute bit of the file and try again.
 

Offline Skippy

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 710
    • Show only replies by Skippy
Re: FBlit hates me
« Reply #3 on: November 27, 2009, 06:13:17 PM »
Quote from: TheGoose;531512
NovaCoder started a great thread here on WB performance here:

http://www.amiga.org/forums/showthread.php?t=50414


I was trying to take a few baby steps, installing FBlit. I added it to the startup-sequence like the guide says. When I re-boot a requester pops up and informs me that "FBlit is not an executable file."

Unbelievable said I! Any clues / ideas? I downloaded it from the links in the that thread, and the files all seems fine, .guide, icon and so forth. Does not appear to be a corruption thing.


Also check the file integrity.

From that archive:

http://aminet.net/util/boot/fblit.lha  [TOOL]

Fblit = 86 Blocks 43580 Bytes Readable | Writeable | Executable | Deleteable

Tested ok Virus Checker II.

Just incase the hunk header is being corrupted either by a virus or any cross-platform/unarchiving etc.

SkippyCat.
Squareroot of all fluffiness.
 

Offline TheGooseTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
Re: FBlit hates me
« Reply #4 on: November 27, 2009, 06:14:26 PM »
Um, it is in .lha - I downloaded it to PC-card (CF adapter) from a PeeCee and then moved it over to the miggy. I don't normally have any problems this way.


EDIT

"Workbench highlight FBlit and then select Infomation from the Icons menu. It will allow you to activate the Execute bit of the file and try again"


@ SamuraiCrow: Oh hell - that did it - and now I'm in love with FBlit goodness!

Thank you guys
« Last Edit: November 27, 2009, 06:45:54 PM by TheGoose »
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline Skippy

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 710
    • Show only replies by Skippy
Re: FBlit hates me
« Reply #5 on: November 27, 2009, 06:25:18 PM »
Quote from: TheGoose;531522
Um, it is in .lha - I downloaded it to PC-card (CF adapter) from a PeeCee and then moved it over to the miggy. I don't normally have an problems this way.


Well if you're extracting the archive sourced from PC then the PC side is ok, otherwise the archive would be corrupted when opening on the Amiga Side.

If you've un lha'd successfully on the Amiga side then firstly check the above file attributes listed. If they are ok and match then GOSUB "further analysis", IF NOT then something on the Amiga side is corrupting the unarch'd contents.

RTS

Further Analysis:
Giggles
RTS
Squareroot of all fluffiness.
 

Offline Skippy

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 710
    • Show only replies by Skippy
Re: FBlit hates me
« Reply #6 on: November 27, 2009, 06:26:08 PM »
Quote from: TheGoose;531522
Um, it is in .lha - I downloaded it to PC-card (CF adapter) from a PeeCee and then moved it over to the miggy. I don't normally have an problems this way.


EDIT

"Workbench highlight FBlit and then select Infomation from the Icons menu. It will allow you to activate the Execute bit of the file and try again"


@ SamuraiCrow: Oh hell - that did it - and now I'm in love with FBlit goodness!

Thank you guys


Excellent.
Squareroot of all fluffiness.
 

Offline TheGooseTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
Re: FBlit hates me
« Reply #7 on: November 27, 2009, 06:44:22 PM »
One other note to those with AGA Indivision; I ended up needing to set WB to use Chip Mem for the icons. When it was set to use 'Other' memory, I was seeing some garbage lines on the screen when I would click on an icon.

This cleared it up and still seems to be quick.
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline Damion

Re: FBlit hates me
« Reply #8 on: November 27, 2009, 07:24:55 PM »
Quote from: TheGoose;531529
One other note to those with AGA Indivision; I ended up needing to set WB to use Chip Mem for the icons. When it was set to use 'Other' memory, I was seeing some garbage lines on the screen when I would click on an icon.

This cleared it up and still seems to be quick.

I also get the garbage lines, but only if I switch it between "graphics" and "other" after WB is loaded... if you set it to "other" and reboot, hopefully you won't get those. Indivision won't have anything to do with the lines btw, it's just some kind of software bug.
 

Offline NovaCoder

Re: FBlit hates me
« Reply #9 on: November 27, 2009, 10:08:45 PM »
Quote from: Damion;531531
I also get the garbage lines, but only if I switch it between "graphics" and "other" after WB is loaded... if you set it to "other" and reboot, hopefully you won't get those. Indivision won't have anything to do with the lines btw, it's just some kind of software bug.


Yep I covered this in my original post, I've found it's best to choose 'graphics memory' when using FBlit to prevent a conflict and let FBlit do it's thing.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline Damion

Re: FBlit hates me
« Reply #10 on: November 27, 2009, 10:35:57 PM »
Quote from: NovaCoder;531539
Yep I covered this in my original post, I've found it's best to choose 'graphics memory' when using FBlit to prevent a conflict and let FBlit do it's thing.

There's zero conflict if you take the extra steps as outlined in the FBlit docs, then icons are rendered in fastram instead. (This was a very common thing to do back when lots of people still used AGA.)

Anyhow, obviously don't do it if it causes problems, though it's always worked great for me.

*edit* Just to quote myself from the other day:

Quote
You need to download WBCtrl, add it to your startup-sequence directly before LoadWB:

WBCtrl IMT=ICONFAST
LoadWB SIMPLEGELS

If you don't do the above, and choose "other memory" in WB prefs, you will get the nasty lines when opening drawers. Otherwise it should work fine - there will be a little speedup when opening drawers (icons are displayed faster), and icons will use very little chipram.
« Last Edit: November 27, 2009, 10:46:25 PM by Damion »
 

Offline NovaCoder

Re: FBlit hates me
« Reply #11 on: November 28, 2009, 01:00:54 AM »
Quote from: Damion;531543
There's zero conflict if you take the extra steps as outlined in the FBlit docs, then icons are rendered in fastram instead. (This was a very common thing to do back when lots of people still used AGA.)

Anyhow, obviously don't do it if it causes problems, though it's always worked great for me.

*edit* Just to quote myself from the other day:



If you don't do the above, and choose "other memory" in WB prefs, you will get the nasty lines when opening drawers. Otherwise it should work fine - there will be a little speedup when opening drawers (icons are displayed faster), and icons will use very little chipram.


Hiya,

But doesn't Fblit work by copying everything that needs to be rendered to FASTRAM and then blitting to CHIPRAM only what needs to be redrawn each time?  If that is the case, it would make no-sense (eg no performance increase) to make another copy of your icons in FASTRAM.

:)
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline TheGooseTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
Re: FBlit hates me
« Reply #12 on: November 28, 2009, 01:10:32 AM »
@NovaCoder

"But doesn't Fblit work by copying everything that needs to be rendered to FASTRAM"

That's the impression I was getting, so these two would be kinda doing the same thing. And so having both switched on may be causing the junk on the screen ???

Note that the garbage lines only appear when an icon is clicked on, as I said above. That's a clue.

Oh, and sorry I don't read everything I read these days you know, ADD.
« Last Edit: November 28, 2009, 01:16:51 AM by TheGoose »
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline Damion

Re: FBlit hates me
« Reply #13 on: November 28, 2009, 01:29:04 AM »
Quote from: NovaCoder;531558
Hiya,

But doesn't Fblit work by copying everything that needs to be rendered to FASTRAM and then blitting to CHIPRAM only what needs to be redrawn each time?

No, everything is not automatically rendered in fastram. In fact, by default FBlit runs in "include" mode, which means only tasks added to the include list are promoted. :rtfm:

 
Quote
If that is the case, it would make no-sense (eg no performance increase) to make another copy of your icons in FASTRAM.

Yeah that would be silly, but again there's a section in the FBlit docs pertaining to this issue as icons are NOT rendered in fastram by default.

It's simple: Open a bunch of windows, and watch your chipram disappear as the icons are displayed. Now make the changes as noted in the docs, set the WB prefs setting to "other memory", and voila - totally different story.
« Last Edit: November 28, 2009, 01:35:26 AM by Damion »
 

Offline Damion

Re: FBlit hates me
« Reply #14 on: November 28, 2009, 01:45:07 AM »
BTW, my earlier comment in the thread still applies - if you switch back and forth between "graphics" and "other" in the WB prefs, you may still get some corruption until you reboot.

But this was assuming y'all had RTFM'ed and made the necessary changes before trying it. :p