| ||
| Native File Format Header File: inc/ff/header.inc | ||
| NFF_HEADER <file_size>, <file_type> |
| 14: %macro NFF_HEADER 2 15: dq %1 16: db 'BCOS_NFF' 17: dd 0 18: dd %2 19: dq 0 20: %endmacro |
| 29: ;Text file formats 30: 31: %define FILETYPE_PLAIN_TEXT_MAJOR 0x0010 32: %define FILETYPE_PLAIN_TEXT_NATIVE (FILETYPE_PLAIN_TEXT_MAJOR << 16 | 0x0000) ;Spec: BCOS Plain Text File Format Specification 33: 34: ;Compressed file formats 35: 36: %define FILETYPE_COMPRESSED_MAJOR 0xC000 37: %define FILETYPE_COMPRESSED_NATIVE (FILETYPE_COMPRESSED_MAJOR << 16 | 0x0000) 38: 39: 40: ;Graphics image file formats 41: 42: %define FILETYPE_GRAPHICS_IMAGE_MAJOR 0x8000 43: %define FILETYPE_GRAPHICS_IMAGE_NATIVE (FILETYPE_GRAPHICS_IMAGE_MAJOR << 16 | 0x0000) 44: %define FILETYPE_GRAPHICS_IMAGE_PNG (FILETYPE_GRAPHICS_IMAGE_MAJOR << 16 | 0x0001) 45: %define FILETYPE_GRAPHICS_IMAGE_JPEG (FILETYPE_GRAPHICS_IMAGE_MAJOR << 16 | 0x0002) 46: %define FILETYPE_GRAPHICS_IMAGE_BMP (FILETYPE_GRAPHICS_IMAGE_MAJOR << 16 | 0x0003) 47: 48: ;BCOS Special Files 49: 50: %define FILETYPE_BCOS_MAJOR 0xFFFF 51: %define FILETYPE_BCOS_FRL (FILETYPE_BCOS_MAJOR << 16 | 0x0010) ;Spec: BCOS Faulty RAM List File Format Specification 52: %define FILETYPE_BCOS_commonPCBIOS (FILETYPE_BCOS_MAJOR << 16 | 0x0080) ;Spec: BCOS 80x86 Common PC BIOS Module File Format Specification 53: %define FILETYPE_BCOS_bootImage (FILETYPE_BCOS_MAJOR << 16 | 0x0100) ;Spec: BCOS Boot Image File Format Specification 54: %define FILETYPE_BCOS_bootCatalogue (FILETYPE_BCOS_MAJOR << 16 | 0x0180) ;Spec: BCOS Boot Catalogue Specification 55: 56: %define FILETYPE_BCOS_executable (FILETYPE_BCOS_MAJOR << 16 | 0x1000) ;Spec: BCOS Native Executable File Format Specification 57: %define FILETYPE_BCOS_stage2manager (FILETYPE_BCOS_MAJOR << 16 | 0x1001) ;Spec: BCOS Native Executable File Format Specification 58: %define FILETYPE_BCOS_displayModule (FILETYPE_BCOS_MAJOR << 16 | 0x1002) ;Spec: BCOS Native Executable File Format Specification 59: %define FILETYPE_BCOS_CPUdetectionModule (FILETYPE_BCOS_MAJOR << 16 | 0x1003) ;Spec: BCOS Native Executable File Format Specification 60: %define FILETYPE_BCOS_CPUmemoryTestModule (FILETYPE_BCOS_MAJOR << 16 | 0x1004) ;Spec: BCOS Native Executable File Format Specification 61: %define FILETYPE_BCOS_kernelModule1 (FILETYPE_BCOS_MAJOR << 16 | 0x1010) ;Spec: BCOS Native Executable File Format Specification 62: %define FILETYPE_BCOS_kernelModule2 (FILETYPE_BCOS_MAJOR << 16 | 0x1011) ;Spec: BCOS Native Executable File Format Specification 63: %define FILETYPE_BCOS_kernelModule3 (FILETYPE_BCOS_MAJOR << 16 | 0x1012) ;Spec: BCOS Native Executable File Format Specification 64: %define FILETYPE_BCOS_kernelModule4 (FILETYPE_BCOS_MAJOR << 16 | 0x1013) ;Spec: BCOS Native Executable File Format Specification 65: %define FILETYPE_BCOS_kernelModule5 (FILETYPE_BCOS_MAJOR << 16 | 0x1014) ;Spec: BCOS Native Executable File Format Specification 66: %define FILETYPE_BCOS_kernelModule6 (FILETYPE_BCOS_MAJOR << 16 | 0x1015) ;Spec: BCOS Native Executable File Format Specification 67: %define FILETYPE_BCOS_kernelModule7 (FILETYPE_BCOS_MAJOR << 16 | 0x1016) ;Spec: BCOS Native Executable File Format Specification 68: %define FILETYPE_BCOS_kernelModule8 (FILETYPE_BCOS_MAJOR << 16 | 0x1017) ;Spec: BCOS Native Executable File Format Specification 69: %define FILETYPE_BCOS_kernelModule9 (FILETYPE_BCOS_MAJOR << 16 | 0x1018) ;Spec: BCOS Native Executable File Format Specification 70: %define FILETYPE_BCOS_kernelModule10 (FILETYPE_BCOS_MAJOR << 16 | 0x1019) ;Spec: BCOS Native Executable File Format Specification 71: %define FILETYPE_BCOS_kernelModule11 (FILETYPE_BCOS_MAJOR << 16 | 0x101A) ;Spec: BCOS Native Executable File Format Specification 72: %define FILETYPE_BCOS_kernelModule12 (FILETYPE_BCOS_MAJOR << 16 | 0x101B) ;Spec: BCOS Native Executable File Format Specification 73: %define FILETYPE_BCOS_kernelModule13 (FILETYPE_BCOS_MAJOR << 16 | 0x101C) ;Spec: BCOS Native Executable File Format Specification 74: %define FILETYPE_BCOS_kernelModule14 (FILETYPE_BCOS_MAJOR << 16 | 0x101D) ;Spec: BCOS Native Executable File Format Specification 75: %define FILETYPE_BCOS_kernelModule15 (FILETYPE_BCOS_MAJOR << 16 | 0x101E) ;Spec: BCOS Native Executable File Format Specification 76: %define FILETYPE_BCOS_kernelModule16 (FILETYPE_BCOS_MAJOR << 16 | 0x101F) ;Spec: BCOS Native Executable File Format Specification |