3 Reusable Code Snippet Topics

Remove Filter
Member Avatar for
Member Avatar for ShiftLeft

For those interested in operating system development, this snippet tests status of A20. It is the line that allows memory beyond 1 meg to be addressed, otherwise it will just wrap around which some applications and versions of DOS depend on. My bootloader **MBR1_44** has switched system to protected (*32 …

0
286
Member Avatar for vegaseat
Member Avatar for Assembly Guy

**NOTE** This code won't work at the application level. It directly addresses memory at 0xB8000 which will result in a segfault at the application level. This code must be part of an OS or an application in a not-so-secure operating system like DOS, where applications can directly address any part …

Member Avatar for Assembly Guy
0
450

The End.