<commit_before>%include "asm/sector.asm"

fs_header:
.signature:
    db "REDOXFS",0
.version:
    dq 1
.free_space:
    dq (fs_free_space - boot)/512
    dq (fs_free_space.end - fs_free_space)
.padding:
    align 256, db 0
.extents:
    dq (fs_root_node_list - boot)/512
    dq (fs_root_node_list.end - fs_root_node_list)

    align 512, db 0
.end:

%ifdef ARCH_i386
    %include "asm/startup-i386.asm"
%endif

%ifdef ARCH_x86_64
    %include "asm/startup-x86_64.asm"
%endif

times (0xC000-0x1000)-0x7C00-($-$$) db 0

kernel_file:
  incbin "kernel.bin"
  align 512, db 0

.font:
  incbin "ui/unifont.font"
  align 512, db 0
.end:

fs_root_node_list:
%macro file 2+
    fs_node.%1:
    .name:
        db %2,0

        align 256, db 0

    .extents:
        dq (fs_data.%1 - boot)/512
        dq (fs_data.%1.end - fs_data.%1)

        align 512, db 0
    .end:
%endmacro

%include "filesystem.gen"

%unmacro file 2+
fs_root_node_list.end:

%macro file 2+
fs_data.%1:
    incbin %2
.end:
    align 512, db 0
%endmacro

%include "filesystem.gen"

%unmacro file 2+

    align 512, db 0
fs_free_space:
    times 64 * 1024 * 1024 db 0  ;64 MB of free space
.end:<commit_msg>Lower size of free space<commit_after>%include "asm/sector.asm"

fs_header:
.signature:
    db "REDOXFS",0
.version:
    dq 1
.free_space:
    dq (fs_free_space - boot)/512
    dq (fs_free_space.end - fs_free_space)
.padding:
    align 256, db 0
.extents:
    dq (fs_root_node_list - boot)/512
    dq (fs_root_node_list.end - fs_root_node_list)

    align 512, db 0
.end:

%ifdef ARCH_i386
    %include "asm/startup-i386.asm"
%endif

%ifdef ARCH_x86_64
    %include "asm/startup-x86_64.asm"
%endif

times (0xC000-0x1000)-0x7C00-($-$$) db 0

kernel_file:
  incbin "kernel.bin"
  align 512, db 0

.font:
  incbin "ui/unifont.font"
  align 512, db 0
.end:

fs_root_node_list:
%macro file 2+
    fs_node.%1:
    .name:
        db %2,0

        align 256, db 0

    .extents:
        dq (fs_data.%1 - boot)/512
        dq (fs_data.%1.end - fs_data.%1)

        align 512, db 0
    .end:
%endmacro

%include "filesystem.gen"

%unmacro file 2+
fs_root_node_list.end:

%macro file 2+
fs_data.%1:
    incbin %2
.end:
    align 512, db 0
%endmacro

%include "filesystem.gen"

%unmacro file 2+

    align 512, db 0
fs_free_space:
    times 16 * 1024 * 1024 db 0  ;16 MB of free space
.end:
{'fraction_non_alphanumeric': 0.12366737739872068, 'fraction_numerical': 0.08187633262260129, 'mean_word_length': 2.6372093023255814, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6051644', 'n_tokens_mistral': 1175, 'n_tokens_neox': 984, 'n_words': 257}