For problems with Gamebuino itself, NOT your project
by Sorunome » Mon Mar 02, 2015 2:29 pm
Heya, I tried to compile the grescale demo found
here. It does compile but when running it in an emulator (gbsim) the screen just says transparent.
Terminal output doesn't seem to indicate anything is broken:
- Code: Select all
[sorunome@sorunome-desktop obj-x86_64-unknown-linux-gnu]$ ./main.elf /tmp/build2059475658172921910.tmp/tmp.cpp.elf
Loaded 1744 .text
Loaded 1008 .data
avr_interrupt_reset
I can't test on real hardware as I just ordered mine yesterday, and thus it hasen't even shipped yet.
Is it an emulator issue? I downloaded TimerOne from
https://www.pjrc.com/teensy/td_libs_TimerOne.html
-
Sorunome
-
- Posts: 629
- Joined: Sun Mar 01, 2015 1:58 pm
-
by rodot » Mon Mar 02, 2015 5:05 pm
Hey,
The article your are pointing to is outdated, GRAY is now part of the core library (only in the
beta branch so far). You can find a examples on the pages
gb.display.setColor and
gb.display.drawBitmap.
-
rodot
- Site Admin
-
- Posts: 1290
- Joined: Mon Nov 19, 2012 11:54 pm
- Location: France
-
by Sorunome » Mon Mar 02, 2015 5:31 pm
Is there still any reason it isn't working? I wanne try some other dark magic that is close to the screen.
-
Sorunome
-
- Posts: 629
- Joined: Sun Mar 01, 2015 1:58 pm
-
by Myndale » Mon Mar 02, 2015 7:03 pm
As far as I'm aware gbsim doesn't support greyscale, Denith discussed it a bit in the
original gamebuino emulator thread. I did add support for it to Simbuino (there's an example of it
here), although I know that doen't help much given you're on Linux. Sorry.
-
Myndale
-
- Posts: 507
- Joined: Sat Mar 01, 2014 1:25 am
by Sorunome » Mon Mar 02, 2015 7:25 pm
Oh, so I take it that it doesn't emulate dark magic doing with the display ports anyways....so i guess I'll have to wait for that one idea thingy until I get real hardware, hehe
-
Sorunome
-
- Posts: 629
- Joined: Sun Mar 01, 2015 1:58 pm
-
Return to Installation & Troubleshooting
Who is online
Users browsing this forum: No registered users and 1 guest