You are not logged in.
Lost Password?

All Posts (atari24)




#1
Re: Assembler source code
Posted on: 2005/2/28 14:16
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I used the version found at the japanese site, which is 2.10. I'm hoping in the next couple of days to try it on 2.14, and maybe gcc 3.3.3.

I only found a couple small things that needed altering from the files on the site, so it doesn't take much to get it going.
Top

Topic | Forum


#2
Re: What's your favorite Band/Album at the moment?
Posted on: 2005/2/25 14:39
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
Right now I'm listening to John Frusciante. He released 7 albums in the past year! Its really hard to pick a favorite out of them all, probably The DC EP is my favorite.

Also listening to Joy Division, The Germs, Atari Teenage Riot, and Miles Davis.
Top

Topic | Forum


#3
Re: Assembler source code
Posted on: 2005/2/25 14:33
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I've got gccvb up and running!

I just had to slighty alter a macro in the tc-v810.c file, and voila! it works! I haven't done extensive testing(still haven't gotten around to compiling allegro & reality boy) but it successfully compiled some source. I added in the linker script and crt0.o from the official gccvb (thanks Parasyte!) and it linked succesfully as well. I was also able to compile padromvb (thanks RunnerPack!), but I haven't tested it yet. I checked the assembly listing and it was in correct v810 format, so as long as the assembler works, it should be a valid VB image once I add a header and pad off the rom.

So now I've got a working gccvb on my Linux/PPC system. Hell, its even got a fortran compiler :) So, I'll test it out fully, and then I'll also compile it for Linux/i386, and eventually for OS 9 & OS X.
Top

Topic | Forum


#4
Re: Assembly VS. C
Posted on: 2005/2/21 16:14
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
As for an optimizing compiler, has anyone compared the binaries of code compiled with different optimizing settings in gccvb(-O2 vs. -O3 etc)?
Top

Topic | Forum


#5
Re: Assembler source code
Posted on: 2005/2/21 16:10
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
OK, I didn't have much time to work on this weekend, and I'm going from memory...

When I try to build binutils, it fails at the point where it is compiling tc-v810.c in the gas/config directory. This file appears to be the main file for the gas assembler. The problem is, I get a bunch of harmless(?) warning messages, but no error message. It actually gives the error on the tc-v810.o file. So it could be a linker error, but I don't think its at that point in the build yet. So....I've got my work cut out for me. If anyone has any ideas, let me know.

As for reality boy, I tried compiling it, but realised I didn't have the allegro library installed, so I'll get back to you with those results.
Top

Topic | Forum


#6
Diagnostic mode(s)
Posted on: 2005/2/18 16:02
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I was browsing another forum, and came across a way to activate an alignment test. By pressing Left, B, Down, A, Up (on the right pad) it brings up an alignment screen:

----|----|-----


Does anyone know of any other diagnostic screens? Also, is this function built into the hardware? I tried it on Wario Land and it only worked on the title screen, so is it part of the game, or do games have a method of enabling/disabling it?
Top

Topic | Forum


#7
Re: Assembler source code
Posted on: 2005/2/18 15:58
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
Its not compiling yet, so it might take a little work. I would like to adapt the patch to the current releases of binutils and gcc, so we can fix things like the custom v810 addresses you mentioned.

I'll definately share, I'm completely for open source. (and I'm sure people smarter than me will improve on whatever I do ;)
Top

Topic | Forum


#8
Re: Assembler source code
Posted on: 2005/2/17 16:52
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
Thanks for the link! The page was actually easy enough to follow. I'm gonna compile it tonight and see how it goes. If all goes well I can get back to developing my pacman game:)
Top

Topic | Forum


#9
Assembly VS. C
Posted on: 2005/2/16 18:42
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
I am curious as to what everyone here uses to program the VB with. Is anyone here a die-hard assembly user? Or is it C or nothing? Does anyone know what most commercial games were written with?

I'm kind of in the middle. I'm used to Assembly from programming atari 2600, but when I really enjoyed gccVB when I used it because it felt very very low level.
Top

Topic | Forum


#10
Re: Assembler source code
Posted on: 2005/2/16 18:38
VB Gamer
Joined 2004/1/14
USA
18 Posts
Long Time User (15 Years)
Thanks! I don't know why I didn't think of looking at the source to the Java compiler. In fact I don't know why I didn't think to use it, since I have java on my machine.....I easily miss the obvious sometimes. The reason I wanted the source code is that I run Linux on a Mac(don't laugh), so the regular Linux binaries wouldn't work.

I may still go ahead with my own assembler, though, especially if there are features others would like to see in it. Also, the time it would take to program it would take away from my VB programming :)

Also, when you say compile gccVB, does that mean that source is available? I've only seen the win32 binary.
Top

Topic | Forum