You are not logged in.


#1 2005-03-13 16:06:05

AxelDominatoR
Member
From: Reggio Calabria, Italy
Registered: 2005-03-07
Posts: 43
PM  Website

Half test result :)

Hi all

I compiled BOS 0.03 under Gentoo Linux, using FASM 1.60 for linux.
I had some errors when compiling:
fasm said invalid operand size in BOS_boot.asm

here's how I made it work:
( from line 333 )

I had to change all the ( eax ) to ( ax ) because ds, es, etc are 16 bit registers:
          mov     eax, 0x10                           ; refresh all segment reg$
          mov     ds, eax
          mov     es, eax
          mov     fs, eax
          mov     gs, eax
          mov     ss, eax

so
          mov     ds, ax
          mov     es, ax
          mov     fs, ax
          mov     gs, ax
          mov     ss, ax

does not give any errors anymore.

I'm not an expert assembly programmer, so maybe this was a sort of hack ...
I tried under bochs and it boots so... smile ( I'm trying to make a sort of install.sh to be usable by linuxians smile )

Axel


---
Axel DominatoR ^^^ HC

Offline

 

#2 2005-03-13 23:01:39

bubach
Administrator
From: Trollhättan, Sweden
Registered: 2005-02-15
Posts: 367
PM  Website

Re: Half test result :)

Hi and thanks for testing BOS!
About that problem in BOS_boot.asm, I never got it but i can understand if fasm complains about it.. hmm

I'm trying to make a sort of install.sh to be usable by linuxians smile

That would be great since I am not using Linux. Please post it here when/if it's ready..

/ Christoffer

Offline

 

 

Board footer

Powered by PunBB
BOS homepage © Copyright 2005 Christoffer Bubach
Strict XHTML and valid CSS.