Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 14:05:33 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Run in Wabbitemu -  (Read 1692 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« on: 28 February, 2011, 23:59:14 »
0

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 Tongue). 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: 01 March, 2011, 00:00:03 by Scout » Logged
BuckeyeDude
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 11 February, 2013, 13:05:34
Date Registered: 10 February, 2010, 04:13:50
Posts: 252


Total Post Ratings: +21

View Profile
« Reply #1 on: 01 March, 2011, 06:31:42 »
0

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
Logged
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 06:24:44
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7832


Total Post Ratings: +713

View Profile WWW
« Reply #2 on: 01 March, 2011, 07:18:37 »
0

You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu shocked Dunno how feasible that is, though.
Logged




BuckeyeDude
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 11 February, 2013, 13:05:34
Date Registered: 10 February, 2010, 04:13:50
Posts: 252


Total Post Ratings: +21

View Profile
« Reply #3 on: 01 March, 2011, 22:39:29 »
0

You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu shocked 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...
Logged
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #4 on: 01 March, 2011, 23:26:59 »
0

You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu shocked 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'
Logged
BuckeyeDude
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 11 February, 2013, 13:05:34
Date Registered: 10 February, 2010, 04:13:50
Posts: 252


Total Post Ratings: +21

View Profile
« Reply #5 on: 02 March, 2011, 01:15:52 »
0

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)
Logged
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 06:24:44
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7832


Total Post Ratings: +713

View Profile WWW
« Reply #6 on: 02 March, 2011, 01:18:54 »
0

You know what would be awesome? Compiling a program with Axe by running it through WabbitEmu shocked 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: 02 March, 2011, 01:19:11 by Deep Thought » Logged




BuckeyeDude
LV5 Advanced (Next: 300)
*****
Offline Offline

Last Login: 11 February, 2013, 13:05:34
Date Registered: 10 February, 2010, 04:13:50
Posts: 252


Total Post Ratings: +21

View Profile
« Reply #7 on: 02 March, 2011, 01:20:33 »
0

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
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #8 on: 02 March, 2011, 12:06:13 »
0

Didn't Quigibo plan to write an on-computer compiler eventually? Or maybe it was for Axe 2?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #9 on: 02 March, 2011, 14:28:27 »
0

YAYZ IT WORKED, I RAN A FILE IN WABBITEMU USING A PYTHON PROGRAM.


This looks cool, and fast Smiley
Logged
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 11:01:25
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50675


Total Post Ratings: +2640

View Profile WWW
« Reply #10 on: 03 March, 2011, 11:51:32 »
0

Nice to hear it works. Cheesy I liked being able to do this on 68K when I tried learning TIGCC.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #11 on: 08 April, 2011, 16:54:26 »
0

Now I have a new question, can I pack wabbitemu with Assemblex?

I'll credit you, no problem there, but can I do it?
Logged
Deep Thought
So much to do, so much time, so little motivation
Administrator
LV13 Extreme Addict (Next: 9001)
*
Offline Offline

Gender: Male
Last Login: Today at 06:24:44
Date Registered: 19 May, 2009, 08:00:00
Location: The Universe
Posts: 7832


Total Post Ratings: +713

View Profile WWW
« Reply #12 on: 10 April, 2011, 05:37:26 »
0

WabbitEmu gets updated pretty often, so what about a shortcut link to wabbit.codeplex.com instead? Just my suggestion Smiley
Logged




Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 13 June, 2013, 19:29:09
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Topic starter
Total Post Ratings: +174

View Profile
« Reply #13 on: 10 April, 2011, 10:59:36 »
0

WabbitEmu gets updated pretty often, so what about a shortcut link to wabbit.codeplex.com instead? Just my suggestion Smiley

That's a good idea, I don't have to deal with the burocracy Cheesy
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.201 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.