Author Topic: Development Environment for z80 on Linux ?  (Read 8235 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Development Environment for z80 on Linux ?
« on: July 23, 2014, 05:37:30 am »
So, as the title says, I am looking for something that would allow me to code in Axe (or in Basic if you prefer) on Linux.

Basically, I need something like TokenIDE (not necessarily with as many options like image editing and such, just something to edit 8xp files, or convert txt files into 8xp files) and something like Wabbitemu (same, I don't necessarily need an interface with keys, just something with a screen that I can transfer 8xp files to).

Absolute requirement: offline. SourceCoder and jsTIfied are not an option for example.

So, any idea ?

(note that "TokenIDE running with mono" can be an option if it works, I didn't try yet in case people have a better solution).
« Last Edit: July 23, 2014, 09:32:31 am by Runer112 »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Developpement Environnment for z80 on Linux ?
« Reply #1 on: July 23, 2014, 05:39:52 am »
Tokens works in mono. However since you use vim I'd recommend shmibs's tok8x. As for the emu, I recommed tilem or wabbit in wine. Keep an eye out for z80e though. ;)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Developpement Environment for z80 on Linux ?
« Reply #2 on: July 23, 2014, 05:48:02 am »
Ok, thanks, I'll try those :)
(first the "linux native" options and if I don't like them, the "windows native" ones).
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Developpement Environment for z80 on Linux ?
« Reply #3 on: July 23, 2014, 07:54:11 am »
Wabbitemu runs out-of-the-box with no issues at all in wine.
If you don't like it there is still tilem and wxwabbitemu

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Developpement Environment for z80 on Linux ?
« Reply #4 on: July 23, 2014, 08:17:21 am »
As I said though, keep an eye out for z80e. :P

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Developpement Environment for z80 on Linux ?
« Reply #5 on: July 23, 2014, 09:40:09 am »
So, I tried to try tilem and wxwabbitemu...

I can't manage to install tilem. When I do "./configure && make && sudo make install", it says "undefined reference to <<pow@@GLIBC_2.0>>". Some Googling told me to add "-lm", but even after I added -lm to every CFLAGS in every Makefile with a CFLAGS, it still gave me that error (when I ran the previous command without the "./configure &&" part).

For wxwabbitemu, it is a bit better. I can install it, launch it with a 84+SE rom, send programs with drag and drop... but File, View, Calculator, Debug and Help don't do anything so I can't put a skin (if supported) and can't change keybindings, which is not very convenient for example for the "+" key...

Probably will try Wabbitemu in wine if there's nothing better.
edit Seems like it mostly works. Drag and drop doesn't work, and keypresses have some latency, but apart from that I don't have a lot of problems.

Now I'll test "editors".
« Last Edit: July 23, 2014, 10:14:11 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: Development Environment for z80 on Linux ?
« Reply #6 on: July 23, 2014, 12:47:06 pm »
Depending on what version of linux you use, there may be a software center application (which is basically the linux version of the appstore). You can easily install tilem from there.
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Development Environment for z80 on Linux ?
« Reply #7 on: July 23, 2014, 12:56:37 pm »
Keypresses don't have latency if you turn the skin off ;)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Development Environment for z80 on Linux ?
« Reply #8 on: July 23, 2014, 01:24:08 pm »
Depending on what version of linux you use, there may be a software center application (which is basically the linux version of the appstore). You can easily install tilem from there.
Lubuntu. I know that Ubuntu has some sort of store (that I used two or three times on my other laptop) but if it's on Lubuntu too, I don't know where.
Anyway, I installed it from the Omnimaga PPA :)

Keypresses don't have latency if you turn the skin off ;)
Ah, good to know (especially since I don't use the skin).

Is there a way to edit keybindings on tilem ? Because they don't match Wabbit's and I am used to Wabbit's.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Development Environment for z80 on Linux ?
« Reply #9 on: July 23, 2014, 01:39:38 pm »

I can't manage to install tilem. When I do "./configure && make && sudo make install", it says "undefined reference to <<pow@@GLIBC_2.0>>". Some Googling told me to add "-lm", but even after I added -lm to every CFLAGS in every Makefile with a CFLAGS, it still gave me that error (when I ran the previous command without the "./configure &&" part).
i posted about this just a few days ago:

http://www.omnimaga.org/index.php?topic=21333

The important part is to put -lm on LIBS in gui/Makefile, because -lm has to come after all the other library loads.

As for editors, I'm planning to make IES work while offline ;) Might be a few weeks though.




Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Development Environment for z80 on Linux ?
« Reply #10 on: July 23, 2014, 01:45:13 pm »
Depending on what version of linux you use, there may be a software center application (which is basically the linux version of the appstore). You can easily install tilem from there.
Lubuntu. I know that Ubuntu has some sort of store (that I used two or three times on my other laptop) but if it's on Lubuntu too, I don't know where.
Pretty sure you need to install it on Lubuntu. It's in the repos though.
By the way, Synaptic > all when messing with an apt based system.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Development Environment for z80 on Linux ?
« Reply #11 on: July 23, 2014, 02:29:18 pm »

I can't manage to install tilem. When I do "./configure && make && sudo make install", it says "undefined reference to <<pow@@GLIBC_2.0>>". Some Googling told me to add "-lm", but even after I added -lm to every CFLAGS in every Makefile with a CFLAGS, it still gave me that error (when I ran the previous command without the "./configure &&" part).
i posted about this just a few days ago:

http://www.omnimaga.org/index.php?topic=21333

The important part is to put -lm on LIBS in gui/Makefile, because -lm has to come after all the other library loads.

As for editors, I'm planning to make IES work while offline ;) Might be a few weeks though.
Wow, never saw that topic o.o
And yeah,  I did not put it on LIBS -.-
And great to hear about IES :D

I know that Ubuntu has some sort of store (that I used two or three times on my other laptop) but if it's on Lubuntu too, I don't know where.
Pretty sure you need to install it on Lubuntu. It's in the repos though.
By the way, Synaptic > all when messing with an apt based system.
Well as I said, I did not use it that much on my Ubuntu laptop so I don't think I'll install it on my Lubuntu :P

Is there a way to edit keybindings on tilem ? Because they don't match Wabbit's and I am used to Wabbit's.
Any ideas about that or is it impossible ?
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Development Environment for z80 on Linux ?
« Reply #12 on: July 24, 2014, 12:55:59 am »
I don't think it's possible. I've grown accustomed to both keybindings myself—seems like TilEm's philosophy is "map things as accurately as possible." So if you type a capital letter A on your keyboard, TilEm will press Alpha, then MATH (A).




Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Development Environment for z80 on Linux ?
« Reply #13 on: July 24, 2014, 03:26:10 pm »
Wabbitemu does the same for "alphanumerical" keys, but what is the ON key for example on TilEm ? There can't be a logical key for this one but at least there's an option menu in Wabbitemu telling you that this key is F12 and that you can change it if you don't like it :P
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Hooloovoo

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 225
  • Rating: +22/-0
    • View Profile
Re: Development Environment for z80 on Linux ?
« Reply #14 on: July 24, 2014, 07:30:45 pm »
ON is F12 in tilem as well iirc. I can't test this right now though as I don't have an F12 on my desktop's keyboard.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale." -tr1p1ea
Spoiler For some of the calcs I own:



(actually I have quite a few more than this, but I don't feel like making bars for them all.)