You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#31
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/10/30 13:36
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
I am able get rid of the errors and get Blox 2 to compile if I comment out a few small portions of the code. I can't explain to myself what's causing the memcpy error, but I am now much closer to finding the problem. :)

EDIT: Here's the line that causes the memcpy problem. It's used to define a button code sequence. I don't see anything wrong with it:

u16 classic[] = {2050, 2050, 1026, 1026, 34, 18, 34, 18, 6, 10, 8194}; /* LU, LU, LD, LD, LT, RT, LT, RT, A, B, Sel */

EDIT2: Got that solved, thanks to dasi! :)
Edited by KR155E on 2012/10/30 13:49
Edited by KR155E on 2012/10/30 15:42
Top

#32
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/10/30 19:43
PVB Elite
Joined 2011/7/1
Germany
1109 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
Just out of curoisity. Was it because you did not reference the mem.c file in your Makefile?
Top

#33
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/10/30 20:22
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Quote:

thunderstruck schrieb:
Just out of curoisity. Was it because you did not reference the mem.c file in your Makefile?


No. I don't know why it did not work, but I simply had to declare the array as a global constant to make it work.
Top

#34
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/14 21:40
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Here's preview 3 of VBDE!

It includes some things contributed by thunderstruck, like the VIDE shortcut or a newer crt0. Other changes include:

- Projects now only contain the user's code and ROM header information. Everything else, like libgccvb and a default makefile have been abstracted away to be shared by all projects

- Many additions to the "PVB Framework", which provides the user with a higher level infrastructure to build new projects upon. For example: Adjustment and Precaution screens, multilingual text output including ISO 8859-1 (umlauts!) support, an abstraction to handle button presses, timer and system setup functions

Download: http://www.planetvb.com/content/vbde_preview3.7z


P.S. I also tried to include the vbJAEngine and MarioVB sources, but did not yet get those to compile. If someone smarter (and less lazy) than me could give it a try, this would be great!
Edited by KR155E on 2013/1/14 21:52
Top

#35
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/14 22:03
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Oh, another idea that just popped into my head: wouldn't it be cool to have a script which checks our server for updates and, in case there is a newer version, downloads and extracts it to c:/vbde, thus updating the local installation? A simple batch file calling cURL and 7-Zip should do the job.
Top

#36
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/14 22:08
PVB Elite
Joined 2011/7/1
Germany
1109 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
Quote:

KR155E wrote:
Oh, another idea that just popped into my head: wouldn't it be cool to have a script which checks our server for updates and, in case there is a newer version, downloads and extracts it to c:/vbde, thus updating the local installation? A simple batch file calling cURL and 7-Zip should do the job.


There are actually tools that can build a web-installer including stuff like automatically download latest, create shortcuts and so on... I can't remember the name right now... have to check when I'm at work.
Top

#37
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/15 20:54
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Here's Preview Release 4.

- Updated Notepad++ to latest
- Custom button bar!
- VBDE icon
- Some more cleanups

http://www.planetvb.com/content/vbde_preview4.7z
Top

#38
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/15 21:03
PVB Elite
Joined 2011/7/1
Germany
1109 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
Quote:

KR155E wrote:
Here's Preview Release 4.

- Updated Notepad++ to latest
- Custom button bar!
- VBDE icon
- Some more cleanups

http://www.planetvb.com/content/vbde_preview4.7z


Just in case you would like to have an installer: http://teejee2008.wordpress.com/7-zip-sfx-maker/
Top

#39
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/15 23:40
PVB Elite
Joined 2008/12/28
Slovenia
628 Posts
Highscore Top ScoreHighscore Top ScoreCoderContributor10+ Game RatingsLong Time User (10 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Wow, this is awesome! Looks like I'll finally upgrade from gccVB 1.0.

Here's a modified version of build.bat (I call it "mbuild.bat") that can be used standalone from the command line, for those who already have an IDE set up. To use it, CD to C:\vbde\system and execute it with "MBUILD PATH\ NAME".

----------------------------------------

@ECHO OFF

:: SET ENVIRONMENT VARIABLES (only for this batch file; do not affect the whole system)
SETLOCAL
SET PATH=%PATH%;C:\vbde\gccvb\make-3.81-bin\bin\;C:\vbde\gccvb\bin;C:\vbde\tools\rom\vbid-1.0-win;C:\vbde\libs\libgccvb
:: The libgccvb in gccVB 1.0 is incompatible with the one in VBDE. Remove the first part if you're not upgrading from it.
SET C_INCLUDE_PATH=C:\gccvb\include;C:\vbde\libs\libgccvb;C:\vbde\libs\pvbfw;C:\vbde\libs\vbjaengine

:: CHANGE TO PROJECT DIRECTORY
PUSHD %1

:: PRE-CLEAN
IF EXIST %2.vb DEL %2.vb
IF EXIST %2_pad.vb DEL %2_pad.vb

:: COMPILE
make.exe -f C:\vbde\libs\makefile TARGET=%2 --quiet

:: SET ROM HEADER
SETLOCAL EnableDelayedExpansion
FOR /f "tokens=* delims= " %%a in (%2.vbh) do (
SET /a N+=1
SET v!N!=%%a
)
vbid.exe %2.vb "!v4!" - !v6! !v8! !v10! > NUL

:: POST-CLEAN
DEL %2.o

:: CHANGE TO PREVIOUS DIRECTORY
POPD
Top

#40
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2013/1/27 1:53
Nintendoid!
Joined 2012/8/5
USA
117 Posts
CoderLong Time User (7 Years) PVBCC 2013 3rd
Finally made the switch to the new vbde. All of a sudden all of my interrupt code that wasn't working now works. You have no idea how much frustration this just saved me. Great job!
Top

 Top   Previous Topic   Next Topic


Register To Post