VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

Is it possible to add El Torito booting CD-ROM support to the Compaq Deskpro 386 using a seperate BIOS expansion ROM? I've noticed iPXE, but it doesn't seem to compile on MinGW32(MSYS2 installation):

  [BUILD] bin/process.o
In file included from <command-line>:0:0:
core/process.c: In function 'process_add':
core/process.c:61:32: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:61:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:61:32: error: too many arguments for format [-Werror=format-extra-args]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:61:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:66:32: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:66:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:66:32: error: too many arguments for format [-Werror=format-extra-args]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:66:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c: In function 'process_del':
core/process.c:81:32: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
Show last 93 lines
                      ^~~~~~~
core/process.c:81:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:81:32: error: too many arguments for format [-Werror=format-extra-args]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:81:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:87:32: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:87:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c:87:32: error: too many arguments for format [-Werror=format-extra-args]
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:505:22: note: in expansion of macro 'DBGC_IF'
#define DBGC( ... ) DBGC_IF ( LOG, ##__VA_ARGS__ )
^~~~~~~
core/process.c:87:3: note: in expansion of macro 'DBGC'
DBGC ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~
core/process.c: In function 'step':
core/process.c:114:33: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:522:23: note: in expansion of macro 'DBGC_IF'
#define DBGC2( ... ) DBGC_IF ( EXTRA, ##__VA_ARGS__ )
^~~~~~~
core/process.c:114:3: note: in expansion of macro 'DBGC2'
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~~
core/process.c:114:33: error: too many arguments for format [-Werror=format-extra-args]
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:522:23: note: in expansion of macro 'DBGC_IF'
#define DBGC2( ... ) DBGC_IF ( EXTRA, ##__VA_ARGS__ )
^~~~~~~
core/process.c:114:3: note: in expansion of macro 'DBGC2'
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~~
core/process.c:117:33: error: unknown conversion type character 'z' in format [-Werror=format=]
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:522:23: note: in expansion of macro 'DBGC_IF'
#define DBGC2( ... ) DBGC_IF ( EXTRA, ##__VA_ARGS__ )
^~~~~~~
core/process.c:117:3: note: in expansion of macro 'DBGC2'
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~~
core/process.c:117:33: error: too many arguments for format [-Werror=format-extra-args]
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^
./include/compiler.h:333:17: note: in definition of macro 'DBG_IF'
dbg_printf ( __VA_ARGS__ ); \
^~~~~~~~~~~
./include/compiler.h:522:23: note: in expansion of macro 'DBGC_IF'
#define DBGC2( ... ) DBGC_IF ( EXTRA, ##__VA_ARGS__ )
^~~~~~~
core/process.c:117:3: note: in expansion of macro 'DBGC2'
DBGC2 ( PROC_COL ( process ), "PROCESS " PROC_FMT
^~~~~
cc1.exe: all warnings being treated as errors
make: *** [Makefile.housekeeping:916: bin/process.o] Error 1

I've called the compiler with:

make bin/bin-i386-pcbios.isarom

Anyone knows how to get the proper compiled BIOS Expansion ROM(to load in UniPCemu to test CD-ROM boot)?

Edit: Even the online builder at http://build.ipxe.org/bin/bin-i386-pcbios.isarom seems to fail compiling?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io