File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2025 Return Infinity
3+ Copyright (c) 2026 Return Infinity
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1- ===============================================================================
2- Pure64 -- a 64-bit loader written in Assembly for x86-64 systems
3- Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
4- ===============================================================================
5-
6-
7- PROJECT ADMIN (MAIN CODE AND DOCUMENTATION)
8-
9- * Ian Seyler -- ian.seyler@returninfinity.com
10-
11-
12- DEVELOPMENT AND TESTING
13-
14- * Members of OSDev.org
15-
16-
17- ===============================================================================
1+ ===============================================================================
2+ Pure64 -- a 64-bit loader written in Assembly for x86-64 systems
3+ Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
4+ ===============================================================================
5+
6+
7+ PROJECT ADMIN (MAIN CODE AND DOCUMENTATION)
8+
9+ * Ian Seyler -- ian.seyler@returninfinity.com
10+
11+
12+ DEVELOPMENT AND TESTING
13+
14+ * Members of OSDev.org
15+
16+
17+ ===============================================================================
Original file line number Diff line number Diff line change 11; =============================================================================
22; Pure64 MBR -- a 64-bit OS/software loader written in Assembly for x86-64 systems
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; This Master Boot Record will load Pure64 from a pre-defined location on the
66; floppy drive without making use of the file system.
@@ -149,13 +149,13 @@ VBESearch:
149149
150150 ; Read the 2nd stage boot loader into memory.
151151 ; Load 4 cylinders - 7 sectors
152- mov byte [ cylinder ], 0
152+ mov byte [ cylinder ], 0
153153 mov word [ sec_buff ], 0x7E00 ; For simplicity load whole cylinder but jump to 0x8000
154154 call load_sector
155155 mov byte [ head ], 1
156156 mov word [ sec_buff ], 0xA200
157157 call load_sector
158- mov byte [ cylinder ], 1
158+ mov byte [ cylinder ], 1
159159 mov byte [ head ], 0
160160 mov word [ sec_buff ], 0xC600
161161 call load_sector
Original file line number Diff line number Diff line change 11; =============================================================================
22; Pure64 MBR -- a 64-bit OS/software loader written in Assembly for x86-64 systems
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; This Master Boot Record will load Pure64 from a pre-defined location on the
66; hard drive without making use of the file system.
Original file line number Diff line number Diff line change 11; =============================================================================
22; Pure64 PXE Start -- a 64-bit OS/software loader written in Assembly for x86-64 systems
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; This is a stub file for loading Pure64 and a kernel/software package via PXE.
66;
Original file line number Diff line number Diff line change 11; =============================================================================
22; Pure64 MBR -- a 64-bit OS/software loader written in Assembly for x86-64 systems
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; This Master Boot Record will load Pure64 from a pre-defined location on the
66; hard drive without making use of the file system.
Original file line number Diff line number Diff line change 11; =============================================================================
22; UEFI loader for Pure64
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; Adapted from https://stackoverflow.com/questions/72947069/how-to-write-hello-world-efi-application-in-nasm
66; and https://github.com/charlesap/nasm-uefi/blob/master/shoe-x64.asm
Original file line number Diff line number Diff line change 11; =============================================================================
22; DMA Driver
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44; Implemented by Isa Isoux -- https://github.com/isoux/BMFLFS
55
66; The DMA controller performs data transfers:
@@ -31,7 +31,7 @@ DMA1_CHR_ADDR EQU 0x81
3131; bl = channel
3232; bh = 1 = read, 0 = write
3333; esi = count
34- dma_IO:
34+ dma_IO:
3535
3636; Examine whether it is writing or reading
3737; what_mode
Original file line number Diff line number Diff line change 11; =============================================================================
22; Floppy Disk Driver
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44; Implemented by Isa Isoux -- https://github.com/isoux/BMFLFS
55
6- ; Here is a minimal simplified version intended only for reading whole floppy
6+ ; Here is a minimal simplified version intended only for reading whole floppy
77; disk into memory or writing back image from memory to whole disk at once.
8- ; Errors are poorly handled due to the simplicity of the handling, one thing
9- ; that can be easily noticed is that the disk is damaged and does not load
8+ ; Errors are poorly handled due to the simplicity of the handling, one thing
9+ ; that can be easily noticed is that the disk is damaged and does not load
1010; completely.
1111
1212; FDC - Floppy Disk Controler
Original file line number Diff line number Diff line change 11; =============================================================================
22; Pure64 -- a 64-bit OS/software loader written in Assembly for x86-64 systems
3- ; Copyright (C) 2008-2025 Return Infinity -- see LICENSE.TXT
3+ ; Copyright (C) 2008-2026 Return Infinity -- see LICENSE.TXT
44;
55; INIT ACPI
66;
You can’t perform that action at this time.
0 commit comments