You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#1
VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/7 20:49
Administrator
Joined 2000/1/8
Germany
2516 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
I am currently working on packaging up a complete, portable Virtual Boy development environment ("VBDE") for Windows. Only download, unzip and start working, no installation, no hassle. It comes in the form of an editor (Notepad++) with shortcuts for compiling, running with Reality Boy or Mednafen and flashing to a FlashBoy. Also included will be example code which can be used as a starting base for new projects.

VBDE currently consists of:
- Cygwin with gccVB 2.95
- a portable Notepad++, with a few plugins and custom shortcuts
- a collection of development tools
- example code

Thank yous go to thunderstruck for helping me with tying this thing together. :-)

I got this working on my machine, but still need to do some tests to see if it really is portable. :-P If so, I will make a preview version available soon.

Hopefully, this project will finally end all the confusion newcomers to VB programming have to face and make setting up a development environment as easy as downloading and unzipping. Also, I hope the included example/base code can be used to hold a standardized library. A point to collect all the useful bits and bytes which are currently scattered in countless private versions of libgccvb, to give developers the best possible tools at hand to create amazing new homebrews for out beloved Virtual Boy.
Top

#2
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/8 2:15
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
This is a great idea, KR155E; thanks for doing it!

I may be able to remove the cygwin dependency from your package. April of last year, I got native Win32 binaries of gccVB (based on gcc 4.4.2) to compile (I think I used M.K.'s patches from this thread). I can send you a .7z of the binaries (~12MB), and maybe even the patched source.

I know I tested them at the time and they produced working VB ROMs, but something might need updating (e.g. the crt0 or libgccvb). Speaking of libgccvb, does your copy still consist only of .h file(s)? I made a version that consists of one header and one .c file that you could look at. It may be possible to turn them into a library that can be included with the compiler, rather than in each project's source directory.

One suggestion/request: make a version of the environment that can be installed to and used from a USB flash drive, to allow development on any computer available. I'm sure there's already a version of Notepad++ that works like this.
Edited by RunnerPack on 2012/3/8 2:25
Top

#3
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/8 2:22
Nintendoid!
Joined 2009/8/11
USA
112 Posts
Long Time User (10 Years)
--- Useless babbling ---
I was planning on doing the same thing, except with Eclipse, but I guess I won't have to do that anymore! (I have mixed feelings about Eclipse but it seems like all the embedded silicon companies are switching to it for their IDEs)

I am using Notepad++ at work right now, and it seems okay. I know there were a few things I did not like but can't remember what specifically right now. Anyway, I just use it to view/edit code on Windows, never used it to manage a project or to launch tools.

I think my favorite IDE is the Qt IDE, but I do not know if you can easily set it up for non-Qt code. I know you can set a cross compiler, but it might not work ideally.
--- End of Useless babbling ---

--- Somewhat relevant babbling ---
I swear I was able to compile the compiler with mingw, but I can't remember (it was a year or so ago when I tried). Anyway, if it is possible to compile it under mingw then you would not need to include any of the cygwin stuff.

Hopefully your collection of development tools includes a simulator (I am sure it will).
--- End of somewhat relevant babbling ---

--- Thanks and bye section ---
Glad to see you are working on this! Good luck, and let us know if you need any help!

- Matt
Top

#4
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/8 11:13
Administrator
Joined 2000/1/8
Germany
2516 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Thanks for the feedback! I am at work right now so I will have to make it short, but I'll get back to you as soon as I can. Just posting to let you know that my test was a total success! I copied everything to my one of my computers at work and I was able to compile and run thunderstruck's MIDI player without any problems. :-)
Top

#5
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/11 17:42
PVB Elite
Joined 2011/7/1
Germany
1118 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
It would be cool to have some demos, the SU Sound Engine, and maybe some open source HB games being part of the VBDE. Also some basic tutorials would be helpful.
Top

#6
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/12 20:19
Administrator
Joined 2000/1/8
Germany
2516 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Okay, here's the first preview version: vbde_preview1.zip (100MB)
Extract its contents to C:/ and launch "VBDE.lnk".

@RunnerPack: it would be fantastic if you could add those native gcc4 binaries to the package, so we could get rid of that huge Cygwin overhead, which makes like 98% of the package size! :-)

Also, with a few changes to some batch files, I guess it should be possible to make this fully portable (and moveable to any folder?).

@mbuchman: Eclipse is a great IDE! Using it at work and find it very comfortable to work with. Maybe, we could make different version of VBDE with different editors. Or, if they're not too big in filesize, we could also ship VBDE with different editors.

@thunderstruck: For now, I have included the source to your MIDI player in the package to just show that it works. Eventually I want to include some demos (maybe Fwirt's demo collection?) plus a barebone code that comes with a standard library, included MIDI player, standard precaution and adjustment screens and so on. Basically something with everything in place to easily start new a project from.
Top

#7
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/13 20:58
PVB Elite
Joined 2008/12/28
Slovenia
629 Posts
Highscore Top ScoreHighscore Top ScoreCoderContributor10+ Game RatingsLong Time User (10 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
A hundred megs? That's way too much! Native executables would indeed be welcome.
Top

#8
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/14 8:12
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Yes, this would be great, but the latest gccVB would be a MUCH better.

Applying patches and compiling the whole thing in Cygwin, and having stuff not work because packages changed or whatever is frustrating. The IDE is less important IMO, but something lightweight like Notepad++ is a good compromise. Unzip and start working is nice, but an installer/uninstaller would be good as well. There may be some things like environment variables that would be nice when someone outgrows the simple batch file build.

You may want to add Grit to the package... I'm ashamed to say I still use VIDE, even though I know Grit is a better tool.

Of course a nice common library would be really nice as well, but that seems like an impossibility. ;)

And while 100MB seems absurd... I wouldn't worry so much about that unless you're worried about your bandwidth. (Pretty much) everyone has broadband these days, and it's not uncommon for development environments to be ridiculously huge... 100MB isn't gonna fill up anyone's HD.

DogP
Top

#9
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/25 7:32
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
The gccVB I have (4.2.2) is about 95+MB, but compresses to ~12MB with 7zip. This is still too big for a PVB attachment, so I put it in my Dropbox:

http://dl.dropbox.com/u/5754740/gccvb.7z

Like I said, it still needs some testing. I seem to recall it not liking some syntax gubbins in one of the libgccvb headers. I'm also attaching the "more librarier" version of the library. I think it worked with this compiler at some point, but I added some stuff, so it hasn't been fully tested yet. It might even be missing stuff.

If you want to do an installer, I suggest NSIS:

http://nsis.sourceforge.net/Main_Page

Also, here's another editor you might consider including:

http://www.pnotepad.org/

I plan to make a gccVB-specific syntax file (or "scheme") for it. If you don't have one for N++, I could probably do one while I'm making the other.

Attach file:


zip libgccvb_runnerpack.zip Size: 7.23 KB; Hits: 178
Top

#10
Re: VBDE: A Virtual Boy Development Environment
Posted on: 2012/3/29 13:16
Administrator
Joined 2000/1/8
Germany
2516 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Thanks, RunnerPack!

I looked at the gccvb package and was not sure what to do to compile, since there's no make.exe. Should I modify the make.bat that came with the very first gccvb release?

About libgccvb, are there any advantages of having only a single h and a single c file?

I will look into including Programmer's Notepad as well. Custom schemes would be great for both this and Notepad++. :-)
Top

 Top   Previous Topic   Next Topic


Register To Post