Author Topic: Oasis - cross platform z80 assembler  (Read 37695 times)

0 Members and 1 Guest are viewing this topic.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Oasis - cross platform z80 assembler
« on: July 05, 2010, 03:21:13 am »
I am currently working on making a z80 assembler for linux that i will be naming Oasis :) I hope to have almost all assembler syntax's out there so you dont have to change source files much. Currently i only have accessing the files, but hopefully i can start on the actual assembling soon :)
« Last Edit: July 07, 2010, 01:27:15 am by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Oasis - Linux z80 assembler
« Reply #1 on: July 05, 2010, 04:18:04 pm »
Nice, and syntax for all current assemblers is a must, especially for people using old routines on ticalc.org. Good luck on this project :)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - Linux z80 assembler
« Reply #2 on: July 05, 2010, 06:18:27 pm »
yeah that's something that's always irked me about other assemblers all their different syntax's

EDIT: ok, so I just finished getting includes to work, the assembler will now include files with relative paths using these syntax's:
Code: [Select]
#include "file.inc"
#INCLUDE "file.inc"
.include "file.inc"
.INCLUDE "file.inc"
any that I forgot?
I'm going to get rid of commented lines next :)
« Last Edit: July 05, 2010, 11:20:08 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Oasis - Linux z80 assembler
« Reply #3 on: July 06, 2010, 12:06:38 am »
Cool :D

Sadly I can't help but when it includes all syntaxes it will sure make things easier for people learning ASM.
* DJ Omnimaga wonders why most assemblers uses different ASM syntaxes? Shouldn't they have all used the original 83+ ASM syntax?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Oasis - Linux z80 assembler
« Reply #4 on: July 06, 2010, 01:11:04 am »
I think the problem might be, that while all the calculators use the same code, all the compilers can be totally different but still compile correct code for the calculator, so there is no standard?

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - Linux z80 assembler
« Reply #5 on: July 06, 2010, 01:25:40 am »
I think it's what builderboy said.
anywho, updates: it has some error handling, so like if the input file doesn't exist, or an include file doesn't it will error and quit, if the output exists it will warn you, if the output exists and is a .asm, .z80 or .inc it will error. If you don't put any arguements it will give a small help, if you type in --help as the main arguement it will give you the help menu if you give --version it will output the current version.
the assembler will now get rid of fully commented lines, I probably should tackle other comments as well...but they will be harder.

Oasis should actually work on windows with a few small changes :D so I might be multi system :P
/e

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Oasis - Linux z80 assembler
« Reply #6 on: July 06, 2010, 01:28:41 am »
Multi system would be great :D Im not much of an assembler myself, but i can appreciate a well built program 8)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - Linux z80 assembler
« Reply #7 on: July 06, 2010, 01:45:37 am »
lol, thanks :) well hopefully it works well, I'll have to figure out condidtional statements and such for the compiler to make sure you can compile for both systems from one source :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Oasis - Linux z80 assembler
« Reply #8 on: July 06, 2010, 01:53:18 am »
Keep up the good work!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - Linux z80 assembler
« Reply #9 on: July 06, 2010, 02:04:03 am »
small small update, warnings now display as yellow, errors as red, includes are green :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Oasis - Linux z80 assembler
« Reply #10 on: July 06, 2010, 02:04:36 am »
lol nice :D

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - cross platform z80 assembler
« Reply #11 on: July 06, 2010, 02:16:45 am »
Errors are bolded now too, and all the assemblers steps are bolded blue :)

EDIT: If anybody wants to checkout a working copy I have a svn repository setup here: https://oasis-assembler.googlecode.com/svn/trunk/
« Last Edit: July 06, 2010, 02:52:12 pm by Eeems »
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Oasis - Linux z80 assembler
« Reply #12 on: July 06, 2010, 04:26:30 pm »
Yay for more updates and I am happy you're back into calc stuff (/me was worried when all Eeems was updating was jBOS/Jbasic). I can't test, tho, since I only use Windows

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Oasis - Linux z80 assembler
« Reply #13 on: July 06, 2010, 06:19:22 pm »
Yeah, well I was for a while, but it's hard to move away from calcs for long :P I might eventually especially since I need to learn C++ for when I want to make money x.x
Oh and it shouldn't be too hard to port it to windows actually, you just need to make a few small changes :)

anyways, crosspost from Cemetech:
If anybody wants to develop this alongside me, go ahead and join the project on google [LINK], I got svn working with eclipse so I can work alongside people. Oh, and I was wondering if anybody wanted to do the work to make this windows compatable? linke adding in all the little changes (id: #ifdef _WIN32) to make it compile with windows. I have an icon that I will use on windows, but since I'm developing on linux, I can't really do anything to test it :P
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Oasis - cross platform z80 assembler
« Reply #14 on: July 06, 2010, 07:22:43 pm »
I still hope if you move to C that you still do some calc stuff from time to time. Hopefully you could get a new calc at one point too when you turn 18 since your parents won't be allowed to take it away then. It would also suck if you stopped visiting Omni altogether x.x

Btw, does the google project page means you are going to quit announcing updates on Cemetech and Omni? Or will you keep us updated here too? Some ppl might not check there everyday and on those forums everyone gets notified of updates.