flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > FASM port on SOLAR_OS |
Author |
|
bogdanontanu 11 May 2007, 21:36
Hi all,
I have ported FASM to SOLAR_OS. Thanks for good interfaces from Thomasz this was kind of easy. So you can add yet another OS where FASM does run Below you will find an updated Solar_OS binary needed for FASM port and the full sources for the FASM with SOL interfaces in sources/sol32 folder. BTW the new Solar_OS version does contain an fully operational kernel mode debugger SOLAR_OS: ------------------- http://www.oby.ro/os/files/sol_os_2007_05_12_bin.zip This new SOL version fixes a bug in API_File_Write and is required for FASM port. FASM ported on SOL (with sources): ----------------------------------------------- http://www.oby.ro/os/files/fasm_sol_2007_05_12_src.zip A screen shot is here: http://www.oby.ro/os/images/sol_os_2007_05_12_fasm_port.png FASM is fully functional... I have added a button to debug the compilation process (just in case). Of course you can run and debug your FASM compiled applications on SOL if you insert an INT3 instruction at application startup or at your interest point. Just a minor miss feature: On errors it will show you the correct error line number but not the line contents. This is because SOL does not have a functional lseek() API. The situation will improve when this API is implemented in SOL. In order to test it: 1) You will have to transfer the sol_fasm.exe binary and the SOL sample files on a FAT32 HDD that can be browsed by SOL (for example in a virtual machine like Virtual PC). You can use another OS to do this preferably one that has "additions" or "shared folders" and allows you to drag and drop files 2)Start SOL 3)Start HDD_Explore application In HDD Explore application navigate to FASM location and press enter on sol_fasm.exe. A PE Viewer application will run / popup. Press MAP button and then RUN button in PE Viewer. At this stage FASM GUI window should appear on screen (like in the screenshot) The 1,2,3 buttons in FASM GUI will change the command line to suit the 3 sample files inorder to avoid typing the file names in the edit box. In FASM GUI: - The "Binary" button can be used to view and run binary output files. - The "Map PE" button will launch the PE Viewer but this time with your compiled sample (if it is a PE output)... this way you can run the compilation result. The sample_pe2.asm should create a simple SOL window. _________________ "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|||
11 May 2007, 21:36 |
|
bogdanontanu 12 May 2007, 01:29
Hayden wrote:
In what kind of dreams? |
|||
12 May 2007, 01:29 |
|
Dex4u 12 May 2007, 03:35
Cool and nice work, i also agree Tomasz Grysztar did a great job of making it easy to port, i wish device driver writers would write drivers in a similar way.
|
|||
12 May 2007, 03:35 |
|
Hayden 15 May 2007, 03:28
_________________ New User.. Hayden McKay. |
|||
15 May 2007, 03:28 |
|
pelaillo 15 May 2007, 12:49
Quote:
Just as "Hamlet" is a direct copy of the "Mahabharata" |
|||
15 May 2007, 12:49 |
|
Hayden 16 May 2007, 08:59
i've written an lba style boot sector for the solar-os bootdisk before, i'll see if i can dig it out and translate it to fasm for bogdan
_________________ New User.. Hayden McKay. |
|||
16 May 2007, 08:59 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.