-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: FDISK not working on korean MSX computers
The problem (visible at least in the Daewoo CPC-400) is that the CHPUT routine is supposed to not modify the IX and IY registers, but in this computer it does since it does an inter-slot call to an internal slot (presumably to handle korean characters); this causes the PRINTF routine used by FDISK to crash. Additionally, a small hack is added to print one less "-" character in the upper and lower rulers when that inter-slot call is performed, otherwise the FDISK screen isn't printed properly (it introduces an additional line break for some reason).
- Loading branch information
Showing
4 changed files
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,5 +43,6 @@ | |
#define DAC 0xF7F6 | ||
#define SCRMOD 0xFCAF | ||
#define EXPTBL 0xFCC1 | ||
#define H_CHPH 0xFDA4 | ||
|
||
#endif //__SYSTEM_H |