Author Topic: [ADE] Assembly Development Enviroment  (Read 17319 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
[ADE] Assembly Development Enviroment
« on: February 08, 2010, 07:35:47 pm »
ADE is from the ASM DEV SET topic, but this is the official topic.
So I have finished these features:
  • open/save/save as
  • edit file
  • run with wabbitemu (latest build)
  • assemble with Spasm
  • view help (unwritten (on google code page))
  • view google code source
  • standalone program
  • installer
  • Easter eggs (find them yourself :p)
if someone could test the installer for me and let me know if it works that would be great :)
also the assembling/wabbit integration is fully functional, so you can actually use this for development right now :D
let me know what you think :)
also I uploaded a fixed version of v1.2b that should work. All you need to do to get the broken one to run is to open up chrome\chrome.manifest in a text editor and change 'ade' to 'asmdevset'

http://code.google.com/p/asmdevset/

edit: so I fixed a little php script that tests to see if you have the right version. This is v1.3b only, so sorry it's not out quite yet, but it will be soon. I might be doing some more online, php backend stuff, like submitting an error report and such. Also I need some help making the wiki. So anybody who is good at that please help.
If someone could test the installer could you please let me know, that would be great :)
if you have any suggestions please don't hesitate to post about them.

Edit2: so it seems on the installer version the program to run it doesn't work...try dragging application.ini onto xulrunner.exe instead. Also make sure the process xulrunner isn't still running when you do that.
« Last Edit: February 09, 2010, 12:15:31 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: [ADE] Assembly Development Enviroment
« Reply #1 on: February 09, 2010, 02:14:15 am »
Mhmm actually you can create a subforum for this if you are planning to work on this for a while. I mean a subforum in our projects (and link added on front page onder PC projects)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #2 on: February 09, 2010, 09:42:13 am »
Ok, will do :)
/e

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: [ADE] Assembly Development Enviroment
« Reply #3 on: February 09, 2010, 09:48:50 am »
A php script to check the version? Nice...
You should definitely add an code counter! It is not hard, just see the spasm docs in Revsoft to know the switches to code counting, the rest you easily figure out.

How hard can be changing this to an online site and fusing with the z80 online assembler and code counter? I can do the necessary porting from XUL to PHP. We should check this possibility... ;D
« Last Edit: February 09, 2010, 09:50:12 am by Galandros »
Hobbing in calculator projects.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #4 on: February 09, 2010, 04:16:19 pm »
yeah, I was able to test it today and it works :D

code counter?
it would be kind of hard due to the fact that a lot of the functions have XUL dependent JavaScript...But I guess you could try to convert it...

I was also able to test the installer and it works fine :D I just need to make a custom one now that actually will put the shortcuts on your desktop and put it in the startmenu, etc.

Also I'm getting marks in computer's class for this :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: [ADE] Assembly Development Enviroment
« Reply #5 on: February 09, 2010, 04:20:29 pm »
wow nice I guess that can be a good idea for a school project :P

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: [ADE] Assembly Development Enviroment
« Reply #6 on: February 09, 2010, 04:41:12 pm »
code counter?
it would be kind of hard due to the fact that a lot of the functions have XUL dependent JavaScript...But I guess you could try to convert it...
I have an Online Code Counter in PHP using SPASM already.
If you assemble using XUL functions, code counter is not hard. How do you assemble in the ADE? From JavaScript and XUL or a batch file?
Hobbing in calculator projects.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #7 on: February 09, 2010, 04:44:58 pm »
Yeah it is :P

Galandros: Well XUL is a scripting language like HTML, so all the back-end stuff must be in JavaScript. So I kind of just call the program and pass it the appropriate arguments.

Currently I am working on the install file right now. I am also going to make a portable install file for those who don't have full access like I do.
/e

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: [ADE] Assembly Development Enviroment
« Reply #8 on: February 09, 2010, 05:10:16 pm »
Yeah it is :P

Galandros: Well XUL is a scripting language like HTML, so all the back-end stuff must be in JavaScript. So I kind of just call the program and pass it the appropriate arguments.

Currently I am working on the install file right now. I am also going to make a portable install file for those who don't have full access like I do.
More accurately a markup language, I think.
I will look the source code to see.
Btw the easter eggs are odd...

XUL is very nice. I will learn and practise soon. https://developer.mozilla.org/en/XUL is a good reference to start? Is there other important sites and utils?
« Last Edit: February 09, 2010, 05:34:23 pm by Galandros »
Hobbing in calculator projects.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #9 on: February 09, 2010, 05:28:00 pm »
lol yeah :P
kk, it's all in chrome\content
lol, yeah they are meant to be :P

yeah it is, but it's so confusing to learn all the nitty-gritty of the extended JavaScript stuff.

I just finished and uploaded the Installer, it will create a Uninstaller and also put shortcuts on the Desktop and the Startmenu.
/e

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: [ADE] Assembly Development Enviroment
« Reply #10 on: February 09, 2010, 05:35:49 pm »
I saw the source (shiny source code and seems well done). Can you get the stderr and stdout to an called program with JavaScript? Wikipedia to know what stderr and stdout are.

If you can capture it and show to the user, to see any errors SPASM throws (like in the command line).

Here a pseudo code to do it:
- Get the text selection with assembly code to be counted
- Write to a temp file
- Call spasm with -C -O switches and point input to temp file (-C for counting and -O for no output)
- Delete the temp file
- See in stderr or stdout the bytes and clock cycles
- Alert the user the result

Basically is what my PHP script does. xD
Hobbing in calculator projects.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #11 on: February 09, 2010, 06:12:20 pm »
Ah, that should Easy to do.
I don't know about strdir and such but I use it's built in stuff.

EDIT: I've been doing some work on customizing the installer even more, and I have also created a special icon for the uninstaller, and fixed up the normal icon.
« Last Edit: February 09, 2010, 07:47:46 pm by Eeems »
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #12 on: February 09, 2010, 08:24:36 pm »
Double post sorry...

I uploaded a new v1.3b installer and it is way better then the old one, now you can choose what you want to install (be warned you need ADE and XUL Runner to actually use it)
let me know what you think!
http://code.google.com/p/asmdevset/downloads/detail?name=ADEv1.3b_win32.exe&can=2&q=#makechanges
« Last Edit: February 09, 2010, 08:25:44 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: [ADE] Assembly Development Enviroment
« Reply #13 on: February 09, 2010, 11:58:21 pm »
cool, happy there's now an installer. Should be easier to start with ^^

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: [ADE] Assembly Development Enviroment
« Reply #14 on: February 10, 2010, 12:34:59 am »
Lol, yes much easier :)
Let me know any changes you would Luke to see to the installer and I'll try my best to add them :)

also, if anyone has a good icon idea please post about it, I kind of want to change from the one I'm using to something more original.
/e