Home > Tags> OS

OS

Get version of Windows

I think I do not have to use, but note the time being.
I think to be able to compile without a problem if Windows-based compiler.
Once, compiled with MinGW, I have verified them.

#include <windows.h> #include <stdio.h> int main(void) { unsigned int GV = GetVersion(); printf("GetVersion API(GV) = %08X\n\n", GV); printf("_winver = %08X\n", _winver); printf("_winmajor = %08X\n", _winmajor); printf("_winminor = %08X\n", _winminor); printf("_osver = %08X\n\n", _osver); printf("(( GV << 8 ) | (( GV >> 8 ) & 0XFF)) & 0XFFFF = %08X (= _winver)\n", (( GV << 8 ) | (( GV >> 8 ) & 0XFF)) & 0XFFFF ); printf("GV & 0XFF = %08X (= _winmajor)\n", GV & 0XFF ); printf("( GV >> 8 ) & 0XFF = %08X (= _winminor)\n", (( GV >> 8 ) & 0XFF)); printf("GV >> 16 = %08X (= _osver)\n\n\n", (GV >> 16) ); // Windows version(_winmajor, _winminor, _osver) printf("This system is ["); if ( _osver < 0X8000 ) { // NT Group (_osver LowWORD MSB = 0) switch (_winmajor) { case 3: case 4: printf ("Windows NT %u.%u Build %u", _winmajor, _winminor, _osver); break; case 5: switch (_winminor) { case 0: printf ("Windows 2000 Build %u", _osver); break; case 1: printf ("Windows XP Build %u", _osver); break; case 2: printf ("Windows Server 2003 family Build %u", _osver); break; default: printf ("NT Group Windows Build %u", _osver); } break; case 6: switch (_winminor) { case 0: printf ("Windows Vista or Windows Server 2008 Build %u", _osver); break; case 1: printf ("Windows 7 Build %u", _osver); break; default: printf ("NT Group Windows Build %u", _osver); } break; default: printf ("NTGroup Windows Build %u", _osver); } } else { switch (_winmajor ) { case 0: //Win32s Group case 1: case 2: case 3: printf ("Win32s Build %u", _osver & 0X7FFF); break; case 4: // 9X Group (_osver is invalid.) switch (_winminor) { case 0: printf ("Windows 95 Build ----"); break; case 10: printf ("Windows 98 Build ----"); break; case 90: printf ("Windows Me Build ----"); break; default: // To make sure printf ("Newer than Windows Me"); } break; default: // To make sure printf ("Newer than Windows Me"); } } printf("]"); return 0; } 
ツイート Tweets

inferno in QEMU on WindowsXP

inferno Install完了画面
Note when you have installed the Native inferno in QEMU

  • Preparation
    1. QEMU on Windows Download
    2. inferno CD 2007May10 Download
    3. Thaw in place an appropriate QEMU (example: "C: \ QEMU")
    4. Thaw in the directory of the QEMU infernoCD (example: "C: \ QEMU \ inf.iso")
  • Installation
    1. Creating HardDiskImage of 1GB (command prompt)
       C:\QEMU>qemu-img create -f qcow inferno.img 1G 
    2. from infernoCD Boot (command prompt)
       C:\QEMU>qemu -L . -m 128 -boot d -cdrom inf.iso -hda inferno.img 
    3. Running the installation shell script (QEMU)
       ;sh install.sh -m /dev/sdD0 /dev/sdC0 
    4. In Plan9 create (QEMU) the partition
       >>> a p1 start cylinder: 0 end [0..1024] 1024 >>> A p1 >>> w >>> q 
    5. Because it is restarted and run the installation shell script again (QEMU)
       ;sh install.sh /dev/sdD0 /dev/sdC0 >>> w >>> q 
    6. Close Windows of QEMU and appears as a "Remove the CD and reboot"
  • Startup check
    1. (Command Prompt)
       C:\QEMU>qemu.exe -L . -m 128 -hda inferno.img -net nic,model=rtl8139 
    2. (QEMU)
       ; wm/wm wmlib: can't allocate Display: .initdisplay: /dev/draw/new: ; 

    Anyway, it was movement but, GUI does not rise.
    VGA is not visible?
    QEMU seems to emulate the CL-GD5446.
    In, the os / pc When I sniff source

    • vgaclgd542x.c
    • vgaclgd546x.c

    I had to. In other words ... not supported?
    It may put the driver in the application maybe I send-off for now
    I try also there QEMU Because like can also VESA boot

    1. (Command Prompt)
       C:\QEMU>qemu.exe -L . -m 128 -hda inferno.img -net nic,model=rtl8139 -vga std 
    2. (QEMU)
       ; wm/wm wmlib: can't allocate Display: .initdisplay: /dev/draw/new: ; 

    Ish bad after all.
    VGA driver wonder if not part of the kernel you are in the this CD?
    File size is different in quite FD boot kernel yesterday and this CD boot kernel.
    In other words, I would be what you have compiled 's different,
    What would should I do to make the kernel to be replaced with the kernel of this CD.
    And I'd like to make a compilation under the same conditions as the kernel of the CD,
    The first place, such as compile option is not well understood.

  • Reference
