I fixed that. I hope it is ok now. Chriss.
William Lahti wrote: > Failed to build the trunk kernel. Since it's working for you guys I > think it's a Mono problem. > > [echo] AOT compiling the SharpOS Kernel > [exec] SharpOS Ahead-Of-Time Compiler 0.2.0.0 - Copyright (c) > 2007, The SharpOS Project > [exec] AOT compiling for processor `X86' > [exec] Loading assembly `../build/SharpOS.Kernel.dll' > [exec] Generating IR for assembly types... > [exec] Loading assembly `../build/korlib.dll' > [exec] Generating IR for assembly types... > [exec] Selected ADC layer `SharpOS.ADC.X86' for compilation > [exec] Classes: `75' > [exec] Methods: `493' > [exec] IL Instructions: `12956' > [exec] Processing IR methods... > [exec] Error: The conversion from CIL in > 'SharpOS.ADC.X86.RTC.Setup()' for block #'0' failed. > [exec] While performing IR processing > [exec] Method: System.Void SharpOS.ADC.X86.RTC::Setup() > [exec] in module: (main), Mvid=9b1982c7-897d-4e0c-98e0-bc34548f8652 > [exec] of assembly: korlib, Version=0.0.0.0, Culture=neutral, > PublicKeyToken=null > [exec] loaded from: ../build/korlib.dll > > That method is in Core/ADC/X86/RTC.cs: > > public static void Setup() > { > int seconds; > int minutes; > int hour; > int day; > int month; > int year; > > // wait while update is in progress > //IO.Out8(IO.Port.RTC_CommandPort, 0x10); > //while ((IO.In8(IO.Port.RTC_DataPort) & 0x80) == 0); > > do { > seconds = CMOSRead(0); > // Get seconds (00 > to 59) > minutes = CMOSRead(2); > // Get minutes (00 > to 59) > hour = CMOSRead(4); > // Get hours (see n > otes) > day = CMOSRead(7); > // Get day > of month (01 to 31) > month = CMOSRead(8); > // Get month (01 to > 12) > year = 2000 + CMOSRead(9); > // Get year (00 to 99) > } while (seconds != CMOSRead(0)); > > long ticks = ToTicks(year, month, day, > hour, minutes, seconds, 0); > } > > Bah. > > On Dec 4, 2007 9:52 AM, Darx Kies <[EMAIL PROTECTED]> wrote: > >> Bruce Markham wrote: >> >>> Hey Darx! >>> I tried to take a peek... and I'm going to have to spend some time >>> with the TortoiseSVN log browser, to try and understand what you've >>> changed. (I noticed you deleted the /IR/Operators folder - I might >>> need you to explain that one ;-) ) >>> >> With the new IR, Operators were just not needed anymore. The >> Instructions and Operands look different too. >> >>> I can't test the execution yet, as it is late and I need to fetch the >>> new version of Cecil. But from reading your SVN log messages, I am >>> very impressed. Especially the bit about being able to get the value >>> of static fields when debugging - that is the *hawt*ness! >>> >> The new Cecil is already in the repository in my sandbox. Just fetch >> everything from there. >> >>> Keep up the great work, and I'll have more feedback after I get some >>> more spare time... >>> >> I can't wait. ;) >> >> >> Chriss. >> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> SharpOS-Developers mailing list >> SharpOS-Developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sharpos-developers >> >> > > > > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers