Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Eeems 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.
-
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)
-
Ok, will do :)
-
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
-
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
-
wow nice I guess that can be a good idea for a school project :P
-
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?
-
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.
-
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?
-
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.
-
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
-
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.
-
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
-
cool, happy there's now an installer. Should be easier to start with ^^
-
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.
-
There are other things to add. :P
The code counter is the most important but spasm can bring statistics, symbol table and generate listing. The switches in the command line are documented in spasm docs found in the svn in RevSoft.
A sprite editor would be cool, too.
Some file explorer on the left side.
On top some quick access to the usual Open, Save, Undo, Redo, etc. and others like Assemble.
Allow editing in some tabs. (better limit to 10 because of memory usage)
Since XULrunner is cross-platform, you should add a package to Linux and Mac someday.
-
Yeah, I'll try to add the code counter today. The toolbar would be easy to add. The file explorer would be really hard though. I was thinking about adding tabs and I have an idea on how to do it...haven't tried to you though. Well tue app itself is cross platform, but the wabbit I have isn't, same with xulrunner, but yeah, I'll have to package specific ones.
-
New version up, now check for updates is fully functional.
I can't remember if this is the one with the toolbar...
Edit: here is my updates bog I just created.
http://adeupdates.wordpress.com/
-
Nice, you'll still post updates over here too, right, though?
-
Yeah I will, I'll just post more info there and I'll be a bit more general here.
-
V1.3.2b has been released
-
Cool ^^
Btw I edited the front page a bit so all project titles fits in one line each
-
ah ok, thanks. (of course I had no way of telling because I did it on my iTouch, so a few of them were weird due to the distorted page (the links in the New 84+ OS news article did that x.x)
So I'm guessing nobody has any bugs to report? How did you guys like the new feel of the toolbar?
-
So I downloaded and installed last version on my new computer and I can't get it to work. Tried to drag application.ini in xulrunner.exe too then running it, still no luck. I get a window listing some commands to use, and a OK button, but nothing else happens. I am on Windows 7 64-bit btw. Tried compatibility mode too as well as running as administrator.
-
Hmm, strange...it might be the 64bit.
It should work though, but I didn't test the installer due to the fact that it's the same script...I'll test it when I can tomorrow...this is strange though. Oh, I also realized that I have to update the installer because I changed the name to something x.x, but that doesn't effect it running.
The window with the ok button is the standard window for when xulrunner has no input, so wierd...I'll try to problem solve this with you tomorrow, when will you be available?
-
Not sure, tomorrow I'll prbly be busy and not here at night either except late. Saturday I might be on early afternoon, though
-
Ok, I guess we will have to try for saterday then.
-
I have found the issue and it will be fixed in the next release.
I hade an error in my installer script.
-
yay!
-
ok, uploaded new version and it works!
-
Btw you may want to change the icon on the google code page, because I think Spencer is extremly strict on copyrights
Same for the installer. At least maybe remove the rabbit since it's RevSoft trademark.
this seems to look nice btw ^^
Unfortunately I doubt it will be much use for me in the end, though, since I don't do ASM XD
-
Yeah I intend to as soon as someone gets me a better one :p
thanks!
-
I have been able to add opening programs from arguments (so like right click on a file, and then go open with) and now if you have nothing open it will automatically bring up the open dialogue.
I will upload v1.3.4b soon.
EDIT: ok it's uploaded! could someone test it for me to let me know how it works?
-
ok, so I've tested it fully on a comp at school and the registering kind of works :D I need to find a way to change the icons though x.x they use the one the program does.
Edit: v1.4b released, now you can choose your compiler/emulator if you don't like the built in ones :p
also you no longer need to uninstall the old version and then install the new one, this is a patch update so that means v1.3.4b must be installed for this one to work.
Instructions: download patch, run patch, choose directory that old version was installed in, it will update the necessary files.
-
Edit: v1.4b released, now you can choose your compiler/emulator if you don't like the built in ones :p
also you no longer need to uninstall the old version and then install the new one, this is a patch update so that means v1.3.4b must be installed for this one to work.
Instructions: download patch, run patch, choose directory that old version was installed in, it will update the necessary files.
Cool. Using TASM and pindurTI comes into mind.
I am teaming with Eeems to do this. I think we should add what Spencer mentioned in Revsoft forums. He suggest important features.
I can do the code counter immediately by seeing the source code that calls SPASM.
Later I can try to come with a Linux package. Unfortunately a Mac package is not in my reach.
-
Nice, does it automatically opens the programs in the emus when you compile? I remember some builds of TIGCC and TIemu (68k) did that for you and it speeded things up during testing ^^
-
yeah it does automatically run if you hit run (assembles then runs in a tmp program with wabbit)
@Galandros: actually I have assemble with and run with working so that should work (unless passing it to it doesn't work right). I was also thinking about adding a separate command for code counting and when you assemble it opens a window with the output so you can read it or using a batch file with a pause at the end for that.
-
I am currently trying to add tab support. I might have to make some big changes to the core to get it to work.
-
http://asmdevset.googlecode.com/files/ADE_nightly_win32.exe
I'll upload a nightly version every so often so here it is
-
cool do I need to uninstall the previous versions before installing a new one, tho, for now? Or Will it just update the old files?
-
Well you could uninstall, or just install this one separate.
This one has images on the buttons and an example on how the tab will look (not fully functionable).
-
aaaah ok I see, I hope it shows up in Control Panel->Uninstall programs x.x
-
No it currently is not :/ but in your start menu it should show up in the program files under ADE with one shortcut to the program and another to the uninstaller. The nightly doesn't but the uninstaller is still created you just have to go to the directory And run it manuelly.
-
Ooh ok that's good, then. Cuz just deleting files from program files is not a good idea sometimes (can cause problems in long term on your computer)
-
Yeah, well it can cause problems if they are registered with the registry, which the uninstaller takes care of.
-
The uninstaller doesn't delete some files like in the Local Settings or Apps Settings...
-
What do you mean? It should delete everything in the location and then all the shortcuts. After all that's all that is created...(well it also unregisters certain file extensions that had been registered)
-
Ok, so I have added support to multiple files open at once, but I haven't been able to build a nightly yet. I will also be adding support to all the menus to open a tab.
I will also most likely be adding a browser tab that you can open so you can search up documentation directly from it.
-
Talking in opening files. I think there is somewhere in the code that miss the *.inc files. They are commonly used.
-
Ok, so I have added support to multiple files open at once, but I haven't been able to build a nightly yet. I will also be adding support to all the menus to open a tab.
I will also most likely be adding a browser tab that you can open so you can search up documentation directly from it.
Will it use our default favourite browser? There should be some default bookmarks linking for example to online and offline versions of ASM In 28 days, Asmguru, etc
-
No it will not...it will just be a simple browser with a URL bar, back/forward stop and refresh. I don't have enough knowledge on how to get favorites and such.
@galandros: do you mean that you can't see them? If so click on the drop down menu that says assembly files and change it to all files. I'll add a section for includes later.
EDIT: ok I have uploaded a new nightly and the source is on the box.net account
-
No it will not...it will just be a simple browser with a URL bar, back/forward stop and refresh. I don't have enough knowlege on how to get favorites and such.
@galandros: do you mean that you can't see them? If so click on the dropdown menu that says assembly files and change it to all files. I'll add a section for includes later.
I just saw somewhere in the code that you didn't put the *.inc files in the list. I don't remember what affected. If the picking files menu or something else.
-
No it will not...it will just be a simple browser with a URL bar, back/forward stop and refresh. I don't have enough knowledge on how to get favorites and such.
@galandros: do you mean that you can't see them? If so click on the drop down menu that says assembly files and change it to all files. I'll add a section for includes later.
EDIT: ok I have uploaded a new nightly and the source is on the box.net account
Well I meant, which browser will be embeeded in it? Will it use your favourite browser engine, for example, if Opera is set as your default browser?
-
@Galandros: ah, yeah, it's just a filter.
@DJ Omnimaga: ah, well the only rendered I can use is xulrunner, so firefox's gecko.
-
Ok, so I have made a new nightly, and I will be ready to create v1.5b soon :D
the new nightly has tab supper for help, source and about :D
have fun :)
please let me know obout any bugs you run into.
-
Will this work if someone have no Firefox installed?
-
Yes, I have this running standalone, and it actually won't work on firefox at all :/ some of the commands are blocked for some reason...but it uses xulrunner for everything.
-
Aaah ok thanks for the info
-
ok, another nightly uploaded, this one now will change the name of the tab to the current file it holds so it's easier to work with, and when you change your file the icon changes to let you know that the work is unsaved, so when you save or open a new one the icon changes back.
please let me know what you think!
http://code.google.com/p/asmdevset/downloads/detail?name=ADE_nightly_win32.exe&can=2&q=#makechanges
-
mhmm you may want to have the installer automatically select program files folder then default ADE folder name prefixed with C:\ or the like, else now it just display ADE Nightly or something like that and people may not pay attention and wonder why the "Next" button stays grayed out
also you should have the program open a first new tab automatically on startup when no other files are open
-
Yeah, well I did that because there are issues with installing there in vista/7...but I guess I could.
-
I have been working on adding preferences (which does mean that there is mono-spaced text and the ability to change the text colour)
this will include lots of tricky scripting on the installer side.
-
Does this mean that you will be able to color code syntax? Like BCalls are green, ect...
-
No, this is all of the text, not part of it unfortunatly :/.
-
as soon as I finish adding preferences support I will upload a new version.
-
No
you do it now :P
-
Lol I would, but it's broken ATM :(
-
I was kidding :P
-
I know :p
I do wish I could upload now though.
-
I have just uploaded v1.5b which has full preferences support... take a look and tell me what you think. (for text-css preferences to take effect you have to re-open the tab I haven't coded in a refresher yet)
-
cool I will check later hopefully ^^
-
thanks :)
Paths will not update the drive letters though, so if you are on a USB drive you have to change it each time the drive letter changes.
-
aaah ok x.x
-
I have made a few things that require syntax highlighting, and I use a rich text box, maybe you should try that?
-
Hmm, well it would depend on how well it integrates with XUL, which is somewhat different then HTML.
EDIT: here is the new update - http://code.google.com/p/asmdevset/downloads/detail?name=ADEv1.5b_win32.exe&can=2&q=#makechanges
also, tab key is now supported!
-
nice. Btw despite the Win 32 thing it seemed to run fine on 64 bit Win Seven
You should maybe have the tab focus be on new tabs you open, though. For example, in Opera if I open a new tab, it won't open in the background, it jumps immediately to it. It's some sort of standard in tab-based softwares
-
Ah, so that means xulrunner works on 64 bit systems :D
yeah, I've been trying to get that to work...but so far it hasn't been cooperating and displaying/changing the selection.
-
/me points to the Check for Updates button under the Help menu
-
Nice, new version avaliable from there ^^
However, would it be possible in the future to provide a button or clickable link to download it without having to paste the URL in our browser?
-
well I'm going to make the final release very soon, but no there would be no way right now, I don't know how to handle downloads :( it throws an error if you try to open the link in it....
-
aw sorry to hear x.x
-
Seems at least Ubuntu comes with XUL runner. I saw packages with xul runner stuff...
I will look more deeply if it works.
-
Ok, sweet! Let me know if it does and then could you package a Ubuntu version?
-
Ok, sweet! Let me know if it does and then could you package a Ubuntu version?
Sure. I need to re-download, I haven't keep track of changes...
-
Sure no, I'll upload the full source to box.net today as well.
-
Sure no, I'll upload the full source to box.net today as well.
I don't see it today and see the date. :P
I added you in msn. It is better to talk there. I need to know how JavaScript version will be maintained and how C++ version will go.
-
I think it might be a bit related to his recent inactivity-related topic, which might explain why he didn't upload a new version in time
I don,t think Eeems use MSN anymore, though. He hasn't connected in several months, due to limited computer access. He is mostly on his iPod touch. But again, these days, I do not use MSN every day so maybe once he connected for like 5 minutes while I wasn't x.x
EDIT: What about Skype and IRC?
-
oops, I forgot x.x I'll upload some now...
also, I'm not on msn that often, but I can pop on every so often. IRC is better though.
-
I will check box.net soon.
I confirmed Ubuntu comes with xulrunner installed. From what I read and understood, just need to reorder folders, make a bash script executable and package the scripts in a .tar.gz archive.
The user just needs to unpack and click the bash script and the ADE will run.
On other Linux mixes without xulrunner, you have to install it in order to use. I might point some links in docs.
-
Ok, I'll upload it in half an hour when I get on the comp. That seems simple enough, make sure to model the script after the batch file I converted to the executable. If it's not on box.net I'll upload it today.
ok it's been uploaded :)
-
I am happy this is multiplatform. Sometimes people may like your IDE, but then switch to another OS, then be disapointed that they can no longer use it
-
Yeah. Unfortunatly the c++ one is going to be windows only...but hopefully someone can port it for me afterwords.