hỏi về file PRC và PDB

  • Thread starter Thread starter RapperX
  • Ngày gửi Ngày gửi

RapperX

Youtube Master Race
em muôn biết thêm về hai loại file prc và Pdb, có ai biết gì về mấy cái này giúp em với
cho hỏi làm sao để convert từ các file khác ra hai loại này
 
PRC thì em không biết
Nhưng PDB thì là Program Debug Database là file chứa thông tin debug của 1 chương trình
 
PRC thì em không biết

Coi ở đây nè : :D

http://web.mit.edu/tytso/www/pilot/prc-format.html

Trích 1 phần :D

Recent Changes to This Document
Thanks to Ian Goldberg, the format of the RLE compression in the Data resource is now documented.

Introduction
Up until now, there really hasn't been a public documentation of the PRC format. This was was frustrating for me since I wanted to write a BFD backend for PRC executables. I tried looking at the sources for some of the alternative software Pilot development programs, such as Pila and prc-tools. Unfortunately, these programs would often treat header fields as "magic", and often different programs would do completely different things with the same fields.

This document is my attempt to rectify this situation. It is the product of both research into existing implementations, as well as experimentation to clarify some minor points of how the Pilot tools work. Some of my sources include:

The Pila compiler for Unix
The obj-res and emit-prc programs from the prc-tools package
Inside Macintosh
Any mistakes in this document should be considered my responsibility, however, and not the responsibility of these sources. If you find any mistakes, or have anything to contribute, please contact me via email at [email protected].

High-level format of a PRC file.
An application for the pilot is simply a Pilot resource database with a number of mandatory resources (CODE 0, CODE 1, DATA 0, PREF 0, etc.) The PRC file, then, is simply the flat file representation of a Pilot resource database. When the PRC file is loaded into the Pilot, it is converted into a resource database using the PalmOS routine dmCreateDatabaseFromImage().

The PRC format consists of the following major pieces:

PRC Header
PRC Resource Headers
PRC Resources

PRC header
The PRC Header is located at the very beginning of the file, and contains the following information:
 
cam on nhe,
ban co chuong trinh convert tu file binh thuong sang file hinh Pbd ko, hay la` file film
 
Theo mình nhớ lâu rồi nên quên hình như là PRC là file chương trình của Palm OS, giống như exe trên windows, còn PDB là file database của Palm OS luôn giống như mdb của access, nếu sai thì thôi cái lâu quá rồi cũng ko nhớ rõ nữa vì chuyển sang xài pocket pc rồi.
Còn vụ convert ra thì ko biết bạn có thể lên www.palmsource.com chắc địa chỉ này, nó có cái palm SDK đó down về có emulation chạy thử mấy file prc.
 
Back
Top