Skip to content

Commit

Permalink
[boot] Disable whole-track reads for PC-98, for now
Browse files Browse the repository at this point in the history
We probably need to deal with the NEC PC-98's F2DD_POINTER
(http://www.webtech.co.jp/company/doc/undocumented_mem/memsys.txt)
to properly configure whole-track reads on that platform.
  • Loading branch information
tkchia committed Aug 13, 2022
1 parent d8bacf3 commit d5e2e3c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bootblocks/boot_sect.S
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@
//
// Whole-track reads are disabled for the FAT bootloader because we are a
// bit short of code space :-(
#ifndef BOOT_FAT
//
// Whole-track reads are also disabled for the NEC PC98 platform for now;
// it seems that, instead of a DDPT, we need to frob the PC98's F2DD_POINTER
// (http://www.webtech.co.jp/company/doc/undocumented_mem/memsys.txt)
// mechanism for configuring the "end of track" value; we will need to
// somehow figure out this mechanism and test it :-( :-(
#if !defined BOOT_FAT && !defined CONFIG_ARCH_PC98
# define FAST_READ
#else
# undef FAST_READ
Expand Down

0 comments on commit d5e2e3c

Please sign in to comment.