Register To Post



 Bottom   Previous Topic   Next Topic

#1
New VB Emulator for Mac
Posted on: 2011/9/7 23:27
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
As part of my masters in CS I have been approved to write a virtual boy emulator. It will end up as part of one of my larger projects (www.openemu.org) In the meantime I figured I'd introduce myself here and announce the project.

Current status is ~70% of the CPU instructions partially emulated. The one thing I'm looking for is more detailed documentation than the Unofficial Dev Guide that is up on this site. There was some mention somewhere about the official development manual, but I can't seem to find a link. Any help?

- Josh
Top

#2
Re: New VB Emulator for Mac
Posted on: 2011/9/8 4:50
PVB Elite
Joined 2003/7/26
USA
967 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (9 Years) App Coder20+ Game Ratings
Welcome, jweinberg!

The end product won't be of much use to me as I don't own a Mac, but more power to you. I think there are membership duration and post count restrictions on accessing the devkit manuals and stuff. KR155E might waive the restriction if you ask nicely, though

Have you looked at the development wiki? Between it and the documents David Tucker has on his site (especially the datasheets from NEC) you should be able to get a lot of what you need.

Also, feel free to ask questions. There are still active members who've worked on some of the existing VB emulators.
Top

#3
Re: New VB Emulator for Mac
Posted on: 2011/9/8 7:26
Newbie
Joined 2011/9/1
Mexico
7 Posts
Long Time User (1 Year)
Quote:



Also, feel free to ask questions. There are still active members who've worked on some of the existing VB emulators.


and _O_ bless them all.
Top

#4
Re: New VB Emulator for Mac
Posted on: 2011/9/8 11:59
Administrator
Joined 2000/1/8
Germany
2108 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (13 Years) 80+ Game Ratings
Welcome to PVB, Josh! Indeed, due to being Nintendo property, the access to the official programming documents is restricted to long time users. You got a PM, though. ;-)

Good luck with your project! I am looking forward to seeing it shape up. :-)
Top

#5
Re: New VB Emulator for Mac
Posted on: 2011/9/12 2:00
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
Just a little status update.

All instructions other than Floating Point and Bitstring ops have been implemented.
Exception handling is implemented.

Seem to be moving along at a nice clip :)
Top

#6
Re: New VB Emulator for Mac
Posted on: 2011/9/22 4:06
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
Time for another small status update.

I've implemented all of the floating point instructions, as well as the custom instructions only used on the virtual boy. I need to take a step back and decide how I want to deal with the bit string operations (which are the only outstanding CPU instruction set)
Top

#7
Re: New VB Emulator for Mac
Posted on: 2011/10/5 23:43
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
Time for another status update. After fighting with a small bug (was using the wrong register in Add-Immediate) I have a 'working' CPU core. Next step is the VIP registers. I'm having a hard time finding any real documentation on how these registers are supposed to work though.
Top

#8
Re: New VB Emulator for Mac
Posted on: 2011/10/6 22:47
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
I was just able to successfully run the all the way through the Hello World demo rom and watch it spin the main loop. Next up is the rest of the VIP goo (OBJ, WORLDS and drawing)
Top

#9
Re: New VB Emulator for Mac
Posted on: 2011/10/7 20:52
PVB Elite
Joined 2003/7/26
USA
967 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (9 Years) App Coder20+ Game Ratings
Quote:

jweinberg wrote:
I was just able to successfully run the all the way through the Hello World demo rom and watch it spin the main loop. Next up is the rest of the VIP goo (OBJ, WORLDS and drawing)


Yay! My baby runs on your emulator!

Good work getting that far in such a short time! The rest should be a piece of cake, right?
Top

#10
Re: New VB Emulator for Mac
Posted on: 2011/10/7 21:07
VB Gamer
Joined 2011/9/7
USA
27 Posts
Long Time User (1 Year)App Coder
I had to 'cheat' a little with the VIP loop and mirror the timing values from RealityBoy (Red Dragon and Mednafen seem to use the same code as well) It feels like a really nasty hack and it doesn't look like it matches most of what I was able to glean from the VB Development Manual. I hope to revisit that later and attempt a more 'proper' VIP emulation.
Top

 Top   Previous Topic   Next Topic


Register To Post

You are not logged in.
Lost Password?
Register Resend Activation