You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
676 B
23 lines
676 B
BITS 16 |
|
%define LSFS_magic_start_sector 23 |
|
;This is for the FSCI, where this is stored on the disk. |
|
lsfs_format_disk_buffer db 'LSFS v0.1.3-exp', 13, 10, '(LessSimpelFileSystem)', 13, 10, 'Developed to SingOS', 13, 10, 'by Jorn Guldberg', 13, 10, 0 ; 66 chars + 8 bytes |
|
times 506-($-$$) db 0 |
|
dw LSFS_magic_start_sector, 3, 2306 ; Start index, number of files, next free index |
|
; 4 is right now the next number of file |
|
|
|
; This is the data that is in the file system file. |
|
lfsf_systemcall: |
|
mov ax, 0 |
|
mov ah, 0x10 |
|
int 0x16 |
|
|
|
mov ah, 0x0e |
|
mov al, 66 ; backspace |
|
int 0x10 ; print char |
|
ret |
|
|
|
File_System_Control_information: |
|
;(FSCI) |
|
|
|
times 4608-($-$$) db 0 |