How would they run....there would have to be an online emulator as well.Buckeye's already ported WabbitEmu to JavaScript, and he's working on the bugs now.
-Compiling to an APPPlanned
-Making shared projects (so several members of a team could work on it)Planned
That would raise the level of epicness in my book to astounding o.oIt might take a while (definitely after finals), but I'm going to change the way projects are saved. Currently, they're saved by email (so each person can have only one project saved online), but I'll make it more like SourceCoder's project system someday, where each person can host multiple projects and share them with others.
This is still cool o.o Is there also some way where I can make very specific names? Like I know when I was making Grammer, for a while in development it was called GRAMMER until I figured out how to use a Brass command to change it to Grammer.You mean lowercase names? I think I'll have programs names always be uppercase and app names be whatever the file name is. Not sure about symbols yet; currently it doesn't even support _ XD
EDIT: Also, is there some way to make it so people can give links to their sources for others to modify?Well, once I get sharing working, which might take a few weeks.
Also, this is a lot better than using Notepad like I normally do o.oNotepad is second only to Microsoft Word in terms of worst editor for code :P
I typed this with my eyes closed so that I wouldn't try to correct what I was doing. The problem that I had was that the IDE doesn't really handle tabs correctly. The way I type my code is, [Enter][Tab][instruction][argument][,][space][argument]. If you type that key sequence, you'll see exactly what the problem is.Like most code editors, it keeps tabs so you don't have to type them again. I think there's an option to turn it off, but I personally like the feature (probably because I'm used to Notepad++ and other code editors).
I also have the basis for an emulator in javascript as well :)How would they run....there would have to be an online emulator as well.Buckeye's already ported WabbitEmu to JavaScript, and he's working on the bugs now.
This is funny how this comes up shortly after Iambian brought up the assembler name suggestion .orgASM/.org-ASM that I gave him a few years ago on IRC, because now I misread your topic title as that O.OTake a look at the URL <_<
No TI-83 support yet (I'll get to it eventually), but there's some new stuff here.
Glad this is still progressing. :) (Also how is the hosting quality so far? I wonder where it's hosted, cuz I remember it was down often on a previous host)It's on Juju's server. There are occasionally issues with the server running out of memory, but all in all it's much better than the free hosts I've used, and I'm grateful to him for providing the hosting :)
Do you think ORG could disassemble asm prog ? :)That's something I've been considering too. I think I'll first work on some templates, and then when I have time I'll make a disassembler. It'll all go under the Open control.
EDIT : It it possible to add multi languages interface (I see you have french skills ::)). ==> I'm willing to help you if you wish. ;)That's a great idea, and it'd be great if you could help me ;D
Wow, this is amazing! O_O The interface has improved dramatically from before... you are definitely an expert with that :PThanks :)
Error parsing line (line "{LINE}" in {FILE})
Unknown instruction or directive $words[1] (line "{LINE}" in {FILE})
Too many files deep (line "{LINE}" in {FILE})
Missing or invalid arguments for $words[1] (line "{LINE}" in {FILE})
Equate or label $words[1] has already been defined (line "{LINE}" in {FILE})
Included filename $byte is invalid (line "{LINE}" in {FILE})
Either missing or extra #endif (line "{LINE}" in {FILE})
Nonexistent file {FILE}
Unmatched parenthesis (line "{LINE}" in {FILE})
Target of $word[1] out of range (line "{LINE}" in {FILE})
Reference to undefined equate $word (line "{LINE}" in {FILE})
Math syntax error (line "{LINE}" in {FILE})
PS : Unmatched parenthesis = missing parenthesis ?Either missing or extra (like the line with #endif).
@DeepThought since kinder won't be able to carry on the traducing, I'll replace him :)Thank you too :) I'll put in kindermoumoute's translations so far when I get the chance.
Creating ZipArchive
Adding file {FILE}
Zip file created successfully (download)
Please log in or register to save onlineCreating folderStoring file {FILE}
Files saved successfully
Pass one
Pass two
Program assembled with no errors/n errors (download)
Penguins unite
[02:50:08] harold Guys, when DeepThought is back, can you guys let him know that im1 does not assemble in his online IDE?
[03:08:22] jacobly also jp (ix)
rlca \ rlca \ rlca \ rlca
However, ORG seems to have an issue with it .__. Is it possible to modify it to use \ as a newline, or will it be a pain? However, ORG seems to have an issue with it .__. Is it possible to modify it to use \ as a newline, or will it be a pain?Did that and fixed some obscure bugs with #define in the process. (#define and #defcont were the only commands that allowed \ in place of newline, but \ is now a complete substitute for newline.)
EDIT: I very much enjoy that I can copy my code from my home computer to a flash drive and then get on a public computer when I am in town and continue programming. :) This is a great project, Deep Thought!Or you could paste it from your home computer into ORG and save it and eliminate the need for the flash drive ;D
"Reference to undefined equate HL (line " ld d,(hl) " in Grammer_z80)"
Some suggestions/bugs:Seems to be a new WebKit quirk (I've noticed several of those lately). The editor library I'm using is several versions out of date though. Maybe they fixed it there—I'll try updating sometime.
- With default zoom, the line numbers, the code and the cursor aren't aligned properly (In Chrome and Opera). Changing the zoom will fix it, but has to be set back on other sites, so please fix this:
(http://img.removedfromgame.com/imgs/0-ORG%20linenumbers.jpg)
Good point. I'll fix that soon.
- The undocumented instructions are in the drop down menus, but give errors when compiling. (Make them usable)
Maybe. I need to add a decent preferences system anyway.
- What about making the highlight color a bit darker, you can barely see it when viewing the screen from a slight different angle. Or a setup like most IDEs have with all the font properties and color settings ^-^
Maybe. I would have to change how the programs are parsed in order for that to work dynamically. I have all the data for size and cycles, though.
- How about adding the number of cycles each line takes and a calculator to multiply blocks of code with how often the part runs and giving a total sum. That would be awesome to improve and optimize stuff.
I copied and pasted my program code to ORG and I got a bazillion errors like this:Fixed.Quote"Reference to undefined equate HL (line " ld d,(hl) " in Grammer_z80)"
Any ideas why?\ for newlines wasn't working properly (I didn't strip out all the bad whitespace).
Also, another feature that might be good is to return the output size of an app or program, that way we can figure out how much room we have left ;DIt's been planned for a while, and should be fairly simple to add. I just keep forgetting about it :/
Maybe. I would have to change how the programs are parsed in order for that to work dynamically. I have all the data for size and cycles, though.
it seems like it would be simpler and more intuitive to have the calculations be in the same column as the code is already. the cycle count could just be displayed to the right of the line number and the total calculations over on the right side where all the rest of the system messages are.
Pass oneThe total size looks right, but when I download it, it is a zero byte file.
Pass two
Total size: 16113 bytes
Warning: file_get_contents(/home/deepthought/public_html/asm/lQbmwR.8xk): failed to open stream: No such file or directory in /home/deepthought/public_html/asm/index.php on line 994 Warning: unlink(/home/deepthought/public_html/asm/lQbmwR.8xk): No such file or directory in /home/deepthought/public_html/asm/index.php on line 996
Program assembled with no errors (download)
It seems that there is still a bug with creating apps?Fixed. It should now work as long as your app structure is correct, and will give you a warning and a binary dump otherwise.QuotePass oneThe total size looks right, but when I download it, it is a zero byte file.
Pass two
Total size: 16113 bytes
Warning: file_get_contents(/home/deepthought/public_html/asm/lQbmwR.8xk): failed to open stream: No such file or directory in /home/deepthought/public_html/asm/index.php on line 994 Warning: unlink(/home/deepthought/public_html/asm/lQbmwR.8xk): No such file or directory in /home/deepthought/public_html/asm/index.php on line 996
Program assembled with no errors (download)
What about the undocumented instructions?Which ones specifically? SLL, SLIA and a few others were all there.
ld ixh,d
ld ixl,e
6 cycles faster thanpush de
pop ix
Seems it magically fixed itself. I have no idea what happened O.O
- With default zoom, the line numbers, the code and the cursor aren't aligned properly (In Chrome and Opera). Changing the zoom will fix it, but has to be set back on other sites, so please fix this:
(http://img.removedfromgame.com/imgs/0-ORG%20linenumbers.jpg)
Well, the alignment of the cursor hasn't been working well for me.Even after the update?
It doesn't look as good, but at least it's not buggy.
xor a \ ld b,a \ sbc a,ixl \ ld ixl,a
ld a,b \ sbc a,ixh \ ld ixh,a
ld a,b \ sbc a,l \ ld l,a
ld a,b \ sbc a,h \ ld h,a
ld a,b \ sbc a,e \ ld e,a
ld a,b \ sbc a,d \ ld d,a
Specifically it is the sbc a,l and sbc a,h that it is seeing as an unrecognised instruction. is it because of how you handled index registers? The opcodes for those are 8Dh and 8Ch, respectively.
Specifically it is the sbc a,l and sbc a,h that it is seeing as an unrecognised instruction. is it because of how you handled index registers? The opcodes for those are 8Dh and 8Ch, respectively.Nope, I accidentally them completely for some reason :P
I am not sure if this is a problem that was introduced or something else, but when I compile the code and click 'download', I am redirected to http://clrhome.org/lib/404.phpI temporarily moved the site to a different server. Should be back now.
Why does it mess with my capslock?I didn't know that was possible O.o What exactly is happening?
I used the online editor a bit, and it is really good. Bien joué !The actual compiler is PHP, not JavaScript, so it requires a webserver with PHP installed to run.
I have a suggestion: why not do an off-line version so that we don't need to connect to compile asm?
Isn't there a program to run PHP code (or install an Apache server) directly from your computer?That would be the PHP interpreter, which is basically used on web servers.
I totally read ORGASM IDE bug x.xoh you :P
I'm planning an event in the future as well ;)
ClrHome got deactivated by 000webhost for excessive CPU usage, will be back as soon as they reactivate and let me download my data.