Development Environment or Simulator

Post Reply
Shan
Posts: 2
Joined: Sun Sep 22, 2019 9:58 am
languages_spoken: english
ODROIDs: None at the moment!
Location: Sunshine Coast, QLD, Australia
Has thanked: 0
Been thanked: 0
Contact:

Development Environment or Simulator

Unread post by Shan » Sun Oct 06, 2019 1:24 pm

Hi All,

I've been following the GO for a while now and I'm close to purchasing one.

However, I tend to do most of my programming on a laptop on the train (2+ hr commute to work) and was wondering if there was a GO emulator/simulator that I could use where I can run/debug my code on the laptop without having to flash it to the GO?

I've come across this for the ESP8266:

https://github.com/corax89/game_engine_ ... h_compiler

which I've changed to work with the ESP32 and a 320x240 display:

https://github.com/Shando/game_engine_f ... h_compiler

This works fine, but I'm not 100% sure if the generated code will work with the GO?

Any help would be greatly appreciated.

Shando

Paspartout
Posts: 36
Joined: Fri Dec 28, 2018 2:13 am
languages_spoken: english, german
ODROIDs: Odroid go
Has thanked: 3 times
Been thanked: 8 times
Contact:

Re: Development Environment or Simulator

Unread post by Paspartout » Sun Oct 06, 2019 3:58 pm

Hello and welcome to the fourms,

That's a nice project you found there. Would be cool having a chip8 emulator type thing on the go.

Unfortunately there is no real emulator for the go that runs the xtensa/esp32 built code directly. I found This qemu port,
but it won't emulate the display, buttons and speaker.

For my recent project I made a simple abstraction using functions and implemented them as needed in SDL2. That makes it possible to compile the code for PC to and test a lot of things there.
You can take a look at it here: https://github.com/Paspartout/ogo-shell/tree/master/sim

Shan
Posts: 2
Joined: Sun Sep 22, 2019 9:58 am
languages_spoken: english
ODROIDs: None at the moment!
Location: Sunshine Coast, QLD, Australia
Has thanked: 0
Been thanked: 0
Contact:

Re: Development Environment or Simulator

Unread post by Shan » Mon Oct 07, 2019 7:32 am

Hey Paspartout,

Thanks for the welcome!

Your code looks promising, though I don't have a Linux machine (unless you count the one hidden in Windows 10!). However, I do have experience in Qt, so I'll see if I can marry up your SDL code with some that I have for Qt and take it from there.

Thanks for the idea.

Shando

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: Google [Bot] and 3 guests