: (5) EGA/VGA specific: support for DR-FONTS
: (thanks to John Elliott, who submitted the changes)

  This is broken :-(

- You've missed a line in the bit that skips over fonts of unknown size. 
EGAR.ASM lines 316-321 should read:

        mov     ah,al
        xor     al,al
        add     ax,6
        add     si,ax   ; <-- this line is missing
        clc
        ret

- In ReadSubs at line 397, there's a 

        jc      ReadCodepageError

 which I think may need to be

        jc      ReadCodepageDisplayError  
 
- Something horrible happens to the first codepage loaded the second time
 it is selected. For example:

MODE CON CP PREPARE=((437,850) EGA.CPX)
MODE CON CP SELECT=437
MODE CON CP SELECT=850
MODE CON CP SELECT=437

  The second time CP437 is selected, the video font will be replaced with 
random data. If I swap the order over:

MODE CON CP PREPARE=((850,437) EGA.CPX)
MODE CON CP SELECT=850
MODE CON CP SELECT=437
MODE CON CP SELECT=850

  then it's CP850 that gets corrupted, and CP437 remains untouched.

-- 
John Elliott

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to