Omnimaga
Calculator Community => Major Community Projects => WabbitStudio Software Suite => Topic started by: Munchor on February 28, 2011, 04:59:14 pm
-
Instead of contacting one of the developers, I decided to post a new topic here since (I think) this is useful for more people than just me.
I want to create a function in Assemblex that runs a file in wabbitemu, so it'll create a 8xp (which I do) and then run it in Wabbit, which has to be in the same folder as Assemblex.
First of all, I'd like to know if you authorize this.
Then, I'd like to know how such thing would be possible so that we can all learn how to do this (if it possible :P). I can open wabbitemu.exe by pressing a button that will run that process, my doubt is sending the file to wabbitemu.
Also, Assemblex is Python, but give a general idea since (I think) this doesn't apply only to me.
Also, the user would have to put wabbitemu.exe in the folder, I wouldn't distribute it, don't worry.
-
Haha of course you're able to do this. Uou can open a file in wabbit from any folder it doesn't have to be in the same one, just give the file names as arguments when you start the program.
Ex: wabbitemu C:\Users\BuckeyeDude\Desktop\rom8x.8xp
this would send the file rom8x.8xp on the desktop to wabbit. Make sure you use quotes if necessary Second, under the gpl, you're allowed to redistribute wabbit, as long as you link back to the source
-
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
-
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
I have no clue what you mean? I assume you can compile a program in axe, its just an emulator...
-
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
I have no clue what you mean? I assume you can compile a program in axe, its just an emulator...
Yes, you can, but not remove it from the emulator and make it a file. Can you get it?
Haha of course you're able to do this. Uou can open a file in wabbit from any folder it doesn't have to be in the same one, just give the file names as arguments when you start the program.
Ex: wabbitemu C:\Users\BuckeyeDude\Desktop\rom8x.8xp
this would send the file rom8x.8xp on the desktop to wabbit. Make sure you use quotes if necessary Second, under the gpl, you're allowed to redistribute wabbit, as long as you link back to the source
Then I will redistribute wabbitemu, linking to the source.
It seems that what I need to do is run the program wabbitemu.exe with an argument which is the file, right'
-
Yup. You can have more arguments for more files if you need. You can also use -n switch to force a new wabbit window to open (in case the user already has one open)
-
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
I have no clue what you mean? I assume you can compile a program in axe, its just an emulator...
Yes, you can, but not remove it from the emulator and make it a file. Can you get it?
Yep, I meant getting a file compiled and exported by Axe through WabbitEmu with no user input needed.
-
I'd have to add a way for you to access the exporting feature. It's way more trouble than its worth, it'd be faster and easier to write an axe compiler
-
Didn't Quigibo plan to write an on-computer compiler eventually? Or maybe it was for Axe 2?
-
YAYZ IT WORKED, I RAN A FILE IN WABBITEMU USING A PYTHON PROGRAM.
This looks cool, and fast :)
-
Nice to hear it works. :D I liked being able to do this on 68K when I tried learning TIGCC.
-
Now I have a new question, can I pack wabbitemu with Assemblex?
I'll credit you, no problem there, but can I do it?
-
WabbitEmu gets updated pretty often, so what about a shortcut link to wabbit.codeplex.com instead? Just my suggestion :)
-
WabbitEmu gets updated pretty often, so what about a shortcut link to wabbit.codeplex.com instead? Just my suggestion :)
That's a good idea, I don't have to deal with the burocracy :D