1. Re: Newbie Alert!
Mic just wrote:
>You mean the screen border? Here's how to set a "borderless" (the screen
>border color is actually mapped to color 0, wich usually is black) mode 19
It is actually mapped to color 16, which is by default also black. jiri :)
include machine.e
procedure set_border_color(integer color)
-- for mode 19 only: screen border color is normally 16
sequence regs
regs = repeat(0, 10)
regs[REG_AX] = #1001
regs[REG_BX] = color * 256
regs = dos_interrupt(#10, regs)
end procedure