Skip to main content

initialise_bda

Function initialise_bda 

Source
pub fn initialise_bda(mem: &mut impl BiosMemory)
Expand description

Installs the BIOS data area fields a DOS boot reads.

The image receives a 640 KiB machine with one 1.44 MiB floppy, an EBDA segment, a home cursor on page 0, an 80x25 colour text mode, a 0x03D4 CRTC port and a zero tick counter. Writes that the adapter refuses are ignored: the helper never panics.