This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[bits 16] | |
; X86_BOOT.ASM | |
; | |
; Written by Jonathan Love, 2017 | |
; In my third/fourth/more attempt at actually getting to Protected Mode | |
; | |
; Bootloader for x86 MBR booting | |
; | |
; For interrupt codes, refer http://www.ctyme.com/intr/int.htm | |
; For data ports, refer to Intel's PCH Documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// | |
// Return an array of cells that match a reference string in the input_cell | |
// Example: | |
// W | 5 | |
// X | 3 | |
// Y | 6 | |
// Z | 5 | |
// | |
// | |
// SWIZZLE_ARRAY("WXX", A1:D2) will return [A2,B2,B2] |