flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Menuet dont run on 64 bit cpu

Author
Thread Post new topic Reply to topic
Szepe



Joined: 26 Apr 2005
Posts: 1
Szepe
Hi,

I have byed last time a new computer with 64 processor, and tryed to run menuet on it. But it hangs up allways, by starting the first application.
So i searcht for the fault and i found it.
The position is in the file SYS32.INC in the function "add_app_parameters".
I have set sti as comment and copiled it new. Now menuet is running on
my system.

mov edi,[new_process_place]
shl edi,5
add edi,window_data
mov ebx,[new_process_place]
shl ebx,1
add ebx,0xc000
mov esi,[ebx]
and esi,65535
shl esi,1
add esi,0xc400
movzx eax,word [esi]

call windowactivate

; sti FAULT!!!!!! (ny system hangs up on this position)

push esi
mov esi,process_running
call sys_msg_board_str
pop esi

ret

process_terminating db 'K : Process - terminating',13,10,0
process_terminated db 'K : Process - done',13,10,0

terminate: ; terminate application
Post 26 Apr 2005, 09:28
View user's profile Send private message Reply with quote
luka666



Joined: 17 Aug 2004
Posts: 22
luka666
i think the problem is that menuet is made for 32bit. wait until ville releases Menuet for 64bit computers...
Post 26 Apr 2005, 20:36
View user's profile Send private message Reply with quote
Tolle



Joined: 21 Jan 2004
Posts: 71
Tolle
The amd64 -IS- 32bit until you tell it to switch to long mode.
(amd64 still starts up at 16bit too)
32bit oses should run on it 'out of the box'
So, if Menuet doesn't run on it, Menuet should be fixed, not the other way around.
Post 27 Apr 2005, 10:56
View user's profile Send private message Visit poster's website Reply with quote
bubach



Joined: 17 Sep 2004
Posts: 341
Location: Trollhättan, Sweden
bubach
Why even argue about it? He provided a fix for it, so put in in the next release and be happy.. Very Happy
Post 29 Apr 2005, 07:26
View user's profile Send private message 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.