home *** CD-ROM | disk | FTP | other *** search
- {$if not def HARDWARE_CUSTOM_H} CONST HARDWARE_CUSTOM_H=0;
-
- { *******************************************************************
- ** KickPascal-Include-Datei "hardware/custom.h" zu Kickstart 3.0 **
- ******************************************************************* }
-
- TYPE p_Custom = ^Custom;
- TYPE p_AudChannel = ^AudChannel;
- TYPE p_SpriteDef = ^SpriteDef;
-
-
- TYPE AudChannel = RECORD
- ac_ptr : ^Word;
- ac_len : Word;
- ac_per : Word;
- ac_vol : Word;
- ac_dat : Word;
- ac_pad : ARRAY[0..1] OF Word;
- END;
-
- TYPE SpriteDef = RECORD
- pos : Word;
- ctl : Word;
- dataa : Word;
- datab : Word;
- END;
-
- Custom = RECORD
- bltddat : Word;
- dmaconr : Word;
- vposr : Word;
- vhposr : Word;
- dskdatr : Word;
- joy0dat : Word;
- joy1dat : Word;
- clxdat : Word;
- adkconr : Word;
- pot0dat : Word;
- pot1dat : Word;
- potinp : Word;
- serdatr : Word;
- dskbytr : Word;
- intenar : Word;
- intreqr : Word;
- dskpt : Ptr;
- dsklen : Word;
- dskdat : Word;
- refptr : Word;
- vposw : Word;
- vhposw : Word;
- copcon : Word;
- serdat : Word;
- serper : Word;
- potgo : Word;
- joytest : Word;
- strequ : Word;
- strvbl : Word;
- strhor : Word;
- strlong : Word;
- bltcon0 : Word;
- bltcon1 : Word;
- bltafwm : Word;
- bltalwm : Word;
- bltcpt : Ptr;
- bltbpt : Ptr;
- bltapt : Ptr;
- bltdpt : Ptr;
- bltsize : Word;
- pad2d : Byte;
- bltcon0l: Byte;
- bltsizv : Word;
- bltsizh : Word;
- bltcmod : Word;
- bltbmod : Word;
- bltamod : Word;
- bltdmod : Word;
- pad34 : ARRAY[0..3] OF Word;
- bltcdat : Word;
- bltbdat : Word;
- bltadat : Word;
- pad3b : ARRAY[0..2] OF Word;
- deniseid: Word;
- dsksync : Word;
- cop1lc : Long;
- cop2lc : Long;
- copjmp1 : Word;
- copjmp2 : Word;
- copins : Word;
- diwstrt : Word;
- diwstop : Word;
- ddfstrt : Word;
- ddfstop : Word;
- dmacon : Word;
- clxcon : Word;
- intena : Word;
- intreq : Word;
- adkcon : Word;
- aud : ARRAY[0..3] OF AudChannel;
- bplpt : ARRAY[0..7] OF Ptr;
- bplcon0 : Word;
- bplcon1 : Word;
- bplcon2 : Word;
- bplcon3 : Word;
- bpl1mod : Word;
- bpl2mod : Word;
- bplhmod : Word;
- pad86 : Word;
- bpldat : ARRAY[0..7] OF Word;
- sprpt : ARRAY[0..7] OF Ptr;
- spr : ARRAY[0..7] OF SpriteDef;
- color : ARRAY[0..31] OF Word;
- htotal : Word;
- hsstop : Word;
- hbstrt : Word;
- hbstop : Word;
- vtotal : Word;
- vsstop : Word;
- vbstrt : Word;
- vbstop : Word;
- sprhstrt: Word;
- sprhstop: Word;
- bplhstrt: Word;
- bplhstop: Word;
- hhposw : Word;
- hhposr : Word;
- beamcon0: Word;
- hsstrt : Word;
- vsstrt : Word;
- hcenter : Word;
- diwhigh : Word;
- padf3 : Array[0..10] of Word;
- fmode : Word;
- END;
-
- CONST
- VARVBLANK = $1000;
- LOLDIS = $0800;
- CSCBLANKEN = $0400;
- VARVSYNC = $0200;
- VARHSYNC = $0100;
- VARBEAM = $0080;
- DISPLAYDUAL = $0040;
- DISPLAYPAL = $0020;
- VARCSYNC = $0010;
- CSBLANK = $0008;
- CSYNCTRUE = $0004;
- VSYNCTRUE = $0002;
- HSYNCTRUE = $0001;
-
- CONST
- USE_BPLCON3 = 1;
-
- CONST
- BPLCON2_ZDCTEN = $400;
- BPLCON2_ZDBPEN = $800;
- BPLCON2_ZDBPSEL0 = $1000;
- BPLCON2_ZDBPSEL1 = $2000;
- BPLCON2_ZDBPSEL2 = $4000;
-
- CONST
- BPLCON3_EXTBLNKEN = $1;
- BPLCON3_EXTBLKZD = $2;
- BPLCON3_ZDCLKEN = $4;
- BPLCON3_BRDNTRAN = $10;
- BPLCON3_BRDNBLNK = $20;
-
- CONST Adr_custom = $dff000;
-
- {$endif}
-