Skip to content

Commit

Permalink
explain
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jul 9, 2024
1 parent a258e3b commit 15f4643
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dos/drive_fat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3667,6 +3667,11 @@ void fatDrive::clusterChainMemory::clear(void) {
void fatDrive::checkDiskChange(void) {
bool chg = false;

/* Hack for "Bliss" by DeathStar (1995).
* The demo runs A:\GO.EXE, but the floppy disk doesn't actually exist, it's brought into
* existence by intercepting INT 13h for floppy I/O and then expecting MS-DOS to call INT 13h
* to read it. Furthermore, at some parts of the demo, the INT 13h hook changes the root
* directory and FAT table to make the next "disk" appear, even if the volume label does not. */
if (loadedDisk->detectDiskChange() && !BPB.is_fat32()) {
LOG_MSG("FAT: disk change\n");

Expand Down

0 comments on commit 15f4643

Please sign in to comment.