You are not logged in.
Lost Password?

Register To Post

 Bottom   Previous Topic   Next Topic

How do you compose a new .vb file?
Posted on: 2013/1/13 3:26
VB Gamer
Joined 2012/9/16
22 Posts
Long Time User (6 Years)
Hello world! I am so lost. How to I make a new file? I opened up notepad ++, typed in a simple pong game, then proceeded to open up make. It did not work and I have no idea how to turn that c file into a visual basic source file. Look at this picture to explain my attempt, then my reaction. Another question, can any c file be turned into a rom?

Attach file:

png  Ffffuuu.png (65.33 KB)
2965_50f21b30ba2cb.png 310X356 px

png  Help.png (3.11 KB)
2965_50f21b4a30a95.png 454X51 px

Re: How do you compose a new .vb file?
Posted on: 2013/1/13 16:13
PVB Elite
Joined 2011/7/1
1109 Posts
CoderContributorTop10 PosterLong Time User (8 Years) App CoderPVBCC 2013 Entry
OK... first of all: the .vb has nothing to do with visual basic. It is simply your compiled c file which then can be run in an emulator or on a Flashboy (.vb meaning VirtualBoy).

If you want to compile a c file you need, besides your source files, a Makefile that tells the compiler how to compile and link your sources. I attached an empty project which already includes everything you need. If you copy this to your cygwin/home/yourname directory and then execute 'make' in that directory it should compile the empty project. You can then include your existing code into this empty project.

I would be way easier for you to simply use vbde (The empty project is included there) though. Just extract it to C:/vbde and start the notepad++ which is included. You can compile the project from within notepad++ then.

 Top   Previous Topic   Next Topic

Register To Post