Author Topic: Run in Wabbitemu  (Read 8225 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Run in Wabbitemu
« 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.
« Last Edit: February 28, 2011, 05:00:03 pm by Scout »

Offline BuckeyeDude

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Run in Wabbitemu
« Reply #1 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

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Run in Wabbitemu
« Reply #2 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.




Offline BuckeyeDude

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Run in Wabbitemu
« Reply #3 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...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Run in Wabbitemu
« Reply #4 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'

Offline BuckeyeDude

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Run in Wabbitemu
« Reply #5 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)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Run in Wabbitemu
« Reply #6 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.
« Last Edit: March 01, 2011, 06:19:11 pm by Deep Thought »




Offline BuckeyeDude

  • Project Author
  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Run in Wabbitemu
« Reply #7 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

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55830
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Run in Wabbitemu
« Reply #8 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?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Run in Wabbitemu
« Reply #9 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 :)

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55830
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Run in Wabbitemu
« Reply #10 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.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Run in Wabbitemu
« Reply #11 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?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Run in Wabbitemu
« Reply #12 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 :)




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Run in Wabbitemu
« Reply #13 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