flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > Volunteer for Fresh addition? |
Author |
|
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-F 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. |
|||
14 Nov 2004, 14:58 |
|
JohnFound 30 Nov 2004, 16:45
Hm, no one need this feature, or simply all of you are too busy?
|
|||
30 Nov 2004, 16:45 |
|
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!
|
|||
30 Nov 2004, 17:13 |
|
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.
|
|||
30 Nov 2004, 17:25 |
|
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...? |
|||
30 Nov 2004, 18:41 |
|
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. 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. |
|||
30 Nov 2004, 22:09 |
|
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 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
|
|||||||||||
01 Dec 2004, 10:37 |
|
mike.dld 02 Dec 2004, 08:48
I mean, such string could be saved separately for every project in file with its other settings.
|
|||
02 Dec 2004, 08:48 |
|
decard 05 Dec 2004, 21:03
sorry that it took me so long
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" Anyway in future releases it sould be one of the tabs of IDE Settings . |
|||
05 Dec 2004, 21:03 |
|
JohnFound 05 Dec 2004, 22:55
Realy briliant work, Decard!
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. |
|||
05 Dec 2004, 22:55 |
|
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 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 make menuet os better than windos, and so there will be no need for emulator |
|||
05 Dec 2004, 23:09 |
|
JohnFound 06 Dec 2004, 01:03
Matrix wrote: make menuet os better than windos, and so there will be no need for emulator Rudely, but unfortunately true. Maybe not "better" but "close enough". |
|||
06 Dec 2004, 01:03 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.