flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > KERNEL.ASM bug - dies on false error

Thread Post new topic Reply to topic

Joined: 18 Feb 2004
Posts: 56
compilax 26 Aug 2005, 01:29
Hi. Ive been messing with the kernel, and when I tried replacing LAUNCHER with my own app, the kernel decided it couldnt find the new LAUNCHER. I dont know why this is, however it actually did find it. I uncommented the cli and jmp $, and my app started!

As to why it thought it couldnt find it - i was mounting my disk image in Linux and added the file from it, perhaps MenuetOS isnt too tolerant of something Linux's FAT driver does.

In the bunch of messages in KERNEL.ASM:
boot_nolauncher   db   'WARNING: problem finding launcher, ignoring...',0

Around line 635 of KERNEL.ASM, should be more like:

        mov   [0x3000],dword 1
        mov   [0x3004],dword 1

        mov   eax,firstapp
        call  start_application_fl

        cmp   eax,2                  ; if no first app found?
        je    first_app_found
        ;  This seems to happen sometimes even when the
        ; app was loaded, so let's just print a warning
        ; message and continue. - Zak Fenton
        mov esi, boot_nolauncher
        call boot_log

        mov   [0x3004],dword 2
        mov   [0x3000],dword 0

That or someone could fix start_application_fl or whatever is actually screwing up, but it doesnt seem like much of an issue (it doesnt occur on the untouched MenuetOS disk).
Post 26 Aug 2005, 01:29
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.