Skip to content

Commit

Permalink
v8.2.0: fix random 'unreachable executed' on windows start
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Sep 5, 2024
1 parent 7d49dd3 commit 0c9eadc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emulators",
"version": "8.1.9",
"version": "8.2.0",
"description": "Emulators (dos) with standartized API",
"main": "dist/emulators.js",
"types": "dist/types/emulators.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion targets/dosbox-x-asyncify.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["_ConnectToServer(*)*","server_net_connect(*)*","server_net_recv(*)*","wsOpen(*)*","BIOS::cb_bios_boot__func","BIOS::cb_bios_post__func","BIOS::cb_bios_startup_screen__func","BIOS_Int10RightJustifiedPrint","BOOT::Run","BOOT::printError","CALLBACK_Idle","CALLBACK_RunRealFar","CALLBACK_RunRealInt","CHOICE::Run","CPU_ForceV86FakeIO_In","CPU_ForceV86FakeIO_Out","ConnectToServer","DOSBOX_RunMachine","DOS_21Handler","DOS_CheckExtDevice","DOS_CloseFile","DOS_CreateFile","DOS_Device::GetInformation","DOS_Device::Read","DOS_Device::Write","DOS_FindDevice","DOS_FlushSTDIN","DOS_GetSTDINStatus","DOS_IOCTL","DOS_MakeDir","DOS_OpenFile","DOS_ReadFile","DOS_Shell::BuildCompletions","DOS_Shell::CMD_CHDIR","DOS_Shell::CMD_CLS","DOS_Shell::CMD_COPY","DOS_Shell::CMD_DELETE","DOS_Shell::CMD_DIR","DOS_Shell::CMD_ECHO","DOS_Shell::CMD_PAUSE","DOS_Shell::CMD_TYPE","DOS_Shell::CMD_VOL","DOS_Shell::DoCommand","DOS_Shell::Execute","DOS_Shell::InputCommand","DOS_Shell::ParseLine","DOS_Shell::Prepare","DOS_Shell::Run","DOS_Shell::ShowPrompt","DOS_Shell::execute_shell_cmd","DOS_WriteFile","EGA16_FillRow","ExceptionPageHandler::Exception","ExceptionPageHandler::writeb","ExceptionPageHandler::writed","ExceptionPageHandler::writew","FinishSetMode","IDE_DelayedCommand","IDE_EmuINT13DiskReadByBIOS","IDE_SelfIO_In","IDE_SelfIO_Out","IMGMAKE::Run","IMGMAKE::printHelp","IMGMOUNT::DetectGeometry","IMGMOUNT::MountFat","IMGMOUNT::MountImageNone","IMGMOUNT::Run","INT10_Handler","INT10_LoadFont","INT10_PutPixel","INT10_ReloadFont","INT10_ScrollWindow","INT10_SetActivePage","INT10_SetCursorPos","INT10_SetCursorShape","INT10_SetSingleDACRegister","INT10_SetVideoMode","INT10_TeletypeOutput","INT10_TeletypeOutputAttr","INT10_ToggleBlinkingBit","INT10_WriteChar","INT13_DiskHandler","INT15_Handler","INT1A_Handler","INT8_Handler","IO_ReadB","IO_WriteB","IPXNET::Run","MEM_BlockCopy","MOUNT::Run","NewInitPageHandler::InitPage","NewInitPageHandler::readb","NewInitPageHandler::writeb","NewInitPageHandler::writew","Normal_Loop","PAGING_NewPageFault","PROGRAMS_Handler","Program::WriteOut","Program::WriteOut_NoParsing","SDLNet_TCP_Send","SHELL_Init","SHELL_Run","VGA_ROM_BIOS_ENTRY_callback_func","VM_Boot_DOSBox_Kernel","WriteChar","asyncify_sleep","backone","byn$mgfn-shared$IO_ReadB","byn$mgfn-shared$IO_WriteB","device_CON::AdjustCursorPosition","device_CON::GetInformation","device_CON::Output","device_CON::Read","device_CON::Real_INT10_SetCursorPos","device_CON::Real_INT10_TeletypeOutput","device_CON::Real_INT10_TeletypeOutputAttr","device_CON::Write","fatDrive::FileCreate","fatDrive::MakeDir","fatFile::Close","fatFile::Flush","fatFromDOSDrive::GetUnmodifiedSector","fatFromDOSDrive::ReadSector","imageDisk::Read_AbsoluteSector","imageDisk::Read_Sector","imageDisk::Write_Sector","increaseticks","initcodepagefont","jsdos::SockDrive::Read_AbsoluteSector","jsdos::SockDrive::create","jsdos_main","localFile::Close","localFile::Flush","localFile::Read","localFile::UpdateLocalDateTime","mem_memcpy","mem_readb","mem_writeb","mem_writed","mem_writew","outc","runRuntime","server_network_connect","server_run","showWelcome","time_t_to_DOS_DateTime","BIOS::cb_bios_boot__func(*)*","BIOS::cb_bios_post__func(*)*","BIOS::cb_bios_startup_screen__func(*)*","BIOS_Int10RightJustifiedPrint(*)*","BOOT::Run(*)*","BOOT::printError(*)*","CALLBACK_Idle(*)*","CALLBACK_RunRealFar(*)*","CALLBACK_RunRealInt(*)*","CHOICE::Run(*)*","CPU_ForceV86FakeIO_In(*)*","CPU_ForceV86FakeIO_Out(*)*","ConnectToServer(*)*","DOSBOX_RunMachine(*)*","DOS_21Handler(*)*","DOS_CheckExtDevice(*)*","DOS_CloseFile(*)*","DOS_CreateFile(*)*","DOS_Device::GetInformation(*)*","DOS_Device::Read(*)*","DOS_Device::Write(*)*","DOS_FindDevice(*)*","DOS_FlushSTDIN(*)*","DOS_GetSTDINStatus(*)*","DOS_IOCTL(*)*","DOS_MakeDir(*)*","DOS_OpenFile(*)*","DOS_ReadFile(*)*","DOS_Shell::BuildCompletions(*)*","DOS_Shell::CMD_CHDIR(*)*","DOS_Shell::CMD_CLS(*)*","DOS_Shell::CMD_COPY(*)*","DOS_Shell::CMD_DELETE(*)*","DOS_Shell::CMD_DIR(*)*","DOS_Shell::CMD_ECHO(*)*","DOS_Shell::CMD_PAUSE(*)*","DOS_Shell::CMD_TYPE(*)*","DOS_Shell::CMD_VOL(*)*","DOS_Shell::DoCommand(*)*","DOS_Shell::Execute(*)*","DOS_Shell::InputCommand(*)*","DOS_Shell::ParseLine(*)*","DOS_Shell::Prepare(*)*","DOS_Shell::Run(*)*","DOS_Shell::ShowPrompt(*)*","DOS_Shell::execute_shell_cmd(*)*","DOS_WriteFile(*)*","EGA16_FillRow(*)*","ExceptionPageHandler::Exception(*)*","ExceptionPageHandler::writeb(*)*","ExceptionPageHandler::writed(*)*","ExceptionPageHandler::writew(*)*","FinishSetMode(*)*","IDE_DelayedCommand(*)*","IDE_EmuINT13DiskReadByBIOS(*)*","IDE_SelfIO_In(*)*","IDE_SelfIO_Out(*)*","IMGMAKE::Run(*)*","IMGMAKE::printHelp(*)*","IMGMOUNT::DetectGeometry(*)*","IMGMOUNT::MountFat(*)*","IMGMOUNT::MountImageNone(*)*","IMGMOUNT::Run(*)*","INT10_Handler(*)*","INT10_LoadFont(*)*","INT10_PutPixel(*)*","INT10_ReloadFont(*)*","INT10_ScrollWindow(*)*","INT10_SetActivePage(*)*","INT10_SetCursorPos(*)*","INT10_SetCursorShape(*)*","INT10_SetSingleDACRegister(*)*","INT10_SetVideoMode(*)*","INT10_TeletypeOutput(*)*","INT10_TeletypeOutputAttr(*)*","INT10_ToggleBlinkingBit(*)*","INT10_WriteChar(*)*","INT13_DiskHandler(*)*","INT15_Handler(*)*","INT1A_Handler(*)*","INT8_Handler(*)*","IO_ReadB(*)*","IO_WriteB(*)*","IPXNET::Run(*)*","MEM_BlockCopy(*)*","MOUNT::Run(*)*","NewInitPageHandler::InitPage(*)*","NewInitPageHandler::readb(*)*","NewInitPageHandler::writeb(*)*","NewInitPageHandler::writew(*)*","Normal_Loop(*)*","PAGING_NewPageFault(*)*","PROGRAMS_Handler(*)*","Program::WriteOut(*)*","Program::WriteOut_NoParsing(*)*","SDLNet_TCP_Send(*)*","SHELL_Init(*)*","SHELL_Run(*)*","VGA_ROM_BIOS_ENTRY_callback_func(*)*","VM_Boot_DOSBox_Kernel(*)*","WriteChar(*)*","asyncify_sleep(*)*","backone(*)*","byn$mgfn-shared$IO_ReadB(*)*","byn$mgfn-shared$IO_WriteB(*)*","device_CON::AdjustCursorPosition(*)*","device_CON::GetInformation(*)*","device_CON::Output(*)*","device_CON::Read(*)*","device_CON::Real_INT10_SetCursorPos(*)*","device_CON::Real_INT10_TeletypeOutput(*)*","device_CON::Real_INT10_TeletypeOutputAttr(*)*","device_CON::Write(*)*","fatDrive::FileCreate(*)*","fatDrive::MakeDir(*)*","fatFile::Close(*)*","fatFile::Flush(*)*","fatFromDOSDrive::GetUnmodifiedSector(*)*","fatFromDOSDrive::ReadSector(*)*","imageDisk::Read_AbsoluteSector(*)*","imageDisk::Read_Sector(*)*","imageDisk::Write_Sector(*)*","increaseticks(*)*","initcodepagefont(*)*","jsdos::SockDrive::Read_AbsoluteSector(*)*","jsdos::SockDrive::create(*)*","jsdos_main(*)*","localFile::Close(*)*","localFile::Flush(*)*","localFile::Read(*)*","localFile::UpdateLocalDateTime(*)*","mem_memcpy(*)*","mem_readb(*)*","mem_writeb(*)*","mem_writed(*)*","mem_writew(*)*","outc(*)*","runRuntime(*)*","server_network_connect(*)*","server_run(*)*","showWelcome(*)*","time_t_to_DOS_DateTime(*)*"]
["RtcUpdateDone(*)*","_ConnectToServer(*)*","server_net_connect(*)*","server_net_recv(*)*","wsOpen(*)*","BIOS::cb_bios_boot__func","BIOS::cb_bios_post__func","BIOS::cb_bios_startup_screen__func","BIOS_Int10RightJustifiedPrint","BOOT::Run","BOOT::printError","CALLBACK_Idle","CALLBACK_RunRealFar","CALLBACK_RunRealInt","CHOICE::Run","CPU_ForceV86FakeIO_In","CPU_ForceV86FakeIO_Out","ConnectToServer","DOSBOX_RunMachine","DOS_21Handler","DOS_CheckExtDevice","DOS_CloseFile","DOS_CreateFile","DOS_Device::GetInformation","DOS_Device::Read","DOS_Device::Write","DOS_FindDevice","DOS_FlushSTDIN","DOS_GetSTDINStatus","DOS_IOCTL","DOS_MakeDir","DOS_OpenFile","DOS_ReadFile","DOS_Shell::BuildCompletions","DOS_Shell::CMD_CHDIR","DOS_Shell::CMD_CLS","DOS_Shell::CMD_COPY","DOS_Shell::CMD_DELETE","DOS_Shell::CMD_DIR","DOS_Shell::CMD_ECHO","DOS_Shell::CMD_PAUSE","DOS_Shell::CMD_TYPE","DOS_Shell::CMD_VOL","DOS_Shell::DoCommand","DOS_Shell::Execute","DOS_Shell::InputCommand","DOS_Shell::ParseLine","DOS_Shell::Prepare","DOS_Shell::Run","DOS_Shell::ShowPrompt","DOS_Shell::execute_shell_cmd","DOS_WriteFile","EGA16_FillRow","ExceptionPageHandler::Exception","ExceptionPageHandler::writeb","ExceptionPageHandler::writed","ExceptionPageHandler::writew","FinishSetMode","IDE_DelayedCommand","IDE_EmuINT13DiskReadByBIOS","IDE_SelfIO_In","IDE_SelfIO_Out","IMGMAKE::Run","IMGMAKE::printHelp","IMGMOUNT::DetectGeometry","IMGMOUNT::MountFat","IMGMOUNT::MountImageNone","IMGMOUNT::Run","INT10_Handler","INT10_LoadFont","INT10_PutPixel","INT10_ReloadFont","INT10_ScrollWindow","INT10_SetActivePage","INT10_SetCursorPos","INT10_SetCursorShape","INT10_SetSingleDACRegister","INT10_SetVideoMode","INT10_TeletypeOutput","INT10_TeletypeOutputAttr","INT10_ToggleBlinkingBit","INT10_WriteChar","INT13_DiskHandler","INT15_Handler","INT1A_Handler","INT8_Handler","IO_ReadB","IO_WriteB","IPXNET::Run","MEM_BlockCopy","MOUNT::Run","NewInitPageHandler::InitPage","NewInitPageHandler::readb","NewInitPageHandler::writeb","NewInitPageHandler::writew","Normal_Loop","PAGING_NewPageFault","PROGRAMS_Handler","Program::WriteOut","Program::WriteOut_NoParsing","SDLNet_TCP_Send","SHELL_Init","SHELL_Run","VGA_ROM_BIOS_ENTRY_callback_func","VM_Boot_DOSBox_Kernel","WriteChar","asyncify_sleep","backone","byn$mgfn-shared$IO_ReadB","byn$mgfn-shared$IO_WriteB","device_CON::AdjustCursorPosition","device_CON::GetInformation","device_CON::Output","device_CON::Read","device_CON::Real_INT10_SetCursorPos","device_CON::Real_INT10_TeletypeOutput","device_CON::Real_INT10_TeletypeOutputAttr","device_CON::Write","fatDrive::FileCreate","fatDrive::MakeDir","fatFile::Close","fatFile::Flush","fatFromDOSDrive::GetUnmodifiedSector","fatFromDOSDrive::ReadSector","imageDisk::Read_AbsoluteSector","imageDisk::Read_Sector","imageDisk::Write_Sector","increaseticks","initcodepagefont","jsdos::SockDrive::Read_AbsoluteSector","jsdos::SockDrive::create","jsdos_main","localFile::Close","localFile::Flush","localFile::Read","localFile::UpdateLocalDateTime","mem_memcpy","mem_readb","mem_writeb","mem_writed","mem_writew","outc","runRuntime","server_network_connect","server_run","showWelcome","time_t_to_DOS_DateTime","BIOS::cb_bios_boot__func(*)*","BIOS::cb_bios_post__func(*)*","BIOS::cb_bios_startup_screen__func(*)*","BIOS_Int10RightJustifiedPrint(*)*","BOOT::Run(*)*","BOOT::printError(*)*","CALLBACK_Idle(*)*","CALLBACK_RunRealFar(*)*","CALLBACK_RunRealInt(*)*","CHOICE::Run(*)*","CPU_ForceV86FakeIO_In(*)*","CPU_ForceV86FakeIO_Out(*)*","ConnectToServer(*)*","DOSBOX_RunMachine(*)*","DOS_21Handler(*)*","DOS_CheckExtDevice(*)*","DOS_CloseFile(*)*","DOS_CreateFile(*)*","DOS_Device::GetInformation(*)*","DOS_Device::Read(*)*","DOS_Device::Write(*)*","DOS_FindDevice(*)*","DOS_FlushSTDIN(*)*","DOS_GetSTDINStatus(*)*","DOS_IOCTL(*)*","DOS_MakeDir(*)*","DOS_OpenFile(*)*","DOS_ReadFile(*)*","DOS_Shell::BuildCompletions(*)*","DOS_Shell::CMD_CHDIR(*)*","DOS_Shell::CMD_CLS(*)*","DOS_Shell::CMD_COPY(*)*","DOS_Shell::CMD_DELETE(*)*","DOS_Shell::CMD_DIR(*)*","DOS_Shell::CMD_ECHO(*)*","DOS_Shell::CMD_PAUSE(*)*","DOS_Shell::CMD_TYPE(*)*","DOS_Shell::CMD_VOL(*)*","DOS_Shell::DoCommand(*)*","DOS_Shell::Execute(*)*","DOS_Shell::InputCommand(*)*","DOS_Shell::ParseLine(*)*","DOS_Shell::Prepare(*)*","DOS_Shell::Run(*)*","DOS_Shell::ShowPrompt(*)*","DOS_Shell::execute_shell_cmd(*)*","DOS_WriteFile(*)*","EGA16_FillRow(*)*","ExceptionPageHandler::Exception(*)*","ExceptionPageHandler::writeb(*)*","ExceptionPageHandler::writed(*)*","ExceptionPageHandler::writew(*)*","FinishSetMode(*)*","IDE_DelayedCommand(*)*","IDE_EmuINT13DiskReadByBIOS(*)*","IDE_SelfIO_In(*)*","IDE_SelfIO_Out(*)*","IMGMAKE::Run(*)*","IMGMAKE::printHelp(*)*","IMGMOUNT::DetectGeometry(*)*","IMGMOUNT::MountFat(*)*","IMGMOUNT::MountImageNone(*)*","IMGMOUNT::Run(*)*","INT10_Handler(*)*","INT10_LoadFont(*)*","INT10_PutPixel(*)*","INT10_ReloadFont(*)*","INT10_ScrollWindow(*)*","INT10_SetActivePage(*)*","INT10_SetCursorPos(*)*","INT10_SetCursorShape(*)*","INT10_SetSingleDACRegister(*)*","INT10_SetVideoMode(*)*","INT10_TeletypeOutput(*)*","INT10_TeletypeOutputAttr(*)*","INT10_ToggleBlinkingBit(*)*","INT10_WriteChar(*)*","INT13_DiskHandler(*)*","INT15_Handler(*)*","INT1A_Handler(*)*","INT8_Handler(*)*","IO_ReadB(*)*","IO_WriteB(*)*","IPXNET::Run(*)*","MEM_BlockCopy(*)*","MOUNT::Run(*)*","NewInitPageHandler::InitPage(*)*","NewInitPageHandler::readb(*)*","NewInitPageHandler::writeb(*)*","NewInitPageHandler::writew(*)*","Normal_Loop(*)*","PAGING_NewPageFault(*)*","PROGRAMS_Handler(*)*","Program::WriteOut(*)*","Program::WriteOut_NoParsing(*)*","SDLNet_TCP_Send(*)*","SHELL_Init(*)*","SHELL_Run(*)*","VGA_ROM_BIOS_ENTRY_callback_func(*)*","VM_Boot_DOSBox_Kernel(*)*","WriteChar(*)*","asyncify_sleep(*)*","backone(*)*","byn$mgfn-shared$IO_ReadB(*)*","byn$mgfn-shared$IO_WriteB(*)*","device_CON::AdjustCursorPosition(*)*","device_CON::GetInformation(*)*","device_CON::Output(*)*","device_CON::Read(*)*","device_CON::Real_INT10_SetCursorPos(*)*","device_CON::Real_INT10_TeletypeOutput(*)*","device_CON::Real_INT10_TeletypeOutputAttr(*)*","device_CON::Write(*)*","fatDrive::FileCreate(*)*","fatDrive::MakeDir(*)*","fatFile::Close(*)*","fatFile::Flush(*)*","fatFromDOSDrive::GetUnmodifiedSector(*)*","fatFromDOSDrive::ReadSector(*)*","imageDisk::Read_AbsoluteSector(*)*","imageDisk::Read_Sector(*)*","imageDisk::Write_Sector(*)*","increaseticks(*)*","initcodepagefont(*)*","jsdos::SockDrive::Read_AbsoluteSector(*)*","jsdos::SockDrive::create(*)*","jsdos_main(*)*","localFile::Close(*)*","localFile::Flush(*)*","localFile::Read(*)*","localFile::UpdateLocalDateTime(*)*","mem_memcpy(*)*","mem_readb(*)*","mem_writeb(*)*","mem_writed(*)*","mem_writew(*)*","outc(*)*","runRuntime(*)*","server_network_connect(*)*","server_run(*)*","showWelcome(*)*","time_t_to_DOS_DateTime(*)*"]
1 change: 1 addition & 0 deletions targets/dosbox-x-sdl2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ if (${EMSCRIPTEN})
"-sASYNCIFY=1"
"-sASYNCIFY_IMPORTS=['syncSleep']"
"-sASYNCIFY_WHITELIST=@${TARGETS_DIR}/dosbox-x-asyncify.txt"
# "-sASYNCIFY_STACK_SIZE=16384"
"-sEXPORT_NAME='WDOSBOXX'"
"-sERROR_ON_UNDEFINED_SYMBOLS=1")
elseif (APPLE)
Expand Down

0 comments on commit 0c9eadc

Please sign in to comment.