You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#11
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/4 2:23
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (14 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Isn't that the way Lameboy used to do his drawing? I remember him making a raycaster which was ridiculously slow, and I think he used BGMaps, rather than drawing directly to the framebuffers. I don't think the BGMaps were the reason it was slow though ;) .

DogP
Top

#12
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/4 2:44
VUE(xpert)
Joined 2006/9/29
USA
267 Posts
CoderLong Time User (11 Years) PVBCC 2010 3rd
Aha, I figured someone else had probably beat me to it. Well, at least it's library-ized now.

Funny story, I just wrote my first raycaster in Java a few weeks ago and was wondering how slow it would be on VB...
Top

#13
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/6 9:15
Nintendoid!
Joined 2008/10/19
USA
102 Posts
Long Time User (9 Years)
Quote:

Fwirt wrote:
Quote:

wazzal wrote:
So I just tried this on a FlashBoy Plus, and it is rather buggy. There are vertical lines, and the graphics "shake" left and right. But regardless, I really like the concept!

Oooh, really? Sorry about that... It works flawlessly in mednafen. I wonder what's causing the vertical lines... Where do they appear? Does the screen shake only when rendering or the whole time?


I flashed it on just now to double check, and the vertical lines appear from start up. They are essentially black lines spread out amongst the whole screen.
The horizontal shaking occurs the entire time as well.

It really is quite intriguing as to what is causing these issues on the real system vs mednafen
Top

#14
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/7 4:55
VUE(xpert)
Joined 2006/9/29
USA
267 Posts
CoderLong Time User (11 Years) PVBCC 2010 3rd
Hmm... Looking back at my source code, I realize that I forgot to call vbSetColTable(), could that be causing it? I've always forgotten to call that because it's never affected how my code ran in an emulator, but I wonder if that would cause vertical lines and shaking on real hardware. As a double check, I just ran it on Reality Boy and it runs perfectly there too... I would attach a version with that function call in, but I don't think it would be fair to do that until after the voting deadline has passed. But wazzal, if you have the toolchain built, feel free to add that line to mandelbrot.c right after vbDisplayOn() and let me know if that fixes it.
Top

#15
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/7 8:30
PVB Elite
Joined 2003/7/26
USA
1411 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (14 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Quote:

Fwirt wrote:
Hmm... Looking back at my source code, I realize that I forgot to call vbSetColTable(), could that be causing it?


First, you should check to see if your crt0 is already setting up the column table itself. If it is, there's no need to insert a call to that function, and the problem is likely elsewhere (although it does sound suspiciously like a CT problem).
Top

#16
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/7 22:50
VUE(xpert)
Joined 2006/9/29
USA
267 Posts
CoderLong Time User (11 Years) PVBCC 2010 3rd
Hmm... I just looked at the version of crt0.s that I built from, and there's a line commented out...

/* Column Table */
/*jal    _setcoltable*/

I'll uncomment that and rebuild it.
Top

#17
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/8 9:47
PVB Elite
Joined 2008/11/10
Great Britain
506 Posts
ContributorLong Time User (9 Years)
Ah thats why i couldn't use it over the weekend, if others also feel its ok to release the modded code I would love to see it so i can play in my VB and vote accordingly, my voting is based on using the entries on a Flashboy in the hardware.
I like the concept, Ive not playing with a fractal generator for many years, I have had a look at all the entries on an emulator but i wanted to reserve my true views on all of them for the hardware experience.
The bugginess did give me mild panic that my VB unit had suddenly got glitchy, i had to dig out an official cart to check, and hence ended up spending a good hour on Sunday playing Mario Clash again.
Top

#18
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/8 18:31
VUE(xpert)
Joined 2006/9/29
USA
267 Posts
CoderLong Time User (11 Years) PVBCC 2010 3rd
It would be nice if I could release a fixed version, since this bug didn't appear until it was tested on real hardware after the contest was over. (If I could have tested it on real hardware I would have... Maybe I'll be able to afford a FlashBoy one of these days.) I don't believe there was anything in the rules about posting an update after the deadline, but I'd want to be sure that I wasn't going to be stepping on anyone's toes before I did it. I promise I won't add any new features.

I hope I haven't lost too many votes because of this...
Top

#19
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/9 10:06
Administrator
Joined 2000/1/8
Germany
2427 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Sure, post the update!

But, since it comes in after the deadline, I am afraid I can't include that in the ZIP file which can be found in the news post and which should be the base for user votes. :/
Top

#20
Re: [ENTRY] Mandelbrot Explorer
Posted on: 2010/11/9 21:48
VUE(xpert)
Joined 2006/9/29
USA
267 Posts
CoderLong Time User (11 Years) PVBCC 2010 3rd
Great! I don't care that it's not in the zip file. Here's the updated version, my crt0 should be fixed, but my main also calls vbSetColTable() just in case. As an added bonus, I actually set the header info this time. The publisher ID "SP" is now taken. (I'll update the dev wiki.)

Someone should try running it on hardware and let me know if that resolves the issue.

Attach file:


zip mandelbrot.zip Size: 45.99 KB; Hits: 142
Top

 Top   Previous Topic   Next Topic


Register To Post