Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Video BIOS shadowing on modern systems. (Users)

posted by CandyMan, 26.12.2023, 19:48

> Thanks for the tip. I'm looking at JEMM and the possibility of modifying it
> to map the vBIOS ROM code using a similar "trick" as is done with the /C
> parameter in moving the 4k BIOS font to (modifiable) XMS memory instead.

;JEMM must be loaded similarly like this (C=specify BIOS fonts region to shadowing):
;DEVICE=JEMM386.EXE C=C800-CDFF
        org     0100h
        xor     eax,eax
        mov     fs,ax
        cmp     [fs:4*67h],eax
        jz      .Exit
        mov     ax,1130h
        mov     bh,6
        int     10h
        mov     eax,es
        shl     eax,4
        movzx   edi,bp
        add     edi,eax
        mov     eax,cs
        shl     eax,4
        lea     esi,[eax+Fonts]
        mov     ecx,256*16
        mov     ax,0xDEFF
        int     67h
        or      ah,ah
        jnz     .Exit
        mov     ax,3
        int     10h
.Exit:  ret

Fonts:  file    "special.f16"

https://megawrzuta.pl/download/a77122f5e01d9d929aa79e761b365f7a.html

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 96 users online (0 registered, 96 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum