Compare commits

..

No commits in common. "main" and "release" have entirely different histories.

11 changed files with 14 additions and 22 deletions

BIN
fasm Normal file

Binary file not shown.

View File

@ -772,22 +772,6 @@ write_table:
popa popa
ret ret
; Change table
; SI - table in FS table (0 - return to previous table)
change_table:
pusha
mov ah, 02h
mov al, 4
mov dl, [BOOT_DRIVE]
mov ch, [si]
mov dh, [si+1]
mov cl, [si+2]
mov bx, 0x8000
int 13h
popa
ret
wait_key: wait_key:
mov ah, 11h mov ah, 11h

View File

@ -34,7 +34,6 @@ functable:
dw get_cursor_pos dw get_cursor_pos
dw set_cursor_pos dw set_cursor_pos
dw read_table dw read_table
dw change_table
dw 0 dw 0
times 1024 - ($-$$) db 0 times 1024 - ($-$$) db 0

BIN
iso/boot.img Normal file

Binary file not shown.

BIN
iso/calc.bin Normal file

Binary file not shown.

10
iso/just_text.t Normal file
View File

@ -0,0 +1,10 @@
Privet, ti 4udovishe
Novay strok
Dolistay ahaha

BIN
iso/notepad.bin Normal file

Binary file not shown.

BIN
iso/os.bin Normal file

Binary file not shown.

BIN
iso/snake.bin Normal file

Binary file not shown.

BIN
iso/viewer.bin Normal file

Binary file not shown.

9
run.sh Executable file → Normal file
View File

@ -1,17 +1,16 @@
#!/bin/bash #!/bin/bash
mkdir iso/
rm iso/os.bin rm iso/os.bin
echo echo
echo echo
fasm bootloader.asm iso/os.bin ./fasm bootloader.asm iso/os.bin
echo echo
fasm programs/calculator.asm iso/calc.bin ./fasm programs/calculator.asm iso/calc.bin
echo echo
# fasm programs/notepad.asm iso/notepad.bin # ./fasm programs/notepad.asm iso/notepad.bin
# echo # echo
fasm programs/viewer.asm iso/viewer.bin ./fasm programs/viewer.asm iso/viewer.bin
echo echo
nasm -fbin programs/snake.asm -o iso/snake.bin nasm -fbin programs/snake.asm -o iso/snake.bin
echo echo