Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: BooBoo on May 02, 2011, 01:51:21 PM

Title: Large Screen BOB problem
Post by: BooBoo on May 02, 2011, 01:51:21 PM
With a Large Screen Screen 1008x1023 positioning a BOB around Y521 and beyond the BOB becomes distorted
The two images below -The First image shows the BOB at Y520 and the Second at 521
(http://img204.imageshack.us/img204/7674/62504180.th.png) (http://img204.imageshack.us/img204/7674/62504180.png)

(http://img852.imageshack.us/img852/3913/91302377.th.png) (http://img852.imageshack.us/img852/3913/91302377.png)
Sprites seem ok - What causes this and is there anyway around it?
Title: Re: Large Screen BOB problem
Post by: BooBoo on May 05, 2011, 03:37:27 PM
PowerBobs seems to fix this - But I dont realy like using the PowerBobs version of AMAL as it seems very bugged.

Anyone know of a contact for Manuel Andre?
Title: Re: Large Screen BOB problem
Post by: Hungry Horace on May 07, 2011, 06:13:56 PM
Are you using PowerBobs with the reg screen, out of interest?
Title: Re: Large Screen BOB problem
Post by: BooBoo on May 08, 2011, 09:08:21 AM
Yep just the Demo version with nag screen
Title: Re: Large Screen BOB problem
Post by: Lonewolf10 on August 05, 2011, 06:13:32 PM

That's a strange one. I have never seen that before, but I haven't worked with extra large screens in AMOS.

Did you get it fixed in the end?


Regards,
Lonewolf10
Title: Re: Large Screen BOB problem
Post by: judeEZT on January 13, 2015, 08:10:15 PM
Damn! I'm having the exact same problem.

I'm coding a 8-way scroller and need a large screen, but bitplanes seems get disjointed.

Anyone nows the best way to solve this?
Title: Re: Large Screen BOB problem
Post by: bruceuncle on January 16, 2015, 08:55:22 PM
If it's working okay in the PowerBobs extension then it looks like an AMOS bug.  So I've added it to the bugs register.
Anyone know of a likely cause?



Sent from my Lumia 800 using Tapatalk
Title: Re: Large Screen BOB problem
Post by: SamuraiCrow on January 20, 2015, 06:15:11 AM
Hmmm... Maybe it's a hardware glitch.  Sometimes there would be a problem with flaws in the design of the chipset and it would get worked around in the Kickstart routines but not in the hardware-banging code of the day.  That's one reason that using the Kickstart versions of the routines might be preferred.
Title: Re: Large Screen BOB problem
Post by: bruceuncle on January 24, 2015, 01:30:05 PM
Thanks SamuraiCrow, but I think this one's more likely an AMOS bug as BooBoo mentions that PowerBobs appears to fix it.  For now, it's just added to the bugs list.  I haven't given it a high priority so I'll find out when I get there, so to speak...  ;)
Title: Re: Large Screen BOB problem
Post by: SamuraiCrow on January 24, 2015, 02:12:07 PM
I'm not sure. Remember that PowerBobs uses the CPU to blit instead of the blitter. 
Title: Re: Large Screen BOB problem
Post by: bruceuncle on January 25, 2015, 04:43:41 AM
I'm not sure. Remember that PowerBobs uses the CPU to blit instead of the blitter. 
Ah, now I see what you're getting at SamuraiCrow.  Sorry for being a bit dense sometimes  ::) .

Do you think an emulator (I use WINUAE) would be accurate enough to test that sort of problem? 
Title: Re: Large Screen BOB problem
Post by: SamuraiCrow on January 25, 2015, 02:42:06 PM
If you use cycle exact timing for an A500 it should be accurate enough.  Also disable the JIT on the CPU for the most accurate tests.
Title: Re: Large Screen BOB problem
Post by: Hungry Horace on January 29, 2015, 07:35:56 AM
on this topic, did anyone ever manage to reverse engineer PowerBobs to get rid of the nag screen and/or potentially include it as a 'bob' command alternative in new versions of AMOS?
 
Title: Re: Large Screen BOB problem
Post by: SamuraiCrow on January 29, 2015, 02:43:48 PM
Sorry, no.  But I have been commissioned by the Apollo team to write software blitter routines for an FPGA accelerator so using the Kickstart routines would be wiser.
Title: Re: Large Screen BOB problem
Post by: Lonewolf10 on February 14, 2015, 06:54:11 PM
I haven't tried doing anything like that with any extensions.

I haven't used it for ages, but at a guess the 'nag screen' will likely be part of the Cold start "C_Lib -> L0" routine. A well placed jmp instruction should enable it to be skipped without causing the rest of it to fall over.
Which version of Powerbobs are you using? If I have it I can give it a try, but no promises...
Title: Re: Large Screen BOB problem
Post by: bruceuncle on February 15, 2015, 01:44:52 AM
I haven't tried doing anything like that with any extensions.

I haven't used it for ages, but at a guess the 'nag screen' will likely be part of the Cold start "C_Lib -> L0" routine. A well placed jmp instruction should enable it to be skipped without causing the rest of it to fall over.
Which version of Powerbobs are you using? If I have it I can give it a try, but no promises...
Don't do anything just yet.  As I'd mentioned elsewhere, I got fed up with not being able to unleash the true power of Resource (its macros) due to all the good info being locked up in a user-unfriendly help system.  I'd databased the Resource help data a while back and done nothing with it.  So I did a quick and dirty Access report a couple of weeks ago so I could get a preview and read it at last!.  (I've attached a PDF of it for anyone interested - I'll be dragging a cross-referenced and much tidied up version out of the database when I get the time.)  Fantastic what Resource can really do.

So, I'm in the middle of writing the Resource macros to disassemble ANY AMOS library (both old and new versions).  As PowerBobs was topical, that's been the guinea pig for testing.  This is not just getting at the code - these macros add in the AMOS labels and equates to make reassembly for the AMOS Pro environment a piece of cake.  You get all the Rxxx library macros inserted with the original dc.w lines commented out;  plus all the +LEqu.s amos.library calls and the +Equ.s A5 offsets resolved to symbols.  I'd created (and posted here a long time ago) the Resource symbol libraries for AMOS Pro.  I've modified them a little since then so I'll have to get them together for release too - the macros rely heavily on them.

I always suspected Resource was more powerful that it looks.  The version I'm using is V6.06.  Does anyone know the legal position with a program like that?  I haven't seen that version around in 'the usual places'.  Mine came from an image of an Amiga HDD I came across a while back.  These macros will only work in V6.06.

The manual attached here was very much created just for me.  So there's no contents, index, etc.  The first few pages contain the 'general' topics, then it's sequenced in the same order as the menus followed by the order in which the pop-up button windows appear in V6.06.  I cut the built-in symbol libraries out as they blew the page count up to 636!  They'd perhaps be better published separately as a reference.  But all that will be after AMOS Pro V2.10...
Title: Re: Large Screen BOB problem
Post by: BooBoo on February 15, 2015, 03:28:31 AM
To be honest iirc powerbobs is VERY bugged and using large screens like this is silly, just a increase on Y to about 700 would be good but not the end of the world.

Having said that its down to preference and I guess using a hudge screen could be cool less cpu intensive but memory hungry.
Title: Re: Large Screen BOB problem
Post by: Lonewolf10 on February 15, 2015, 03:57:39 PM
Don't do anything just yet.  As I'd mentioned elsewhere, I got fed up with not being able to unleash the true power of Resource (its macros) due to all the good info being locked up in a user-unfriendly help system.  I'd databased the Resource help data a while back and done nothing with it.  So I did a quick and dirty Access report a couple of weeks ago so I could get a preview and read it at last!.  (I've attached a PDF of it for anyone interested - I'll be dragging a cross-referenced and much tidied up version out of the database when I get the time.) 

Ok, I'll hold off on it for now.

I started reading the PDF then noticed it was 93 pages long! I shall read it a few pages at a time, starting later in the week.


I cut the built-in symbol libraries out as they blew the page count up to 636!  They'd perhaps be better published separately as a reference.  But all that will be after AMOS Pro V2.10...

Wow!! 636 pages!  :o