Omnimaga

Calculator Community => Major Community Projects => WabbitStudio Software Suite => Topic started by: Munchor on February 28, 2011, 04:59:14 pm

Title: Run in Wabbitemu
Post 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.
Title: Re: Run in Wabbitemu
Post by: BuckeyeDude on February 28, 2011, 11:31:42 pm
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
Title: Re: Run in Wabbitemu
Post by: Deep Toaster on March 01, 2011, 12:18:37 am
You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu O.O Dunno how feasible that is, though.
Title: Re: Run in Wabbitemu
Post by: BuckeyeDude on March 01, 2011, 03:39:29 pm
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...
Title: Re: Run in Wabbitemu
Post by: Munchor on March 01, 2011, 04:26:59 pm
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'
Title: Re: Run in Wabbitemu
Post by: BuckeyeDude on March 01, 2011, 06:15:52 pm
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)
Title: Re: Run in Wabbitemu
Post by: Deep Toaster on March 01, 2011, 06:18:54 pm
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.
Title: Re: Run in Wabbitemu
Post by: BuckeyeDude on March 01, 2011, 06:20:33 pm
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
Title: Re: Run in Wabbitemu
Post by: DJ Omnimaga on March 02, 2011, 05:06:13 am
Didn't Quigibo plan to write an on-computer compiler eventually? Or maybe it was for Axe 2?
Title: Re: Run in Wabbitemu
Post by: Munchor on March 02, 2011, 07:28:27 am
YAYZ IT WORKED, I RAN A FILE IN WABBITEMU USING A PYTHON PROGRAM.


This looks cool, and fast :)
Title: Re: Run in Wabbitemu
Post by: DJ Omnimaga on March 03, 2011, 04:51:32 am
Nice to hear it works. :D I liked being able to do this on 68K when I tried learning TIGCC.
Title: Re: Run in Wabbitemu
Post by: Munchor on April 08, 2011, 10:54:26 am
Now I have a new question, can I pack wabbitemu with Assemblex?

I'll credit you, no problem there, but can I do it?
Title: Re: Run in Wabbitemu
Post by: Deep Toaster on April 09, 2011, 11:37:26 pm
WabbitEmu gets updated pretty often, so what about a shortcut link to wabbit.codeplex.com instead? Just my suggestion :)
Title: Re: Run in Wabbitemu
Post by: Munchor on April 10, 2011, 04:59:36 am
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