flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound
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 ![]() 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. |
|||
![]() |
|
JohnFound
Hm, no one need this feature, or simply all of you are too busy?
![]() |
|||
![]() |
|
Tommy
It would be a very interesting feature John, but I have enough to do with the AsmEdit control... Sorry!
|
|||
![]() |
|
decard
I made Fresh run an app under LINE, just now I'm working on the configuration dialog. Maybe tomorrow I will finish it.
|
|||
![]() |
|
decard
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...? |
|||
![]() |
|
JohnFound
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. |
|||
![]() |
|
mike.dld
Emulation question is very interesting for me as i see it like you press F9 and e.g. Linux or Menuet application will run
![]() ![]()
|
|||||||||||
![]() |
|
mike.dld
I mean, such string could be saved separately for every project in file with its other settings.
|
|||
![]() |
|
decard
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" ![]() ![]() |
|||
![]() |
|
JohnFound
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. |
|||
![]() |
|
Matrix
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 make menuet os better than windos, and so there will be no need for emulator ![]() |
|||
![]() |
|
JohnFound
Matrix wrote: make menuet os better than windos, and so there will be no need for emulator Rudely, but unfortunately true. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.