'*****************************************************************************
'* INT 10H AH=11h (VGA BIOS) CHARGEN MANAGEMENT
'*****************************************************************************

protected function Exec as boolean

select case cpu.AL 
case 0 //obtain screen info //TODO
 cpu.CX=1 : cpu.DX=24 //rows
case 0x30 //get font info
 cpu.CX=2 : cpu.DL=mem.Byte(0x484) 
 cpu.ES=0xC000 : cpu.BP=0x1000
 //dbg.break
case else : exit(false)
end select

//success
result=true : end