A gamebuino "emulator" ?

Libraries, utilities, bootloaders...

Re: A gamebuino "emulator" ?

Postby Hark0 » Wed Jul 30, 2014 11:54 am

Error file of Windows:

Code: Select all
EXE NAME="gbsim.exe"
FILTER="GRABMI_FILTER_PRIVACY"

MATCHING_FILE NAME="gbsim.exe"
SIZE="395278"
CHECKSUM="0x83CAE376"
MODULE_TYPE="WIN32"
PE_CHECKSUM="0x0"
LINKER_VERSION="0x10000"
LINK_DATE="05/11/2014 11:00:47"
UPTO_LINK_DATE="05/11/2014 11:00:47"

EXE NAME="kernel32.dll"
FILTER="GRABMI_FILTER_THISFILEONLY"

MATCHING_FILE NAME="kernel32.dll"
SIZE="989696"
CHECKSUM="0xB5DC424E"
BIN_FILE_VERSION="5.1.2600.5508"
BIN_PRODUCT_VERSION="5.1.2600.5508"
PRODUCT_VERSION="5.1.2600.5508"
FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation"
PRODUCT_NAME="Microsoft® Windows® Operating System"
FILE_VERSION="5.1.2600.5508 (xpsp.080320-1628)"
ORIGINAL_FILENAME="kernel32"
INTERNAL_NAME="kernel32"
LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved."
VERFILEDATEHI="0x0"
VERFILEDATELO="0x0"
VERFILEOS="0x40004"
VERFILETYPE="0x2"
MODULE_TYPE="WIN32"
PE_CHECKSUM="0x100D32"
LINKER_VERSION="0x50001"
UPTO_BIN_FILE_VERSION="5.1.2600.5508"
UPTO_BIN_PRODUCT_VERSION="5.1.2600.5508"
LINK_DATE="03/20/2008 20:05:27" UPTO_LINK_DATE="03/20/2008 20:05:27" VER_LANGUAGE="English (United States) [0x409]"
User avatar
Hark0
 
Posts: 55
Joined: Wed Apr 09, 2014 4:45 am
Location: Cornella de Llobregat, Barcelona

Re: A gamebuino "emulator" ?

Postby Hark0 » Wed Jul 30, 2014 11:57 am

YEP!!!

FIXED!


I enabled 2d/3d video acceleration in VirtualBox Settings!

;)
User avatar
Hark0
 
Posts: 55
Joined: Wed Apr 09, 2014 4:45 am
Location: Cornella de Llobregat, Barcelona

Re: A gamebuino "emulator" ?

Postby rodot » Thu Jul 31, 2014 9:23 pm

Nobody compiled the emulator for mac/linux?
One very simple suggestion about the source code would be to remove the counter in the top left corner, so it won't appear on people's screen shots.
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

Re: A gamebuino "emulator" ?

Postby 94k » Thu Jul 31, 2014 10:32 pm

The emulator works perfectly fine with wine, I might try to compile it natively some time though.
User avatar
94k
 
Posts: 44
Joined: Sun Jul 27, 2014 9:41 pm
Location: Germany

Re: A gamebuino "emulator" ?

Postby rodot » Thu Jul 31, 2014 10:35 pm

That what just out of curiosity, so I can put the emulator binaries along with the java toolkit.
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

Re: A gamebuino "emulator" ?

Postby Limited » Sat Aug 02, 2014 4:14 pm

Are we able to add some code into the project that prints out in the emulator console window?
Limited
 
Posts: 13
Joined: Sat May 31, 2014 7:25 pm

Re: A gamebuino "emulator" ?

Postby Deneth » Thu Aug 07, 2014 12:56 pm

rodot wrote:Nobody compiled the emulator for mac/linux?
One very simple suggestion about the source code would be to remove the counter in the top left corner, so it won't appear on people's screen shots.


That's probably a good idea, it's not very useful for most people.

Limited wrote:Are we able to add some code into the project that prints out in the emulator console window?


I have a feeling the AVR simulator can already do that.

I don't have a lot of time right now but I'll see what I can do.
Deneth
 
Posts: 28
Joined: Sun Mar 02, 2014 11:44 am

Re: A gamebuino "emulator" ?

Postby AntonyPrince » Fri Aug 08, 2014 9:58 pm

I managed to compile the binaries with no compiler errors on Ubuntu 12.04.5 i386 on a VM. Unfortunately I cannot test it because with Unity enabled, it just launches a black box and with Gnome2 & Gnome3 it just says "Invalid renderer". I believe it is because it is a VM and the graphics rendering is already pretty sketchy anyway. So if anyone wants to test it on a native box, that'd be awesome. I didn't know if the simavr folder the compiler produced was required, so I included it as well.

tar.gz of the entire compiler output (gbsim & simavr folders)
MD5 checksum for gbsim.tar.gz
SHA256 checksum for gbsim.tar.gz
Virustotal results for gbsim.tar.gz

All credit for the source goes to the authors and as per the license, the source for the above object code can be found on Github

I can put up an x86_64 vm and build them as well if needed. Also a suggestion as far as the counter in the emulator display goes, you could just add a command line switch to enable it rather than removing it completely. Something like "gbsim <elf_file>" for no counter and "gbsim -c <elf_file>" to enable the counter.
User avatar
AntonyPrince
 
Posts: 21
Joined: Thu Aug 07, 2014 1:07 am
Location: Virginia, United States

Re: A gamebuino "emulator" ?

Postby Deneth » Sat Aug 09, 2014 7:49 am

AntonyPrince wrote:I cannot test it because with Unity enabled, it just launches a black box and with Gnome2 & Gnome3 it just says "Invalid renderer".


Someone suggested it's because VMs often can't do 3D graphics. I'm not sure whether SDL2 can work without it.
Deneth
 
Posts: 28
Joined: Sun Mar 02, 2014 11:44 am

Re: A gamebuino "emulator" ?

Postby rodot » Sat Aug 09, 2014 8:00 am

Thanks for compiling the emulator for Ubuntu :)
I wanted to give it a try, but I can't download it, I get "This webpage is not available". Although the main page of your website works fine.
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

PreviousNext

Return to Software Development

Who is online

Users browsing this forum: No registered users and 24 guests