You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
Etch-A-Sketch and latest gccVB
Posted on: 2010/1/6 18:26
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
I can't get direct screen drawing to work with the latest gccVB (the one that runs under cygwin). I noticed the problem in Yeti3D, but the same is true for DogP's Etch-A-Sketch.

The code compiles just fine, and the Etch-A-Sketch border shows up, but nothing of what you draw is visible.

This is strange, because the exact same code compiles into a working rom with the older gccVB...

Any ideas?
Top

#2
Re: Etch-A-Sketch and latest gccVB
Posted on: 2010/1/6 20:44
PVB Elite
Joined 2003/7/26
USA
1464 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Have you tried comparing the ROMs (or disassembly listings of them)?

I don't currently have either compiler installed, so I can't try it out myself. I hope the problem gets fixed before I do reinstall, though.
Top

#3
Re: Etch-A-Sketch and latest gccVB
Posted on: 2010/1/7 1:56
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
It's been a while, but I think I remember coming across a problem like that, and it ended up being related to something in the libgccvb.h not being declared volatile... but I could be imagining things, or remembering something else. I'll try to look into it when I get a chance.

DogP
Top

#4
Re: Etch-A-Sketch and latest gccVB
Posted on: 2010/1/7 17:49
VUE(xpert)
Joined 2003/9/3
Sweden
442 Posts
PVBCC EntryHighscore Top10 3rdCoderContributorHOTY09 2ndLong Time User (15 Years) DonatorApp CoderPVBCC 2010 1st20+ Game RatingsPVBCC 2013 2nd
Thanks for the tip! I changed the declaration of the VIP_REGS pointer to volatile (which does make sense when you think about it), and now it works!
Top

#5
Re: Etch-A-Sketch and latest gccVB
Posted on: 2010/1/8 2:03
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Ah... cool, glad that helped.

DogP
Top

 Top   Previous Topic   Next Topic


Register To Post