flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Volunteer for Fresh addition?

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Nov 2004, 14:58
So, I have an idea, but because I am working on more important things, some volunteer is needed to implement it. Actually it seems to be not very big deal.

1. The idea: To make Fresh able to run not only Windows and DOS applications, but also Linux one and raw binaries for OS developement and maybe MenuetOS applications.

2. How to achive this:
2.1. Linux - I found interesting project called "Line": http://line.sourceforge.net/ - it allows native Linux applications to be runned on full speed under Windows.
2.2. Raw code (bootloaders, OS's, etc.) - Bochs.
2.3. MenuetOS - IMHO, there was some Menuet emulators around...

BTW: There is a workaround if you want to run such application - you have to set "line.exe" or Bochs executable as a Fresh external debuger and then run the file with "Debug|External debuger" (Shift-FCool function.
I made some tests using this work-around and everything works, but it is highly inconvenient to set all the time the external debuger path.

So, the task is: To be implemented system for running compiled applications through different external emulators and loaders in order to allow developement of non-windows applications. The emulator have to be automatically choosed by Fresh or manually set in the project properties.

Regards.
Post 14 Nov 2004, 14:58
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 30 Nov 2004, 16:45
Hm, no one need this feature, or simply all of you are too busy?
Confused
Post 30 Nov 2004, 16:45
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 30 Nov 2004, 17:13
It would be a very interesting feature John, but I have enough to do with the AsmEdit control... Sorry!
Post 30 Nov 2004, 17:13
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 30 Nov 2004, 17:25
I made Fresh run an app under LINE, just now I'm working on the configuration dialog. Maybe tomorrow I will finish it.
Post 30 Nov 2004, 17:25
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 30 Nov 2004, 18:00
Tommy, I didn't meant you. Your task with AsmEdit is extreamly important. Please don't stop. Smile

decard wrote:
I made Fresh run an app under LINE, just now I'm working on the configuration dialog. Maybe tomorrow I will finish it.


Decard, please only design it in more common way, that to allow easy extending using for example Bochs or Menuet emulator etc. For example, the type of the run can be configurable in the project properties, just like memory or binary filename.

Thanks guys and best regards.
Post 30 Nov 2004, 18:00
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 30 Nov 2004, 18:41
For Linux executables, there's no need for such setting in project properties - if after compilation [output_format] is 5 (ELF), then we just know that it should be run with LINE.

Actually the only setting needed is a path to LINE executable, so maybe there would be something like "emulators" preferences dialog box with all settings (BOCHS, MOS emulator) gathered together...?
Post 30 Nov 2004, 18:41
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 30 Nov 2004, 22:09
decard wrote:
For Linux executables, there's no need for such setting in project properties - if after compilation [output_format] is 5 (ELF), then we just know that it should be run with LINE.
Actually the only setting needed is a path to LINE executable, so maybe there would be something like "emulators" preferences dialog box with all settings (BOCHS, MOS emulator) gathered together...?


Yes, that's true. If you can make the selecting process fully automatic, it whould be great, but I am afraid it can be more complex. For example, there is no official format for MenuetOS executables. They are created like flat binaries with some standard header. Also, there are several OSes that uses the ELF format and maybe in the future there will be more cases like this.
Maybe we have to make "Run method:" in the project properties with default setting "Auto" and feature for selecting manually the method from simple combo-box with listed all registered emulators. (Of course, this feature can wait for a while, simply take it in account in the design.)

At the end: Please, check about "Line" how is it possible to use it for running GUI Linux applications from Windows. It is even more important than runign console based applications. I didn't studied Line documents in details.

Regards.
Post 30 Nov 2004, 22:09
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld 01 Dec 2004, 10:37
Emulation question is very interesting for me as i see it like you press F9 and e.g. Linux or Menuet application will run Smile Because of that i've made some modification to FASMW (v1.55) which allows me to do such things! I've added 'Run string...' menu item (in 'Run') where you can specify string in wsprintf format (actually, only %s is used) that will be ran instead of just executing filename you get after compilation (may be not a Windows or DOS executable). Writing in "D:\Programming\FASM\MY\MENUET\MeOSEmul.exe" %s you can simply run compiled Menuet executables with just pressing F9. You also may specify command-line parameters with such a thing! Simple but powerful Wink


Description: Modified FASMW.ASM
Download
Filename: FASMW.zip
Filesize: 17.72 KB
Downloaded: 628 Time(s)

Post 01 Dec 2004, 10:37
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld 02 Dec 2004, 08:48
I mean, such string could be saved separately for every project in file with its other settings.
Post 02 Dec 2004, 08:48
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 05 Dec 2004, 21:03
sorry that it took me so long Sad
I created new option dialog box - "External Applications". User would set there things like paths to Linux and MeOS emulators, and optionally their settings. Or maybe it sould be called 'Emulators Setup" Rolling Eyes Anyway in future releases it sould be one of the tabs of IDE Settings Wink.
Post 05 Dec 2004, 21:03
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 05 Dec 2004, 22:55
Realy briliant work, Decard! Smile Very Happy
Now Fresh can be used for Linux developement as well! I will release this version ASAP. Thanks.

BTW, did you discovered how we can run Linux applications using graphics user interface. According to the Line's site, it is possible.

Regards.
Post 05 Dec 2004, 22:55
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1166
Location: Overflow
Matrix 05 Dec 2004, 23:09
mike.dld wrote:
Emulation question is very interesting for me as i see it like you press F9 and e.g. Linux or Menuet application will run Smile Because of that i've made some modification to FASMW (v1.55) which allows me to do such things! I've added 'Run string...' menu item (in 'Run') where you can specify string in wsprintf format (actually, only %s is used) that will be ran instead of just executing filename you get after compilation (may be not a Windows or DOS executable). Writing in "D:\Programming\FASM\MY\MENUET\MeOSEmul.exe" %s you can simply run compiled Menuet executables with just pressing F9. You also may specify command-line parameters with such a thing! Simple but powerful Wink


make menuet os better than windos, and so there will be no need for emulator Smile
Post 05 Dec 2004, 23:09
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 06 Dec 2004, 01:03
Matrix wrote:
make menuet os better than windos, and so there will be no need for emulator Smile


Rudely, but unfortunately true. Smile Maybe not "better" but "close enough".
Post 06 Dec 2004, 01:03
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.