flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Kreoton 10 Oct 2004, 21:48
Hello!
Please, test it... http://filesx.narod.ru/OS_Demo.rar scr: http://filesx.narod.ru/kernel.asm Kreoton |
|||
![]() |
|
Matrix 11 Oct 2004, 02:18
Hello,
i recommend this size optimized exit code for your os ![]() Code: ; they are the same in size, but the right side won't exit on esc if ah<>0 ; 5 bytes (7 with int 20h) ; i will not take any responsibility for any hardware damages ; this code can cause ; i recommend using the right side with dec al, however its all right if ah=0 ; MATRIX org 256 mainloop: in ax,$5f ; in al,$60 sahf ; dec ax jnc mainloop ; jnc mainloop int 20h it does weird things ![]() MATRIX |
|||
![]() |
|
Kreoton 11 Oct 2004, 05:10
>>>it works fine, until you press a key.
All is correct ![]() Because OS is at an early stage of development... no_int20: ; IRQ1, Keyboard cmp al,0x21 ; Controller: i8248 jne no_int21 in al,0x60 mov al,0x20 ; EOI out 0x20,al ; Return to AXE debuger... mov al,0xFE out 0x64,al >>>i recommend this size optimized exit code for your os ![]() |
|||
![]() |
|
Kreoton 03 Dec 2004, 23:10
New version: http://filesx.fdd5-25.net/download.htm
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.