Adding epoc target. Tried to define our own entry point but it fails at runtime trying to load msvcr80d.dll. Try using /NODEFAULTLIB for all targets maybe. Must somehow export ekern.dll for it to be loadable by epoc.exe.
EXPORTS
CancelBeepSequence__6MiscHw @ 1 NONAME ; MiscHw::CancelBeepSequence(void)
PlayBeepSequence__6MiscHwPCiiPFPv_vPv @ 2 NONAME ; MiscHw::PlayBeepSequence(int const *, int, void (*)(void *), void *)
SetSoundDriverRecording__6MiscHwi @ 3 NONAME ; MiscHw::SetSoundDriverRecording(int)