ツイート Tweets

inferno in VirtualBox on WindowsXP

inferno起動画面
note of when you compile on Ubuntu to run on VirtualBox on inferno

  • Getting the source code
    1. $ Apt-get install mercurial
    2. $ Cd / usr
    3. $ Sudo hg clone https://inferno-os.googlecode.com/hg/ inferno
    4. $ Sudo chmod-R 777 / usr / inferno

    Very much, compilation does not pass Vita Nuova I use the version of the.

    1. inferno Fourth Edition (inferno-20100120.tgz) download
    2. Unzip the inferno-20100120.tgz, overwrite to / usr / inferno / the contents
  • Installation for compilation library
    1. $ Sudo apt-get install libxpm-dev
    2. $ Sudo apt-get install libxext-dev
    3. $ Sudo apt-get install x11proto-xext-dev
  • Compiling the inferno
    1. $ Sudo vi inferno / mkconfig
       @@ -17,0 +18,0 @@ - SYSHOST=Plan9 +# SYSHOST=Plan9 + SYSHOST=Linux @@ -25,0 +27,0 @@ -# OBJTYPE=368 - OBJTYPE=$objtype + OBJTYPE=368 +# OBJTYPE=$objtype 
    2. $ Sh makemk.sh
    3. $ Export PATH = $ PATH :/ usr/inferno/Linux/368/bin /
    4. $ Mk nuke
    5. $ Mk install
  • PBS compile 9load (kernel loader) and (PC partition boot program selector)
    1. $ Mkdir / usr / inferno / Inferno / 386 / lib /
    2. $ Sudo chmod-R 777 / usr/inferno/Inferno/386/lib /
    3. $ Cd / usr / inferno / os / boot / pc /
    4. $ Mk pbs.install 9load.install
  • Kernel compile
    1. $ Cd / usr / inferno / os / pc
    2. $ Vi ether79x970.c
       @@ -540,6 +540,7 @@ switch(x&0xFFFFFFF){ case 0x2420003: /* PCnet/PCI 79C970 */ case 0x2621003: /* PCnet/PCI II 79C970A */ + case 0x2625003: /* PCnet/FAST III 79C973 */ break; default: print("#l%d: unknown PCnet card version %.7ux\n", 
    3. $ Vi pc
       @@ -48,10 +48,11 @@ kern link - ether2114x pci + ether79c970 pci +# ether2114x pci # ether82557 pci - ether83815 pci - etherelnk3 pci +# ether83815 pci +# etherelnk3 pci ps2mouse ethermedium # pppmedium ppp compress @@ -70,7 +71,7 @@ math init - wminit + shell code int kernel_pool_pcnt = 10; @@ -79,7 +80,7 @@ int image_pool_pcnt = 40; int cflag=0; int swcursor=0; - int consoleprint=0; + int consoleprint=1; port alarm @@ -137,3 +138,5 @@ /dis/lib/daytime.dis /dis/lib/auth.dis /dis/lib/ssl.dis + /dis/lib/arg.dis + /dis/lib/filepat.dis 
    4. $ Mk
  • Creating the kernel configuration file load
    1. $ Vi / usr/inferno/os/pc/plan9.ini
       bootfile=fd0!ipc.gz 
  • Creating a floppy image
    1. $ Emu
    2. ; Cd os / pc
    3. ; Gzip ipc
    4. ; Disk / format-b / Inferno/386/pbs-df inferno.img / Inferno/386/9load plan9.ini ipc.gz

    The Boot mounted on a VirtualBox inferno.img the finished
    I was able to start, to be sure, but cause Panic occasionally.
    It may be useless in VirtualBox inferno also because Plan9 system.
    And was able to compile the Native inferno, but I'm starting a FD.
    The'm to understand this is gonna be bootable in the boot loader Plan9,
    Those who have studied the Plan9 might say To use it the · · · Native inferno want to boot from HDD.
    Let's try the inferno in QEMU on WindowsXP next time.

  • Reference
ツイート Tweets

Shared folder in VirtualBox in Ubuntu

共有フォルダ設定

  1. Install Extension
    1. Mount the installation CD menu of the virtual machine window "Device" → "Install Guest Additions"
    2. $ Cd / media/VBOXADDITIONS_3.2.4_62467 /
    3. $ Sudo sh VBoxLinuxAdditions-x86.run
  2. Setting the shared folder
    1. And set up a shared folder on the menu of the virtual machine window "device" → "Shared Folders ..."
    2. $ Sudu mkdir / mnt / share
      (Create a mount point)
    3. $ Sudo mount.vboxsf Share / mnt / share /
      (To mount the shared folder)
ツイート Tweets

Various OS

I want to play around with the OS of various kinds anyway but a note of the OS that you are expecting, ... you'll keep leaving in many places it is a repetitive and of forgot to check every time.

  • Monolithic kernel
    • BSD
      • FreeBSD
        Mogul of BSD that must not be forgotten
      • OpenSolaris
        Speaking of Solaris
    • Linux
      • INSERT
        Data rescue for Linux
      • PuppyLinux
        Linux for the purpose that the old PC also moves lightly
      • GentooLinux
        Linux expert for
      • EcoLinux
        Linix university students of Japanese are working hard
      • Elive
        Linux, which provides a GUI with motion clean
      • Chromium OS
        WebOS Linux-based that makes the Google
      • Joli OS
        Netbook OS of Ubuntu LTS base that makes the Jolicloud
      • Splashtop OS
        Microsoft has set the DeviceVM Inc., lightweight Web access for OS which is based on Linux
      • Damn Vulnerable Linux
        Security for learning Linux aberrant defenseless
      • BackTrack
        Security checks for Linux
    • Amiga
      • icaros desktop
        Distribution of AmigaOS3.1 compatible AROS
      • Syllable
        Derivation of OS AtheOS
    • MS-DOS
      • FreeDOS
        MS-DOS-compatible OS
  • Microkernel
    • Minix
      UNIX-like OS for education
    • BeOS
      • Haiku
        The OS took over the idea of ​​the defunct BeOS now
    • L4
      Microkernel of second generation in pursuit of a quality of microkernel
    • MonaOS
      2-channel departure
    • MikeOS
      The ideal for the study of OS
    • Nanokernel
      • JNode
        OS which I made with Java almost everything
  • Hybrid kernel
    • ReactOS
      WindowsNT compatible OS
    • Plan9
      Distributed OS that has aspired next generation Unix

Naa ... I'm not NetWare and OS / 2
Well, but what OS's like I do not have that personal use.

ツイート Tweets

Chromium OS build "Flow"



100218chromeflow.jpg

Was also introduced previously, builds put easily Chromium OS (informal). Hexxeh says its creator, gave an update that strengthening of Wi-Fi support automatic updates, and videos, use webcam, such as customization of the menu will be added this time. The name is "Flow". Was weight up than before, but you can run them only to prepare the USB memory of 2GB. Windows, Linux, and Mac is (usually) bootable.

It is an update of this time, but is that the there may be a possibility that the struggle is by the performance of the hardware.
I do not have to download the 327MB of straight from the server but the download and the other is likely to be no need for a while that amount.
Automatic updates that were tested as the previous beta version is, since the default installed in this time, you mean that does not need to reset the USB drive every time an update in the future.

Called "What? 'S Chrome OS" person, here "Chrome OS" Introduction to please try to see.

It's time Flow ... [Hexxeh's Blog Via Download Squad ]

Kevin Purdy ( original / translation: Ryota Matsui)

ツイート Tweets

USB memory launch aware "ChromiumOS Zero"



100119chromeos_zero.jpg

Thumb drive compatible version of the open source build ChromiumOS web-based netbook system Google is developing has been completed.

Work hacker named Hexxeh. Excellent work Chrome add-on support, start-up speed, has been added other latest build his "ChromiumOSZero". By his own official list of updates here .

Speed ​​and loss due to Wi-Fi Broadcom-based, Chromium browser which is the core of the OS has been improved.
Moreover, compact build itself that enters the USB drive of 1GB.
Bonus update of this release or later that is updated automatically.

Or BitTorrent, "from the site of Hexxeh Mirror I can be downloaded from the ". Give it a try at ease if from the USB also those who had been flinch ... and I want to try the "ChromiumOSZero" is likely to be.

Ways to start a build from Hexxeh-based thumb drive is "past article on how to boot from the USB memory GoogleChromeOS please visit ".

"ChromiumOSZero" is a (usually) bootable free download in the system of non-Mac.

Chromium OS Builds by Hexxeh [Via Download Squad ]

Kevin Purdy ( original / Miles Webisu)

ツイート Tweets

Netbook OS for "Jolicloud"



091211jolicloud_top.jpg

Test version was finally released last month, " Google Chrome OS ". With overwhelming speed, it has been attracting attention as a novel OS ever, but some users do not like that's not good enough that it is browser-compatible perfect. Here, as a powerful rival of "Chrome OS", netbook OS for " Jolicloud Let's introduce the ".

" Jolicloud "so different from" Chrome OS "is, except that it is also compatible with desktop apps. Also on this page a wide variety of devices with support as you can see in the. In fact, that behavior is good When we tested in a virtual machine of rice Lifehacker, compatibility with other hard disks and also seems good.

" Jolicloud Let's try to install those who interested has been sprung on ". Without having to uninstall the Windows, you can use this in a space allocated on the hard drive. A slideshow of the screen shot below, but please first try to check the atmosphere.

091211joicloud_g01 091211joicloud_g02 091211joicloud_g03 091211joicloud_g04 091211joicloud_g05 091211joicloud_g06 091211joicloud_g07 091211joicloud_g08

Flow after it has been installed, looks like roughly.

"Installing Jolicloud" When you are finished, the login screen like the following will appear.

091211jolicloud2.jpg

Enter the user name and password that was set during installation. After you log in, the launcher screen of Jolicloud like this appears.

091211jolicloud3.jpg

I set the Jolicloud account. Invitation code may have to be special Jolicloud account, let's register as soon as possible. Once you register on the home base of Jolicloud, you can access the application dictionary of Jolicloud, such as the following.

091211jolicloud4.jpg

In this screen, "Skype", "Dropbox", " Boxee "," Spotify can be installed with one click desktop apps, such as ". Also, if you log in to Jolicloud, you can also access to social networks such as Twitter · Facebook.

091211jolicloud5.jpg

Here is an update manager. It is a convenient platform that will tell the update information of the application.

091211jolicloud6.jpg

How was it?
It can not be compared categorically design concept of the first place, so different from the "Chrome OS", but is characterized by desktop support type "Jolicloud" not in "Chrome OS", is a leading netbook OS for those of desktop faction you'll say. In particular, the application dictionary so iPhone-style, it might be familiar to those who iPhone user.

"Jolicloud" has been released as α version. Download this page from please.

Jolicloud

Adam Pash ( original / Matsuoka Yukiko)

ツイート Tweets

FAQ seven on "Chrome OS"

What is a "Chrome OS" in the first place 1.?

"Chrome OS" the OS for web use. Unlike a conventional OS, overwhelming speed is characterized.

2. time to be released how?

According to Google, the release of the official version is likely expected to be in 2010 November. As it is shown in the image below, for the mechanism of OS are significantly different, does not recommend the installation of a download, now, Toka is developing a "Chrome OS" compatible PC. It is not yet clear about the price range, but as Google, it is that of the policy that you want to release netbook mouse pad with keyboard and larger.

Are you no matter how fast 3?

Expected to 7 seconds, 4 seconds until the desktop display, logon screen until the completion up Standing a total of 11 seconds. It is much faster than the conventional OS. This is so can be implemented by the firmware of the "Chrome OS" for.

What's the difference 4. concrete?

Specific characteristics of the "Chrome OS", the following points will be mentioned.

  • I use the "Chrome" image chip and multi-core CPU that has been secured for applications such as games and accessories in traditional OS
  • If you use the "Chrome" and "Chrome OS", further speed up
  • Web app all. There is no application of conventional and accessories and games.
  • "Chrome OS" because it is controlled by a Google account, you can log in with their account using any netbook.
  • Gmail, not only GoogleDocs, everything you want to use in the "Chrome OS" is online save all

You can not use apps that have been used to 5. this?

It does not say the total. For example, it seems policy is to utilize the online version of Microsoft Office, to be able to use, such as Excel files.

6. print corresponding Ali?

Expected to print function is also equipped with the "Chrome OS". However, Toka plans to support printer in a novel approach is not so far.

Corresponding to a desktop PC or laptop PC 7 is?

First, the case is working on top priority netbook, laptop or desktop PC PC seems to be released then.

Kevin Purdy ( original / Matsuoka Yukiko)

ツイート Tweets

Home > Tags> OS

Search
Feed
Translation
Japanese flagEnglish flag

I return to the top of the page