Hi, i'm working om a little program for msx-dos that have to work in msx2+ screen modes.
I olready figured out how to call the msx2 subrom from dos, but can somebody please give me a hand how to set screen 10,11 and 12 ?
i use the folowing routine to call the sub rom (recomended way by ASCII)
CallSRom: exx
ex af,af'
ld hl,015fh
push hl
ld hl,0C300h
push hl
push ix
ld hl,021DDh
push hl
ld hl,03333h
push hl
ld hl,00h
add hl,sp
ld a,0C3h
ld (0fdd6h),a
ld (0fdd7h),hl
ex af,af'
exx
ld ix,0066h
ld iy,(0fcc0h)
call 001ch
exx
ex af,af'
ld hl,10
add hl,sp
ld sp,hl
ex af,af'
exx
ret
This little routine sets mode 0 - 8.
SetScreen: ld ix,00d1h
Call CallSRom
ret
Thanks !