georgpotthast![]() Germany, 19.10.2015, 19:21 |
Sphinx C-- source code available (Announce) |
Some of you may recall Sphinx C--, a C compiler that allows to generate very small executables. Supported are the following executables: COM, EXE, SYS (DOS drivers), ROM-BIOS, Windows PE-Coff, Windows DLL, 32bit DOS flat or DPMI, MenuetOS. |
Guti![]() 20.10.2015, 17:27 @ georgpotthast |
Sphinx C-- source code available |
Very strange it decided to upload RAR an ZIP files to Github, instead of raw uncompressed sources and/or binaries. --- |
georgpotthast![]() Germany, 20.10.2015, 20:58 @ Guti |
Sphinx C-- source code available |
> Very strange it decided to upload RAR an ZIP files to Github, instead of |
RayeR![]() CZ, 20.10.2015, 19:17 @ georgpotthast |
Sphinx C-- source code available |
> Some of you may recall Sphinx C--, a C compiler that allows to generate --- |
georgpotthast![]() Germany, 20.10.2015, 21:03 @ RayeR |
Sphinx C-- source code available |
I have not yet wrote code for ROM-BIOS but here is the section from the manual which may give some clues: |
RayeR![]() CZ, 20.10.2015, 22:26 @ georgpotthast |
Sphinx C-- source code available |
So yes, it produces the complete ROM image that is ready to burn to the chip or loaded in BOCHS emulator. There's no detailed info if it also includes PnP and PCI ROM header - as some modern BIOSes refuse to execute plain old-style ROM images (with 55 AA size header only). This can be checked easily viewing the compiled image. If PCI PnP header is missing it would need the ability of compiler to place some constant data structure at specific offset in the image and properly add jump to code beginning behind the header. I could try it...when will be time... --- |
georgpotthast![]() Germany, 21.10.2015, 17:55 @ RayeR |
Sphinx C-- source code available |
I assume it will not support PnP BIOS. But this is the code that makes the ROM-BIOS image structure. Maybe that gives you an answer: |
RayeR![]() CZ, 21.10.2015, 18:30 @ georgpotthast |
Sphinx C-- source code available |
Hm yes, --- |