DOSBox-X
DOSBox-X 2025.02.01 émule MS-DOS, IBM PC et PC-98, avec support 3Dfx et installation de Windows jusqu’à 98, sous macOS Intel dès High Sierra.
DOSBox-X est un émulateur open-source spécialisé dans l’exécution d’applications et jeux MS-DOS, d’IBM PC (jusqu’à Windows 98) et de PC-98, avec un support étendu des cartes graphiques 3Dfx Voodoo. Fork de DOSBox, il se distingue par une configuration plus flexible et une précision accrue, idéale pour les environnements historiques ou les développements DOS.
Sur macOS, il fonctionne principalement sur les modèles Intel (à partir de High Sierra) et propose des builds compatibles avec SDL 1 et 2. Bien que des versions pour Apple Silicon soient mentionnées sur le site officiel, leur disponibilité et leur stabilité ne sont pas confirmées. L’émulateur cible aussi bien les jeux DOS que les logiciels Windows 3.x/9x, avec des fonctionnalités avancées comme l’émulation IDE, le clipboard ou le support multimédia. Une documentation détaillée et une communauté active (via Wiki et GitHub) accompagnent son utilisation.
Dernière mise à jour :
Plateformes
Architecture
Mac OS X - macOS
Apple Silicon
64 bits
SDL Library
Téléchargement et liens
- Télécharger DOSBox-X
- Site officiel
- Code source 3 813 étoiles sur GitHub
- Licence : GPL-2.0
- Commande copiée dans le presse-papiers.
- Fiche Homebrew
Historique des versions
2026.10.01
- Ajout du support du protocole MCP et des cartes son Pro Audio Spectrum, Pro Audio Spectrum Plus, Pro Audio Spectrum 16, Crystal CS4231, Gravis Ultrasound Max, Sound Blaster AWE32 (basé sur EMU8K).
- Correction des erreurs de FCB DOS, de la gestion des timers PIT (ARM, BCD, modes 0/2/3/4), des interruptions PS/2 souris, et des interfaces RPC/debugger.
- Améliorations majeures du FPU x87 (FCMOVcc, FCOMI/FCOMIP, gestion des exceptions, stack metadata, précision des conversions).
- Support expérimental pour AppImage (Linux x64) et packages .deb (Ubuntu 22.04/24.04/26.04).
- Correction de la compatibilité MacPorts (macOS legacy) et de l’initialisation de SDLNet pour le réseau.
- Ajout du mode composite dans la configuration et amélioration de la 3D Acceleration S3 ViRGE.
2026.10.01 : - Corrigé les opérations FCB DOS tentant de lire/écrire depuis `device_CON` lorsqu’elles sont effectuées sur un fichier non ouvert ou inexistant. (cimarronm) - Ne pas demander le répertoire de travail lorsque `-conf` ou `-userconf` est utilisé (maron2000) - Ajouté l’interface d’agent de débogage RPC (freeng) - Corrigé le redimensionnement OpenGL lorsque le modeswitch est désactivé (jpernst) - Changement de résolution de modesetting exclusif au plein écran. (DieSkarrj) - Ajout du support du protocole MCP (caiiiycuk) - Corrigé le parsing des arguments exécutables en ligne de commande (maron2000) - Activation des événements de souris PS2 (cyberfox) - Corrigé la détection de la géométrie de disque VHD fixe pour décoder correctement le cylindre de début de partition à partir des champs CHS du MBR (les bits élevés n’étaient pas décalés), rejeté les entrées de partition CHS/LBA malformées au lieu de produire une adresse de secteur incorrecte ou hors limites. (cimarronm) - Ajouté l’argument `/V` pour la commande `VER` afin qu’elle ne retourne que la version (bushtail) - drive_virtual : corrigé CHDIR réussissant sur un fichier sur le lecteur Z : (MaxFreedomPollard) - Corrigé le préfixe LOCK (0xF0) dans les cœurs CPU normal, complet et dynamique (dyn_x86 et dynrec) pour préfixer l’instruction suivante au lieu de s’exécuter comme un no-op, et lever une exception #UD sur les 80186+ si elle précède une instruction sur laquelle LOCK n’est pas légal. (cimarronm) - Corrigé la gestion de la retenue du cylindre CHS IDE (caiiiycuk) - Corrigé l’invalidation du cache de texture OpenGL Voodoo (caiiiycuk) - Corrigé l’émulation du temporisateur PIT : empêché la saturation float-to-unsigned sur les architectures ARM lorsque les modes 0/4 dépassent le compte terminal, corrigé le calcul du délai de pause de porte pour les modes 0/4, et unifié la gestion du déclenchement de porte pour les modes 2/3 selon la spécification 8253/8254. (cimarronm) - Expérimental : Ajouté le package .deb précompilé pour Ubuntu 22.04/24.04/26.04 (maron2000) - Expérimental : Ajouté le support pour AppImage sur x64 Linux (maron2000) - Corrigé la gestion de l’écriture BCD du temporisateur PIT pour conserver les valeurs BCD packées intactes lors d’écritures à deux octets sur le compteur avant conversion en binaire. (cimarronm) - Activation de l’audio PS1 (cyberfox1) - Débogueur : Ajouté des arguments de nom de fichier optionnels pour MEMDUMP et MEMDUMPBIN, par défaut MEMDUMP.TXT et MEMDUMP.BIN. (cimarronm) - Corrigé les répertoires initiaux pour les boîtes de dialogue de sélection des fichiers GLSL et de langue (maron2000) - ethnet : Initialisation de SDLNet avant l’initialisation du support ethnet (patcade) - Corrigé la redéfinition des énumérations pour permettre la compilation sur MacPorts pour les versions macOS légères (maron2000) - Corrigé l’erreur de compilation des builds 64 bits MinGW en raison du fait que MSYS2 arrête progressivement les mises à jour de MinGW et migre vers UCRT64 - Ajout du support pour Pro Audio Spectrum, Pro Audio Spectrum Plus et Pro Audio Spectrum 16 (firevaran) - Ajout du codec Crystal CS4231, ainsi que le support pour le Windows Sound System (WSS) (cyberfox1) - Ajout du support pour Pentium Pro x87 FCMOVcc, FCOMI/FCOMIP et FUCOMI/FUCOMIP dans les cœurs CPU dyn_x86 et dynrec, et correction de FCOMI/FUCOMI pour effacer AF, SF et OF (cimarronm) - Ajout du support pour Gravis Ultrasound Max dans l’implémentation existante GUS, en s’appuyant sur le codec CS4231 (cyberfox1) - FPU : Restauration des métadonnées de la pile x87 si une instruction push-and-load échoue sur son opérande mémoire (cimarronm) - FPU : FSTENV/FNSTENV masquent désormais toutes les exceptions de point flottant après avoir sauvegardé l’environnement (cimarronm) - Linux : Correction des caractères déformés dans la boîte de dialogue d’ouverture de fichier image (maron2000) - Activation de la souris PS/2 lors de l’appel BIOS C200 (cyberfox1) - PC-98 : maintien de l’interruption de la souris de bus en cours à travers les états sauvegardés (gymzatan) - Outil de configuration : Correction d’un plantage lors de la sélection de la section Périphériques (cimarronm) - Ajout de l’accélération 3D pour S3 ViRGE (LeonG-ZA) - Augmentation du volume PAS/OPL pour correspondre au gain DBX (cyberfox1) - FPU : Refactorisation de l’implémentation et correction de la déclaration des conditions du mot d’état x87 et des mots de tag sauvegardés avec l’état FPU (cimarronm) - CoreMIDI : Correction de la correspondance des noms de périphériques pour les noms commençant par des chiffres (maron2000) - Ajout du support pour Sound Blaster AWE32 pour les jeux utilisant EMU8K (cyberfox1) - Diverses corrections et améliorations de l’implémentation emu8k dérivée de l’original 86box (cyberfox1) - FPU : Unification des moteurs FPU non-long-double, long-double et x86 de l’hôte autour de chemins de conversion et de chargement de pile partagés en 80 bits. Amélioration de la précision par rapport au matériel x87 réel sur les hôtes x86 et non-x86 (cimarronm) - FPU : Unification des opérations réelles, entières, BCD emballées et de stockage de registre à travers les moteurs FPU. Correction du traitement de la pile x87 et des résultats incorrects de stockage entier (cimarronm) (cimarronm) - Cœur dynamique : par défaut, transmettre tous les opcodes FPU/MMX au cœur normal afin que la gestion des exceptions FPU nécessaire à Windows 95 pour basculer l'état de la CPU et de la FPU fonctionne correctement. En cas de ralentissement des jeux DOS, une option dans dosbox.conf permet de réactiver la gestion FPU/MMX par le cœur dynamique pour les jeux DOS ne faisant pas de multitâche. (joncampbell123) - Éléments corrigés dans la fenêtre des Configuration Tools qui étaient coupés (maron2000) - Ajout d'une configuration et d'une option pour le mode composite (gschmidl)
2026.08.31
- Ajout du support pour le montage d’images de disquettes TeleDisk (.td0).
- Correction de l’affichage des étiquettes de volumes FAT comme des noms de fichiers 8.3.
- Correction des erreurs de compatibilité entre sauvegardes créées sous Windows et chargées sous Linux.
- Correction des erreurs de gestion des chemins de montage des disques (conservation des séparateurs Windows).
- Correction de la détection CHS pour les disquettes (utilisation de 8 bits pour le cylindre/sector au lieu de 10/6).
- Correction des erreurs de lecture/écriture sectorielle en floppy en respectant les bytes-per-sector définis par INT 1Eh.
- Correction de la détection des erreurs INT 13h (codes AH spécifiques pour chaque type d’échec).
2026.08.31 :
- Ajout du support pour le montage des images de disquettes TeleDisk (.td0).
- Correction de la suggestion de l'option de répertoire de travail.
- Assouplissement du contrôle de cohérence des images de disquettes en tenant compte des disques spécialement formatés.
Les opérations d'E/S de secteur de disque retournent désormais les codes de statut spécifiques de l'appel système INT 13h au lieu d'une erreur générique, et le gestionnaire INT 13h propage le code spécifique (échec de recherche, défaillance du contrôleur, erreur de CRC/données, etc.) dans le registre AH lors des erreurs de lecture/écriture au lieu de tout regrouper en 0x04. Correction également du registre AH restant obsolète après les erreurs d'écriture et d'une écriture de remplissage de secteur VFD qui signalait une erreur après avoir réussi.
- Sur les systèmes non-MSC, ne définir MIN/MAX que s'ils ne sont pas déjà définis.
- Correction de l'échec de XCOPY sous FreeDOS lorsque le répertoire de destination n'est pas spécifié.
- IMGMOUNT : Correction d'une régression qui ne tentait pas de charger IMGMAKE.IMG si aucune image n'était spécifiée.
- Correction d'une erreur de compilation lorsque FFmpeg est mis à jour vers FFmpeg 9.
- Correction du gel lors de l'absence de fichier signalé pour la sauvegarde d'état.
- Correction des emplacements des dossiers de capture et de sauvegarde d'état.
- Refactorisation des sous-classes imageDisk dans leurs propres fichiers sources et en-têtes (VFD, D88, NFD, disque vide, passage INT 13h, disquette El Torito, et périphérique de bloc MS-DOS), laissant la classe de base imageDisk et les tuyauteries de liste de disques BIOS dans bios_disk.
Initialisation de l'interpréteur de commandes : allocation du bloc d'environnement COMMAND.COM après l'allocation du binaire de l'interpréteur/PSP dans SHELL_Init() et CONFIGSHELL_Init(), afin que la disposition mémoire et l'ordre de propriété correspondent au comportement attendu de la chaîne MCB.
-
Correcteur : correction de l'affichage des noms de registres 16 bits pour les opérandes de taille octet dans le désassembleur.
-
Correction du décodage CHS de l'appel système INT 13h pour les disquettes, qui utilisait incorrectement la configuration du disque dur (cylindre à 10 bits / secteur à 6 bits) au lieu de la configuration de la disquette (cylindre à 8 bits dans CH / secteur à 8 bits dans CL) lors des opérations de lecture, écriture et de récupération des paramètres du lecteur.
-
Correction des sauvegardes d'état créées par une compilation sous Windows qui échouent à être chargées sur les compilations sous Linux. La structure Opts par lecteur dans la composante DOS contenait un entier non signé long, qui est de 4 octets sous Windows et de 8 sur les hôtes LP64, ce qui a désynchronisé le flux sauvegardé et a fait déborder le chargement de la composante.
Corrigé également
POD_Load_DOS_Mscdex en boucle infinie sur un compteur de lecteurs de CD hors plage, et
les chemins de lecteur montés conservant les séparateurs de chemin Windows lors de la restauration d’un état sur un hôte non Windows. (ozy24)
-
Corrigé le problème de chs_write qui emballait les bits de cylindre haut dans le champ secteur de la table de partition synthétique du MBR, ce qui corrompait l’entrée CHS finale pour les disques avec un cylindre final supérieur à 255. (cimarronm)
-
Les lectures/écritures de secteurs en mode disquette (INT 13h) respectent désormais le code des octets-par-secteur de la table de base du disque pointée par INT 1Eh au lieu de supposer 512, permettant aux invités qui reprogramment INT 1Eh d’accéder à des médias non 512 octets. (cimarronm)
-
Correcteur : résolution des variables nommées dans les expressions. (zlatkok)
-
OpenGL : corrigé les décalages positionnels en plein écran et lors des commutations de mode. (DieSkaarj)
-
Simplifié la logique de suppression des noms de fichiers dans la MCB de DOS_Execute(). (cimarronm)
-
Corrigé l’affichage des étiquettes de volume FAT sous forme de noms de fichiers 8.3. (cimarronm)
-
Corrigé le plantage de la version Win9x bas de gamme au lancement dû à l’utilisation de la fonction AttachConsole(). (maron2000)
-
Corrigé une erreur d’accès hors limites dans le tableau de drive_virtual.cpp. (maron2000)
2026.08.02
- Ajout d’un protocole expérimental ethnet pour émuler un réseau local privé entre instances via un système client-serveur (remplace le mode pcap incompatible Wi-Fi).
- Support des sous-dossiers imbriqués pour le Z drive (lecteur virtuel).
- Correction des erreurs de rendu de caractères et du curseur en mode DOS/V japonais.
- Ajout des types de machines PC3270 et Olivetti pour l’émulation.
- Améliorations de performance du FAT driver (énumération de dossiers, création/lecture/écriture de fichiers).
- Correction des chemins d’erreur du fatDrive évitant les fuites de handles et les montages trompeurs.
- Normalisation des offsets segmentés 16 bits pour éviter les faux rapports d’opérandes mémoire illégales dans le débogueur.
2026.08.02
-
Correcteur : normalisation des décalages en 16 bits segmentés pour l’affichage/la recherche d’adresses et évitement des rapports erronés de « [illegal] » pour les opérandes mémoire dans AnalyzeInstruction() (cimarronm)
-
Correction de l’affichage des caractères et du curseur de la souris en mode DOS/V japonais. (nanshiki)
-
Correction de l’erreur de compilation des builds de la version OSFREE (maron2000)
-
Ajout d’une vérification de cohérence du BPB pour disquettes, et réorganisation du code existant de vérification du BPB pour disquettes (maron2000)
-
Correction du redimensionnement de la fenêtre (OpenGL, SDL2) (misty7666)
-
Mise à jour de Nuked-OPL3-fast à la version v1.8-fast.3 (tgies)
-
Ajout du support des sous-dossiers imbriqués pour le lecteur Z (maron2000)
-
Ajout de la commande expérimentale « ethnet » et du protocole pour l’émulation du NE2000. Au lieu d’utiliser le mode promiscuité pcap, qui ne fonctionne pas sur Wi-Fi, un système client-serveur peut être configuré pour émuler un réseau local privé entre instances de DOSBox-X, soit sur localhost, soit sur le réseau local. La commande « ethnet » est conçue de manière délibérée pour que la configuration client et serveur suive la même structure de commande que la commande « ipx » utilisée pour configurer un réseau IPX dans DOSBox et DOSBox-X. (joncampbell123)
-
Améliorations des performances du pilote FAT, au moins pour l’énumération des dossiers, la création de fichiers, la lecture et l’écriture (joncampbell123).
-
Ajout des types de machines PC3270 et Olivetti (firevaran).
-
Correction des chemins d’erreur du pilote fatDrive afin que les lectures de secteur de démarrage tronquées ne ressemblent plus à des montages réussis, et les retours anticipés ferment désormais les handles de fichiers de disque au lieu de les faire fuiter. (cimarronm)
-
INT 33h : en mode PC-98, ne pas maintenir un compteur de masquage/affichage d’écran pour correspondre au comportement du pilote de souris réel (nanshiki)
2026.07.02-osfree
- Ajout du support pour Nuked-CQM dans l'émulation OPL (synthétiseurs FM).
- Correction de la compatibilité des fichiers de sauvegarde entre compilations MSVC et MinGW.
- Correction des problèmes de signe dans l’instruction PMULLW et de la taille du registre FPU_Reg_80.
- Correction de l’affichage du ratio d’aspect et de la taille de la fenêtre après retour en mode fenêtre depuis le plein écran (D3D11).
- Correction du montage des ISO via le menu déroulant (boîte de dialogue manquante).
- Correction des problèmes de boot depuis le menu "Boot from disk image".
- Correction de la détection de géométrie pour les drives convertis depuis un dossier hôte.
2026.07.02
-
Préparation pour la sortie. Cette fois, la version OSFREE est publiée en premier afin que la version normale apparaisse en premier sur GitHub.
-
Correction de l’incompatibilité de format de sauvegarde entre les builds compilés avec MSVC et MinGW.
-
Correction des problèmes de signe pour PMULLW.
-
Correction de la taille de FPU_Reg_80.
-
gui/sdl_mapper : Correction d’un plantage au démarrage avec des manettes rapportant plus d’un interrupteur de hat.
-
Ajout du support Nuked-CQM pour l’émulation OPL.
-
macOS : Construction des builds nocturnes OSFREE.
-
D3D11 : Correction du ratio d’aspect et de la taille de la fenêtre non reflétés lors du retour du mode plein écran.
-
qcow2 : Définition du CHS logique (BIOS) au lieu du CHS physique (IDE) lors du montage avec des numéros de périphérique.
-
Debugger : Correction de la collision entre F11 (trace dans l’instruction suivante) absorbée par le Terminal Windows.
-
Affichage de OSFREE dans le titre et le message d’aide pour distinguer les builds OSFREE.
-
Correction d’une éventuelle défaillance de démarrage lors du démarrage depuis le menu « Démarrer à partir d’une image disque ».
-
Correction de la non-affichage de la boîte de dialogue lors du montage d’un ISO via le menu déroulant.
-
printer.cpp : Correction de divers problèmes d’émulation d’imprimante Correction du traitement de la commande variable_length Correction d’une faute de frappe dans la commande ESC S Ignorement du traitement DBCS pour les données graphiques en bits Correction de l’avancement de la position de cellule des caractères DBCS
2026.06.02
- Ajout d’un système de chargement de pilotes MS-DOS via la configuration (config -device) et la section [devices] de dosbox.conf, avec support des commandes RUN= pour l’initialisation.
- Correction d’un bug critique dans la recherche de fichiers DOS sur les noyaux Darwin récents, évitant l’utilisation de données corrompues dans stat_block.
- Optimisation des E/S pour les pilotes externes DOS (transfert en blocs de 16 octets au lieu de 1 octet), améliorant les performances des pilotes comme OAKCDROM.SYS.
- Prise en charge partielle des pilotes de périphériques MS-DOS (bloc et CD-ROM), permettant notamment le chargement de RAMDRIVE.SYS et une meilleure intégration avec l’IFS pour Windows 95.
- Correction des artefacts graphiques en mode avancé (scalers 2x/3x, HQ2X) pour les cartes MDA, Hercules, CGA, EGA, Tandy, PCjr, et SVGA 15/16 bpp.
2026.06.02
-
Correction de bug de recherche de fichiers DOS : Empêche l'utilisation d'un bloc
stat_blocknon défini lors des appels àht_statéchoués. Utilise une variable séparée pour les vérifications d'attributs de fichiers spéciaux afin d'éviter de réutiliserstat_blocklorsqu'il contient des valeurs corrompues. Cela corrige les problèmes sur les noyaux Darwin les plus récents. (cimarronm) -
Ajout d'une fonction dans la configuration pour charger les pilotes de périphériques MS-DOS. La commande est :
config -device -devparm. Par exemple, pour chargerOAKCDROM.SYSen mémoire, vous pouvez taper :config -device C:\DOS\OAKCDROM.SYS -devparm "/D:CD001"ce qui est équivalent à la ligne
DEVICEdansCONFIG.SYS:DEVICE=C:\DOS\OAKCDROM.SYS /D:CD001L'objectif est que DOSBox-X prenne en charge pleinement, via l'interruption INT 21h et d'autres interfaces, les pilotes de périphériques réels plutôt que de coder manuellement l'émulation de pilotes spécifiques. L'interruption INT 21h utiliserait alors la chaîne de périphériques réelle au lieu d'une liste intégrée. L'émulation intégrée de périphériques pourrait apparaître correctement dans la chaîne de périphériques au lieu d'entrées fictives. Il semble y avoir un intérêt dans les discussions et les pistes de problèmes de DOSBox-X pour que celui-ci fournisse ou émule le pilote IFS de MS-DOS/Windows 95 afin de permettre à Windows 95 de démarrer à partir d'une image disque dans l'environnement natif de DOSBox-X, peut-être que cela aidera à cela. À ce jour (en développement), seule la fonction
INITest appelée. (joncampbell123) -
Lecture/écriture externe de pilotes DOS : Optimisation des E/S en utilisant des transferts de lecture/écriture plus importants (actuellement 16, basés sur la quantité de mémoire allouée pour les requêtes et les données de périphériques pilotes). Jusqu'à ce changement, le code utilisait une méthode de lecture/écriture extrêmement inefficace en octets uniques pour transférer des données vers ou depuis le pilote de périphérique. (joncampbell123)
-
Correction de bug d'exécution DOS : Bien que la propriété était correctement répertoriée dans le bloc de contrôle de segment MCB pour le segment PSP, le bloc d'environnement associé au programme était toujours répertorié dans le MCB comme appartenant au processus parent. Cela a été corrigé. (joncampbell123)
-
Correction du traitement de l'interruption INT 21h AH=3Fh/40h (LECTURE/ÉCRITURE), lorsqu'on communique avec un pilote de périphérique DOS externe, afin que les octets réellement traités par le pilote soient retournés dans AX au programme DOS, au lieu de donner au programme DOS l'impression que tous ont été traités alors que ce n'était pas forcément le cas.
(joncampbell123)
- Lecture audio CD : correction du problème où la piste ne progressait pas à la fin de la lecture (maron2000)
- Correction de la détection de la géométrie des images qcow2 (maron2000)
- Correction des artefacts de rendu du scaler avancé lorsque le type de machine est MDA, Hercules, CGA, EGA, Tandy ou PCjr, ou lorsque les modes SVGA 15/16 bits sont actifs. Les modes CGA/EGA avec les scalers Advanced MAME 2x/3x et HQ2X devraient maintenant s'afficher correctement (joncampbell123)
- Ajout de la section
[devices]dans le fichier dosbox.conf, fonctionnant de manière similaire aux lignesDEVICE=dans le fichier CONFIG.SYS pour charger les pilotes de périphériques MS-DOS au démarrage. Ajout du support pour les lignesRUN=afin d'exécuter des commandes comme IMGMOUNT pour aider à configurer les montages de disques et les périphériques CD-ROM, ou à toute autre fin diagnostique. Bien queRUN=fonctionne comme une coquille de commande, il n'est pas destiné à être une coquille de commande générale pour exécuter des jeux ou applications DOS non liées au démarrage du système. Ajout d'options de débogage commeECHO, qui affiche la commande sur le point d'être exécutée, etDEBUGBREAK, qui interrompt le débogueur lors du lancement du programme ou du pilote de périphérique (joncampbell123) - Ajout de code pour le chargement des pilotes de périphériques qui, chaque fois que possible, tentera de charger le pilote de périphérique le plus bas possible et de le packer dans le noyau DOS en dessous du début de la chaîne MCB pour ressembler à la façon dont les pilotes de périphériques sont chargés sous MS-DOS (joncampbell123)
- Ajout de la commande de débogueur "DOS DEVS" pour lister et énumérer les pilotes de périphériques dans le noyau DOS. Ajout de code à BOOT --boothax msdos pour suivre l'emplacement de la liste des pilotes de périphériques dans le noyau MS-DOS invité afin que "DOS DEVS" fonctionne également là-bas (joncampbell123)
- La coquille DOSBox-X libérera désormais toute mémoire qu'elle a allouée et fermera les fichiers ouverts lors de l'arrêt. Cela est important pour que la coquille CONFIG (utilisée pour le chargement des pilotes de périphériques) ne laisse pas de mémoire allouée derrière elle lors du transfert de contrôle vers la coquille de commande principale. Cependant, ne libérez pas la mémoire et ne fermez pas les fichiers lors de l'arrêt de la coquille si la raison de l'arrêt est la commande BOOT. À ce moment-là, lorsque l'arrêt normal se produit, la commande BOOT a déjà écrasé la mémoire basse (et la chaîne MCB) avec le code de démarrage du système invité, donc libérer la mémoire de la coquille dans ce cas ne ferait qu'entraîner une plainte concernant une chaîne MCB corrompue et un arrêt de l'émulateur E_Exit().
(joncampbell123)
-
Correction du calcul de la géométrie des images VHD et qcow2 (maron2000)
-
Correction du comportement entre CONFIG et l’invite de DOS pour garantir que l’écran de bienvenue s’affiche en premier avant toute autre sortie sur la console au démarrage. Cela permet de conserver toute sortie de programmes ou de pilotes périphériques à l’écran, visible par l’utilisateur (joncampbell123)
-
Ajout du support de base pour les pilotes de périphériques de blocs MS-DOS. Si un pilote de périphérique de bloc réussit, un objet d’image disque est configuré et attaché au pilote de système de fichiers FAT, puis une lettre de disque est attribuée. Actuellement, cela suffit pour que Microsoft RAMDRIVE.SYS se charge et apparaisse comme une lettre de disque fonctionnelle dans DOSBox-X (joncampbell123)
-
L’émulation du périphérique CD-ROM n’est plus strictement liée à l’émulation MSCDEX. Bien que les périphériques soient toujours initialisés via l’émulation MSCDEX, il est désormais possible que d’autres parties de l’émulation détiennent une référence à celui-ci sans passer par MSCDEX. Cela signifie qu’il est désormais possible que l’émulation CD-ROM fonctionne après le démarrage d’un système invité, sans avoir à revenir en arrière via l’émulation MSCDEX, et que l’émulation MSCDEX peut maintenant se désinstaller correctement avec le reste du noyau DOS (joncampbell123)
-
Correction d’un bug où l’absence d’émulation de démarrage El Torito ne notifiait pas au noyau DOS que la chaîne MCB n’était plus valide, provoquant des plantages dus à une corruption de la chaîne MCB (joncampbell123)
-
Ajout de vérifications dans le code d’E/S sectorielle pour corriger les problèmes potentiels de débordement de tampon (orbisai0security)
-
Correction de l’affichage du message de détection de « Packed file is corrupt » (maron2000)
-
Correction du fait que la partie haute des 32 bits de LBA était toujours effacée (maron2000)
-
Correction et révision de l’émulation MSCDEX et CD-ROM pour les détacher l’une de l’autre, de sorte que MSCDEX n’ait plus besoin de rester en arrière-plan lors du démarrage dans un système invité pour que l’émulation IDE fonctionne (joncampbell123)
-
Mise à jour de l’émulation CD-ROM pour utiliser un comptage de références afin d’améliorer le partage de l’image entre l’émulation IDE, MSCDEX et l’émulation CD-ROM générale. L’émulation IDE peut maintenant conserver une référence au lieu de la demander constamment à MSCDEX (joncampbell123)
-
Correction d’un bug où le montage d’un fichier CUE invalide sans pistes provoquait un plantage de DOSBox-X (joncampbell123)
-
MSCDEX et émulation CD-ROM : Nettoyage et centralisation de la création des objets d’interface CD-ROM, y compris la création de l’interface fictive « vide » utilisée pour émuler un lecteur de CD-ROM vide.
(joncampbell123)
- Réviser l'émulation MSCDEX pour séparer l'unité CD-ROM et le suivi des lecteurs du MSCDEX lui-même afin que l'état persiste correctement pour un système d'exploitation invité même lorsque MSCDEX est arrêté pendant le démarrage. (joncampbell123)
- Ajouter l'option
-replaceàIMGMOUNTpour permettre de changer l'image ISO attribuée à un lecteur CD-ROM sans modifier ou altérer la lettre du lecteur déjà attribuée.-replaceest strictement limité aux lecteurs CD-ROM où la lettre du lecteur est déjà attribuée à cette lettre du lecteur. (joncampbell123) - Nettoyer le menu Drives pour toute lettre de lecteur attribuée à un lecteur CD-ROM. Activer les options « Monter un disque ou une image de CD » et « Monter plusieurs images de disque/CD » même si la lettre du lecteur est déjà associée à un lecteur CD-ROM, auquel cas l'élément de menu remplace simplement celui-ci. Permettre à ces éléments de menu de fonctionner même lors de l'exécution d'un système d'exploitation invité afin que les utilisateurs de Windows 95 puissent charger n'importe quelle image ISO qu'ils souhaitent à tout moment, au lieu d'avoir à précharger toutes les images nécessaires sur une chaîne de swap avant le démarrage. (joncampbell123)
- Remplacer le code de montage ISO de l'élément de menu pour qu'il appelle plus directement
IMGMOUNTafin d'éviter de créer un objet de shell de commande qui risquerait d'interférer avec le système d'exploitation invité. (joncampbell123) - Activer l'option de menu « Démonter le lecteur » sous Drives pour tout lecteur associé à un lecteur CD-ROM lors de l'exécution d'un système d'exploitation invité comme Windows 95. Lorsqu'elle est utilisée dans ce contexte, elle ne supprime pas la lettre du lecteur, mais agit plutôt comme une commande pour éjecter le CD du lecteur CD-ROM (remplace par l'image « vide » du lecteur CD-ROM). Dans l'environnement DOSBox-X, « Démonter le lecteur » désinstallera toujours le lecteur et supprimera la lettre du lecteur comme prévu. (joncampbell123)
- L'élément de menu « Changer de disque » sous Drives est maintenant activé même lors de l'exécution d'un système d'exploitation invité comme Windows 95, si le lecteur est associé à un lecteur CD-ROM. En utilisant la commande, elle parcourt la chaîne de swap du lecteur CD-ROM uniquement pour ce lecteur spécifique, au lieu de tous les lecteurs comme le ferait le raccourci Swap CD mapper. (joncampbell123)
- Émulation IDE : ignorer le délai d'éjection/déchargement/chargement du lecteur CD-ROM si le changement de support passe à l'image « vide » du lecteur CD-ROM.
(joncampbell123)
-
L'objet programme (classe de base des commandes intégrées) ne tentera plus d’effectuer aucune action avec les segments PSP ou les chaînes de commande en mémoire s’il est invoqué alors que le noyau DOS est désactivé (exécution d’un système invité).
-
Émulation ATAPI CD-ROM IDE : Si le système invité émet la commande START/STOP pour éjecter le lecteur de CD-ROM, remplacez l’image du CD-ROM par l’objet « vide » pour émuler un lecteur de CD-ROM désormais vide.
-
Activez la commande de menu « Échanger le disque » pour les lecteurs de disquettes même en exécutant un système invité, à condition qu’un lecteur de disquettes y ait déjà été monté.
-
BOOT : Correction d’une régression de détection des images de disquettes.
-
La commande DSP du Sound Blaster (0x10, Direct DAC) et l’émulation de la source sonore Disney retiennent le dernier échantillon reçu de l’application invitée pour éviter les pops sonores si des jeux comme In Extremis utilisent ces périphériques pour jouer des effets sonores présentant un biais continu décalé.
-
Ajout d’une correction du biais continu dans le code de mélange audio afin que, si des jeux comme In Extremis terminent un effet sonore avec le dernier échantillon retenu décalé, cela n’entraîne pas de clippage et de distorsion pour le reste de l’audio, et ne provoque pas potentiellement un clippage et une distorsion pour tout l’audio du système d’exploitation de l’utilisateur (les systèmes modernes mélangeant l’audio sur l’ensemble des applications), comme jouer à In Extremis tout en écoutant une vidéo YouTube.
-
Correction d’un bug dans l’émulation de l’instruction MMX EMMS qui marquait correctement tous les registres FPU comme vides mais réinitialisait également les mots de statut et de contrôle du FPU. Cela corrige le cube 3D déformé lors de l’exécution du programme de diagnostic DirectX de Microsoft (dxdiag.exe) avec un rendu logiciel.
-
Les instructions FPU lancent désormais correctement l’exception 7 (Coprocesseur non présent) si les bits EM (émulation) et TS (switch de tâche) dans le registre CR0 sont activés, comme documenté par Intel. De nombreux systèmes d’exploitation, y compris Microsoft Windows, nécessitent cette correction pour maintenir correctement l’état du FPU en multitâche. Sans cette correction, l’état du FPU n’est jamais commuté et toutes les applications (et pilotes de noyau sous Windows 98) finissent par corrompre l’état du FPU des autres. Cela corrige les artefacts de glitch dans Attack of the Saucerman! de Psygnosis lors de l’émulation d’un type de CPU supportant les instructions MMX.
Il semble également corriger les erreurs aléatoires de rendu 3D (les sommets qui s’envolent à l’écart dans la distance) lors de l’exécution de The Sims pour Windows 95 par Maxis, bien que le jeu semble s’arrêter aléatoirement après un moment et que la vidéo FMV initiale se bloque à un moment aléatoire. Dans le cadre de cette correction, les instructions MMX déclencheront également une exception dans les mêmes conditions. Cette correction ne s’applique qu’au cœur normal (core=normal) (joncampbell123)
- Option pour désactiver la limite TTF winperc (emendelson)
- Correction de la planture de capture d’écran (et autres) dans les jeux en mode protégé avec output=ttf (AleWin32)
- Debugueur : ajout des commandes de débogueur manquantes dans la documentation (AleWin32)
- Debugueur : corrections MEMFIND/MEMS (la plus importante : adressage en mode protégé) (AleWin32)
- IMGMOUNT : attachement du lecteur CD-ROM au contrôleur IDE (maron2000)
- Mise à jour de mt32emu vers la version 2.8.0 (maron2000)
- IMGMOUNT : éviter d’attacher un nouveau lecteur au contrôleur IDE lors de l’exécution d’un système invité démarré (maron2000)
- Correction de la charge d’état de sauvegarde produisant des graphismes brouillés (AleWin32)
- Fonctionnalité : ajout d’informations détaillées lors du chargement d’un désaccord d’état de sauvegarde (AleWin32)
- output_ttf : ne pas réinitialiser les couleurs si déjà en mode sortie TTF (maron2000)
2026.05.02
- Ajout de la détection des fichiers PNG de logo dans le répertoire courant et .config pour une configuration utilisateur globale.
- Correction de la détection de support Metal sur macOS, incluant les flags de lien pour les frameworks.
- Correction de l’alignement centré de la fenêtre malgré l’option windowposition.
- Ajout d’un paramètre adlib pcm boost pour amplifier le volume du son Adlib en mode PCM.
- Correction des couleurs dans les captures d’écran pour la build SDL1 sur macOS.
- Correction de la détection de géométrie des fichiers VHD et des erreurs de lecture/écriture sur les derniers secteurs.
2026.05.02
- DOSBox-X will now check both the current directory and the .config directory in your home directory for DOSBox-X logo PNG files. It is now possible to configure one set of PNG files as a default for all uses of DOSBox-X from your user account. (joncampbell123).
- src/gui/render.cpp: Added missing ifdef conditional on C_METAL to enable building on macOS platforms without Metal support. (herrnst)
- Fixed Metal support detection: add framework linker flags to configure check (maron2000)
- Fixed window position not centered even when windowposition option is set to do so. (maron2000)
- Fixed MSCDEX device name padding for short names (maron2000)
- When DOS games use the Adlib FM chip to do "digitized speech", DOSBox-X does emulate that correctly, and it also correctly emulates how low the volume is on the sound card output. However to make it more audible, a new option "adlib pcm boost" has been added. If set, and the Adlib emulation detects that the guest application is playing PCM audio through it, the audio levels of the FM output will be amplified to make the digitized speech much more audible. (joncampbell123)
- Fixed mapping of TTF to match with guest codepage when launched with output=ttf. (maron2000)
- Limit window size of TTF output to 2/3rd of the screen in both dimensions so that the window is not TOO large on the user's screen. (joncampbell123)
- Fix segfault in TTF output code caused by codepage mapping when the TTF output is not active. (joncampbell123)
- Fixed clip_paste_bios option change was not reflected. Also, default is changed to "true" for Windows due to some characters fails to paste when set otherwise. (maron2000)
- Replaced some deprecated functions in dosbox.h. (maron2000)
- Fixed colors in the screenshot of macOS SDL1 build were wrong.(maron2000)
- Fix savestate restore crash in POD_Load_DOS_Files during live file slot teardown (catbalony)
- Fixed mouse cursor display in DOS/V Japanese mode (nanshiki)
- INT 13h AH=48h: Fixed LBA detection (maron2000)
- Fixed read/write errors on last sectors of disk image (maron2000)
- Int 13h: Added option to enable/disable 48-bit LBA support (maron2000)
- Fix VHD file geometry detection (maron2000)
- Fixed crash when printing out multipages to printer (Windows) (maron2000)
- printer.cpp: Fix occasional missing page break after line wrap (maron2000)
2026.03.29
- Ajout d’une option dosbox.conf pour contrôler la durée du bip sonore via DOS CON et INT 10h (caractère BEL).
- Détection et décompression automatique des fichiers EXE compressés avec EXEPACK, avec gestion du gate A20 pour éviter les erreurs de corruption.
- Optimisation de l’émulation El Torito : les CD-ROM bootables démarrent désormais aussi vite qu’un disque flexible réel.
- Ajout d’options dosbox.conf pour limiter la mémoire vidéo VBE (vbememsize, vbememsizekb) et forcer l’utilisation du linear framebuffer (_REQUIRE_LFB).
- Correction du bug où l’option "zero memory on DOS allocation" restait activée, bloquant des jeux comme Bad Cat.
- Fix du crash lié à la gestion des palettes Hercules et du mélange des couleurs.
- Correction de la gestion des erreurs INT 21h AH=4Ah (redimensionnement mémoire) pour éviter l’attribution erronée de blocs libres.
- Correction du build script macOS empêchant le chargement de la bibliothèque freetype.
2026.03.29
- Add dosbox.conf option to control the duration of the beep when DOS CON and INT 10h are given the BEL character. (joncampbell123).
- DOS CON device BEL (beep) handling: For IBM PC modes, call on INT 10h to make the beep, rather than duplicate code. Fix the DOS CON device so that it can also properly beep in PC-98 mode. (joncampbell123).
- Fix bug where the "zero memory on DOS allocation" option was stuck on. Some games, like "Bad Cat" rely on memory contents peristing across DOS EXEC and memory allocation. (joncampbell123).
- Fix Hercules palette selection related to herc blend. (joncampbell123).
- DOS kernel: When executing an EXE file, the loader can now detect EXE files that were compressed using EXEPACK. Based on the new exepack dosbox.conf setting, it can decompress the EXE by itself, switch off the A20 gate, or do nothing. The purpose of this setting is to avoid EXEPACK "Packed File is Corrupt" errors that happen if the A20 gate is enabled and the EXE was loaded too low in memory. (joncampbell123).
- Linux SDL1: Use XDG_SESSION_TYPE environment variable to detect whether or not the user is running DOSBox-X under X11 or Wayland, and if so, prevent the fbcon and svga drivers from initializing. There seems to be a problem where, if run under Wayland and the XWayland compatibility layer if not present, SDL1 uses the fbcon driver to take over the screen using vtcon switching and the classic fbdev driver interface. Don't do that! (joncampbell123).
- INT 21h AH=4Ah resize memory: If memory resize fails because there is not enough room for the requested amount of memory, do not set ownership of the block to the program. This fixes memory allocation error in California Games II. The game at one point seems to miscalculate and ask for an excessively large amount of memory on resize, and then fail, which doesn't seem to affect the game. HOWEVER, prior to the bugfix, the memory block that was available was assigned ownership to the game anyway. Later on after helicopter takeoff, the game would attempt to allocate more memory, which would fail because of the erroneous assignment of ownership to free memory. (joncampbell123).
- Add debug logging to not only indicate DOS kernel memory alloc, free, and resize, but also log when the memory operation fails. Perhaps someday I'll figure out what the memory management in California Games II is doing wrong that makes the helicopter part fail in DOSBox-X. (joncampbell123).
- Code development now occurs across two primary branches: master for fully functional emulation, and main-osfree for versions of DOSBox-X where built-in MS-DOS OS emulation is disabled. The osfree branch can only boot a guest OS. main-osfree is for use in jurisdictions that enforce or wish to enforce OS level age verification, and therefore, may consider the MS-DOS emulation an OS that is subject to those laws. (joncampbell123).
- El Torito CD-ROM floppy disk boot emulation is no longer as slow as an actual floppy drive. Your bootable CDs will boot much faster now. (joncampbell123).
- DOSBox-X shell: If a DOS error happened while trying to execute a DOS program, read the error code and print an appropriate message on the console. So far only "Access Denied" has any specific error message there. (joncampbell123).
- Skip all keyboard code page and layout loading if running in PC-98 mode. PC-98 systems store the entire font in ROM with only very limited room for custom fonts, therefore, it makes no sense to load code pages in PC-98 mode. (joncampbell123).
- Keyboard code page layout: Fix bug where an out of range start_pos can cause DOSBox-X to segfault. Range check and print an error message instead. (joncampbell123).
- Keyboard code page layout: The UPX unpacker checks the stack pointer (like a COM program would) to determine if there is enough memory to decompress. If there is not, it executes INT 20h to exit to DOS. Problem is, the code page execution never makes a proper PSP segment for that to work, so, during execution, intercept INT 20h and safely redirect execution to exit properly when called. Set an error flag so the code can know if that happened and say so. (joncampbell123).
- Keyboard code page layout: If executing the CPI/CPX file because UPX decompression is detected, allocate memory based on the size of the file plus reasonable stack space rather than assume about 128KB of RAM following a DOS allocation of less, which for lower memsizes, only causes a crash on startup. (joncampbell123).
- Debug print to log what code page file is being loaded at startup (joncampbell123).
- CPU Idle callback is now strictly limited to processing IRQs and one CPU instruction, instead of however many CPU instructions can run until the next scheduled emulator event. This fixes a bug where system calls that use the Idle callback (INT 21h, etc) can sometimes vary their delay time by emulator events, and if "scanline render on demand is enabled", can cause the Idle call to take a full 1ms interval of time. This fixes an issue where "scanline render on demand" caused some DOS games like Xargon to take 5 to 10 times longer to transition between title, main menu, gameplay, etc. (joncampbell123).
- Debugger LOGL command now includes the PIC_FullIndex() emulator time in millseconds so that it can be used to determine time as well as CPU state for debugging (joncampbell123).
- Add dosbox.conf option to control whether VBE emulation provides the protected mode interface or not (joncampbell123).
- Add dosbox.conf option vbememsize and vbememsizekb to control how much video memory is reported through the VESA BIOS, which can be less than actual video memory (but must be at least 256KB). This option can help with some DOS programs that have problems with "too much" video memory in the system (joncampbell123).
- Add INT 10h mode flag _REQUIRE_LFB. When set, INT 10h calls to set VESA BIOS modes will fail unless requesting to set the linear framebuffer version of the mode (joncampbell123).
- S3 emulation will mark any more large enough to exceed bank switching limits in S3 hardware as _REQUIRE_LFB (joncampbell123).
- I'm not sure why Adlib emulation defaults to 48KHz in most versions of DOSBox, but the hardware rate is 49716 and that should be the default (joncampbell123).
- Fixed crash on starting debugger on MinGW builds (maron2000)
- Adjusted the ChinaSea/Big5-2003 extended code point ranges for CP951 to 0x9140–0xA3FE and 0xC6A1–0xFEFE (1abcd)
- Replaced deprecated symbols to enable launching on old macOSs (maron2000)
- Converted all bash-dependent shell files to POSIX-shell compliant (pandasoli)
- Removed 7 duplicate Chinese character mappings from CP951 (Big5-UAO) (1abcd)
- Added SoundBlaster microphone input support (Windows WASAPI) (meldro364-glitch)
- Fixed segfault on launch of macOS builds (maron2000)
- Added OS/2 support for tinyfiledialogs, browser and external programs and some more fixes. (josch1710)
- Fixed savestate load "Memory size mismatch" error on MSVC build (rebb)
- Fixed savestate loading crash related to dynamically allocated TempLine in VGA system (rebb)
- Added Direct3D11 and Metal support (Experimental, SDL2 only) (maron2000)
- When leaving fullscreen, only force rebuilding the window for OpenGL mode. (rebb)
- Clear modifier keys before savestate gets saved. (rebb)
- Re-enabled WinMM joystick support (Windows SDL1) (maron2000)
- Fixed colors option fails at launch on TTF mode (maron2000)
- Optional switch to disable post exit delay in DX-CAPTURE (villesundell)
- Fixed Emscripten builds for Dosbox x v2026.01.02 (grootpot)
- Fixed long freeze during startup on linux (SmileTheory)
- Fixed windowposition option at launch (maron2000)
- Fixed detection of EXEPACK failures (maron2000)
- Added OS/2 dimension handling to UpdateWindowDimensions (josch1710)
- Fixed handling of volume label searches (Allofich)
- Microphone input: Make Hands-Free profile (HFP) optional (maron2000)
- macOS: Fixed build script typo that made loading freetype library fail (maron2000)
- Fixed FPU FILD emulation (asemarafa)
- Removed range check in INT10_GetCursorPos causing text glitches (maron2000)
- Added experimental VS2026 CI builds. Can be downloaded as 64-bit Visual Studio nightly builds. (maron2000)
- macOS: Fixed garbled message when opening image file(s) from dropdown menu. (maron2000)
- Fixed XCOPY argument parsing to correctly handle switches appended directly to file paths without whitespace. (maron2000)
- Fixed some Yes/No character was remained hardcoded as Y/N for some languages specifiying other characters (e.g. German). (maron2000)
2026.01.02
- Ajout du support de patchs IPS intégré via des outils DOSLIB (IPSMAKE, IPSPATCH) sur le lecteur Z: pour modifier des ROMs de jeux MS-DOS.
- Suppression de la limite de 8 bits de commutation de banques VESA si la mémoire vidéo dépasse 256 banques (sauf en mode S3 ou pour les machines DOSBox Intégrées).
- Correction d’une crash aléatoire liée à des dépassements de buffer dans RENDER_DrawLine, avec vérification du nombre de lignes tracées.
- Amélioration du système de mise à l’échelle : allocation dynamique des caches vidéo, suppression des limites de résolution (jusqu’à 1920x1440 pour les scalers avancés).
- Désactivation automatique du mode doublescan VGA quand un scaler avancé (XBRZ, Advanced MAME) est sélectionné.
- Ajout de variantes de scalers TV, Scanline, RGB optimisées pour les modes VGA 200 lignes avec doublescan (400 lignes affichées).
- Correction d’une régression dans la détection des étiquettes de CD pour FIFA96.
2026.01.02
- VESA BIOS will remove 8-bit bank switching limit if the video memory is large enough to need more than 256 banks. Memory size will always be limited to no more than 64 banks (128 if smaller than 64KB granularity) only if S3 emulation is active. DOSBox Integrated Graphics machine type is exempt from bank switching limit, so, if you are running legacy code or Demoscene stuff against it that never clears the upper 8 bits properly, it's not going to work unless you use smaller memsize settings. (joncampbell123).
- Update BOOT command to support multiple disk images with swapping (maron2000).
- Render scaler system has been modified so that render and frame caches are now dynamically allocated, instead of fixed buffers. Not only does this reduce memory wasted by over-large buffers, it also removes limitations on guest video mode resolution that previously capped the video mode to 1920x1440 or lower, and the advanced scalers (HQ2X, Advanced MAME, etc) to 800x600 or lower. (joncampbell123).
- VGA output will now automatically disable doublescan mode whenever an advanced scaler, such as the "XBRZ" or the Advanced MAME scalers, are selected, so that the scalers can do their job properly on the low resolution graphics mode automatically. The user no longer has to manaully turn off doublescan mode for those scalers to work. (joncampbell123).
- Added TV, Scanline, and RGB scaler variants appropriate for VGA 200-line modes with doublescan enabled (renders to 400 lines). In fact supporting those scalers with 400-line VGA is arguably more visually accurate than applying them to 200 lines of graphics, because it better reflects the actual 400-line raster as it would be displayed on a VGA monitor. (joncampbell123).
- Apparently at random, VGA render will call RENDER_DrawLine too much, causing buffer overruns at random, so, instead of directly assigning the scaler line handler, assign a function that checks the rendered line count and ensures that rendering stops at the correct line count. This should fix some random crashes or corruptions, especially on Linux with the OpenGL output which likes to allocate EXACTLY the amount of memory required for the frame. (joncampbell123).
- A patch was submitted to DOSLIB DSXMENU to incorporate non-selectable informational lines of text. Incorporate the updated DSXMENU binaries into DOSBox-X (joncampbell123).
- Wrote IPS patching tools IPSMAKE and IPSPATCH in DOSLIB, then incorporated them as builtin executables on drive Z: under Z:\PATCHING. You can now use IPS patch files to "ROM hack" your MS-DOS games. (joncampbell123)
- Add map13/map14 CGA/HGC like interleaved rendering support for VGA 256-color mode. There is a game engine in development that is willing to use such oddball modes. (joncampbell123)
- Added SDL2_net to source tree (maron2000)
- Fixed regression of FIFA96 CD label detection (maron2000)
- Log OpenGL context version (rebb)
- Force SDL window regeneration when exiting fullscreen (rebb)
- Fixed file handle leak prevents save state file removal (srcdabada)
2025.12.01
- Ajout d’un overlay de débogage vidéo pour l’émulation Tandy et PCjr, affichant masques d’affichage et valeurs de mémoire CPU.
- Correction de la détection du système Tandy via une chaîne "Tandy" dans le noyau DOS pour permettre l’exécution de The Train: Escape to Normandy.
- Intégration d’une police spécifique pour le mode graphique 0x24 de la carte Tseng ET4000 (130×28 caractères).
- Correction des modes 0x22/0x23/0x24 de l’ET4000 pour aligner leur rendu avec le comportement du BIOS VGA réel.
- Réparation des modes graphiques CGA corrompus sur les cartes Tseng ET3000/ET4000 via une harmonisation des registres d’émulation.
- Fix d’un bug empêchant les commandes de changement de lecteur avec un antislash final (ex: a:).
2025.12.01
- Video debug overlay: For Tandy and PCjr emulation, add information on the screen that shows the line mask, display and cpu memory banks and the corresponding segment values, which may aid in debugging issues with games and reveal any remapping or page flipping (joncampbell123).
- Tandy emulation: Add the string "Tandy" somewhere in the DOS kernel at startup if machine=tandy. The game "The Train: Escape to Normandy" scans from FFFF:0000 for the string "Tandy" which of course wraps around to the first 64KB of memory where the DOS kernel resides. If it does not see this string, it does not think it is running on a Tandy. Such a detection routine will obviously break if you're on a 286 based Tandy with HMA enabled, or you're running normal MS-DOS on a Tandy system. This change allows the game to run (joncampbell123).
- Tseng ET4000 emulation: Mode 0x24 is unusual in that it is a 130x28 text mode with a 13-pixel high character cell. The ET4000 VGA BIOS apparently has a specific font for that mode, so, incorporate that font into DOSBox-X and use it for mode 0x24 (joncampbell123).
- Tseng ET4000 emulation: Fix modes 0x22/0x23/0x24 to match how the actual VGA BIOS programs them. This fixes problems where the 132x25 mode was rendered only on the upper half of the screen (joncampbell123).
- Fix Tseng ET3000/ET4000 emulation bug where CGA graphics modes were garbled. The main VGA emulation no longer uses M_CGA2/M_CGA4 and the ET4000 emulation needs to behave the same to fix the graphics modes. Apply fix to ET3000 emulation as well. (joncampbell123).
- Some extra code in shell processing was preventing drive change commands if the last character was a backslash i.e. "a:" instead of "a:". Fixed. (joncampbell123).
- INT 21h AH=4Bh EXEC: Real MS-DOS returns a nonzero value like 0x3E01. A buggy version of Magic Pockets fails to call INT 21 AH=4Dh to read the INTRO.EXE exit code and expects AL to just be nonzero to continue to the game. So to make it work properly (kind of), return a nonzero value. (joncampbell123).
- Tandy machine type: Many registers are WRITE ONLY according to SX documentation, yet "Troubadours" likes to read/modify/write those registers in what appears to be hand-rolled manual modesetting code to set up 320x200 16-color mode, so, add code to respond to reads from those ports with zeros and print a debug message to the log about how DOS games are not supposed to read those registers. Make the hand-rolled modesetting work by returning 0x00, rather than 0xFF. The code will not set up the mode correctly if 0xFF is returned, but will if 0x00 is returned. A side effect of this is that, since one of the registers controls the RAM address used as video memory, this moves it down to 512KB from base memory as well, which of course easily corrupts the very end of the MCB chain unless you enable more than 640KB of RAM and ask DOSBox-X to emulate the full Tandy 768KB of conventional memory. Though the game still crashes very easily, and in the exact same manner in both DOSBox-X and DOSBox SVN, this fix does solve the problem where the game was only able to draw 2 out of 4 scanlines on the screen. (joncampbell123).
2025.10.07
- Correction de la gestion de la mémoire DOS (INT 21h AH=4Ah) pour éviter la troncature de la chaîne MCB dans California Games II et d'autres cas.
- Ajout d'une option dosbox.conf pour ignorer les corruptions de la chaîne MCB au-delà du bloc mémoire du programme en cours, simulant le comportement de MS-DOS.
- Prise en charge étendue de macOS : builds compatibles avec des versions antérieures et instructions mises à jour pour la compilation.
- Correction de la création/ouverture de fichiers temporaires pour le redirectionnement (pipe) sur le lecteur Z:.
- Suppression des erreurs de build liées à l'activation/désactivation du débogueur interne.
- Correction de la gestion des codes pages 3846 et 3848 pour éviter les freezes.
- Mise à jour de la bibliothèque SDL2 à la version 2.32.10.
2025.10.07
- INT 21h AH=4Ah resize memory: Compact free blocks only at or after the segment being resized, as MS-DOS is documented to do (joncampbell123).
- INT 21h AH=4Ah resize memory: Fix bug where, if asked to resize a previously freed memory block and the block is not the last block in the MCB chain, and the next block in the MCB chain is also free, the MCB management code would correctly compact free blocks but then allocate according to the old size of the freed MCB block, causing truncation of the MCB chain. Fix for MCB chain truncation caused by California Games II DOS memory management when running in Tandy graphics mode. (joncampbell123).
- Add dosbox.conf option, disabled by default, where if the MCB memory chain is corrupted anywhere past the running program's memory block, and it does anything to cause allocation, a new free memory block is created to satisfy allocations instead of halting emulation. Some DOS programs are a bit sloppy in a way that can corrupt the MCB chain. When enabled, this behavior matches apparent MS-DOS behavior (joncampbell123).
- Debugger: DOS MCBS command now also prints the segment immediately following the last MCB block (joncampbell123).
- Tseng ET3000/ET4000: Update Status register 3DAh behavior when emulating Tseng chipsets to reflect Tseng datasheet, and VGAKIT SVGA detection code expectations. Bit 7 is expected, as documented by Tseng, to be the inverse of bit 3 (vertical retrace). Extended Start Register CRTC 33h must not allow setting the upper 4 bits because Tseng only documents the bottom four, and because VGAKIT requires it for Tseng detection (joncampbell123).
- Fix bug that, for machine=hercules, prevented Hercules palette shortcut from changing colors when in graphics mode (joncampbell123).
- Remove mixer and VGA capture test modes from integration device. Update integration device version number. Convert hardcoded magic constants used in IG into constants in iglib.h which is now shared explicitly with the iglib.h in DOSLIB. Add integration device interface to allow the guest to read and set the CPU cycle count of the emulator. (joncampbell123).
- Fix INT 10h AH=0Eh bug where printing BEL triggered screen scroll up if cursor beyond the last line. Fix for the Elder Scrolls Arena installer. (joncampbell123).
- FAT filesystem driver (for disk images): If Elder Scrolls Arena calls INT 21h to find files named *.65 (such as STATES.65) with an attribute mask of 0xA (VOLUME LABEL | HIDDEN), ignore the VOLUME LABEL bit and scan normally. The 0xA value is leftover from a divide operation used to make the file name and is technically a bug in the game, though that happens to work on real MS-DOS and the DOSBox/DOSBox-X local folder support code anyway. This fix allows Elder Scrolls Arena to run from a mounted disk image. (joncampbell123).
- FAT filesystem driver (for disk images): If Elder Scrolls Arena calls INT 21h to find SAVEGAME.00 (yes, a specific name for some reason) with an attribute mask of 0x7C (which represents... um... what?), ignore the VOLUME LABEL bit so that players can load their saved games from the menu instead of being told that the saved game that is clearly there on the screen does not exist. What other weird random values of CX attribute mask does this game use? (joncampbell123).
- PCI bus improvements : Allow device to see full size access (smunaut)
- Fix build error of SDL1 version on ArchLinux (possibly gcc-15) (maron2000)
- Enable building DOSBox-X on older macOS versions and add instructions (maron2000)
- Add code page 951 in dialog box (1abcd)
- Fix failure of create/opening a temporary file for piping (maron2000)
- Create/open a temporary file to device_TMP for piping on Z: drive. (maron2000)
- Convert message to UTF16 before calling messagebox function (Windows) (maron2000)
- Added some new members to the MMX_reg union for big-endian platforms. (alarixnia)
- Create directory if not exist before writing conf file. (maron2000)
- Fixed language files were still locked after loading is completed. (maron2000)
- Fixed freeze when codepage switched to 3846, 3848. (maron2000)
- Fixed build error when internal debugger is disabled (maron2000)
- Show loaded conf file in log in full path (maron2000)
- Print syntax error if pipe has no command to pass output (maron2000)
- Add permanent option for initial DOSBox-X shell (maron2000)
- Fix errors when initializing fluidsynth (maron2000)
- PC-98: Redraw the function keys after updating them (bobsayshilol)
- Do not carriage return with a single LF('\n') (maron2000)
- Fix mapper not rendering anything on SDL2/Windows (aybe)
- Scale mapper according display resolution (aybe)
- Added applicable changes from SVN. (Allofich) r4485: Enable writing to all planes when drawing pixels in EGA modes. r4487: Correct panning of VESA text modes. r4488: Correct comment about odd/even bit. r4490: Set MCB ownership when *blocks==total at end of DOS_ResizeMemory. r4492: Don't clear message queues of MPU-401 and compatibles on reset. r4493: Handle EOF character in batch files as actual end of file. r4494: Use 4-byte partial page mapping data.
- Replaced deprecated functions to enable building with FFmpeg 8 (maron2000)
- Fixed screen blanked when restoring minimized window in TTF mode (Windows SDL1) (maron2000)
- PC-98: Save Kanji CG access mode setting, restrict output accordingly (OPNA2608)
- Added missing language options to Windows installers (maron2000)
- Debugger: IV must not truncate addresses to 16-bit (cmsautter)
- Debugger: Warn single-stepping may not work as expected with Dynamic core (maron2000)
- MIDI: Show loaded Soundfont/ROM path only when required to. (maron2000)
- SDL2: Updated SDL2 library to version 2.32.10 (maron2000)
- Apply aspect/scaling/clipping when using OpenGL shaders in windowed-mode (rebb)
- Fixed file locking problem on Linux port (loops)
- Fixed typo in Linux man page (-date-host-forced option) (maron2000)
- Mention OPL in MIDI/OPL configuration dialog menu (maron2000)
2025.05.03
- Ajout de l'affichage du statut TURBO dans la barre de titre et mise à jour de libpng (1.6.47), SDL2 (2.32.4) et XCOPY (1.9a).
- Correction des emulations EGA/VGA pour améliorer le test de basculement de page CGA et ajout de l'appel INT 18h AH=10h pour le mode PC-98.
- Activation de la prise en charge du modem interne via SDL2_net dans les builds macOS (CI workflow).
- Correction des bugs critiques : buffer overflow dans les noms de sauvegarde, COLOR command, INT21h AH=0a/01, et gestion des fichiers ZIP avec espaces.
- Optimisation des impressions via DIB Section Direct Memory Access et suppression de doublons dans les mappings chinois (Big5).
- Fix des problèmes spécifiques PC-98 : curseur clignotant, écran blanc en TTF output, crash en mode plein écran, et INT 1Fh AH=90h.
2025.05.03
- Show TURBO status in title bar. (maron2000)
- Fixed MinGW32 builds failed using gcc15, due to a conflict in inline macro. (lazka)
- Revise EGA/VGA emulation to treat the CRTC CGA/Hercules CRTC bit remapping as bits to mask out, instead of defining the upper limit of the memory mask. This makes the CGA mode Engine page flipping test work. I initially had reservations about whether or not real hardware did this, but, it would make sense for hardware to do it that way. (joncampbell123)
- Updated libpng to version 1.6.47 (maron2000)
- Updated XCOPY to version 1.9a (maron2000)
- Updated SDL2 library to version 2.32.4 (maron2000)
- Fixed a build/install error due to using wildcards in Makefile.am, which is not supported in GNU Automake. (maron2000)
- macOS: Install SDL2_net in CI workflow to enable internal modem support on Release and Nightly SDL2 builds. (maron2000)
- Fixed buffer size to allocate missing byte for string terminator for savestate filename to prevent buffer overflow (arifogel)
- Fixed settings of yellow color in COLOR command (maron2000)
- Fixed COLOR command to match behavior on Windows (maron2000)
- Fixed INT21h AH=0a cursor position moved by bell due to keyboard buffer full (maron2000)
- Fixed INT21h AH=01 echo behavior (maron2000)
- Replaced SetPixel with DIB Section Direct Memory Access for faster printing (DwayneSelsig)
- Fixed creation of overlay special files (zyebytevt)
- PC-98 mode: Add INT 18h function AH=10h to control cursor blink. Emulate documented side effect in that this call also hides the cursor. The PC-98 port of Lemmings will no longer show a blinking black box in the lower left corner. (joncampbell123)
- Fixed Host key (F11, F12) handling in Codepage 932 (Japanese Shift-JIS). (maron2000)
- Bumped ESFMu to ver 1.2.6 (maron2000)
- Fixed regression of adding a dot to CD labels when longer than 8 characters, required for games such as Descent 2 CD installer (maron2000)
- Added Modeswitch toggle option (DieSkaarj)
- Fixed glitch of DBCS character at the end of a line (maron2000)
- Fixed dialog for showing error of loading language files (maron2000)
- Removed two and 226 duplicate Chinese character mappings from code pages 950 and 951, respectively, ensuring more accurate Big5 and Big5-UAO character mappings for Chinese IME users. (1abcd)
- Enabled changing drives mounted prior to switching to securemode (maron2000)
- Enabled some messages to be translated in the translation files (maron2000)
- Fixed fullscreen mode occasionally switched to windowed mode (maron2000)
- Updated French translation (FredBezies)
- Fixed blank screen when output=ttf on PC-98 mode (maron2000)
- Fixed crash when switching from fullscreen to window mode in TTF output (maron2000)
- Fixed mounting zip files with white space in their names failed (maron2000)
- Fixed crash on reboot when output=ttf (maron2000)
- Fixed blank BIOS screen when output=ttf (maron2000)
- Fixed direct input of half-width kana (maron2000)
- Fixed PC-98 INT 1Fh, AH=90h source and destination address (drachen6jp)
- Fixed unnecessary trailing backslash in path name (maron2000)
- Fixed SSE MOVSS, MOVHPS, UNPCKLPS, UNPCKHPS, and PSADBW as well as MMX PMULLW, PSUBUSB, and PSUBUSW, instruction implementations (fuel-pcbox)
2025.02.01
- Ajout d’une option expérimentale dans dosbox.conf pour désactiver automatiquement la porte A20 lors du chargement d’un fichier COM/EXE en mémoire inférieure à 64 Ko.
- Correction d’un bug dans le rendu VGA on-demand provoquant l’arrêt de toutes les mises à jour d’écran si l’état vidéo change sans modifier d’autres attributs (largeur, hauteur, fréquence).
- Correction de la gestion de l’ISR clavier en mode PC-98 pour simuler la présence de données en attente, résolvant les problèmes d’entrée clavier avec CWSDPMI.
- Correction de la localisation du saut BIOS POST (F000:FFF0) pour correspondre à une valeur attendue par le runtime DJGPP en mode PC-98.
- Suppression de la fourniture du CWSDPMI.EXE spécifique IBM PC en mode NEC PC-98, remplacé par une version commune adaptée.
- Correction des glitches de couleur en mode EGA/Tandy/Hercules sur macOS avec le build SDL2 (mode output=opengl).
- Correction de l’affichage des caractères chinois traditionnels et de la commutation des jeux de caractères.
- Correction de l’affichage garblé du menu et de la barre de menu lors d’un redémarrage.
2025.02.01
- Added new experimental dosbox.conf option that turns off the
A20 gate automatically if loading a COM/EXE file to a memory
location below 64KB. Option is off by default. This is intended
for the startup routines of programs that assume 8086 wraparound
to prevent them from crashing (joncampbell123). - Bump tinyfiledialogs to v3.19.1 (maron2000)
- Fix VGA render-on-demand bug that causes all screen updates to
stop working if something changes video state without changing
any other attribute (width, height, frame rate, etc.). In
PC-98 mode this bug could be triggered by leaving the text
layer open while switching off the graphics layer when the
graphics layer is in 256-color PEGC mode. Fix for KOARMADA.EXE
when exiting back to the DOS prompt. (joncampbell123). - In PC-98 mode, add I/O port 43Bh which guest applications can
then read to determine whether the 15MB "memory hole" is open.
The guest can use this bit to determine whether the PEGC 256-color
framebuffer is available at that location, or whether that is
just plain system memory. Added for homebrew PC-9821 project
KOARMADA.EXE which uses that bit to determine how to talk to
the framebuffer. (joncampbell123). - Fix keyboard ISR in PC-98 mode to assume there is data waiting
from the keyboard I/O ports (then check the status for more).
The reason is that CWSDPMI.EXE for PC-98 has a keyboard ISR
of it's own that reads the scan code first (which clears the
"data available" bit) before then passing control to the
real-mode keyboard ISR. If our keyboard ISR first checks for
status in that case it will never see any keyboard data and
keyboard input will never register to the guest while running
under CWSDPMI (joncampbell123). - Fix BIOS POST location (F000:FFF0) JMP instruction in PC-98 mode
so that the segment value of the JMP instruction matches a
specific value that the DJGPP C runtime checks for to detect
PC-98. (joncampbell123). - Stop serving IBM PC-specific CWSDPMI.EXE in NEC PC-98 mode.
It happens to work unless any interrupt or exception happens.
Instead, provide an alternate common version of CWSDPMI.EXE
that was patched to support PC-98 machines when machine=pc98
(joncampbell123). - Add support for ucrt64 builds (maron2000)
- DOS CTRL+C handling: Remove NULL vector check because built-in
COMMAND.COM long ago was fixed to provide a CTRL+C vector. Fix
code to use a different value for the C++ exception so that it
cannot be confused for any other common signal in the emulator
(joncampbell123). - Remove DOSBox Integration Device VGA "self capture",
which was never used much anyway, as part of cleanup (joncampbell123). - x86 paging: Remove unused non-"full TLB" code. (joncampbell123).
- Use mmap() to allocate system memory if available. This is
for future work that may involve something that requires
page-aligned allocation, such as KVM support in Linux (joncampbell123). - VGA cleanup, organization (joncampbell123).
- Fixed regression of specifying DBCS fontx file was ignored. (maron2000)
- Fixed mistakes in adding double quotes to filenames to pass to IMGMOUNT
command, and syntax errors in showing a message dialog box. (maron2000) - Fixed bug where bios memSize was not set when using TTF. (maitchison)
- Fixed CMS was always disabled regardless of config settings. (xrip)
- Switch off TTF mode in text modes not working in TTF mode. (maron2000)
- Gravis Ultrasound: Add dosbox.conf option that when enabled,
prints a warning to the log file every time the guest pokes
data into GUS RAM beyond the 1MB supported by the card,
in order to better identify errant Demoscene code and/or
any bugs in new tracker code currently in development. (joncampbell123) - VGA: Fix buffer overrun that can occur with 4bpp planar
16-color modes if the guest writes beyond the first 2MB
of video RAM. The planar support code also copies the 3rd
bitplane to a font RAM array used in EGA/VGA text mode.
This font RAM array is only 512KB, therefore in planar
memory space, writes beyond (2MB/4) = 512KB cause corruption
of emulator state and possibly crashes. Solve the issue
therefore by not copying to font RAM beyond 512KB. (joncampbell123) - VESA BIOS support: Fix VGA draw and bank switching code
to ensure that the guest cannot write outside video RAM
limits, and fix VBE bank switching code to consider 4bpp
planar SVGA modes properly. (joncampbell123) - VESA BIOS support: Fix scan line and page calculations related
to 4bpp planar 16-color SVGA modes. (joncampbell123) - VESA BIOS support: Fix 24bpp RGB bugs related to VBE calls
that control scan line length and display panning/scrolling.
Now VBETEST can test 24bpp panning without potentially giving
the user an epileptic seizure, and there are no more overlong
scanlines. (joncampbell123) - VESA BIOS support: Correct mode information for SVGA text modes (joncampbell123)
- VESA BIOS support: Like real Pentium-era hardware, do not
list 4bpp planar 16-color modes as having a linear framebuffer.
Most SVGA cards only support planar VGA memory within the
standard VGA A0000-BFFFFh region and do not support the same
up in the linear framebuffer area. (joncampbell123) - Save state support: Let the option to control whether or not
compression is applied, apply to the ZIP compression. If you
turn off compression, the ZIP file uses "store" mode instead,
otherwise compresses as normal. (joncampbell123) - It turns out that for whatever reason, the savestate code was
compressing the state twice. Once by itself, and then again when
writing to the ZIP archive. Furthermore, storing the original
length at the end of the compressed data using size_t is a big
problem. Remove the extra compression/decompression and let the
ZIP file support do the compression. Save states from now on
will be marked as "No compression" for at least some backwards
compatibility. (joncampbell123) - Volume label cleanup and fixes. Do not pad labels with white spaces. (maron2000)
- Some NEC PC-98 games that support MIDI through MPU-401 like to use
Roland GS-specific SysEx messages to control master volume and
reset the MIDI synth, instead of standard messages. These games
were known in DOSBox-X to have problems with MIDI stuck notes and
hanging notes for this reason. Added code to recognize Roland GS
reset SysEx and reissue it as standard MIDI reset, to resolve that.
Added code to Fluidsynth MIDI support to recognize the Roland GS
master volume SysEx commands and apply it to the output, which
allows these games to "fade out" the MIDI properly. PC-98 games
should no longer have hanging/stuck MIDI notes (joncampbell123). - Fix VESA BIOS modelist mistake that marked all "high definition"
modes as modes to round bytes per line up to a power of 2 (joncampbell123) - Fix memory size register determination for S3 Virge/VX (clbianco)
- Fixed a Y2038 bug by replacing Int32x32To64 with regular multiplication.
(CookiePLMonster) - Fixed pasting Bell code (0x07) from clipboard was ignored. (maron2000)
- Fixed a segfault crash when pasting the content of clipboard is empty
or consists of invalid characters only. (maron2000) - Fixed crash when trying to access MOUNTed empty physical CD/Floppy
drives. (maron2000)
2025.01.01
- Fix bug that prevented the Configuration GUI from saving to dosbox.conf
the last Windows 3.1 theme you applied using the dropdown menu.
(joncampbell123). - Add option to apply vmemdelay to SVGA and linear framebuffer
modes (such as VESA BIOS modes), which reduces emulator performance
for those modes, but allows you to emulate slower SVGA cards.
Due to how some machine types are emulated, this option also enables
vmemdelay to affect the PC-98 linear framebuffer, Tandy & PCjr
video modes, as well as MDA/Hercules. (joncampbell123). - Add workaround to CPU reset logic that allows it to work correctly
even with dynamic core. Previously, if the guest reset the system,
the emulator would crash with an error message about an uncaught
C++ exception because C++ exception handling doesn't work with
dynamically generated code. (joncampbell123). - Correct CPUID family/model/brand values for cputype=pentium_iii.
Add CPUID level 2, which returns "processor configuration
descriptors", and return documented Pentium III values. Apparently
Windows XP really REALLY cares about these configuration
descriptors and will hang in-kernel in an infinite loop at bootup
without these apparently really important values. This change
makes it possible to boot Windows XP with Pentium III emulation.
(joncampbell123). - Allow values of memsize to represent 4GB or more of RAM. Up to
1TB, if Pentium PSE extensions are enabled, the memalias setting
is 40, and "enable pse=pse40" in the conf file. Memalias maximum
is now 40, instead of 32. Add code to provide that memory above
the 4GB address mark when PSE is in use by the guest OS. Added
dosbox.conf option to specify a memory file. When specified, all
guest memory is memory-mapped from a file on disk, rather than
allocated from host memory or host swap file. To avoid consuming
too much RAM on the host, a memory file is REQUIRED to emulate
memory at or above 4GB. For best performance with the memory file,
make sure the filesystem you place it on supports sparse files,
including Linux ext4 and Windows NTFS. (joncampbell123). - Fix EGA machine type to determine whether CGA RGBI or EGA RrGgBb
display is active by vsync polarity, instead of the length of
htotal. Several online references state that vsync is negative
for 350-line modes, including 350-line to an MDA monitor. This
also allows the "enhanced" EGA 320x200 modes in Rambo III to display
colors correctly. (joncampbell123). - Dynamic x86 core: Reflect STI instruction to normal core so that
the 1-instruction delay is correctly emulated. This makes it
possible to run Windows XP or Server 2003 with dynamic core and
SYSENTER/SYSEXIT emulation without random BSODs (joncampbell123). - Fix default code page. Instead of assuming 437 at all times, use
437 for all IBM PC compatible modes and 932 for PC-98 emulation.
(joncampbell123). - Normal core: Fix STI emulation to enforce the 1-instruction delay
by forcing the normal core to execute another instruction right
away without providing any opportunity for interrupt processing.
This does not break Peret Em Heru, Keen games, and it seems to fix
the random BSOD issues with Windows XP and Windows Server 2003
when emulating a Pentium II that supports SYSENTER/SYSEXIT. I'm
not clear on why this fix prevents them from crashing, but there
you go. (joncampbell123). - Keyboard emulation: Fix PCjr key delay to match IBM documentation
stating how long it takes to transmit one scan code, which is
obviously much slower than normal to accomodate the slow CPU and
the optical nature of the transmission. This is needed in order
for emulation to correctly send Fn+key combinations. At normal
key delay, the guest will miss scan codes and function keys will
not be reliable. (joncampbell123). - Keyboard emulation: The 83-keyboard scan codes work differently on
the PCjr keyboard because half of them are only accessible by holding
the Fn key. The keyboard only sends the base key scan code and the Fn
key scan code and the BIOS is expected to convert that to the normal
83-key scan codes expected by DOS software. The problem is some games
like "Agent USA" for PCjr are written to directly handle scan codes
through IRQ 1 (the fact that PCjr handles keyboard via NMI and reflects
to INT 9 is ignored here). Fix this by sending scan codes that emulate
holding Fn and pressing the appropriate key. Agent USA expects the
user to press F1 by holding Fn and pressing "1". (joncampbell123). - Revise VGA doublescan mode, vs bit 7 of the Max scanline register, to
correct how VGA doublescans 200-line modes. Revise EGA/VGA text code
to divide line by 2 in rendering to match double scanned scanlines,
so that the "graphical" text of "After the War" can render properly
for machine=vgaonly. (joncampbell123). - INT 10: If machine=ega, check the EGA switches on INT 10h modeset.
Some games force the EGA BIOS to use CGA 200-line text modes by
modifying those bits and then setting the mode ("After the War").
(joncampbell123). - INT 10: Fix "load font" functions to correctly recompute video
display end for machine=vgaonly and machine=ega. (joncampbell123). - INT 10: Like any other 200-line 16-color graphics mode, 200-line
VGA text mode needs to program the AC and VGA palette using the
CGA RGBI-type palette, not the EGA 64-color type palette. (joncampbell123). - CPU: Disallow clearing PE bit from LMSW by default, always.
You can still allow it through dosbox.conf. It turns out that
x86 CPUs never allowed you to clear it that way, even from the
Pentium up, even though Intel documentation beyond the 386 never
mentions it again. This fixes problems with DOS extenders and
VCPI, particularly DOS4GW which for some reason with VCPI likes
to try to clear the PE bit when switching to VM86 even though
it clearly understands it's not supposed to be able to clear it.
(joncampbell123). - VCPI: It turns out the VCPI server GDT selectors are expected to
be 32-bit, because the protected mode VCPI entry point is expected
to be called as if 32-bit far pointer. Correct VCPI entry point
to return using RETF, not IRETD, which solves crashing issues with
DOS extenders. For the first time, DOS extenders are working with
the DOSBox-X built-in implementation of VCPI and most DOS games
run fine now with it. (joncampbell123). - VCPI: Add code to INT 2Fh handler regarding Windows startup/shutdown
messages to fill in DS:SI. If EMM386 and VCPI emulation is active
and running the DOS machine in virtual 8086 mode, give Windows the
proper callback procedure to allow Windows to switch off VCPI vm86
mode on startup and turn it back on during shutdown. (joncampbell123). - BIOS "POST" screen: Change BIOS logo to PNG format. To avoid having
to render a PNG in roughly 10 different video modes, add code to
VGA draw code to allow a BIOS logo "overlay" to be rendered
independent of the video mode. Depending on machine type load one
of four PNG files from disk or from inside DOSBox-X itself.
PNG requirements: 224x224 or smaller, bit depth of 8bpp or less,
color palette (not grayscale), no alpha channel, and must not be
interlaced. For best compatibility, use less than 64 colors, or
perhaps just 16 colors. Much like the Windows 95 LOGO.SYS, you can
change the logo to your taste by placing specifically named PNG
files in the same directory as your dosbox.conf or current working
directory. Have fun. Note that this addition requires that you
compile DOSBox-X with libpng enabled. (joncampbell123). - Added dosbox.conf option to specify BIOS logo file. (joncampbell123).
- Added dosbox.conf option to specify a text message, up to 3 lines,
at the bottom of the screen during BIOS POST screen. (joncampbell123). - Fix color glitches in EGA, Tandy, Hercules mode on macOS SDL2 build
(output=opengl)(maron2000) - Add int33 mickey threshold option (Fixes Ultima Underworld) (jpernst)
- Fix configure.ac (disable-screenshot option) (maron2000)
- Fixed codepage switching when loading language file in Traditional
Chinese (maron2000) - Fixed display of some Chinese characters (Traditional Chinese)(maron2000)
- Fixed garbled text and menubar on reset (maron2000)
- Fixed codepage switching when a language file was loaded (maron2000)
2024.12.04
- Arrange memory device allocation so that it is possible to allocate
up to about 3900MB of memory instead of 3500MB. (joncampbell123). - Fix S3 LFB PCI base alignment error if system memory pushes it
to a higher address (joncampbell123). - Fix EGA 640x350 4-color mode (when EGA memory size is 64KB) to
display correctly. Prior to this fix, 640x350 4-color only worked
properly if the INT 10h Video Parameter Table was enabled. (joncampbell123). - Fix S3 VGA memory size reported through register CR36 to cap at 4MB
and set the value correctly. This fixes a known issue where setting
vmemsize to 8MB caused Windows 98 to report memory size as 2.5MB. (joncampbell123). - Fixed a problem when VZ Editor is resident in PC-98 mode. (nanshiki).
- INT 10: SVGA mode 0x6A does not exist on plain VGA hardware. (joncampbell123).
- INT 10: Fix mode 0x6A (800x600 4-color SVGA) to use a correct dot
clock so that the refresh rate is >= 60Hz instead of 37Hz, and make
sure mode 0x6A is a 100% clone of VESA BIOS MODE 0x102. (joncampbell123). - Fix MMX/SSE instruction decoding, correct some mistakes in MMX emulation. (joncampbell123).
- IMGMAKE: Add -partofs option to allow control of where the partition
begins in the image (joncampbell123). - IMGMAKE: Add -align option so that the FAT filesystem can be arranged
for more optimal I/O on devices with larger sectors, such as modern
4096-byte/sector drives. (joncampbell123). - IMGMAKE: Add -label option so that the generated FAT filesystem has the
specified volume label. (joncampbell123). - MDA emulation: Fix non-blink attributes 0xF0 and 0xF8 to correctly render
bright green background. (joncampbell123). - Fixed crash when a CD image was loaded to an "empty" drive (maron2000)
- Log loaded .conf file (maron2000)
- Supress redundant screen reports in log (maron2000)
- Fixed mouse capture locking by middle button (maron2000)
- Fixed toggling the menu option "Autolock mouse" did nothing (maron2000)
- Fixed build failure with libc++ 19 (DimitryAndric)
- Fixed fullscreen mode not responding when launched in TTF mode
in Windows (maron2000) - Fixed crashes when changing floppies mounted by drive numbers on
a booted guest OS (maron2000) - Fixed launching host programs with white spaces in path (Windows)
(maron2000) - Convert paths from relative to absolute when launching host programs
in a mounted drive (Windows) (maron2000) - Added an option not to pause after host program execution is
completed (maron2000) - Fixed corrupted display when loading language files at launch
(maron2000) - Fixed Z Drive path expansion to be case insensitive (maron2000)
2024.10.01
- Allow the ".inst" extension for CUE sheets. (Allofich)
- Add SET /FIRST, a DOSBox-X extension, that takes the specified
variable if it exists and moves it to the front of the environment
block. (joncampbell123). - SET command processing has been cleaned up and streamlined.
Added /ERASE command line switch to clear the environment
block (DOSBox-X extension). (joncampbell123). - VESA BIOS: Add new option to adjust reported linear framebuffer
address by a specific number of pixels. This is needed by
"Out of Control" by Contract which for whatever reason,
will always draw to the LFB base minus 128 bytes. This option
makes it possible to correct the demo graphics. (joncampbell123). - Gravis Ultrasound: Officially, registers 0x0-0xF, the voice
control registers, are documented to have a 0x0-0xF write and
0x80-0x8F read alias. Unofficially, according to the behavior
of 1997 demo "Out of Control" by Contract, all GUS registers
have a N and (N+0x80) alias, or at least register 0x4C, and
you can read them back from either index. Or else the demo
fails to detect the GUS. So add this alias, but only if
enabled in dosbox.conf. Real hardware testing is required to
know if the actual GUS behaves this way and which versions.
(joncampbell123). - Move the INT 3 default vector to well within the initial 16
bytes of the DOS kernel, away from the List of Lists and SFT.
The previous placement caused certain versions of Windows 3.2
(yes, the Chinese version) to crash on startup. (joncampbell123). - When using the running program to name screenshots and such,
filter out all invalid characters so that Windows users can
take snapshots even if junk characters are there (joncampbell123). - DOS FAT driver: If INT 13h reports disk change, adapt floppy
disk geometry to new disk image according to media byte. This
allows DS_BLISS to present it's 720K fake floppy even if the
user initially mounted a 1.44MB floppy to drive A: (joncampbell123). - INT 10 mode list: Add "pitch" parameter. If nonzero, the value
(in pixels) is how to program the pixels per scanline when
setting the mode. - VESAMOED: Add -pitch option to control the pitch (pixels per
scanline). The intent is to work around DOS games that assume
nonstandard pixels per scanline by allowing the VESA BIOS mode
to use a different one. For example, Line Wars II has an S3
acceleration mode that uses 800x600, but for whatever reason,
assumes the video mode is 1024 pixels per scanline, and will
render garbled graphics if that is not the case. (joncampbell123). - S3 emulation: Follow S3 Trio64 documentation and mask the Linear
Window Position bits according to the size of the memory. You
can only place it on a multiple of the memory size. This silences
warnings caused by Line Wars II which appears to modify only the
upper byte but not the lower when modifying this register, which
then leaves 0xA0 in the lower half. That lower half would be
ignored for 1MB or larger video memory sizes. (joncampbell123). - S3 XGA emulation: Add XGA acceleration for 4bpp packed 16-color
SVGA modes. A CAD package has S3 support drivers that use the
16-color 4bpp packed modes and expects XGA acceleration to work.
(joncampbell123). - Add "-o int13" option to IMGMOUNT to direct the FAT driver to do
all disk I/O through INT 13h instead of directly. This is intended
for certain demoscene productions that apparently like to make
files appear out of thin air by intercepting INT 13h floppy disk
I/O and then asking MS-DOS to run something from it. Hack for
"DS_BLISS" demo. (joncampbell123). - Fixed crash when a language file is loaded on a Windows host with
US keyboard (maron2000) - Added Added sharp-bilinear Direct3D shader (RibShark)
- Pass output dimensions to Direct3D shaders (RibShark)
- Fixed BPB of floppy images made by IMGMAKE command (maron2000)
- Fixed timestamp of volume label changed by LABEL command (maron2000)
- Fixed pathname issues when mounting differencial VHD images (maxpat78)
- Corrected relative/absolute track offset in subchannel data for
CD-ROM images (RibShark). - Fixed particular dead keys were not working to input characters
with diacritics (maron2000). - Enabled "Edit and Continue" option for debug builds of Visual Studio
Intel builds (aybe). - Updated libchdr to latest (treloret).
- Fixed icon in Gnome dock bar (FredBezies).
- add option "[dos] automount drive directories" for Windows builds,
this will mount existing drive directories from C to Y drive (aybe). - fix off-center and off-screen window after entering the
configuration tool while using TTF output mode (aybe). - add menu item for centering window "Video/Center window" (aybe).
- Fixed update-version-number script to patch all *.iss files, not
just the specific one it did before, to ensure future releases have
correct version numbers. (joncampbell123). - Updated Nuked-OPL3 code to nukeykt/Nuked-OPL3@cfedb09 (StevenSYS)
- Updated SDL2 library to 2.30.4 (maron2000)
- Fixed TTF mode didn't change to graphic mode when machine = Hercules
(maron2000) - Configuration tool: (aybe)
- more Windows 3.1 look'n'feel (themes w/ host dark mode detection)
- enhance main window layout, it is now visible in its entirety
- fix layout issues, off by one in rectangle drawing functions
- fix 'list iterators incompatible' when pressing the Tab key
- properties/help: sorted alphabetically, mouse wheel scrollable
- remove few rendundant labels, adjust names of some others
- retain 'show advanced options' state throughout session
- SVN r4483: Fix compilation in Visual Studio 2008 (Allofich)
- DOSBox Staging: Decouple CMS and OPL emulations (Allofich)
2024.07.01
- Correct Hercules InColor memory emulation. Read and write planar
behavior was incorrect due to a misunderstanding of available
documentation. (joncampbell123). - Hercules/MDA and InColor integration broke the Hercules blend mode
render, fix the render so that adjacent lit pixels are brighter
again. (joncampbell123). - Fix "VRD" debugger command bug that didn't properly render out the
rest of the VGA display frame. (joncampbell123). - Fixed debugger mapper shortcut bug where entering the debugger
completes the 1 ms "tick" early, effectively jumping emulator time
up to start of the next ms. This might explain the mysterious cases
where a program always fails to work unless you are debugging it.
(joncampbell123). - Added debugger command "VRT" which resumes running the guest until
vertical retrace. Added for programmers who wish to write something
to screen and then see it show up. (joncampbell123). - Fix IMGMOUNT, when mounting FAT disk images, to provide the DPB the
actual media id byte instead of assuming 0xF8 or 0xF0. INT AH=1Ch
should now report the proper media id byte for any floppy format,
instead of always reporting 0xF0 (1.44MB floppy). (joncampbell123). - Allow BOOT to load and execute the boot sector of a guest OS even if
memory size is too small (in IBM PC emulation, less than 32KB of RAM).
MS-DOS 1.x of course will crash if you try that because of the
assumptions made in the boot sector, but it's there if you are feeling
adventurous or are in an experimental mood (joncampbell123). - If memsize is 4KB, place the COMMAND.COM PSP segment in the private
UMB area instead of the normal MCB allocation chain (joncampbell123). - DOS kernel will always allocate kernel memory from private UMB area
if memory size < 16KB, in order to continue to work (joncampbell123). - DOS kernel will allocate from segment 0x60 instead of 0x70 if the
memory size is less than 64KB. (joncampbell123). - files= and fcbs= default value now automatically scales according to
available conventional memory (640KB or lower) in order for memsize 64KB
or lower to free up or memory and run properly. (joncampbell123). - dosbox.conf files= and fcbs= settings have been changed to allow
"0" as a value to mean choose a reasonable default. (joncampbell123). - Fix bug where DOS kernel crashes on startup because of the initial
stack pointer set by BIOS startup that points past available memory
when memsize is 64KB or less. (joncampbell123). - If minimum mcb free is not set and memory size is less than 256KB,
automatically set minimum mcb free to minimum mcb segment, in order
to release more available memory within the limited space (joncampbell123). - Do not enable XMS emulation if system memory size is 1MB or less. (joncampbell123)
- DOS drive cache: When listing a directory, defer the filename sort until
the entire list is built. This improves directory listing performance
in directories with many files. (joncampbell123). - INT 10h, if instructed, will now use the video parameter table to set
standard VGA modes instead of internal logic. (joncampbell123). - Removed erroneous VGA display compensation code for certain EGA/VGA
registers that really only caused incorrect display of the EGA 640x350
4-color mode. (joncampbell123). - Corrected EGA and VGA video parameter tables by copying the parameters
from actual IBM EGA VGA ROM BIOS images. They should be 100% correct
now. (joncampbell123). - Corrected register values and video rendering of machine=EGA 640x350
mode when emulating 64KB of RAM. This should fix rendering and display
issues with EGA 640x350 4-color emulation. Also corrected INT 10h
character printing functions to filter the color attribute value for
640x350 4-color mode so the DOS prompt does not have alternating
colors, in the same manner the real IBM EGA BIOS does. (joncampbell123). - Fix BIOS screen to use CGA 640x200 2-color mode if machine=ega with
less than 128KB of video ram, or machine=ega200, instead of showing
a garbled 640x350 display. (joncampbell123). - Fix memory buffer overrun with machine=ega that can occur with
640x350 mode and less than 256KB of video RAM. (joncampbell123). - The DOSBox clipboard API (via INT 2Fh) is now disabled by default, because
some programs use it's presence to detect whether they are running under
Windows. This fixes a program where Norton Desktop 1.0 does not use it's
"graphical" text UI elements because it thinks it's running within a
Windows DOS box. (joncampbell123). - Remove unnecessary and useless Win32 fcntl() on some memory typecast
to int which is causing a segfault whenever a ZIP file is mounted
as a drive with an overlay filesystem atop it. (joncampbell123) - Update caption control feature to use equivalent APIs on Mac OS. (joncampbell123)
- Add dosbox.conf and menu option to control whether the DOSBox-X window
can be seen in screen captures in Windows 7/8/10/11. Windows 11 "Recall"
is very concerning and users might not want their DOS gaming to be
part of it's memory. (joncampbell123). - Correct EGA switch readback from port 3C2h to reflect a value of 0x8
instead of 0x9 when machine=ega200 (joncampbell123). - Correct BIOS data area value that holds the "EGA switches" to reflect
200-line EGA "emulation" when machine=ega200. Value 0x08 instead of 0x09
(joncampbell123). - Correct mode parameters for CGA 640x200 2-color mode when using
machine=ega200 so that it displays correctly. (joncampbell123) - DOS kernel: Remove fixed hacks for SFT and dynamically allocate the
second SFT table for the last N - 5 file handles. Add code to zero
SFT table memory to ensure that random data doesn't cause issues.
Windows 3.1 is still perfectly fine with it, so the SFT table update
and cleanup is complete. (joncampbell123). - DOS kernel: Move the magic "CON" strings into the first SFT and
mimic the 5 default open file handles that every DOS process starts
with: CON CON CON AUX PRN. Windows 3.1 is still happy with it, which
is good. (joncampbell123). - DOS kernel: Put the CON driver somewhere else because allowing it
to overlap the SFT is messy. Fix SFT generation to match the way that
MS-DOS 5.0 does it where the first table is always 5 entries and the
second table is always N - 5 entries. Cleanup the DOS memory allocation
a bit. So far, Windows 3.1 doesn't have a problem with it. (joncampbell123). - DOS kernel: Interrupt handler IRET was accidentally placed within
the SFT table, move it up to resolve the conflict. (joncampbell123). - Local DOS drive support: On Windows, if the guest is attempting to
create a hidden file, make sure to call the right APIs to create a
hidden file on the host. Not only is this needed to create a hidden
file, but if the guest tries to create a hidden file and the file
already exists as a hidden file, the file creation needs to succeed.
Fix for "Facts of Life" by Witan because the demo creates a hidden
WITAN.92 every time it is run (joncampbell123). - XMS: Add dosbox.conf option to XMS driver to switch on flat real mode
when a) the XMS driver initializes and/or b) when the XMS driver is
called on to move/copy memory. (joncampbell123). - INT 21h: If a DOS program frees a memory block, and then resizes the
freed memory block, reassign ownership of that block to the program
as if allocated. This is apparently canonical MS-DOS behavior. Added
dosbox.conf option to control whether resizing a freed block silently
assigns ownership (default setting) or whether it returns an error.
DOS resize memory function for the most part DID assign ownership but
not in the case where the size of the MCB was exactly the size requested
to resize to. (joncampbell123). - Sound Blaster: Fix bug where "force autoinit" prevented Sound Blaster
playback from working at all, fix for "Jump" by Public NMI (joncampbell123). - Debugger UI now shows PIC_FullIndex() and whether or not the CPU is
in the HLT state. Single stepping does not do anything when the CPU is
in the HLT state, so at least let the user know (joncampbell123). - Keyboard controller (IBM PC): Cancel the IRQ signal upon reading I/O
port 60h. The reason for the IRQ, the pending data, was just read, so
now there is no point in keeping the IRQ signal up. This fixes Escape
key problems with "Cronologia" by Cascada that causes part 3 "Time"
to immediately exit and continue to the credits. Part 1 and 2 are not
affected by the pending IRQ because those parts mask IRQ 1 and poll
the keyboard controller directly. (joncampbell123). - Fix complexity test code to determine when Odd/Even mode is enabled
in all cases and to resolve a problem with garbled scrolling text
in the "Vectorballs" part of "Unreal" (joncampbell123). - M_EGA display mode now applies CRTC BYTE/WORD/DWORD shift to display
start address, same as M_VGA, to ensure correct display when demos
and games set the CRTC to non-BYTE modes. This fixes page flipping
flickering during the "Vectorballs" part of "Unreal" by Future Crew.
(joncampbell123). - Update Configuration GUI to use radio buttons for selection, meaning the
circular buttons that resemble those in Windows, not the check boxes.
The GUI toolkit had them all along, the Configuration GUI was using
check boxes for that for some reason. (joncampbell123). - Linux ALSA MIDI output: Any attempt to send RESET or other Fx commands
to the ALSA library causes a segfault in the ALSA library. Revise the
code to send without crashing. (joncampbell123). - Linux ALSA MIDI output: Add code to list and enumerate the MIDI sequencer
devices available so the user can use it to determine what magic numbers
to put into the midiconfig setting, especially if the user wants to send
MIDI to an external synthesizer. (joncampbell123). - Suddenly Mac OS 14 and XCode consider the "id" and "int" datatypes
different and assigning or returning one to the other is now a compiler
error. Add typecast to enable compile on latest XCode. (joncampbell123) - INT 33 mouse emulation: Add dosbox.conf options to force a specific
coordinate system for the DOS game with respect to host/guest mouse
cursor integration (getting the DOS cursor to match the host cursor
within the window). Add dosbox.conf option where additional adjustments
are available. The maximum x/y and max-adjust options are ideal for
Lemmings 2, which uses INT 33h in a way that confuses the automatic
range detection code used to synchronize cursor position and therefore
needs this option, and the first Lemmings as well. (joncampbell123). - PIT timer: Fix restart_counter(), the delay computation was completely
backwards. This is particularly important where it concerns programs
that use the PIT to detect the rate at which the Pentium time stamp
(RDTSC) advances as the previous code caused wildly inaccurate measurements
and bad timing (GRUB bootloader, the Microsoft CD-ROM boot "press a key
to boot from CD" message). (joncampbell123). - IDE: Make sure to set feature/error register to 0x01 when the guest
soft or hard resets the IDE devices through the controller. The Linux
kernel uses a soft/hard reset on startup to detect PATA devices and
if it does not see the correct value after reset, it will either ignore
the device or complain about diagnostic failure and cautiously talk to
the primary IDE hard drive while ignoring any ATAPI CD-ROM emulation.
This allows the Linux kernel to boot and see the CD-ROM drive. (joncampbell123). - IDE: Do not clear registers unnecessarily when finishing IDENTIFY DEVICE.
- The BOOT command now supports El Torito "no emulation" booting from a
CD-ROM drive, which is needed to boot install CDs for Windows XP, Linux,
etc. or Linux-based live CDs. Note that at this time, BOOT only supports
"no emulation" and IMGMOUNT only supports "floppy emulation" (joncampbell123). - INT 13h extensions: If a read was interrupted by an error, update the
block transfer count so the caller knows (joncampbell123). - DOS: Move version parsing farther up, so that the initial DOS version
can affect memory layout and tables as needed. (joncampbell123) - DOS DPB and FAT driver: If the DOS version is 4.0 or higher, write a
DOS 4.0+ compatible DPB structure (as DOSBox-X already has been doing
since forking from DOSBox). If the DOS version is lower than 4.0,
write an MS-DOS 3.30 compatible DPB structure. This allows Popful Mail
to run without getting into an infinite loop scanning the DPB linked list
when [dos] section ver=3 30 (MS-DOS 3.30), aside from the fact that the
game will also run without this change if you set ver=4 0 since the game
appears to be aware of the change in structure between MS-DOS 3.30 and
MS-DOS 4.0, though for whatever reason the game refuses to run on
MS-DOS 5.0 or higher. (joncampbell123). - IDE: Silently ignore SET FEATURES command 0x03. Any negative response
to feature 0x03 causes the Linux kernel to reject the IDE device.
(joncampbell123) - Add support for PIT timer 0 mode 4. Linux kernel 6.1.29 compiled in
"tickless" mode uses mode 4 instead of mode 0 as a delay timeout. Prior
to this fix, the Linux kernel would switch into tickless mode and then
nothing would happen because IRQ 0 would never fire again. See also Linux
kernel source code, drivers/clocksource/i8253.c function pit_set_oneshot()
to see what I mean. (joncampbell123) - Windows 95 S3 driver behavior suggests that S3 16-color VESA modes
0x202 to 0x208 are NOT planar modes, but packed modes. Change modes to
M_PACKED4 and update modelist building to allow that range even if the
dosbox.conf is configured not to list 4bpp packed VESA modes. This fixes
Windows 95 S3 driver 16-color modes 800x600, 1024x768, 1280x1024.
Noted: Windows 95 is the last version of Windows to support 4bpp packed.
Windows 98 and higher refuses to support it and the Display settings
will not allow you to select any 16-color mode other than the stock
VGA 640x480 16-color planar mode. (joncampbell123) - Add --load-seg option to BOOT in case any PC-98 game boot floppy expects
to be loaded somewhere other than the default. PC-98 game "Private School
Adventure" will crash if loaded to segment 0x1FC0 but runs fine if booted
with --load-seg 0x0FC0 instead. (joncampbell123) - Add dosbox.conf option to direct the EMS page frame segment, in a limited
fashion, though only effective for PC-98 mode. PC-98 segment is still
0xD000 by default, but apparently there are games that require the EMS
page frame to exist at 0xC000. For these games, you can now set under the
[dos] section "ems frame=C000". (joncampbell123) - Restored libslirp support for 32-bit MinGW CI builds which was temporarily
dropped in 2024.03.01 release. Also since MinGW plans to gradually phase
out 32-bit support, added code to manually build on our own. (maron2000) - Fixed build errors of Windows installers. Windows Vista support for standard
installer is dropped to fix this issue. Vista users can either use the XP
installer or portable builds instead. (maron2000) - Fixed compile error of speexdsp/fftwrap.c on gcc-14 (maron2000)
- PC-98: Fixed US keyboard support for tilde (Shift+grave) key (maron2000)
- Fixed DOSBox-X freezed when codepages regarding EGA18.CPX were set (maron2000)
- Fixed CUE sheets of GOG games were rejected. Still requires "-t iso" or
"-t cdrom" option for uncommon file extensions except ".CUE". (maron2000) - Added loongarch64 support (donmor)
- Disable FP exceptions in a portable way (xry111, donmor)
- Added "*.ccd" in file open dialog (maron2000)
- Added CI builds for ARM mac (maron2000)
- Bump tinyfiledialogs to ver 3.17.4 (maron2000)
- Obtain geometry info of non-standard sized floppy from BPB (maron2000)
- PC-98: Implemented int 18h ah=47h,48h,49h (nanshiki)
- Added breakpoint type "Freeze memory" (Enmet)
- Implemented seeking in MSCDEX
(Imported from dosbox-staging/dosbox-staging#3516 authored by weirddan455) - Fixed built-in COPY command failed to obtain free space when reported DOS
version is set to 7.1 (maron2000) - Fixed some file extensions in the filter list were ignored in the file open
dialogs (maron2000) - Fixed mounting a non-FAT VHD image (maxpat78)
- Fixed VHD geometry detection (maxpat78)
- Fixed issue that IMGSWAP command did not work for CD drives. (maron2000)
- Fixed loaded language file unexpectedly changes on launch. (maron2000)
- Fixed reported size issues in builtin DIR command (maxpat78)
- Added missing language file in Windows standard & XP installers. (maron2000)
- Fixed a bug in IME character display on macOS Sonoma (nanshiki)
- Fixed build errors of SDL1 code when built with gcc-14 (maron2000)
- Fixed static link errors of libslirp >= 4.8.0 (maron2000)
- PC-98: Added MEM command for PC-98 mode (maron2000)
2024.03.01
- If an empty CD-ROM drive is attached to IDE emulation, return "Medium Not
Present" instead of a read error, when asked to read. (joncampbell123). - Add "empty drive" CD-ROM image type "IMGMOUNT e: empty -t iso" as a way
to emulate an empty CD-ROM drive with no disc in the drive. (joncampbell123). - Add "empty drive" floppy image type "IMGMOUNT 0 empty -t floppy -fs none"
as a way to emulate a floppy drive with no disk in the drive. (joncampbell123). - Video debug overlay: Fix mouse integration misalignment when the video
debug overlay is enabled while Windows is running (joncampbell123). - Video debug overlay: Fix segfault when enabled with 15/16bpp SVGA modes.
(joncampbell123). - Video debug overlay: Fix bug where video debug failed to appear in SVGA
15/16/24/32bpp display modes because of a design where the VGA drawing
code points directly at video RAM except when drawing the hardware cursor.
One symptom was that the video debug info on the side failed to appear at
all, unless running in Windows and only within the vertical range of the
mouse cursor. (joncampbell123). - Video debug overlay: Do not bother showing the Attribute Controller palette
in 15/16/24/32bpp SVGA modes because it doesn't matter there and is not
involved with how anything is displayed. (joncampbell123). - Video debug overlay: Fix debug info text to appear for 15/16/24/32bpp SVGA
modes. (joncampbell123). - BOOT --bios no longer triggers a system reset VM event, but instead just
jumps to the new BIOS image after DOS kernel shutdown. This is needed for
hardware and resources to stay as they were when running the BIOS i.e.
keeping any IDE devices configured within the DOS kernel intact so that the
BIOS can find and use them. Prior to this change, all hardware was fully
reset and unmapped prior to running the BIOS which made IDE emulation
unusable with BIOS images. (joncampbell123). - BOOT --bios no longer immediately loads the new BIOS into memory, but instead
loads and stores the image to a temporary buffer. The ROM image does not
actually get mapped in until the DOS kernel and everything else has had a
chance to shut down fully. (joncampbell123). - Fix BOOT --bios not to try to load PC-98 ITF firmware unless actually running
in PC-98 mode (joncampbell123). - Write PC-98 keyboard translation table (non-shifted) in ROM BIOS and set the
keyboard translation table pointer in the BIOS data area for "Nut Berry".
This Nut Berry game also assumes lookup and translation tables exist at
specific locations in the ROM BIOS, so put those tables there. The shift
state table in BIOS has also been added, though at the moment, the tables
are incomplete. (joncampbell123). - MegaZeux from the MS-DOS days had a 256-color tweakmode that worked on some
popular SVGA chipsets of it's time though on others it does nothing but halve
the display resolution of text mode. The basic idea is that it makes the VGA
card latch two 4-bit outputs of the VGA text mode into one 8-bit value, thus,
256 colors possible. Add support for this. However I am not sure whether this
tweakmode is supported by S3 chipsets, so it is OFF by default and you will
need to add "enable supermegazeux tweakmode=true" to the [video] section of
your dosbox.conf to enable it. (joncampbell123). - Undo the "no partition offset" change. DOOM II for PC-9821 requires it to work
else the page flipping fails and sprites and rendering flickers as you play.
(joncampbell123). - Allow text layer to appear in PC-98 256-color mode. Even though I was unable
to enable it on real hardware, "Shamat, The Holy Circlet" requires having
the text layer visible on top of 640x400 256-color mode for the introductory
scrolling text to appear on screen. So for now, just allow it. (joncampbell123). - The reason some PC-9821 games have been giving bad PITCH values (double the
correct value) to the GDC in 256-color mode has been determined. They read
port 9A0h to determine if the GDC is running at 5MHz or not. That port 9A0h
index was not implemented and therefore gave the game the impression it was
running at 5MHz when it was not, therefore the doubled PITCH value. This fix
corrects the squeezed 256-color mode and allows it to appear properly.
(joncampbell123). - IMGMOUNT: If the file extension is HDI, assume a hard disk image even if the
image file is small enough to qualify as a floppy disk image. There is an
HDI image of PC-98 game "D.O. Doki Doki Disk 8" that is 2.2MB, small enough
to be mistaken as a 2.88MB IBM PC floppy disk and therefore fail to mount
as an HDI image, this change fixes it. (joncampbell123, maron2000). - Emulate PEGC PC-98 linear framebuffer at both 0xF00000-0xF7FFFF (at 15MB
memory mark) but also make it appear at top of memory below BIOS (normally
at 0xFFF00000-0xFFF7FFFF). Some 32-bit PC-9821 CD-ROM MS-DOS games assume
the top of memory alias and will fail to show anything on screen without
it (unless, alternatively, the memalias setting is set to emulate 24 address
lines like a 386SX). Now to figure out why these same games are programming
a GDC PITCH value that's double what it should be... (joncampbell123). - PC-98 GDC scan offset no longer pays attention to scan offset of data
partition in 256-color mode. Required to help fix broken 256-color graphics
for some PC-98 CD-ROM games. (joncampbell123). - Refuse to enable ISA 15MB-16MB memory hole if memalias is set to 24 bits or
less. Not only is it redundant to do that but it also causes the BIOS to
immediately crash on startup. (joncampbell123). - IDE ATAPI CD-ROM emulation: In PC-98 mode when emulating a NEC CD-ROM drive,
also limit sector reads to one CD-ROM sector per DRQ because the MS-DOS driver
assumes that behavior. The driver will stall and error out if it requests a
multi-sector read and the drive does NOT limit transfers to one sector at a
time per IDE data transfer. This is in line with my experience writing the
DOSLIB IDE testing program and laptops from the 1990s with IDE ATAPI CD-ROM
drives, so it's understandable. (joncampbell123). - The reason the CD-ROM driver in PC-98 game HDI images refused to talk to our
IDE CD-ROM emulation is... (drumroll) we didn't report ourself as an NEC
CD-ROM drive when given the MMC INQUIRY command. Yes, really. The OAK CD-ROM
driver in these HDI images really does care whether or the drive is an NEC
brand drive. What a stupid reason not to talk to a CD-ROM drive. Add code to
default to "NEC" "CD-ROM DRIVE" as the INQUIRY result if running in PC-98 mode.
(joncampbell123). - Add basic rudimentary support for CloneCD (*.ccd *.img) images. It might not
work with more complex arrangements but it is enough for most CD-ROM PC-98
games so far. (joncampbell123). - libpng supports the pHYs PNG chunk which describes the pixel aspect ratio of
the PNG image. libpng 1.6 has it, use it. Programs that support the information
like FFMPEG will then display the PNG image with the correct aspect ratio.
(joncampbell123). [https://github.com//issues/4754] - PC-98 mode: There is a 302KHz timer behind I/O ports 5Ch/5Eh that some MS-DOS
drivers depend on for timing, particularly a popular IDE CD-ROM device driver
in many PC-98 game HDI images. This change allows the driver to time out after
about 5-10 seconds instead of an infinite hang. (joncampbell123) - Fix INT 10h to keep hardware CRTC I/O port synchronized with BIOS DATA area
copy so that other parts of INT 10h called by SetVideoMode do not accidentally
talk to the wrong I/O ports. This fixes corrupted INT 10 Mode F display
(640x350 monochrome graphics mode). (joncampbell123). - Add DOS Int21 0x5D 0x00 - remote server call
Inspired by FeeDOS inthndlr.c
With this change it is possible use a plain dosbox-x to install and run
Windows for Workgroups V3.11 as an IPX server on the pcap ne2000 interface
offering a host directory for read and persistent write access to an
MSDOS machine running a WfW 3.11 IPX network client.
Please don't forget mounting with -nocachedir
(Issue #4162)(Yogi-baer) - Fix missing keystroke SDLK_LESS on DE keyboard on Raspbian OS (Yogi-baer)
- Fix crash when loading a language file without existing menu item "ttf_extcharset" (Yogi-baer)
- Change ISA memory hole 512kb option from boolean to true/false/auto. (joncampbell123)
- Add ISA memory hole 15mb option, make it true/false/auto.
Auto means off for IBM compatible mode and on for PC-9821 compatible mode.
This should allow some DOS games that depend on the linear framebuffer
to work properly even if memsize=16 or higher. (joncampbell123) - MIDI: set minimum sysex delay when enabled (mistydemeo)
- International support in LABEL, COPY, DEL builtin commands (maxpat)
- Fix palette setting bugs due to SETCOLOR fix in 2023.10.06 release. (maron2000)
Graphical glitches in Ultima VI(#4507), Chessmaster 3000(#4510), Wizardry VII(#4534)
Crash Sid Meyer's Civilization I (#4511)
TTF color settings regarding 'colors' option (#4579, #3318) and some more - Fix crash when mounting floppy/ISO images with no extension (maron2000)
- Fix Intel macOS CI builds crashed on startup due to missing dylibs
(Issue #4438)(maron2000) - Fix TTF mode didn't switch to graphics mode on certain types of machines
such as tandy/pcjr.(Issue #4559)(maron2000) - Fix crash on switching to fullscreen when output=opengl (Intel macOS) (maron2000)
- Update DXCapture shell command to support /O for OPL capture (AranVin...
2023.10.06
- Add "VRD" debugger command to force redraw of the VGA screen.
- Add VGA debug set commands to force a video start address and another
to clear all debug settings. - Add "PITSYNC" option to VFRCRATE command. "VFRCRATE PITSYNC ON"
directs the system timer interrupt to synchronize tick rate with
vertical refresh rate of VGA emulation if the game or demo set
the timer tick rate to a value close enough to vertical refresh.
This is intended for games or demos that use the system timer for
a vsync interrupt. - IMGMAKE: Fix bug where if -bat was specified, the generated .bat
file would attempt to mount the .bat file, not the disk image. - IMGMAKE: If -nofs and -bat was specified, the generated .bat file
will refer to "IMGMAKE 2" instead of "IMGMAKE C" - DOS FAT driver: When the guest sends in a new BIOS Parameter Block,
recalculate the disk locations and FAT type properly instead of
assuming that FORMAT.COM is using the same format already present. - DOS FAT driver: If the partition is unformatted and looks as if
freshly written by FDISK, then instead of failing to mount, mount
the partition instead as an unformatted partition and fail file
I/O until a BPB is set and the partition formatted by FORMAT.COM.
This matches MS-DOS behavior and it makes it possible to mount an
image, FDISK it, restart, FORMAT.COM the unformatted partition,
and end up with a working drive letter (just like MS-DOS). So far
verified against MS-DOS 6.22 and Windows 98 versions of FDISK,
FORMAT, SYS, and SCANDISK. - DOS FAT driver: Add options -o sectoff and -o sectlen to make it
possible to manually specify the start and length of a partition.
Future code will use this internally as well. - IMGMOUNT: Allow *: as a drive letter to mean automatically pick a
drive letter. - Fix debugger to use toupper(), but only for ASCII range ncurses
keycodes. - Timer PIT: If the guest writes the counter value while the counter
gate is off, make sure the counter read back is the same value
written regardless of gate status. Prior code returned the stale
latched value of the counter as it was prior to shutting off the
gate and writing the counter, causing timing issues. - Fix restoring minimized window on TTF output (Issue #4248) (maron2000)
- Fix macos crash on launch when output=surface or auto (SDL2) (maron2000)
- Update in-tree SDL2 library to ver 2.28.2 (maron2000)
- Updated build tool for MinGW lowend builds required for the updated SDL2
library. As a result, MinGW lowend builds are now able to enable debugger
features. (maron2000) - Debugger RUN and RUNWATCH commands were broken, fix. Make sure debugger
shortcut triggers execution to stop whether in RUN or RUNWATCH mode. - Fix SETCOLORS command didn't change color when output=ttf.(Issue #4503)
Also fixed the values reported were wrong. (maron2000) - BIOS CMOS date/time functions will now idle the CPU 4 times after reading
or setting the clock to allow interrupts, CPU time, and RTC clock ticks
to proceed normally. This fixes "Pizza Tycoon" and allows it to continue
past the initial logo. (joncampbell123) - Fix segfault when mounting hard disk images with no file extension
(joncampbell123).
2023.09.01
- Disable by default message confirmation after snapshot and AVI video
capture, but leave the option there for those who want to enable it (joncampbell123). - Remove "LOG: Logging output has been disabled." output when -nolog
is specified on the command line (joncampbell123). - Fix stuck Ins key problems by fixing a typo in src/ints/bios_keyboard.cpp.
The code is supposed to clear the "Ins key down" flag, but instead cleared
all bits EXCEPT "Ins key down" (joncampbell123). - NE2000 macaddr default is now "random", which instructs the NE2000
hardware at startup to pick a random MAC address. (joncampbell123). - IPX: If NE2000 and IPX are enabled, and an IPX tunneling connection is
active, and the user boots a guest OS, switch on a mode where all IPX
packets going to and coming from the guest are re-routed through the
IPX tunnel instead of to the NE2000 ethernet backend. This feature
makes it possible to play IPX-based games in a guest OS like MS-DOS
and Windows 95. (joncampbell123). - IPX: Add extension to server to allow clients to register their own
MAC address instead of using the default MAC address given by their
IP address and port number. The extension is designed so that if DOSBox-X
is a client to another DOSBox fork's IPX tunneling server, it will
be ignored and DOSBox-X will get the usual MAC address instead. This
extension is required for guest OSes to be able to use the IPX protocol
through the NE2000 card given upcoming code changes as they normally
use the network card MAC address when picking an IPX address because
the IPX interface is not available once booted into a guest OS. (joncampbell123). - IPX client: If both IPX and NE2000 emulation are enabled, IPX emulation
will use the NE2000 card's MAC address instead. It will use the IPX
server DOSBox-X extension to try. If it doesn't work, then the normal
MAC address assignment is accepted without complaint. (joncampbell123). - NE2000: Add "nothing" backend. It receives nothing and send packets go
nowhere. If no other backend is available, this backend is a fallback
so that at least the NE2000 emulation can work. The other purpose of
a nothing callback is to give NE2000 something to talk to for those
who wish to use the upcoming IPX packet redirection to link DOS and
Windows games over the IPX client or server connection to other
instances of DOSBox. (joncampbell123) - Added record function to capture NE2000 network traffic to a
pcap/Wireshark file in the capture directory. (joncampbell123) - Fixed bug where guest VM reset causes the CMOS to stop ticking for
exactly the amount of time it was running before reset. (joncampbell123) - Added alarm interrupt function to RTC CMOS emulation (joncampbell123)
- Reverted DOS to using the BIOS_DATA tick count for time and the cached
copy of date it keeps internally, rather than always calling INT 1Ah.
It turns out that is how DOS actually behaves, which is also why it is
possible for the DOS and CMOS RTC to diverge. Fix CMOS emulation to
allow get/set time and to run in emulation time, not real time, though
the clock starts from the host time. (joncampbell123) - Fixed VHD disk image calculation of footer position and, thus, of newly
allocated block position. (maxpat78) - Enhanced Dynamic and Differencing VHD support #4273 (maxpat78)
- Imported IBM Music Feature Card support from DOSBox Staging. (Allofich)
- Fix IMGMAKE large size image error on MinGW builds (maron2000)
- Set usescancodes=true when non-US keyboards are detected. (Linux / MacOS
builds) (maron2000) - Fix day of week detection (INT 21h function 0x2Ah). (maron2000)
- Refine KEYB and CHCP command (maron2000)
- Use segment descriptor's big flag (if present) when disassembling code in
the debugger code view (cimarronm) - Add decoding of rdmsr/wrmsr instructions to disassembler (cimarronm)
- Fix disassembly for far jmp/call decoding (cimarronm)
- Fix memory limits on expand-down segment descriptors (cimarronm)
- Bump tinyfiledialog to ver 3.13.3 (maron2000)
- Fix mouse column limit on text mode (issue #4353) (maron2000)
- Fix Blocek launching failure (issue #4385) (maron2000)
- Bump in-tree FreeType library to ver 2.13.1 (maron2000)
- Enable debugger function for MinGW builds (maron2000)
2023.05.01
- IMGMAKE will choose LBA partition types for 2GB or larger disk
images, but the user can also use -chs and -lba options to override
that choice. The CHS or LBA partition types do matter because it
affects which version of INT 13h is used by Windows 98/ME to boot up
and, if drive C: is in compatibility mode, at all times. (joncampbell123) - PC-98 256-color mode will also trigger the auto mode of "render on
demand" for performance reasons because per-scanline raster effects
are very unlikely in that case, as will MDA and Hercules machine
types. (joncampbell123) - When the DOS IDLE API is enabled (by default), limit STI+HLT to
occur on INT 28h only once after any call to read the CON device
or call to BIOS INT 16h to read the keyboard. This fixes stalls
and sluggish input problems with programs that like to call INT 28h
often like the Pacific C compiler PPD IDE interface. (joncampbell123). - Hercules InColor machine type: Fixed attribute and RAMFONT handling
of 48K RAMFONT mode and added planar text rendering. (joncampbell123). - Write BIOS data area fields for number of rows, char height, etc.
for MCGA machine type in addition to EGA/VGA machine types because
IBM technical references suggest it's there for MCGA as well.
This also resolves an issue where with the MCGA machine type, INT 10h
failed to print any text to screen whatsoever. (joncampbell123). - Render on demand (Staging calls it "lazy rendering") now defaults
to "auto" and allows an "auto" setting. The auto setting will
turn it off for standard VGA modes and will turn it on for SVGA
modes where per scanline raster effects are very unlikely to
occur. This may provide a performance boost for DOS games in SVGA
modes and the Windows desktop (joncampbell123). - CGA 320x200 4-color mode is now rendered using the M_EGA render
code for EGA/VGA machine types to better reflect real hardware.
(joncampbell123). - Fix bug where setting doublescan=false for anything other than
the VGA machine type would break CGA graphics modes.
(joncampbell123). - Fix video debug overlay calculations of source video mode for
CGA graphics modes. (joncampbell123). - CGA 640x200 2-color mode and MCGA 640x480 2-color mode are no
longer rendered as M_CGA2 for EGA/VGA machine types. The reason
is that at the hardware level they are really just IBM standard
tweaked versions of the EGA/VGA 16-color modes with additional
bits for the interleave emulation and can be properly emulated
with the M_EGA renderer. M_CGA2 is still used for the CGA and
MCGA machine types for those modes. The DCGA DOS/V mode has been
carefully made into it's own render mode instead of part of the
M_CGA2 case. (joncampbell123). - Fixed refcount -1 error and abort when multiple floppies are
attached to a floppy drive and the "Swap floppy" mapper shortcut
is used at least once (joncampbell123). - Hercules palette selection now provides a "dark gray" color
mapping to match the green, amber, or gray palette selection of
the user (joncampbell123) - Fix Hercules vs MDA attribute handling of "dark gray" background
color when hardware blink is disabled. (joncampbell123) - Added RAMFONT emulation to Hercules Plus machine type, fixed code
to allow Hercules Plus text mode to draw farther than the first 4KB
of RAM if RAMFONT enabled. (joncampbell123) - DOS kernel: Fix programming mistake that allocated perhaps a bit
too much DOS kernel memory for the "List of Lists" info block.
Fix the sizes of the info block and other structures to make sure
specific kernel structures are placed at fixed addresses because
later Microsoft software for MS-DOS checks those values.
(joncampbell123) - Serial port: Add multiplier: setting as requested to enable
faster than 115200 baud rates. (joncampbell123) - Fix mistakes in CPUID emulation that threw a #UD exception for
specific cases where EAX was not recognized by particular CPU
types. (joncampbell123) - Fix RTC clock emulation to correctly signal IRQ8 interrupt for
both periodic tick and update-ended events. Prior to this fix,
only periodic tick events were reported even if the bit was set
to enable update-ended. (joncampbell123) - Fix serial and AUX PS/2 mouse emulation to not send relative
motion unless mouse captured, to make it consistent with the
BIOS PS/2 mouse emulation (joncampbell123) - FAT driver: Major performance boost is possible by eliminating
unnecessary code that re-reads the entire directory when looking
up or changing one particular directory entry. (joncampbell123). - CMOS registers: Fix code to allow getting and setting time,
fix year vs century registers to work properly. (joncampbell123). - BIOS INT 1Ah: Fix functions to get and set time and date
instead of faking on read and ignoring set. Use the CMOS
registers. (joncampbell123). - DOS INT 21h: Fix date and time functions to call the BIOS for
time instead of trying to fake it only at the DOS level. This
includes allowing INT 21h to change the date/time using the
BIOS. (joncampbell123). - DOS shell: Make TIME actually use INT 21h to set time instead of
directly modifying the BIOS timer tick count in the BDA.
(joncampbell123). - Increased PIC event queue size, there are corner cases especially
with Windows XP that can occasionally overrun the queue.
(joncampbell123). - Updated IBM PC keyboard emulation to correctly encode Pause and
Print Screen key scan codes when shift, alt, and ctrl are held
down. This makes it possible to type "Alt+SysRq" for programs
that expect it, including SoftICE. (joncampbell123). - NE2000 emulation: Looking at recent Bochs source code, ne2k.cc
appears to have downgraded the "IMR write, reserved bit set"
message from BX_PANIC to BX_ERROR. Update the same in DOSBox-X
so that Windows 2000 no longer crashes the emulator with E_Exit()
when probing the NE2000 hardware. (joncampbell123). - INT 33h mouse services: Add "Get General Driver Information"
function for Microsoft Word 5.5 (joncampbell123). - INT 33h mouse services: Render cursorType == 2 (graphics cursor)
as if text cursorType == 0 if the current mode is text mode.
Microsoft Word 5.5 always calls functions to set text AND graphics
cursor regardless of whether the actual mode is graphics or not.
This fix allows the cursor to show correctly as the block cursor
it wanted in text mode instead of a moving hardware blinking cursor.
(joncampbell123). - Fixed S3 XGA emulation bitmap rendering to correctly handle
8/16/32-bit pixel transfer I/O and update comments to reflect
the 32-bit byte aligned transfer mode of the Trio chipset.
This fixes incorrectly drawn radio buttons and 16x16 icons
in Windows NT 3.5, Windows NT 3.51, Windows NT 4.0, and
Windows 2000. (joncampbell123). - Fixed keyboard emulation so that upon the keyboard reset command
FFh, the keyboard does the reset process and THEN sends back
bytes 0xAA (power on/reset OK) and 0x00 (interface self-test).
This resolves the issue where Windows NT 3.1 pauses at startup and
does not resume booting until you press a key on the keyboard.
This also resolves the issue where Windows NT 3.5 keyboard and
mouse input stops working completely if you press a key on the
keyboard. (joncampbell123). - Add Hercules InColor emulation of MDA vs CGA attribute select,
and make sure it obeys the blink setting (joncampbell123) - Change Hercules/MDA text output to render 9 pixels per char
if the char9 setting is on, to match the 9x14 character cell
that those cards emit to the screen. The user can always turn
it back off to get the 8x14 text they're probably accustomed
to in other DOSBox forks. (joncampbell123) - Render output fixed to never double pixels vertically on render
if the machine type is emulating VGA and the Doublescan option
is enabled, in order to help resolve SVGA text mode issues
reported by ThomasKjoernes (joncampbell123) - Add InColor CRTC registers and add code to emulate the planar
bitplane operations. Microsoft Flight Simulator 3.0 renders
correctly now. (joncampbell123) - Update Hercules InColor code to render the same 64-color EGA
palette as machine=ega. (joncampbell123) - Correct machine=hercules text rendering flaw that prevented
the bright attribute (bit 3/7) from working, making all text
output the same normal brightness. (joncampbell123) - Add expected data structures and signatures to VGA ROM BIOS at
C000:0000 if machine type selects ATI emulation (joncampbell123). - Add ATI machine types, which at this time, is just a placeholder
for development to go in that direction over time for those
machine types. (joncampbell123) - Added "machine=hercules_plus" and "machine=hercules_incolor" as
stubs to be developed on going forward to emulate the HGC+ and
InColor cards. Note that InColor will require the MCH_HERC case
to generate 64-color EGA-like output going forward even if the
documented stratup state still emulates the MDA-like monochrome
attributes. (joncampbell123) - SDL2: Stop checking for compiler flags that make it an error to
declare variables after statements in a function or any other
terrible sins that would offend old C89 standard compilers.
DOSBox-X is never going to compile for a C standard that old.
Furthermore this check is preventing compilation on ARM-based
Macbooks for some reason, though not Intel based Macbooks.
2025.02.01
Aucun détail pour cette version.
2025.01.01
- Correction du bug bloquant l’enregistrement des thèmes Windows 3.1 dans le fichier de configuration.
- Ajout d’une option pour appliquer vmemdelay aux modes SVGA et aux framebuffers linéaires (comme les modes VESA BIOS), permettant d’émuler des cartes SVGA plus lentes.
- Correction des valeurs CPUID pour le type de processeur pentium_iii, incluant le niveau 2, permettant le démarrage de Windows XP.
- Prise en charge de la mémoire jusqu’à 1 To via memsize, avec allocation depuis un fichier système pour éviter la consommation excessive de RAM.
- Correction du déterminisme du mode EGA (CGA RGBI ou EGA RrGgBb) basé sur la polarité du vsync, améliorant la compatibilité avec Rambo III.
- Correction des délais de transmission des codes scan pour le clavier PCjr, fixant les combinaisons Fn+clé dans les jeux comme Agent USA.
- Correction des glitches colorimétriques en mode EGA, Tandy ou Hercules sur les builds macOS SDL2 avec OpenGL.
- Ajout d’une option pour ajuster le seuil d’interruption INT33 (mickey), résolvant des problèmes dans Ultima Underworld.
2025.01.01
- Fix bug that prevented the Configuration GUI from saving to dosbox.conf the last Windows 3.1 theme you applied using the dropdown menu. (joncampbell123).
- Add option to apply vmemdelay to SVGA and linear framebuffer modes (such as VESA BIOS modes), which reduces emulator performance for those modes, but allows you to emulate slower SVGA cards. Due to how some machine types are emulated, this option also enables vmemdelay to affect the PC-98 linear framebuffer, Tandy & PCjr video modes, as well as MDA/Hercules. (joncampbell123).
- Add workaround to CPU reset logic that allows it to work correctly even with dynamic core. Previously, if the guest reset the system, the emulator would crash with an error message about an uncaught C++ exception because C++ exception handling doesn't work with dynamically generated code. (joncampbell123).
- Correct CPUID family/model/brand values for cputype=pentium_iii. Add CPUID level 2, which returns "processor configuration descriptors", and return documented Pentium III values. Apparently Windows XP really REALLY cares about these configuration descriptors and will hang in-kernel in an infinite loop at bootup without these apparently really important values. This change makes it possible to boot Windows XP with Pentium III emulation. (joncampbell123).
- Allow values of memsize to represent 4GB or more of RAM. Up to 1TB, if Pentium PSE extensions are enabled, the memalias setting is 40, and "enable pse=pse40" in the conf file. Memalias maximum is now 40, instead of 32. Add code to provide that memory above the 4GB address mark when PSE is in use by the guest OS. Added dosbox.conf option to specify a memory file. When specified, all guest memory is memory-mapped from a file on disk, rather than allocated from host memory or host swap file. To avoid consuming too much RAM on the host, a memory file is REQUIRED to emulate memory at or above 4GB. For best performance with the memory file, make sure the filesystem you place it on supports sparse files, including Linux ext4 and Windows NTFS. (joncampbell123).
- Fix EGA machine type to determine whether CGA RGBI or EGA RrGgBb display is active by vsync polarity, instead of the length of htotal. Several online references state that vsync is negative for 350-line modes, including 350-line to an MDA monitor. This also allows the "enhanced" EGA 320x200 modes in Rambo III to display colors correctly. (joncampbell123).
- Dynamic x86 core: Reflect STI instruction to normal core so that the 1-instruction delay is correctly emulated. This makes it possible to run Windows XP or Server 2003 with dynamic core and SYSENTER/SYSEXIT emulation without random BSODs (joncampbell123).
- Fix default code page. Instead of assuming 437 at all times, use 437 for all IBM PC compatible modes and 932 for PC-98 emulation. (joncampbell123).
- Normal core: Fix STI emulation to enforce the 1-instruction delay by forcing the normal core to execute another instruction right away without providing any opportunity for interrupt processing. This does not break Peret Em Heru, Keen games, and it seems to fix the random BSOD issues with Windows XP and Windows Server 2003 when emulating a Pentium II that supports SYSENTER/SYSEXIT. I'm not clear on why this fix prevents them from crashing, but there you go. (joncampbell123).
- Keyboard emulation: Fix PCjr key delay to match IBM documentation stating how long it takes to transmit one scan code, which is obviously much slower than normal to accomodate the slow CPU and the optical nature of the transmission. This is needed in order for emulation to correctly send Fn+key combinations. At normal key delay, the guest will miss scan codes and function keys will not be reliable. (joncampbell123).
- Keyboard emulation: The 83-keyboard scan codes work differently on the PCjr keyboard because half of them are only accessible by holding the Fn key. The keyboard only sends the base key scan code and the Fn key scan code and the BIOS is expected to convert that to the normal 83-key scan codes expected by DOS software. The problem is some games like "Agent USA" for PCjr are written to directly handle scan codes through IRQ 1 (the fact that PCjr handles keyboard via NMI and reflects to INT 9 is ignored here). Fix this by sending scan codes that emulate holding Fn and pressing the appropriate key. Agent USA expects the user to press F1 by holding Fn and pressing "1". (joncampbell123).
- Revise VGA doublescan mode, vs bit 7 of the Max scanline register, to correct how VGA doublescans 200-line modes. Revise EGA/VGA text code to divide line by 2 in rendering to match double scanned scanlines, so that the "graphical" text of "After the War" can render properly for machine=vgaonly. (joncampbell123).
- INT 10: If machine=ega, check the EGA switches on INT 10h modeset. Some games force the EGA BIOS to use CGA 200-line text modes by modifying those bits and then setting the mode ("After the War"). (joncampbell123).
- INT 10: Fix "load font" functions to correctly recompute video display end for machine=vgaonly and machine=ega. (joncampbell123).
- INT 10: Like any other 200-line 16-color graphics mode, 200-line VGA text mode needs to program the AC and VGA palette using the CGA RGBI-type palette, not the EGA 64-color type palette. (joncampbell123).
- CPU: Disallow clearing PE bit from LMSW by default, always. You can still allow it through dosbox.conf. It turns out that x86 CPUs never allowed you to clear it that way, even from the Pentium up, even though Intel documentation beyond the 386 never mentions it again. This fixes problems with DOS extenders and VCPI, particularly DOS4GW which for some reason with VCPI likes to try to clear the PE bit when switching to VM86 even though it clearly understands it's not supposed to be able to clear it. (joncampbell123).
- VCPI: It turns out the VCPI server GDT selectors are expected to be 32-bit, because the protected mode VCPI entry point is expected to be called as if 32-bit far pointer. Correct VCPI entry point to return using RETF, not IRETD, which solves crashing issues with DOS extenders. For the first time, DOS extenders are working with the DOSBox-X built-in implementation of VCPI and most DOS games run fine now with it. (joncampbell123).
- VCPI: Add code to INT 2Fh handler regarding Windows startup/shutdown messages to fill in DS:SI. If EMM386 and VCPI emulation is active and running the DOS machine in virtual 8086 mode, give Windows the proper callback procedure to allow Windows to switch off VCPI vm86 mode on startup and turn it back on during shutdown. (joncampbell123).
- BIOS "POST" screen: Change BIOS logo to PNG format. To avoid having to render a PNG in roughly 10 different video modes, add code to VGA draw code to allow a BIOS logo "overlay" to be rendered independent of the video mode. Depending on machine type load one of four PNG files from disk or from inside DOSBox-X itself. PNG requirements: 224x224 or smaller, bit depth of 8bpp or less, color palette (not grayscale), no alpha channel, and must not be interlaced. For best compatibility, use less than 64 colors, or perhaps just 16 colors. Much like the Windows 95 LOGO.SYS, you can change the logo to your taste by placing specifically named PNG files in the same directory as your dosbox.conf or current working directory. Have fun. Note that this addition requires that you compile DOSBox-X with libpng enabled. (joncampbell123).
- Added dosbox.conf option to specify BIOS logo file. (joncampbell123).
- Added dosbox.conf option to specify a text message, up to 3 lines, at the bottom of the screen during BIOS POST screen. (joncampbell123).
- Fix color glitches in EGA, Tandy, Hercules mode on macOS SDL2 build (output=opengl)(maron2000)
- Add int33 mickey threshold option (Fixes Ultima Underworld) (jpernst)
- Fix configure.ac (disable-screenshot option) (maron2000)
- Fixed codepage switching when loading language file in Traditional Chinese (maron2000)
- Fixed display of some Chinese characters (Traditional Chinese)(maron2000)
- Fixed garbled text and menubar on reset (maron2000)
- Fixed codepage switching when a language file was loaded (maron2000)
2024.12.04
- Augmentation de la mémoire allouable jusqu’à environ 3900 Mo au lieu de 3500 Mo.
- Correction d’un problème d’alignement du registre PCI de base pour le mode S3 LFB.
- Correction du mode graphique EGA 640×350 à 4 couleurs (mémoire EGA 64 Ko).
- Correction de la taille de mémoire VGA S3 affichée via le registre CR36 (limite à 4 Mo).
- Suppression du mode SVGA 0x6A (800×600, 4 couleurs) non supporté par le matériel VGA standard.
- Correction du mode SVGA 0x6A pour un taux de rafraîchissement ≥ 60 Hz et compatibilité avec VESA MODE 0x102.
- Correction de l’émulation des instructions MMX/SSE et de certains bugs liés à MMX.
- Ajout de l’option -partofs dans IMGMAKE pour contrôler le début du partitionnement.
2024.12.04
- Arrange memory device allocation so that it is possible to allocate up to about 3900MB of memory instead of 3500MB. (joncampbell123).
- Fix S3 LFB PCI base alignment error if system memory pushes it to a higher address (joncampbell123).
- Fix EGA 640x350 4-color mode (when EGA memory size is 64KB) to display correctly. Prior to this fix, 640x350 4-color only worked properly if the INT 10h Video Parameter Table was enabled. (joncampbell123).
- Fix S3 VGA memory size reported through register CR36 to cap at 4MB and set the value correctly. This fixes a known issue where setting vmemsize to 8MB caused Windows 98 to report memory size as 2.5MB. (joncampbell123).
- Fixed a problem when VZ Editor is resident in PC-98 mode. (nanshiki).
- INT 10: SVGA mode 0x6A does not exist on plain VGA hardware. (joncampbell123).
- INT 10: Fix mode 0x6A (800x600 4-color SVGA) to use a correct dot clock so that the refresh rate is >= 60Hz instead of 37Hz, and make sure mode 0x6A is a 100% clone of VESA BIOS MODE 0x102. (joncampbell123).
- Fix MMX/SSE instruction decoding, correct some mistakes in MMX emulation. (joncampbell123).
- IMGMAKE: Add -partofs option to allow control of where the partition begins in the image (joncampbell123).
- IMGMAKE: Add -align option so that the FAT filesystem can be arranged for more optimal I/O on devices with larger sectors, such as modern 4096-byte/sector drives. (joncampbell123).
- IMGMAKE: Add -label option so that the generated FAT filesystem has the specified volume label. (joncampbell123).
- MDA emulation: Fix non-blink attributes 0xF0 and 0xF8 to correctly render bright green background. (joncampbell123).
- Fixed crash when a CD image was loaded to an "empty" drive (maron2000)
- Log loaded .conf file (maron2000)
- Supress redundant screen reports in log (maron2000)
- Fixed mouse capture locking by middle button (maron2000)
- Fixed toggling the menu option "Autolock mouse" did nothing (maron2000)
- Fixed build failure with libc++ 19 (DimitryAndric)
- Fixed fullscreen mode not responding when launched in TTF mode in Windows (maron2000)
- Fixed crashes when changing floppies mounted by drive numbers on a booted guest OS (maron2000)
- Fixed launching host programs with white spaces in path (Windows) (maron2000)
- Convert paths from relative to absolute when launching host programs in a mounted drive (Windows) (maron2000)
- Added an option not to pause after host program execution is completed (maron2000)
- Fixed corrupted display when loading language files at launch (maron2000)
- Fixed Z Drive path expansion to be case insensitive (maron2000)
2024.10.01
- Ajout du support de l’extension .inst pour les fichiers CUE sheets et de la commande SET /FIRST pour déplacer une variable en tête de l’environnement.
- Correction des crashes liés aux fichiers de langue sous Windows avec un clavier US et des problèmes de BPB dans les images de disquettes générées par IMGMAKE.
- Amélioration de l’émulation S3 avec ajout de l’accélération XGA pour les modes 4bpp 16-couleurs et correction des registres de positionnement linéaire.
- Ajout d’options pour contourner des comportements spécifiques de jeux/demos (pitch VESA, INT13 redirection, ajustement du framebuffer).
- Mise à jour de SDL2 (2.30.4) et du code Nuked-OPL3, ainsi que des corrections mineures (timestamps, chemins de montage VHD, sous-canaux CD-ROM).
- Améliorations visuelles et ergonomiques dans l’interface Windows (thèmes, disposition, centrage de fenêtre).
2024.10.01
- Allow the ".inst" extension for CUE sheets. (Allofich)
- Add SET /FIRST, a DOSBox-X extension, that takes the specified variable if it exists and moves it to the front of the environment block. (joncampbell123).
- SET command processing has been cleaned up and streamlined. Added /ERASE command line switch to clear the environment block (DOSBox-X extension). (joncampbell123).
- VESA BIOS: Add new option to adjust reported linear framebuffer address by a specific number of pixels. This is needed by "Out of Control" by Contract which for whatever reason, will always draw to the LFB base minus 128 bytes. This option makes it possible to correct the demo graphics. (joncampbell123).
- Gravis Ultrasound: Officially, registers 0x0-0xF, the voice control registers, are documented to have a 0x0-0xF write and 0x80-0x8F read alias. Unofficially, according to the behavior of 1997 demo "Out of Control" by Contract, all GUS registers have a N and (N+0x80) alias, or at least register 0x4C, and you can read them back from either index. Or else the demo fails to detect the GUS. So add this alias, but only if enabled in dosbox.conf. Real hardware testing is required to know if the actual GUS behaves this way and which versions. (joncampbell123).
- Move the INT 3 default vector to well within the initial 16 bytes of the DOS kernel, away from the List of Lists and SFT. The previous placement caused certain versions of Windows 3.2 (yes, the Chinese version) to crash on startup. (joncampbell123).
- When using the running program to name screenshots and such, filter out all invalid characters so that Windows users can take snapshots even if junk characters are there (joncampbell123).
- DOS FAT driver: If INT 13h reports disk change, adapt floppy disk geometry to new disk image according to media byte. This allows DS_BLISS to present it's 720K fake floppy even if the user initially mounted a 1.44MB floppy to drive A: (joncampbell123).
- INT 10 mode list: Add "pitch" parameter. If nonzero, the value (in pixels) is how to program the pixels per scanline when setting the mode.
- VESAMOED: Add -pitch option to control the pitch (pixels per scanline). The intent is to work around DOS games that assume nonstandard pixels per scanline by allowing the VESA BIOS mode to use a different one. For example, Line Wars II has an S3 acceleration mode that uses 800x600, but for whatever reason, assumes the video mode is 1024 pixels per scanline, and will render garbled graphics if that is not the case. (joncampbell123).
- S3 emulation: Follow S3 Trio64 documentation and mask the Linear Window Position bits according to the size of the memory. You can only place it on a multiple of the memory size. This silences warnings caused by Line Wars II which appears to modify only the upper byte but not the lower when modifying this register, which then leaves 0xA0 in the lower half. That lower half would be ignored for 1MB or larger video memory sizes. (joncampbell123).
- S3 XGA emulation: Add XGA acceleration for 4bpp packed 16-color SVGA modes. A CAD package has S3 support drivers that use the 16-color 4bpp packed modes and expects XGA acceleration to work. (joncampbell123).
- Add "-o int13" option to IMGMOUNT to direct the FAT driver to do all disk I/O through INT 13h instead of directly. This is intended for certain demoscene productions that apparently like to make files appear out of thin air by intercepting INT 13h floppy disk I/O and then asking MS-DOS to run something from it. Hack for "DS_BLISS" demo. (joncampbell123).
- Fixed crash when a language file is loaded on a Windows host with US keyboard (maron2000)
- Added Added sharp-bilinear Direct3D shader (RibShark)
- Pass output dimensions to Direct3D shaders (RibShark)
- Fixed BPB of floppy images made by IMGMAKE command (maron2000)
- Fixed timestamp of volume label changed by LABEL command (maron2000)
- Fixed pathname issues when mounting differencial VHD images (maxpat78)
- Corrected relative/absolute track offset in subchannel data for CD-ROM images (RibShark).
- Fixed particular dead keys were not working to input characters with diacritics (maron2000).
- Enabled "Edit and Continue" option for debug builds of Visual Studio Intel builds (aybe).
- Updated libchdr to latest (treloret).
- Fixed icon in Gnome dock bar (FredBezies).
- add option "[dos] automount drive directories" for Windows builds, this will mount existing drive directories from C to Y drive (aybe).
- fix off-center and off-screen window after entering the configuration tool while using TTF output mode (aybe).
- add menu item for centering window "Video/Center window" (aybe).
- Fixed update-version-number script to patch all *.iss files, not just the specific one it did before, to ensure future releases have correct version numbers. (joncampbell123).
- Updated Nuked-OPL3 code to nukeykt/Nuked-OPL3@cfedb09 (StevenSYS)
- Updated SDL2 library to 2.30.4 (maron2000)
- Fixed TTF mode didn't change to graphic mode when machine = Hercules (maron2000)
- Configuration tool: (aybe)
- more Windows 3.1 look'n'feel (themes w/ host dark mode detection)
- enhance main window layout, it is now visible in its entirety
- fix layout issues, off by one in rectangle drawing functions
- fix 'list iterators incompatible' when pressing the Tab key
- properties/help: sorted alphabetically, mouse wheel scrollable
- remove few rendundant labels, adjust names of some others
- retain 'show advanced options' state throughout session
- SVN r4483: Fix compilation in Visual Studio 2008 (Allofich)
- DOSBox Staging: Decouple CMS and OPL emulations (Allofich)
2024.07.01
- Correction majeure pour macOS Sonoma : Fixe un bug d’affichage des caractères dans les systèmes IME (Input Method Editor).
- Amélioration de la compatibilité macOS : Ajout de builds CI pour ARM (Apple Silicon).
- Correction de compilation : Typecast ajouté pour résoudre un conflit de types (id/int) avec Xcode 15 (macOS 14).
- Compatibilité PC-98 : Support US keyboard pour la touche tilde (Shift+grave).
- Correction de l’émulation Hercules InColor (mémoire planaire).
- Fix de l’intégration Hercules/MDA et restauration du mode de rendu blend.
- Correction du débogueur (commandes VRD et VRT, gestion du temps).
- Allocation mémoire optimisée pour les configurations < 16KB.
2024.07.01
- Correct Hercules InColor memory emulation. Read and write planar behavior was incorrect due to a misunderstanding of available documentation. (joncampbell123).
- Hercules/MDA and InColor integration broke the Hercules blend mode render, fix the render so that adjacent lit pixels are brighter again. (joncampbell123).
- Fix "VRD" debugger command bug that didn't properly render out the rest of the VGA display frame. (joncampbell123).
- Fixed debugger mapper shortcut bug where entering the debugger completes the 1 ms "tick" early, effectively jumping emulator time up to start of the next ms. This might explain the mysterious cases where a program always fails to work unless you are debugging it. (joncampbell123).
- Added debugger command "VRT" which resumes running the guest until vertical retrace. Added for programmers who wish to write something to screen and then see it show up. (joncampbell123).
- Fix IMGMOUNT, when mounting FAT disk images, to provide the DPB the actual media id byte instead of assuming 0xF8 or 0xF0. INT AH=1Ch should now report the proper media id byte for any floppy format, instead of always reporting 0xF0 (1.44MB floppy). (joncampbell123).
- Allow BOOT to load and execute the boot sector of a guest OS even if memory size is too small (in IBM PC emulation, less than 32KB of RAM). MS-DOS 1.x of course will crash if you try that because of the assumptions made in the boot sector, but it's there if you are feeling adventurous or are in an experimental mood (joncampbell123).
- If memsize is 4KB, place the COMMAND.COM PSP segment in the private UMB area instead of the normal MCB allocation chain (joncampbell123).
- DOS kernel will always allocate kernel memory from private UMB area if memory size < 16KB, in order to continue to work (joncampbell123).
- DOS kernel will allocate from segment 0x60 instead of 0x70 if the memory size is less than 64KB. (joncampbell123).
- files= and fcbs= default value now automatically scales according to available conventional memory (640KB or lower) in order for memsize 64KB or lower to free up or memory and run properly. (joncampbell123).
- dosbox.conf files= and fcbs= settings have been changed to allow "0" as a value to mean choose a reasonable default. (joncampbell123).
- Fix bug where DOS kernel crashes on startup because of the initial stack pointer set by BIOS startup that points past available memory when memsize is 64KB or less. (joncampbell123).
- If minimum mcb free is not set and memory size is less than 256KB, automatically set minimum mcb free to minimum mcb segment, in order to release more available memory within the limited space (joncampbell123).
- Do not enable XMS emulation if system memory size is 1MB or less. (joncampbell123)
- DOS drive cache: When listing a directory, defer the filename sort until the entire list is built. This improves directory listing performance in directories with many files. (joncampbell123).
- INT 10h, if instructed, will now use the video parameter table to set standard VGA modes instead of internal logic. (joncampbell123).
- Removed erroneous VGA display compensation code for certain EGA/VGA registers that really only caused incorrect display of the EGA 640x350 4-color mode. (joncampbell123).
- Corrected EGA and VGA video parameter tables by copying the parameters from actual IBM EGA VGA ROM BIOS images. They should be 100% correct now. (joncampbell123).
- Corrected register values and video rendering of machine=EGA 640x350 mode when emulating 64KB of RAM. This should fix rendering and display issues with EGA 640x350 4-color emulation. Also corrected INT 10h character printing functions to filter the color attribute value for 640x350 4-color mode so the DOS prompt does not have alternating colors, in the same manner the real IBM EGA BIOS does. (joncampbell123).
- Fix BIOS screen to use CGA 640x200 2-color mode if machine=ega with less than 128KB of video ram, or machine=ega200, instead of showing a garbled 640x350 display. (joncampbell123).
- Fix memory buffer overrun with machine=ega that can occur with 640x350 mode and less than 256KB of video RAM. (joncampbell123).
- The DOSBox clipboard API (via INT 2Fh) is now disabled by default, because some programs use it's presence to detect whether they are running under Windows. This fixes a program where Norton Desktop 1.0 does not use it's "graphical" text UI elements because it thinks it's running within a Windows DOS box. (joncampbell123).
- Remove unnecessary and useless Win32 fcntl() on some memory typecast to int which is causing a segfault whenever a ZIP file is mounted as a drive with an overlay filesystem atop it. (joncampbell123)
- Update caption control feature to use equivalent APIs on Mac OS. (joncampbell123)
- Add dosbox.conf and menu option to control whether the DOSBox-X window can be seen in screen captures in Windows 7/8/10/11. Windows 11 "Recall" is very concerning and users might not want their DOS gaming to be part of it's memory. (joncampbell123).
- Correct EGA switch readback from port 3C2h to reflect a value of 0x8 instead of 0x9 when machine=ega200 (joncampbell123).
- Correct BIOS data area value that holds the "EGA switches" to reflect 200-line EGA "emulation" when machine=ega200. Value 0x08 instead of 0x09 (joncampbell123).
- Correct mode parameters for CGA 640x200 2-color mode when using machine=ega200 so that it displays correctly. (joncampbell123)
- DOS kernel: Remove fixed hacks for SFT and dynamically allocate the second SFT table for the last N - 5 file handles. Add code to zero SFT table memory to ensure that random data doesn't cause issues. Windows 3.1 is still perfectly fine with it, so the SFT table update and cleanup is complete. (joncampbell123).
- DOS kernel: Move the magic "CON" strings into the first SFT and mimic the 5 default open file handles that every DOS process starts with: CON CON CON AUX PRN. Windows 3.1 is still happy with it, which is good. (joncampbell123).
- DOS kernel: Put the CON driver somewhere else because allowing it to overlap the SFT is messy. Fix SFT generation to match the way that MS-DOS 5.0 does it where the first table is always 5 entries and the second table is always N - 5 entries. Cleanup the DOS memory allocation a bit. So far, Windows 3.1 doesn't have a problem with it. (joncampbell123).
- DOS kernel: Interrupt handler IRET was accidentally placed within the SFT table, move it up to resolve the conflict. (joncampbell123).
- Local DOS drive support: On Windows, if the guest is attempting to create a hidden file, make sure to call the right APIs to create a hidden file on the host. Not only is this needed to create a hidden file, but if the guest tries to create a hidden file and the file already exists as a hidden file, the file creation needs to succeed. Fix for "Facts of Life" by Witan because the demo creates a hidden WITAN.92 every time it is run (joncampbell123).
- XMS: Add dosbox.conf option to XMS driver to switch on flat real mode when a) the XMS driver initializes and/or b) when the XMS driver is called on to move/copy memory. (joncampbell123).
- INT 21h: If a DOS program frees a memory block, and then resizes the freed memory block, reassign ownership of that block to the program as if allocated. This is apparently canonical MS-DOS behavior. Added dosbox.conf option to control whether resizing a freed block silently assigns ownership (default setting) or whether it returns an error. DOS resize memory function for the most part DID assign ownership but not in the case where the size of the MCB was exactly the size requested to resize to. (joncampbell123).
- Sound Blaster: Fix bug where "force autoinit" prevented Sound Blaster playback from working at all, fix for "Jump" by Public NMI (joncampbell123).
- Debugger UI now shows PIC_FullIndex() and whether or not the CPU is in the HLT state. Single stepping does not do anything when the CPU is in the HLT state, so at least let the user know (joncampbell123).
- Keyboard controller (IBM PC): Cancel the IRQ signal upon reading I/O port 60h. The reason for the IRQ, the pending data, was just read, so now there is no point in keeping the IRQ signal up. This fixes Escape key problems with "Cronologia" by Cascada that causes part 3 "Time" to immediately exit and continue to the credits. Part 1 and 2 are not affected by the pending IRQ because those parts mask IRQ 1 and poll the keyboard controller directly. (joncampbell123).
- Fix complexity test code to determine when Odd/Even mode is enabled in all cases and to resolve a problem with garbled scrolling text in the "Vectorballs" part of "Unreal" (joncampbell123).
- M_EGA display mode now applies CRTC BYTE/WORD/DWORD shift to display start address, same as M_VGA, to ensure correct display when demos and games set the CRTC to non-BYTE modes. This fixes page flipping flickering during the "Vectorballs" part of "Unreal" by Future Crew. (joncampbell123).
- Update Configuration GUI to use radio buttons for selection, meaning the circular buttons that resemble those in Windows, not the check boxes. The GUI toolkit had them all along, the Configuration GUI was using check boxes for that for some reason. (joncampbell123).
- Linux ALSA MIDI output: Any attempt to send RESET or other Fx commands to the ALSA library causes a segfault in the ALSA library. Revise the code to send without crashing. (joncampbell123).
- Linux ALSA MIDI output: Add code to list and enumerate the MIDI sequencer devices available so the user can use it to determine what magic numbers to put into the midiconfig setting, especially if the user wants to send MIDI to an external synthesizer. (joncampbell123).
- Suddenly Mac OS 14 and XCode consider the "id" and "int" datatypes different and assigning or returning one to the other is now a compiler error. Add typecast to enable compile on latest XCode. (joncampbell123)
- INT 33 mouse emulation: Add dosbox.conf options to force a specific coordinate system for the DOS game with respect to host/guest mouse cursor integration (getting the DOS cursor to match the host cursor within the window). Add dosbox.conf option where additional adjustments are available. The maximum x/y and max-adjust options are ideal for Lemmings 2, which uses INT 33h in a way that confuses the automatic range detection code used to synchronize cursor position and therefore needs this option, and the first Lemmings as well. (joncampbell123).
- PIT timer: Fix restart_counter(), the delay computation was completely backwards. This is particularly important where it concerns programs that use the PIT to detect the rate at which the Pentium time stamp (RDTSC) advances as the previous code caused wildly inaccurate measurements and bad timing (GRUB bootloader, the Microsoft CD-ROM boot "press a key to boot from CD" message). (joncampbell123).
- IDE: Make sure to set feature/error register to 0x01 when the guest soft or hard resets the IDE devices through the controller. The Linux kernel uses a soft/hard reset on startup to detect PATA devices and if it does not see the correct value after reset, it will either ignore the device or complain about diagnostic failure and cautiously talk to the primary IDE hard drive while ignoring any ATAPI CD-ROM emulation. This allows the Linux kernel to boot and see the CD-ROM drive. (joncampbell123).
- IDE: Do not clear registers unnecessarily when finishing IDENTIFY DEVICE.
- The BOOT command now supports El Torito "no emulation" booting from a CD-ROM drive, which is needed to boot install CDs for Windows XP, Linux, etc. or Linux-based live CDs. Note that at this time, BOOT only supports "no emulation" and IMGMOUNT only supports "floppy emulation" (joncampbell123).
- INT 13h extensions: If a read was interrupted by an error, update the block transfer count so the caller knows (joncampbell123).
- DOS: Move version parsing farther up, so that the initial DOS version can affect memory layout and tables as needed. (joncampbell123)
- DOS DPB and FAT driver: If the DOS version is 4.0 or higher, write a DOS 4.0+ compatible DPB structure (as DOSBox-X already has been doing since forking from DOSBox). If the DOS version is lower than 4.0, write an MS-DOS 3.30 compatible DPB structure. This allows Popful Mail to run without getting into an infinite loop scanning the DPB linked list when [dos] section ver=3 30 (MS-DOS 3.30), aside from the fact that the game will also run without this change if you set ver=4 0 since the game appears to be aware of the change in structure between MS-DOS 3.30 and MS-DOS 4.0, though for whatever reason the game refuses to run on MS-DOS 5.0 or higher. (joncampbell123).
- IDE: Silently ignore SET FEATURES command 0x03. Any negative response to feature 0x03 causes the Linux kernel to reject the IDE device. (joncampbell123)
- Add support for PIT timer 0 mode 4. Linux kernel 6.1.29 compiled in "tickless" mode uses mode 4 instead of mode 0 as a delay timeout. Prior to this fix, the Linux kernel would switch into tickless mode and then nothing would happen because IRQ 0 would never fire again. See also Linux kernel source code, drivers/clocksource/i8253.c function pit_set_oneshot() to see what I mean. (joncampbell123)
- Windows 95 S3 driver behavior suggests that S3 16-color VESA modes 0x202 to 0x208 are NOT planar modes, but packed modes. Change modes to M_PACKED4 and update modelist building to allow that range even if the dosbox.conf is configured not to list 4bpp packed VESA modes. This fixes Windows 95 S3 driver 16-color modes 800x600, 1024x768, 1280x1024. Noted: Windows 95 is the last version of Windows to support 4bpp packed. Windows 98 and higher refuses to support it and the Display settings will not allow you to select any 16-color mode other than the stock VGA 640x480 16-color planar mode. (joncampbell123)
- Add --load-seg option to BOOT in case any PC-98 game boot floppy expects to be loaded somewhere other than the default. PC-98 game "Private School Adventure" will crash if loaded to segment 0x1FC0 but runs fine if booted with --load-seg 0x0FC0 instead. (joncampbell123)
- Add dosbox.conf option to direct the EMS page frame segment, in a limited fashion, though only effective for PC-98 mode. PC-98 segment is still 0xD000 by default, but apparently there are games that require the EMS page frame to exist at 0xC000. For these games, you can now set under the [dos] section "ems frame=C000". (joncampbell123)
- Restored libslirp support for 32-bit MinGW CI builds which was temporarily dropped in 2024.03.01 release. Also since MinGW plans to gradually phase out 32-bit support, added code to manually build on our own. (maron2000)
- Fixed build errors of Windows installers. Windows Vista support for standard installer is dropped to fix this issue. Vista users can either use the XP installer or portable builds instead. (maron2000)
- Fixed compile error of speexdsp/fftwrap.c on gcc-14 (maron2000)
- PC-98: Fixed US keyboard support for tilde (Shift+grave) key (maron2000)
- Fixed DOSBox-X freezed when codepages regarding EGA18.CPX were set (maron2000)
- Fixed CUE sheets of GOG games were rejected. Still requires "-t iso" or "-t cdrom" option for uncommon file extensions except ".CUE". (maron2000)
- Added loongarch64 support (donmor)
- Disable FP exceptions in a portable way (xry111, donmor)
- Added "*.ccd" in file open dialog (maron2000)
- Added CI builds for ARM mac (maron2000)
- Bump tinyfiledialogs to ver 3.17.4 (maron2000)
- Obtain geometry info of non-standard sized floppy from BPB (maron2000)
- PC-98: Implemented int 18h ah=47h,48h,49h (nanshiki)
- Added breakpoint type "Freeze memory" (Enmet)
- Implemented seeking in MSCDEX (Imported from dosbox-staging/dosbox-staging#3516 authored by weirddan455)
- Fixed built-in COPY command failed to obtain free space when reported DOS version is set to 7.1 (maron2000)
- Fixed some file extensions in the filter list were ignored in the file open dialogs (maron2000)
- Fixed mounting a non-FAT VHD image (maxpat78)
- Fixed VHD geometry detection (maxpat78)
- Fixed issue that IMGSWAP command did not work for CD drives. (maron2000)
- Fixed loaded language file unexpectedly changes on launch. (maron2000)
- Fixed reported size issues in builtin DIR command (maxpat78)
- Added missing language file in Windows standard & XP installers. (maron2000)
- Fixed a bug in IME character display on macOS Sonoma (nanshiki)
- Fixed build errors of SDL1 code when built with gcc-14 (maron2000)
- Fixed static link errors of libslirp >= 4.8.0 (maron2000)
- PC-98: Added MEM command for PC-98 mode (maron2000)
2024.03.01
- Ajout d’un type d’image CD-ROM vide (IMGMOUNT e: empty -t iso) et d’un type d’image disquette vide (IMGMOUNT 0 empty -t floppy -fs none).
- Correction de la gestion des erreurs de lecture pour les lecteurs CD-ROM vides en émulation IDE.
- Correction des problèmes liés à l’overlay de débogage vidéo (alignement de la souris, plantages en 15/16 bpp SVGA, affichage des infos de débogage).
- Support du mode "SuperMegaZeux" (256 couleurs) pour MegaZeux, activable via enable supermegazeux tweakmode=true dans dosbox.conf.
- Correction de la gestion des partitions pour DOOM II en mode PC-9821 et du mode 256 couleurs pour Shamat, The Holy Circlet.
- Amélioration de l’émulation PC-98 : gestion correcte du timer 302 kHz, du port 9A0h, du cadre tampon linéaire (PEGC), et de la compatibilité avec les pilotes CD-ROM NEC.
- Correction de l’initialisation des builds macOS Apple Silicon (M1/M2) et résolution des crashes liés aux bibliothèques manquantes (dylibs).
- Correction du crash lors du passage en plein écran avec output=opengl sur macOS Intel.
- If an empty CD-ROM drive is attached to IDE emulation, return "Medium Not
Present" instead of a read error, when asked to read. (joncampbell123).
- Add "empty drive" CD-ROM image type "IMGMOUNT e: empty -t iso" as a way to emulate an empty CD-ROM drive with no disc in the drive. (joncampbell123).
- Add "empty drive" floppy image type "IMGMOUNT 0 empty -t floppy -fs none" as a way to emulate a floppy drive with no disk in the drive. (joncampbell123).
- Video debug overlay: Fix mouse integration misalignment when the video debug overlay is enabled while Windows is running (joncampbell123).
- Video debug overlay: Fix segfault when enabled with 15/16bpp SVGA modes. (joncampbell123).
- Video debug overlay: Fix bug where video debug failed to appear in SVGA 15/16/24/32bpp display modes because of a design where the VGA drawing code points directly at video RAM except when drawing the hardware cursor. One symptom was that the video debug info on the side failed to appear at all, unless running in Windows and only within the vertical range of the mouse cursor. (joncampbell123).
- Video debug overlay: Do not bother showing the Attribute Controller palette in 15/16/24/32bpp SVGA modes because it doesn't matter there and is not involved with how anything is displayed. (joncampbell123).
- Video debug overlay: Fix debug info text to appear for 15/16/24/32bpp SVGA modes. (joncampbell123).
- BOOT --bios no longer triggers a system reset VM event, but instead just jumps to the new BIOS image after DOS kernel shutdown. This is needed for hardware and resources to stay as they were when running the BIOS i.e. keeping any IDE devices configured within the DOS kernel intact so that the BIOS can find and use them. Prior to this change, all hardware was fully reset and unmapped prior to running the BIOS which made IDE emulation unusable with BIOS images. (joncampbell123).
- BOOT --bios no longer immediately loads the new BIOS into memory, but instead loads and stores the image to a temporary buffer. The ROM image does not actually get mapped in until the DOS kernel and everything else has had a chance to shut down fully. (joncampbell123).
- Fix BOOT --bios not to try to load PC-98 ITF firmware unless actually running in PC-98 mode (joncampbell123).
- Write PC-98 keyboard translation table (non-shifted) in ROM BIOS and set the keyboard translation table pointer in the BIOS data area for "Nut Berry". This Nut Berry game also assumes lookup and translation tables exist at specific locations in the ROM BIOS, so put those tables there. The shift state table in BIOS has also been added, though at the moment, the tables are incomplete. (joncampbell123).
- MegaZeux from the MS-DOS days had a 256-color tweakmode that worked on some popular SVGA chipsets of it's time though on others it does nothing but halve the display resolution of text mode. The basic idea is that it makes the VGA card latch two 4-bit outputs of the VGA text mode into one 8-bit value, thus, 256 colors possible. Add support for this. However I am not sure whether this tweakmode is supported by S3 chipsets, so it is OFF by default and you will need to add "enable supermegazeux tweakmode=true" to the [video] section of your dosbox.conf to enable it. (joncampbell123).
- Undo the "no partition offset" change. DOOM II for PC-9821 requires it to work else the page flipping fails and sprites and rendering flickers as you play. (joncampbell123).
- Allow text layer to appear in PC-98 256-color mode. Even though I was unable to enable it on real hardware, "Shamat, The Holy Circlet" requires having the text layer visible on top of 640x400 256-color mode for the introductory scrolling text to appear on screen. So for now, just allow it. (joncampbell123).
- The reason some PC-9821 games have been giving bad PITCH values (double the correct value) to the GDC in 256-color mode has been determined. They read port 9A0h to determine if the GDC is running at 5MHz or not. That port 9A0h index was not implemented and therefore gave the game the impression it was running at 5MHz when it was not, therefore the doubled PITCH value. This fix corrects the squeezed 256-color mode and allows it to appear properly. (joncampbell123).
- IMGMOUNT: If the file extension is HDI, assume a hard disk image even if the image file is small enough to qualify as a floppy disk image. There is an HDI image of PC-98 game "D.O. Doki Doki Disk 8" that is 2.2MB, small enough to be mistaken as a 2.88MB IBM PC floppy disk and therefore fail to mount as an HDI image, this change fixes it. (joncampbell123, maron2000).
- Emulate PEGC PC-98 linear framebuffer at both 0xF00000-0xF7FFFF (at 15MB memory mark) but also make it appear at top of memory below BIOS (normally at 0xFFF00000-0xFFF7FFFF). Some 32-bit PC-9821 CD-ROM MS-DOS games assume the top of memory alias and will fail to show anything on screen without it (unless, alternatively, the memalias setting is set to emulate 24 address lines like a 386SX). Now to figure out why these same games are programming a GDC PITCH value that's double what it should be... (joncampbell123).
- PC-98 GDC scan offset no longer pays attention to scan offset of data partition in 256-color mode. Required to help fix broken 256-color graphics for some PC-98 CD-ROM games. (joncampbell123).
- Refuse to enable ISA 15MB-16MB memory hole if memalias is set to 24 bits or less. Not only is it redundant to do that but it also causes the BIOS to immediately crash on startup. (joncampbell123).
- IDE ATAPI CD-ROM emulation: In PC-98 mode when emulating a NEC CD-ROM drive, also limit sector reads to one CD-ROM sector per DRQ because the MS-DOS driver assumes that behavior. The driver will stall and error out if it requests a multi-sector read and the drive does NOT limit transfers to one sector at a time per IDE data transfer. This is in line with my experience writing the DOSLIB IDE testing program and laptops from the 1990s with IDE ATAPI CD-ROM drives, so it's understandable. (joncampbell123).
- The reason the CD-ROM driver in PC-98 game HDI images refused to talk to our IDE CD-ROM emulation is... (drumroll) we didn't report ourself as an NEC CD-ROM drive when given the MMC INQUIRY command. Yes, really. The OAK CD-ROM driver in these HDI images really does care whether or the drive is an NEC brand drive. What a stupid reason not to talk to a CD-ROM drive. Add code to default to "NEC" "CD-ROM DRIVE" as the INQUIRY result if running in PC-98 mode. (joncampbell123).
- Add basic rudimentary support for CloneCD (*.ccd *.img) images. It might not work with more complex arrangements but it is enough for most CD-ROM PC-98 games so far. (joncampbell123).
- libpng supports the pHYs PNG chunk which describes the pixel aspect ratio of the PNG image. libpng 1.6 has it, use it. Programs that support the information like FFMPEG will then display the PNG image with the correct aspect ratio. (joncampbell123). [https://github.com/joncampbell123/dosbox-x/issues/4754]
- PC-98 mode: There is a 302KHz timer behind I/O ports 5Ch/5Eh that some MS-DOS drivers depend on for timing, particularly a popular IDE CD-ROM device driver in many PC-98 game HDI images. This change allows the driver to time out after about 5-10 seconds instead of an infinite hang. (joncampbell123)
- Fix INT 10h to keep hardware CRTC I/O port synchronized with BIOS DATA area copy so that other parts of INT 10h called by SetVideoMode do not accidentally talk to the wrong I/O ports. This fixes corrupted INT 10 Mode F display (640x350 monochrome graphics mode). (joncampbell123).
- Add DOS Int21 0x5D 0x00 - remote server call Inspired by FeeDOS inthndlr.c With this change it is possible use a plain dosbox-x to install and run Windows for Workgroups V3.11 as an IPX server on the pcap ne2000 interface offering a host directory for read and persistent write access to an MSDOS machine running a WfW 3.11 IPX network client. Please don't forget mounting with -nocachedir (Issue #4162)(Yogi-baer)
- Fix missing keystroke SDLK_LESS on DE keyboard on Raspbian OS (Yogi-baer)
- Fix crash when loading a language file without existing menu item "ttf_extcharset" (Yogi-baer)
- Change ISA memory hole 512kb option from boolean to true/false/auto. (joncampbell123)
- Add ISA memory hole 15mb option, make it true/false/auto. Auto means off for IBM compatible mode and on for PC-9821 compatible mode. This should allow some DOS games that depend on the linear framebuffer to work properly even if memsize=16 or higher. (joncampbell123)
- MIDI: set minimum sysex delay when enabled (mistydemeo)
- International support in LABEL, COPY, DEL builtin commands (maxpat)
- Fix palette setting bugs due to SETCOLOR fix in 2023.10.06 release. (maron2000)
Graphical glitches in Ultima VI(#4507), Chessmaster 3000(#4510), Wizardry VII(#4534)
Crash Sid Meyer's Civilization I (#4511)
TTF color settings regarding 'colors' option (#4579, #3318) and some more - Fix crash when mounting floppy/ISO images with no extension (maron2000)
- Fix Intel macOS CI builds crashed on startup due to missing dylibs (Issue #4438)(maron2000)
- Fix TTF mode didn't switch to graphics mode on certain types of machines such as tandy/pcjr.(Issue #4559)(maron2000)
- Fix crash on switching to fullscreen when output=opengl (Intel macOS) (maron2000)
- Update DXCapture shell command to support /O for OPL capture (AranVink)
- Fix floppy images lock bug (maxpat78)
- Fix type of return value at bool MountFat() (jg1uaa)
- Fix VHD geometry bugs by performing MBR analysis (maxpat78)
- Change maximum number of joystick buttons allowed by the mapper (mattcaron)
- Enable Win9x support on a Pentium3 PC (crazii)
- Add PC98 image extensions in file open dialogs (maron2000)
- Fix input in configuration tool (SDL2) (maron2000)
- Reduce warnings by replacing sOffset (use offsetof) (jg1uaa)
- Fix LFN functions (nanshiki, SmileTheory) Fixed a bug in which 2 extra bytes were copied to the buffer (ax=714eh,714fh). Fixed wrong value of date/time etc. in file information (ax=714eh,714fh,71a6h). Fixed date/time conversion to be correct (ax=71a7h) Report correct file size on win32 when file is open (ax=71a6h).
- Fix C++11 uncompliant codes (midi_alsa.h, gamelink.cpp) (maron2000)
- Consider function key display in MORE command (PC-98) (maron2000)
- Add support for J-3100 video mode 75h (nanshiki)
- Reflect drawing status bit of GDC status I/O port (PC-98) (nanshiki)
- Re-enable top line dimming when focus is lost in fullscreen (TTF mode) (maron2000)
- Fix PC98 mouse counter value range to unsigned value (0-255) (nanshiki)
- Added function for int DCh cl=10h ah=0Ah to 0Eh (nanshiki)
- Added escape sequences (ESC[0J ESC[1J ESC[0K ESC[1K ESC[2K ESC[nL) (nanshiki)
- Fixed behavior of Kanji character output at the right edge of screen (nanshiki)
- Fixed Media ID was being written to an incorrect location in DPB (nanshiki)
- Refined version info (maron2000)
- Added PC-98 NEC mouse functions in INT33h (nanshiki)
- Bump Nuked-OPL3 code to commit 730f8c2 (13 Nov. 2023) (maron2000)
- Enabled OPL pass-through code (oplmode=hardware)(dbjh)
- Fixed crash on startup due to SDLnet library linked externally (macOS) (maron2000)
- Changed PC-98 floppy boot behavior when Drive 2 is mounted before Drive 1(maron2000)
- Added Human68k ver.1.0&2.0 floppy disk support (maron2000)
- Fixed attribute copy behavior of FreeDOS XCOPY.exe to match genuine DOS (maron2000)
- Added Russian translation (Lartenik)
- Fixed COPY/XCOPY command fails to recognize 2GB+ free disk space (maron2000)
- Enable FONTX2 files in PC-98 mode (nanshiki)
- Fix codepage switching when loading lang files (maron2000)
- Add missing quotation marks in vcxproj (bredbored)
- Fixed BPB detection of PC-98 floppies (maron2000)
- Changed sequence to boot with drive numbers when booting from image (maron2000)
- Added force JIS (JP106) keyboard layout option in PC-98 mode (maron2000)
- PC-98: Enable mounting partitions with non-genuine IPL entry names (maron2000)
- Added support for XDF disk format (maron2000)
- Added ESFM emulation (ESFMu v1.2 core) (Kagamiin)
- Added support for ESS "ESFM" sound synthesis (oplemu=esfmu, oplmode=esfm) (Kagamiin)
- Added experimental/WIP support for the ESS ES1688 sblaster type (sbtype=ess1688) (Kagamiin)
- Delete obsolete information regarding "INTRO SPECIAL" option (maron2000)
2023.10.06
- Ajout de commandes de débogage VGA pour forcer un redessinaage de l’écran et définir une adresse de démarrage vidéo.
- Correction du gestionnaire FAT DOS pour monter des partitions non formatées après utilisation de FDISK, reproduisant le comportement de MS-DOS.
- Prise en charge de l’option PITSYNC dans VFRCRATE pour synchroniser les interruptions du timer système avec le taux de rafraîchissement VGA.
- Correction d’un crash à l’ouverture sur macOS lorsque l’option output=surface ou auto est utilisée avec SDL2.
- Mise à jour de la bibliothèque SDL2 intégrée vers la version 2.28.2.
2023.10.06
- Add "VRD" debugger command to force redraw of the VGA screen.
- Add VGA debug set commands to force a video start address and another to clear all debug settings.
- Add "PITSYNC" option to VFRCRATE command. "VFRCRATE PITSYNC ON" directs the system timer interrupt to synchronize tick rate with vertical refresh rate of VGA emulation if the game or demo set the timer tick rate to a value close enough to vertical refresh. This is intended for games or demos that use the system timer for a vsync interrupt.
- IMGMAKE: Fix bug where if -bat was specified, the generated .bat file would attempt to mount the .bat file, not the disk image.
- IMGMAKE: If -nofs and -bat was specified, the generated .bat file will refer to "IMGMAKE 2" instead of "IMGMAKE C"
- DOS FAT driver: When the guest sends in a new BIOS Parameter Block, recalculate the disk locations and FAT type properly instead of assuming that FORMAT.COM is using the same format already present.
- DOS FAT driver: If the partition is unformatted and looks as if freshly written by FDISK, then instead of failing to mount, mount the partition instead as an unformatted partition and fail file I/O until a BPB is set and the partition formatted by FORMAT.COM. This matches MS-DOS behavior and it makes it possible to mount an image, FDISK it, restart, FORMAT.COM the unformatted partition, and end up with a working drive letter (just like MS-DOS). So far verified against MS-DOS 6.22 and Windows 98 versions of FDISK, FORMAT, SYS, and SCANDISK.
- DOS FAT driver: Add options -o sectoff and -o sectlen to make it possible to manually specify the start and length of a partition. Future code will use this internally as well.
- IMGMOUNT: Allow *: as a drive letter to mean automatically pick a drive letter.
- Fix debugger to use toupper(), but only for ASCII range ncurses keycodes.
- Timer PIT: If the guest writes the counter value while the counter gate is off, make sure the counter read back is the same value written regardless of gate status. Prior code returned the stale latched value of the counter as it was prior to shutting off the gate and writing the counter, causing timing issues.
- Fix restoring minimized window on TTF output (Issue #4248) (maron2000)
- Fix macos crash on launch when output=surface or auto (SDL2) (maron2000)
- Update in-tree SDL2 library to ver 2.28.2 (maron2000)
- Updated build tool for MinGW lowend builds required for the updated SDL2 library. As a result, MinGW lowend builds are now able to enable debugger features. (maron2000)
- Debugger RUN and RUNWATCH commands were broken, fix. Make sure debugger shortcut triggers execution to stop whether in RUN or RUNWATCH mode.
- Fix SETCOLORS command didn't change color when output=ttf.(Issue #4503) Also fixed the values reported were wrong. (maron2000)
- BIOS CMOS date/time functions will now idle the CPU 4 times after reading or setting the clock to allow interrupts, CPU time, and RTC clock ticks to proceed normally. This fixes "Pizza Tycoon" and allows it to continue past the initial logo. (joncampbell123)
- Fix segfault when mounting hard disk images with no file extension (joncampbell123).
2023.09.01
- Ajout d’un mode de redirection IPX pour les jeux MS-DOS/Windows 95 via tunnel IPX, avec support MAC personnalisé et backend "nothing" pour la compatibilité réseau.
- Correction du clavier Ins bloqué et du calcul des horodatages DOS/CMOS pour éviter les divergences temporelles.
- Amélioration des images disque VHD (Dynamic/Differencing) et ajout du support de la carte son IBM Music Feature Card.
- Détection automatique des claviers non-US sur macOS/Linux avec activation de usescancodes=true.
- Fix de la détection du jour de la semaine (INT 21h) et des commandes DOS KEYB/CHCP.
2023.09.01
- Disable by default message confirmation after snapshot and AVI video capture, but leave the option there for those who want to enable it (joncampbell123).
- Remove "LOG: Logging output has been disabled." output when -nolog is specified on the command line (joncampbell123).
- Fix stuck Ins key problems by fixing a typo in src/ints/bios_keyboard.cpp. The code is supposed to clear the "Ins key down" flag, but instead cleared all bits EXCEPT "Ins key down" (joncampbell123).
- NE2000 macaddr default is now "random", which instructs the NE2000 hardware at startup to pick a random MAC address. (joncampbell123).
- IPX: If NE2000 and IPX are enabled, and an IPX tunneling connection is active, and the user boots a guest OS, switch on a mode where all IPX packets going to and coming from the guest are re-routed through the IPX tunnel instead of to the NE2000 ethernet backend. This feature makes it possible to play IPX-based games in a guest OS like MS-DOS and Windows 95. (joncampbell123).
- IPX: Add extension to server to allow clients to register their own MAC address instead of using the default MAC address given by their IP address and port number. The extension is designed so that if DOSBox-X is a client to another DOSBox fork's IPX tunneling server, it will be ignored and DOSBox-X will get the usual MAC address instead. This extension is required for guest OSes to be able to use the IPX protocol through the NE2000 card given upcoming code changes as they normally use the network card MAC address when picking an IPX address because the IPX interface is not available once booted into a guest OS. (joncampbell123).
- IPX client: If both IPX and NE2000 emulation are enabled, IPX emulation will use the NE2000 card's MAC address instead. It will use the IPX server DOSBox-X extension to try. If it doesn't work, then the normal MAC address assignment is accepted without complaint. (joncampbell123).
- NE2000: Add "nothing" backend. It receives nothing and send packets go nowhere. If no other backend is available, this backend is a fallback so that at least the NE2000 emulation can work. The other purpose of a nothing callback is to give NE2000 something to talk to for those who wish to use the upcoming IPX packet redirection to link DOS and Windows games over the IPX client or server connection to other instances of DOSBox. (joncampbell123)
- Added record function to capture NE2000 network traffic to a pcap/Wireshark file in the capture directory. (joncampbell123)
- Fixed bug where guest VM reset causes the CMOS to stop ticking for exactly the amount of time it was running before reset. (joncampbell123)
- Added alarm interrupt function to RTC CMOS emulation (joncampbell123)
- Reverted DOS to using the BIOS_DATA tick count for time and the cached copy of date it keeps internally, rather than always calling INT 1Ah. It turns out that is how DOS actually behaves, which is also why it is possible for the DOS and CMOS RTC to diverge. Fix CMOS emulation to allow get/set time and to run in emulation time, not real time, though the clock starts from the host time. (joncampbell123)
- Fixed VHD disk image calculation of footer position and, thus, of newly allocated block position. (maxpat78)
- Enhanced Dynamic and Differencing VHD support #4273 (maxpat78)
- Imported IBM Music Feature Card support from DOSBox Staging. (Allofich)
- Fix IMGMAKE large size image error on MinGW builds (maron2000)
- Set usescancodes=true when non-US keyboards are detected. (Linux / MacOS builds) (maron2000)
- Fix day of week detection (INT 21h function 0x2Ah). (maron2000)
- Refine KEYB and CHCP command (maron2000)
- Use segment descriptor's big flag (if present) when disassembling code in the debugger code view (cimarronm)
- Add decoding of rdmsr/wrmsr instructions to disassembler (cimarronm)
- Fix disassembly for far jmp/call decoding (cimarronm)
- Fix memory limits on expand-down segment descriptors (cimarronm)
- Bump tinyfiledialog to ver 3.13.3 (maron2000)
- Fix mouse column limit on text mode (issue #4353) (maron2000)
- Fix Blocek launching failure (issue #4385) (maron2000)
- Bump in-tree FreeType library to ver 2.13.1 (maron2000)
- Enable debugger function for MinGW builds (maron2000)
Réagir sur le forum
Une question, un retour d’expérience ? Ouvrez la discussion sur le forum.