Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!oliveb!amiga!jimm From: jimm@amiga.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga Subject: Re: 1.3 includes Message-ID: <3048@amiga.UUCP> Date: 21 Oct 88 21:26:11 GMT References: <8377@cit-vax.Caltech.Edu> <215@antares.UUCP> <2879@sugar.uu.net> Reply-To: jimm@cloyd.UUCP (Jim Mackraz) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 86 In article <2879@sugar.uu.net> peter@sugar.uu.net (Peter da Silva) writes: )preferences.h 3662 rwed Today 05:17:01 )screens.h 1454 rwed Today 05:17:02 )The two extra files contain part of the old intuition.h, and contain at the )very least a bigger preferences structure. No comments, though... True: some things were broken out just to make them more manageable. )From Amiga includes 1.2, intuition.h: ) ) BYTE RowSizeChange; /* # to change gfxbase's NormalDisplayRows */ ) BYTE ColumnSizeChange; /* # to change gfxbase's NormalDisplayColumns */ ) BYTE padding[14]; /* For further system expansion */ )}; ) )From Aztec 3.6, preferences.h (my comments): ) ) BYTE sys_reserved1; /* see below */ ) BYTE sys_reserved2; ) UWORD PrintFlags; /* presumably for the 1.3 drivers */ ) UWORD PrintMaxWidth; ) UWORD PrintMaxHeight; ) UBYTE PrintDensity; ) UBYTE PrintXOffset; ) UWORD wb_Width; /* Wonder what these are for, Hedley? */ ) UWORD wb_Height; ) UBYTE wb_Depth; ) UBYTE ext_size; /* This is a weird one */ )}; )#define RowSizeChange sys_reserved1 )#define ColumnSizeChange sys_reserved2 ) )I strongly suspect that there will at least be a published version of )1.3 includes that reflects this change, without the comments stripped )out and without the "sys_reserved[12]" stuff. My understanding is that the official V1.3 include files will have struct Preferences the same size as V1.2 (else, DOS is confused). What Aztec seems to have is a snapshot of some earlier versions (current, perhaps, at the time V1.3 roms were frozen, a long time ago). Maybe V1.3 includes are similar (but sizeof( struct Preferences) should not be different between V1.2 and V1.3). The Row/ColumnSizeChange stuff is the somewhat unauthorized 'morerows' stuff. It should survive in name and function. It should NOT be used by any program except morerows, or the equivalent. I don't know the status of the printer stuff. The wb_Width/Height/Depth stuff aren't specifically Hedley, but specify a scrolling Workbench screen. This is not implemented (at least correctly) in any available software, released or in public alpha/beta. Don't touch or even look. The ext_size was for an extension scheme which we have abandonded in favor of a more general, modular, extensible preferences scheme. Don't touch or look. I advise that you make no use of any of these "new" fields, with the possible exception of the printer stuff. Do not go overboard with the MoreRows stuff. In particular, do not use those fields to determine standard overscan dimensions. Use STDSCREENHEIGHT and NormalDisplayColumns in GfxBase if you must. Note that all overscan is subject to change for V1.4. )I discovered this when told my 'prefs' program (which assumed the Aztec 3.6 )files) wouldn't compile with 3.4 and the Amiga 1.2 includes. Please EMail exactly what the problem was: I don't see where incompatibility would arise if you were not using the new fields. Thanks. )By the way, this means 'prefs' already works with the 1.3 prefs structure. )I suspect the 1.4 structure will be bigger. It will not, as mentioned above. There will be a separate extension mechanism, though. ) Peter da Silva `-_-' peter@sugar.uu.net ) Have you hugged U your wolf today? jimm -- Jim Mackraz, I and I Computing amiga!jimm BIX:jmackraz Opinions are my own. Comments regarding the Amiga operating system, and all others, are not to be taken as Commodore official policy.