Skip to content

Commit 2d7efc4

Browse files
ecm-pushbxPerditionC
authored andcommitted
loadhigh_prepare: support lDOS S MCB of type 30h (excluded UMA)
1 parent 5567902 commit 2d7efc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shell/loadhigh.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ static int findUMBRegions(void)
339339
{
340340
sig = mcb->mcb_type;
341341

342-
if (mcb->mcb_ownerPSP == 8 && !_fmemcmp(mcb->mcb_name, "SC", 2))
342+
if (mcb->mcb_ownerPSP == 8
343+
&& (!_fmemcmp(mcb->mcb_name, "SC", 2)
344+
|| !_fmemcmp(mcb->mcb_name, "S\x00\x30", 3))) /* lDOS S MCB type 30h */
343345
{
344346
/* this is a 'hole' in memory */
345347
if (region->start)

0 commit comments

Comments
 (0)