/[pengfork]/pengfork/src/p3/init.c
ViewVC logotype

Diff of /pengfork/src/p3/init.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by chupa, Mon Sep 9 22:59:42 2002 UTC revision 1.4 by chupa, Wed Sep 25 18:01:54 2002 UTC
# Line 21  Line 21 
21   */   */
22    
23  #include "buffer.h"  #include "buffer.h"
24    #include "utils.h"
25    
26  #include "p3/init.h"  #include "p3/init.h"
27  #include "p3/header.h"  #include "p3/header.h"
# Line 32  p3_send_init_packet () Line 33  p3_send_init_packet ()
33    p3_init30_t init_data;    p3_init30_t init_data;
34    
35    /*    /*
36     *  FIXME: fields are in big endian, systems in little endian should take care     *  fields are in big endian, systems in little endian should take care
37     *  of this     *  of this
38     */     */
39    init_data = (p3_init30_t)    init_data = (p3_init30_t)
# Line 47  p3_send_init_packet () Line 48  p3_send_init_packet ()
48      5,                        /* release_month alway 5 */      5,                        /* release_month alway 5 */
49      15,                       /* release_day alway 15 */      15,                       /* release_day alway 15 */
50      0,                        /* customer_class always 0 */      0,                        /* customer_class always 0 */
51      0x4db26e25,               /* timestamp */      htolel(0x4db26e25),       /* timestamp */
52      0x00c0,                   /* dos version :) */      htoles(0x00c0),           /* dos version :) */
53      0xc014,                   /* flags */      htoles(0xc014),           /* flags */
54      8,                        /* video (8=??) */      8,                        /* video (8=??) */
55      5,                        /* processor (5=??) */      5,                        /* processor (5=??) */
56      0,                        /* media ??? */      0,                        /* media ??? */
57      0x00000a04,               /* windows version :) */      htolel(0x00000a04),       /* windows version :) */
58      1,                        /* windows mode 1=enhanced :) */      1,                        /* windows mode 1=enhanced :) */
59      1024, 768, 65535,         /* Resolution 1024x768, 16/24 bits */  
60        htoles(1024),
61        htoles(768),
62        htoles(65535),            /* Resolution 1024x768, 16/24 bits */
63    
64      0,                        /* filler always 0 */      0,                        /* filler always 0 */
65      0,                        /* region */      0,                        /* region */
66      LANGUAGE_FRENCH,          /* the language */      LANGUAGE_FRENCH,          /* the language */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26