-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Cameron Rye edited this page Nov 19, 2025
·
1 revision
Common issues and solutions for DosKit.
Problem: js-dos failed to load from CDN.
Solutions:
- Check your internet connection
- Verify CDN is accessible: https://v8.js-dos.com/latest/js-dos.js
- Check browser console for CORS or network errors
- Try refreshing the page
- Clear browser cache
Problem: Emulator loads but shows black screen.
Solutions:
- Check browser console for errors
- Verify WebAssembly is supported:
typeof WebAssembly !== 'undefined' - Try a different browser
- Disable browser extensions that might interfere
- Check if hardware acceleration is enabled
Problem: Emulator runs slowly.
Solutions:
- Reduce CPU cycles in DOSBox config:
cycles=10000 - Enable hardware acceleration in browser settings
- Close other browser tabs
- Try a different rendering backend:
renderBackend: 'canvas' - Reduce screen resolution if possible
Problem: Keyboard input not registering.
Solutions:
- Click inside the emulator window to focus it
- Check if browser has focus (not in another tab)
- Try clicking the "Play" button if visible
- On mobile, use the on-screen keyboard
- Check browser console for errors
Problem: No sound from DOS applications.
Solutions:
- Audio is automatically unmuted when the emulator is ready
- Check browser audio is not muted (system volume and browser tab)
- Verify volume setting:
volume: 0.7in options - Click inside emulator to ensure user interaction (required by browsers)
- Check if DOS application has sound enabled in its settings
- Verify DOSBox sound card configuration (Sound Blaster, GUS, etc.)
- Check browser console for audio-related errors
Note: Modern browsers require user interaction before audio can play.
Problem: On-screen keyboard missing on mobile.
Solutions:
- Verify you're on a mobile device (check user agent)
- Check mobile configuration is applied
- Try portrait and landscape orientations
- Refresh the page
- Check
softKeyboardLayoutin config
Problem: App not updating to latest version.
Solutions:
- Click "Update Available" notification when it appears
- Hard refresh: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac)
- Clear browser cache and reload
- Unregister service worker in DevTools > Application > Service Workers
- Close all tabs and reopen
Problem: DOS application files fail to download.
Solutions:
- Check internet connection
- Verify GitHub/CDN is accessible
- Check browser console for CORS errors
- Try again later (may be rate limited)
- Check if using VPN or proxy that might block requests
Problem: Browser using too much memory.
Solutions:
- Close other browser tabs
- Reduce DOSBox memory:
memsize=16in config - Clear browser cache
- Restart browser
- Use a 64-bit browser if available
Enable detailed logging in development:
// Logs are automatically enabled in development mode
// Check browser console for detailed information
// Use logger utility for custom logging:
import { logger } from "./utils/logger";
logger.debug("Debug message");- Reduce CPU cycles for better battery life on mobile
- Enable hardware acceleration in browser settings
- Use cache-first mode for offline performance
- Close unused tabs to free up memory
- Disable browser extensions that might interfere
If you encounter issues not covered here:
- Check the browser console for error messages
- Review js-dos documentation: https://js-dos.com
- Check existing issues: https://github.com/cameronrye/doskit/issues
- Open a new issue: Include browser version, OS, and console errors
- Read Architecture: For technical details
Include in your issue:
- Browser and version
- Operating system
- Error messages from console
- Steps to reproduce
Made with ❤️ by Cameron Rye