Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. DISADVANTAGES of PocketPC

DISADVANTAGES of PocketPC

Scheduled Pinned Locked Moved Mobile
questionperformance
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    What is the disadvantages of PocketPC and Windows CE 3.0 about memory storage ? Can you give me some informations or give me a link about it? I want to know the maximum RAM of HP Jornada (PPC 2002),...

    M 1 Reply Last reply
    0
    • A Anonymous

      What is the disadvantages of PocketPC and Windows CE 3.0 about memory storage ? Can you give me some informations or give me a link about it? I want to know the maximum RAM of HP Jornada (PPC 2002),...

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      I'm not sure exactly what it is you want to know. The working RAM of a CE device is divided into 'program' and 'object store' areas. The division is adjusted on demand on all Windows CE devices; Pocket PC has a background thread that adjusts when the device is idle. The 'object store' is your semi-permanent storage mechanism. It contains the registry, the in-memory file system (typically, but not necessarily, the root file system) and the property databases used by some applications (e.g. Contacts, Inbox, Tasks, Calendar on the Pocket PC). The contents of the object store are lost when the device power runs out or the device is fully reset. Check the device manual for how to do this. The system ROM is also part of the file system, but it's aliased. The parts that are binaries are in Execute-In-Place format, i.e. the system functions run directly from ROM. Some OEMs shadow this area in RAM, which isn't then available to the system as RAM. You can never delete something from ROM, but you can copy a file to RAM with the same name which will be used instead. The object store is transactional, but only with respect to file system structures and registry data. If the device is reset before a write completes, you may lose some of your data, but the file system will still be readable. Finally, the object store is compressed, using one of two algorithms. They're both Lempel-Ziv compression (similar to the ZIP file format), however, one treats all the bytes in sequence, whereas the other compresses the odd and even bytes separately. For a Unicode UTF-16 file, this can often reduce the even byte stream to a simple run of zeros. Files opened with the FILE_FLAG_RANDOM_ACCESS flag are allegedly not compressed. Any storage cards are currently formatted with the FAT file system - non-transactional, but write-through rather than write-back cached. Storage cards cannot be accessed as working program memory. Windows CE is a demand-paged operating system: it will only load pages of executable images as they are required. Read-only pages can be discarded and reloaded; writeable pages cannot be discarded once they're written. CE is quite aggressive at removing pages that haven't been used recently. Finding out how much physical memory is available is a bit tricky. I think you need to use GetSystemMemoryDivision to find out how many physical pages are allocated to working program memory and how many to the object store. Adding the two together gives the memory size.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups